CN103631507B - Dummy keyboard providing method and device - Google Patents

Dummy keyboard providing method and device Download PDF

Info

Publication number
CN103631507B
CN103631507B CN201210307997.6A CN201210307997A CN103631507B CN 103631507 B CN103631507 B CN 103631507B CN 201210307997 A CN201210307997 A CN 201210307997A CN 103631507 B CN103631507 B CN 103631507B
Authority
CN
China
Prior art keywords
key
key assignments
queue
assignments
virtual
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
Application number
CN201210307997.6A
Other languages
Chinese (zh)
Other versions
CN103631507A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210307997.6A priority Critical patent/CN103631507B/en
Publication of CN103631507A publication Critical patent/CN103631507A/en
Application granted granted Critical
Publication of CN103631507B publication Critical patent/CN103631507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of dummy keyboard providing method, by obtaining triggering command, random rearrangement is carried out to pre-stored first key assignments queue, obtain the second key assignments queue different from the first key assignments queue, and according to preset virtual key position and the correspondence of position of the key assignments in key assignments queue, obtain key assignments in corresponding with virtual key position the second key assignments queue and according to the key assignments display virtual key position in the second key assignments queue of acquisition.It is fixed so as to be dynamic rather than the corresponding key assignments of virtual key position since the corresponding key assignments of virtual key position can generate variation after dummy keyboard triggering command is obtained.Therefore, divulging a secret for user's significant data can effectively be prevented by above-mentioned dummy keyboard providing method, is conducive to secret protection, improves safety.In addition, also providing a kind of dummy keyboard provides device.

Description

Dummy keyboard providing method and device
Technical field
The present invention relates to data security arts, more particularly to a kind of dummy keyboard providing method and device.
Background technology
Keyboard is that data input most important tool, and traditional keyboard includes physical keyboard.Physical keyboard has multiple objects Manage button, each physical button corresponds to fixed key assignments, by different physical buttons is operated can obtain it is different Input.With the generation of touch-screen equipment, also occurred in succession based on the dummy keyboard in touch-screen equipment.Dummy keyboard has multiple void The key mapping of plan, each key mapping correspond to different key assignments, and different inputs can be obtained by being interacted from different key mappings.
Similar with traditional physical keyboard, the key assignments corresponding to the key mapping of general dummy keyboard is fixed.For example, 3* Key mapping of the dummy keyboard of 4 layouts from lower-left to upper right, which is corresponding in turn to, " to be determined, 0, cancels, 1,2,3,4,5,6,7,8,9 ".Due to When being inputted every time by dummy keyboard, the corresponding key assignments of key mapping is all to determine.Therefore, when user input significant data, such as During password, criminal may obtain the input of user by recording the key mapping that user interacts, so as to cause user Significant data is divulged a secret, and is unfavorable for secret protection, and safety is not high.
Invention content
Based on this, it is necessary to for safety it is not high the problem of, provide it is a kind of can prevent input divulge a secret, so as to improve peace The dummy keyboard providing method and device of full property.
A kind of dummy keyboard providing method, includes the following steps:
Obtain dummy keyboard triggering command;
Random rearrangement is carried out to pre-stored first key assignments queue, obtains second different from the first key assignments queue Key assignments queue;
According to preset virtual key position and the correspondence of position of the key assignments in key assignments queue, obtain and virtual key position pair Key assignments in the second key assignments queue answered;
Key assignments in the second key assignments queue corresponding with virtual key position of the acquisition shows the virtual key position.
A kind of dummy keyboard provides device, including:
Trigger module, for obtaining dummy keyboard triggering command;
Random alignment module for carrying out random rearrangement to pre-stored first key assignments queue, obtains and described first The second different key assignments queue of key assignments queue;
Key assignments acquisition module, for the corresponding pass according to position of the preset virtual key position with key assignments in key assignments queue System obtains the key assignments in the second key assignments queue corresponding with virtual key position;
Display module shows institute for the key assignments in the second key assignments queue corresponding with virtual key position according to the acquisition State virtual key position.
Above-mentioned dummy keyboard providing method and device, by obtaining triggering command, to pre-stored first key assignments queue Random rearrangement is carried out, obtains the second key assignments queue different from the first key assignments queue, and according to preset virtual key position and key assignments The correspondence of position in key assignments queue obtains the key assignments in the second key assignments queue corresponding with virtual key position, with And virtual key position is shown according to the key assignments in the second key assignments queue of acquisition.Since the corresponding key assignments of virtual key position is obtaining virtually Variation can be generated after keyboard triggering command, it is fixed so as to be dynamic rather than the corresponding key assignments of virtual key position.When user exists During input data, even being interacted with same virtual key position, obtained input results are interacted twice and are also not quite similar, So as to which even if criminal has recorded the virtual key position that user interacts, the real input of user can not be also obtained.Cause This, divulging a secret for user's significant data can be effectively prevented by above-mentioned dummy keyboard providing method and device, be conducive to privacy guarantor Shield, improves safety.
Description of the drawings
Fig. 1 is the flow chart of dummy keyboard providing method in one embodiment;
Fig. 2 is to carry out random rearrangement to pre-stored first key assignments queue in one embodiment, is obtained and the first key assignments The flow diagram of the second different key assignments queue of queue;
Fig. 3 A are the dummy keyboard schematic diagram at mobile hand-held device interface;
Fig. 3 B are another dummy keyboard schematic diagram at mobile hand-held device interface;
Fig. 4 provides the module diagram of device for dummy keyboard in one embodiment;
Fig. 5 is the module diagram of random alignment module in one embodiment;
Fig. 6 is the module diagram of display module in one embodiment.
Specific embodiment
Dummy keyboard is identical with conventional physical keypad function, is widely used in having in the mobile hand-held device of touch screen. Dummy keyboard includes multiple virtual key positions, and virtual key position forms key mapping queue according to default arrangement mode, and pre-sets key mapping Virtual key position in queue and the correspondence of position of the key assignments in key assignments queue, in the correspondence, each virtual key Position has corresponded to storage location of the key assignments in key assignments queue, so as to which each virtual key position corresponds to a key assignments.
Each virtual key position corresponds to a certain regional extent in screen.For example, coordinate system is established in screen, then above-mentioned In coordinate system, virtual key position can correspond to the region being made of X-coordinate range and Y coordinate range.When showing dummy keyboard, according to Above-mentioned pre-set correspondence shows its corresponding key assignments in corresponding key mapping.Refer to when receiving the operation to dummy keyboard When enabling, the operating position included in operational order is obtained(I.e. corresponding X-coordinate and Y coordinate), and then obtain the operating position institute The virtual key position at place(X-coordinate range and Y coordinate range i.e. corresponding to operating position).Further, it obtains and the virtual key The corresponding key assignments in position, is inputted.
As shown in Figure 1, in one embodiment, a kind of dummy keyboard providing method, including step:
Step S110 obtains dummy keyboard triggering command.
In one embodiment, the dummy keyboard triggering for interacting and generating with predetermined physical button or virtual key can be obtained to refer to It enables.By taking mobile terminal as an example, predetermined physical button can be some specific physical button on mobile terminal, when the click button When, then get dummy keyboard triggering command.Default virtual key can be the specific button in the user interface of mobile terminal, When with the button interaction, then dummy keyboard triggering command is got.In addition, it can also be obtained when receiving application request operation Dummy keyboard triggering command.For example, after the instruction for receiving request input password, then dummy keyboard triggering is obtained automatically and is referred to It enables.
In another embodiment, also dummy keyboard triggering command can be obtained after the primary input of every completion.For example, with The family password to be inputted includes six characters, after the input after one character of every completion, will reacquire dummy keyboard Triggering command.
Step S120 carries out random rearrangement to pre-stored first key assignments queue, obtains and the first key assignments queue The second different key assignments queues.
Specifically, key assignments queue of the first key assignments queue for the dummy keyboard of last display.Comprising more in key assignments queue A key assignments, and key assignments therein is arranged according to predetermined order.By changing putting in order for key assignments, then different key assignments is can obtain Queue.All possible key assignments queue obtained from changing the putting in order of key assignments included in key assignments queue hasKind is possible, Wherein, n represents the key assignments number that the key assignments queue includes.
In the present embodiment, by changing putting in order for the key assignments included in the first key assignments queue, the second key assignments team is obtained Row.Further, it after obtaining the second key assignments queue, can be also compared with the first key assignments queue, if the second key assignments queue and the One key assignments queue is identical, then reacquires the second key assignments queue until the second key assignments queue is different from the first key assignments queue.
By taking mobile hand-held device as an example, comprising 12 key assignments in the first key assignments queue of dummy keyboard, from first to 12nd be followed successively by " determine, 6, cancel, 1,0,2,4,9,3,7,5,8 ".It is as shown in table 1 below:
Table 1
Serial number 1 2 3 4 5 6 7 8 9 10 11 12
Key assignments It determines 6 Cancel 1 0 2 4 9 3 7 5 8
To above-mentioned first key assignments queue into rearrangement.Assuming that obtained key assignments queue is as shown in table 2 below:
Table 2
Serial number 1 2 3 4 5 6 7 8 9 10 11 12
Key assignments It determines 1 Cancel 4 9 3 7 5 8 0 2 6
The difference that puts in order of key assignments queue and the first key assignments queue shown in table 1 shown in table 2.Therefore, the key shown in table 2 Value queue can be used as the second key assignments queue.
In one embodiment, it in key assignments queue, is separated between adjacent two key assignments by separator, above-mentioned steps S120 is specially:
Step S121, the random separator obtained in the first key assignments queue.
First key assignments queue is divided into multiple segments using the separator of acquisition as boundary, segmentation is obtained by step S 123 Segment carry out random recombination and obtain the second key assignments queue.
Specifically, one or more of separator can be obtained at random.It further, will by boundary of the separator of acquisition First key assignments queue is divided into multiple segments.If the number of the separator obtained is m, the quantity for the segment divided is M+1.Correspondingly, the segment obtained to segmentation recombinates, then the second key assignments queue obtained hasKind may.Optional one Kind recombination form obtains the second key assignments queue different from the first key assignments queue.
Further, in one embodiment, separator has unique label, and above-mentioned steps S121 is specially:It obtains Current time value is handled current time value according to preset function, obtains random value, and it is consistent with random value to obtain label Separator.
Specifically, the label of separator is the unique mark of separator, for distinguishing different separators.In an implementation In example, in key assignments queue separator marked as natural number, and the numerical value of each label is respectively positioned in preset numberical range.
In the present embodiment, current time value is first obtained.For example, current time on 08 09th, 2,012 08 point 30 minutes 12 Second, year, month, day, hour, min, last bit value of second can be obtained respectively as current time value, obtained time value be 2,8, 9、8、0、2.In other embodiments, the mode for obtaining current time value is not limited to a kind of above-mentioned mode.Can also obtain year, the moon, Day, when, in minute, second arbitrary several combinations numerical value as current time value.Preset function is random function, for it is current when Between value handled to obtain random value, and the random value and the label of separator made is located at same preset numberical range It is interior.Further, after obtaining current time value, current time value is handled according to preset function, obtains random value, and then obtain mark Number with the consistent separator of random value that obtains.It is appreciated that preset function can be multiple, therefore multiple random values are can obtain, So as to obtain multiple separators.
Since current time is random, the time for obtaining triggering command twice is different.Therefore, pass through current time value As generate random value input, it is ensured that the randomness of obtained random value, so as to make the second key assignments queue of acquisition more with Machine.
Step S130, according to the correspondence of preset virtual key position and position of the key assignments in key assignments queue, obtain with Key assignments in the corresponding second key assignments queue of virtual key position.
The correspondence of position of the preset virtual key position with key assignments in key assignments queue refers specifically to:It is included in key assignments queue Multiple storage locations for being used to store key assignments, each virtual key position is corresponding with a scheduled storage location, the key of virtual key position Value is just the key assignments stored in its corresponding storage location.For example, the storage location in key assignments queue is respectively provided with unique number, Then each virtual key position is corresponding with a scheduled number.Due to compared with the first key assignments queue, key assignments in the second key assignments queue Put in order and change, then the key assignments stored in same storage location can change, so as to which virtual key position is corresponding Key assignments in second key assignments queue can change.
By taking mobile hand-held device as an example, the dummy keyboard that is shown on screen includes 12 virtual key positions, and by from a left side to Sequence number consecutively right, from top to bottom is 1 ~ 12 number key position.Key assignments queue includes 12 storage locations, is followed successively by 1 ~ No. 12 Storage location.Preset correspondence is specially:1 ~ 12 number key position is once corresponding with 1 ~ No. 12 storage location.If the first key assignments team Row are as shown in table 1, then the corresponding key assignments in 1 ~ 12 number key position be respectively " determine, 6, cancel, 1,0,2,4,9,3,7,5,8 ".Into one Step, if being recombinated to the first key assignments queue, it is as shown in table 2 to obtain the second key assignments queue, then the corresponding key in 1 ~ 12 number key position Value be respectively " determine, 1, cancel, 4,9,3,7,5,8,0,2,6 ".
Step S140, the key assignments in the second key assignments queue corresponding with virtual key position of acquisition show virtual key position.
Specifically, key assignments in the corresponding second key assignments queue of virtual key position is obtained as new key assignments, according to acquisition New key assignments shows virtual key position, obtains new dummy keyboard.Specifically in the present embodiment, display should in respective virtual key mapping The corresponding new key assignments of virtual key position is to obtain new dummy keyboard.
By taking mobile hand-held device as an example, as shown in Figure 3A, obtained new dummy keyboard is as shown in Figure 3B for former dummy keyboard.
In one embodiment, above-mentioned steps S140 is:Obtain the key in the second key assignments queue corresponding with virtual key position It is worth corresponding key mapping attribute;According to the corresponding virtual key position of key mapping attribute display of acquisition.
Specifically, in one embodiment, key mapping attribute should be stored in corresponding key-value pair in preset attribute list.In advance If attribute list include key field and attribute field corresponding with key field.Key assignments is stored in key field, with key It is worth corresponding key mapping attribute correspondence to be stored in attribute field.Further, the second key assignments corresponding with virtual key position is being obtained Key assignments in queue(I.e. new key assignments)Afterwards, it inquires, obtains and new key assignments in attribute list by inquiry major key of new key assignments Corresponding key mapping attribute, and then obtain the key mapping attribute corresponding to virtual key position.
Wherein, the correspondence of key assignments and key mapping attribute can be preset, different ambulatory handheld in attribute list Correspondence in equipment is different.In addition, the correspondence of key assignments and key mapping attribute can also be instructed according to the setting of user and be carried out Personal settings, so as to make key assignments and the correspondence of key mapping attribute and other equipment phase region in each mobile hand-held device Not.
In one embodiment, key mapping attribute includes key mapping color attribute and/or key mapping shape attribute.Wherein, color category Property can be used for setting virtual key position color.And shape attribute can be used for the shape of setting virtual key position.It is appreciated that key mapping category Property includes but not limited to above two attribute.
Further, it if the corresponding key mapping attribute of key assignments is color attribute, is adjusted according to the color attribute of acquisition virtual The brightness of pixel in the range of key mapping corresponding region, shows corresponding color.And if the corresponding key mapping attribute of key assignments be shape attribute, The coordinate on virtual key position boundary then according to the shape attribute of acquisition is set, shows corresponding shape.
It is above-mentioned according to the corresponding key mapping attribute display key mapping of virtual key position, without directly displaying the corresponding key assignments of virtual key position Mode can further improve the safety of input method.Since the key assignments user corresponding to corresponding key mapping attribute knows in advance Or sets itself, it can be operated in input data according to the color and/or shape of virtual key position, what is needed is defeated Enter.At this point, even if criminal has taken the input process of user, but because that can not obtain, key assignments is corresponding with key mapping attribute to close System, can not still obtain the input of user.
As shown in figure 4, in one embodiment, a kind of dummy keyboard provides device, including trigger module 110, random row Row module 120, key assignments acquisition module 130 and display module 140.Wherein:
Trigger module 110 is used to obtain dummy keyboard triggering command.
In one embodiment, trigger module 110 can obtain the void for interacting and generating with predetermined physical button or virtual key Intend keyboard triggering command.By taking mobile terminal as an example, predetermined physical button can be some specific physical button on mobile terminal, when When clicking the button, trigger module 110 gets dummy keyboard triggering command.Default virtual key can be the use of mobile terminal Specific button on the interface of family, when with the button interaction, trigger module 110 gets dummy keyboard triggering command.In addition, also Dummy keyboard triggering command can be obtained when receiving application request operation.For example, in the instruction for receiving request input password Afterwards, trigger module 110 obtains dummy keyboard triggering command automatically.
In another embodiment, trigger module 110 can also obtain dummy keyboard triggering and refer to after the primary input of every completion It enables.For example, user's password to be inputted includes six characters, and after the input after one character of every completion, trigger module 110 Dummy keyboard triggering command will be reacquired.
Random alignment module 120 is used to carry out random rearrangement to pre-stored first key assignments queue, obtains and the first key It is worth the second different key assignments queue of queue.
Specifically, key assignments queue of the first key assignments queue for the dummy keyboard of last display.Comprising more in key assignments queue A key assignments, and key assignments therein is arranged according to predetermined order.By changing putting in order for key assignments, then different key assignments is can obtain Queue.All possible key assignments queue obtained from changing the putting in order of key assignments included in key assignments queue hasKind is possible, Wherein, n represents the key assignments number that the key assignments queue includes.
In the present embodiment, random alignment module 120 is put in order by changing the key assignments included in the first key assignments queue, Obtain the second key assignments queue.Further, it after obtaining the second key assignments queue, can be also compared with the first key assignments queue, if the Two key assignments queues are identical with the first key assignments queue, and random alignment module 120 then reacquires the second key assignments queue until the second key It is different from the first key assignments queue to be worth queue.
In one embodiment, it in key assignments queue, is separated between adjacent two key assignments by separator, random alignment mould Block 120 includes separator acquiring unit 121 and arrangement units 123.Wherein:
Separator acquiring unit 121 is for the separator in the first key assignments queue of acquisition at random.
Arrangement units 123 are used to that the first key assignments queue to be divided into multiple segments using the separator of acquisition as boundary, to dividing The segment cut carries out random recombination and obtains the second key assignments queue.
Specifically, separator acquiring unit 121 can obtain one or more of separator at random.Further, it arranges First key assignments queue is divided into multiple segments by unit 123 using the separator of acquisition as boundary.If the number of the separator obtained For m, then the quantity for the segment divided is m+1.Correspondingly, the segment that arrangement units 123 obtain segmentation carries out weight Group, then the second key assignments queue obtained haveKind may.Recombination form of choosing any one kind of them obtains different from the first key assignments queue Second key assignments queue.
Further, in one embodiment, separator has unique label, and separator acquiring unit 121 is used to obtain Current time value is taken, current time value is handled according to preset function, obtains random value, it is consistent with random value to obtain label Separator.
Specifically, the label of separator is the unique mark of separator, for distinguishing different separators.In an implementation In example, in key assignments queue separator marked as natural number, and the numerical value of each label is respectively positioned in preset numberical range.
In the present embodiment, current time value is first obtained.Preset function is random function, to current time value Reason obtains random value, and the random value and the label of separator made is located in same preset numberical range.Further, After obtaining current time value, current time value is handled according to preset function, obtains random value, so obtain label with obtain with The consistent separator of machine value.It is appreciated that preset function can be multiple, therefore multiple random values are can obtain, it is multiple so as to obtain Separator.
Since current time is random, the time for obtaining triggering command twice is different.Therefore, pass through current time value As generate random value input, it is ensured that the randomness of obtained random value, so as to make the second key assignments queue of acquisition more with Machine.
Key assignments acquisition module 130 is used for the corresponding pass according to position of the preset virtual key position with key assignments in key assignments queue System obtains the key assignments in the second key assignments queue corresponding with virtual key position.
The correspondence of position of the preset virtual key position with key assignments in key assignments queue refers specifically to:It is included in key assignments queue Multiple storage locations for being used to store key assignments, each virtual key position is corresponding with a scheduled storage location, the key of virtual key position Value is just the key assignments stored in its corresponding storage location.For example, the storage location in key assignments queue is respectively provided with unique number, Then each virtual key position is corresponding with a scheduled number.Due to compared with the first key assignments queue, key assignments in the second key assignments queue Put in order and change, then the key assignments stored in same storage location can change, so as to key assignments acquisition module 130 Key assignments in the corresponding second key assignments queue of virtual key position of acquisition can change.
The key assignments that display module 140 is used in the second key assignments queue corresponding with virtual key position according to acquisition is shown virtually Key mapping.
Specifically, the key assignments in the corresponding second key assignments queue of acquisition virtual key position is as new key assignments, display module 140 Virtual key position is shown for the new key assignments according to acquisition, obtains new dummy keyboard.Specifically in this example it is shown that module 140 are used to show the corresponding new key assignments of the virtual key position in respective virtual key mapping to obtain new dummy keyboard.
In one embodiment, display module 140 includes attribute query unit 141 and attribute display unit 143.Wherein:
Attribute query unit 141 is for the corresponding key mapping of key assignments in acquisition the second key assignments queue corresponding with virtual key position Attribute.
Attribute display unit 143 is used for the corresponding virtual key position of key mapping attribute display according to acquisition.
Specifically, in one embodiment, key mapping attribute should be stored in corresponding key-value pair in preset attribute list.In advance If attribute list include key field and attribute field corresponding with key field.Key assignments is stored in key field, with key It is worth corresponding key mapping attribute correspondence to be stored in attribute field.Further, the second key assignments corresponding with virtual key position is being obtained Key assignments in queue(I.e. new key assignments)Afterwards, attribute query unit 141 is inquired by inquiry major key of new key assignments in attribute list, Key mapping attribute corresponding with new key assignments is obtained, and then obtains the key mapping attribute corresponding to virtual key position.
Wherein, the correspondence of key assignments and key mapping attribute can be preset, different ambulatory handheld in attribute list Correspondence in equipment is different.In addition, the correspondence of key assignments and key mapping attribute can also be instructed according to the setting of user and be carried out Personal settings, so as to make key assignments and the correspondence of key mapping attribute and other equipment phase region in each mobile hand-held device Not.
In one embodiment, key mapping attribute includes key mapping color attribute and/or key mapping shape attribute.Wherein, color category Property can be used for setting virtual key position color.And shape attribute can be used for the shape of setting virtual key position.It is appreciated that key mapping category Property includes but not limited to above two attribute.
Further, if the corresponding key mapping attribute of key assignments is color attribute, attribute display unit 143 is according to the face of acquisition The brightness of pixel, shows corresponding color in the range of color Attribute tuning virtual key position corresponding region.If the and corresponding key mapping of key assignments Attribute is shape attribute, and attribute display unit 143 then sets the coordinate on virtual key position boundary, display according to the shape attribute of acquisition Corresponding shape.
Key mapping attribute corresponding with virtual key position is searched, and pass through attribute display unit 143 by attribute query unit 141 It can further improve the safety of input method according to the mode of the corresponding key mapping attribute display key mapping of virtual key position.Due to corresponding Key mapping attribute corresponding to key assignments user know in advance or sets itself, can be according to the face of virtual key position in input data Color and/or shape are operated, the input needed.At this point, even if criminal has taken the input process of user, but because The correspondence of key assignments and key mapping attribute can not be obtained, can not still obtain the input of user.
Above-mentioned dummy keyboard providing method and device, by obtaining triggering command, to pre-stored first key assignments queue Random rearrangement is carried out, obtains the second key assignments queue different from the first key assignments queue, and according to preset virtual key position and key assignments The correspondence of position in key assignments queue obtains the key assignments in the second key assignments queue corresponding with virtual key position, with And virtual key position is shown according to the key assignments in the second key assignments queue of acquisition.Since the corresponding key assignments of virtual key position is obtaining virtually Variation can be generated after keyboard triggering command, it is fixed so as to be dynamic rather than the corresponding key assignments of virtual key position.When user exists During input data, even being interacted with same virtual key position, obtained input results are interacted twice and are also not quite similar, So as to which even if criminal has recorded the virtual key position that user interacts, the real input of user can not be also obtained.Cause This, divulging a secret for user's significant data can be effectively prevented by above-mentioned dummy keyboard providing method and device, be conducive to privacy guarantor Shield, improves safety.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory(Read-Only Memory, ROM)Or random access memory(Random Access Memory, RAM)Deng.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously Cannot the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (8)

1. a kind of dummy keyboard providing method, includes the following steps:
Obtain dummy keyboard triggering command;
Random rearrangement is carried out to pre-stored first key assignments queue, obtains second key assignments different from the first key assignments queue Queue;
According to preset virtual key position and the correspondence of position of the key assignments in key assignments queue, obtain corresponding with virtual key position Key assignments in the second key assignments queue;
Key assignments in the second key assignments queue corresponding with virtual key position of the acquisition shows the virtual key position;
Key assignments in the second key assignments queue corresponding with virtual key position according to the acquisition shows the virtual key position Step is:
Obtain the corresponding key mapping attribute of key assignments in the second key assignments queue corresponding with the virtual key position;
According to the corresponding virtual key position of key mapping attribute display of acquisition;
Wherein, the correspondence of key assignments and key mapping attribute is instructed according to the setting of user carries out personal settings.
2. dummy keyboard providing method according to claim 1, which is characterized in that described to pre-stored first key assignments Queue carries out random rearrangement, and the step of obtaining the second key assignments queue different from the first key assignments queue is:
The separator in the first key assignments queue is obtained at random;
The first key assignments queue is divided into multiple segments using the separator of acquisition as boundary, the segment that segmentation obtains is carried out Random recombination obtains the second key assignments queue.
3. dummy keyboard providing method according to claim 2, which is characterized in that the separator has unique mark Number, it is described obtain at random in the first key assignments queue separator the step of be:
Obtain current time value, the current time value handled according to preset function, obtain random value, obtain label with The consistent separator of the random value.
4. dummy keyboard providing method according to claim 1, which is characterized in that the key mapping attribute includes key mapping color Attribute and/or key mapping shape attribute.
5. a kind of dummy keyboard provides device, which is characterized in that described device includes:
Trigger module, for obtaining dummy keyboard triggering command;
Random alignment module for carrying out random rearrangement to pre-stored first key assignments queue, obtains and first key assignments The second different key assignments queue of queue;
Key assignments acquisition module for the correspondence according to preset virtual key position and position of the key assignments in key assignments queue, obtains Take the key assignments in the second key assignments queue corresponding with virtual key position;
Display module shows the void for the key assignments in the second key assignments queue corresponding with virtual key position according to the acquisition Intend key mapping;
The display module includes:
Attribute query unit, for obtaining the corresponding key mapping category of key assignments in the second key assignments queue corresponding with virtual key position Property;
Attribute display unit, for the corresponding virtual key position of key mapping attribute display according to acquisition;
Wherein, the correspondence of key assignments and key mapping attribute is instructed according to the setting of user carries out personal settings.
6. dummy keyboard according to claim 5 provides device, which is characterized in that the random alignment module includes:
Separator acquiring unit, for obtaining the separator in the first key assignments queue at random;
Arrangement units, for the first key assignments queue to be divided into multiple segments by boundary of the separator of acquisition, to segmentation Obtained segment carries out random recombination and obtains the second key assignments queue.
7. dummy keyboard according to claim 6 provides device, which is characterized in that the separator has unique mark Number, the separator acquiring unit is used to obtain current time value, and the current time value is handled according to preset function, Random value is obtained, obtains the label separator consistent with the random value.
8. dummy keyboard according to claim 5 provides device, which is characterized in that the key mapping attribute includes key mapping color Attribute and/or key mapping shape attribute.
CN201210307997.6A 2012-08-27 2012-08-27 Dummy keyboard providing method and device Active CN103631507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210307997.6A CN103631507B (en) 2012-08-27 2012-08-27 Dummy keyboard providing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210307997.6A CN103631507B (en) 2012-08-27 2012-08-27 Dummy keyboard providing method and device

Publications (2)

Publication Number Publication Date
CN103631507A CN103631507A (en) 2014-03-12
CN103631507B true CN103631507B (en) 2018-06-15

Family

ID=50212632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210307997.6A Active CN103631507B (en) 2012-08-27 2012-08-27 Dummy keyboard providing method and device

Country Status (1)

Country Link
CN (1) CN103631507B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549896B (en) * 2016-02-25 2018-10-09 中国联合网络通信集团有限公司 A kind of aligning method and its arranging system of dummy keyboard
CN107239214A (en) * 2016-03-28 2017-10-10 北京神州泰岳软件股份有限公司 The display methods and device of button in soft keyboard
CN106529943A (en) * 2016-10-21 2017-03-22 维沃移动通信有限公司 Method of guaranteeing payment security and mobile terminal
CN110275623B (en) * 2018-03-15 2023-08-08 龙芯中科技术股份有限公司 Method and device for triggering key values of keys
CN110598486B (en) * 2019-08-30 2022-02-15 北京奇艺世纪科技有限公司 Virtual keyboard encryption method and device and readable storage medium
CN110889095B (en) * 2019-11-18 2022-02-25 中国银行股份有限公司 Control method and control device of virtual numeric keyboard

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388059A (en) * 2007-09-14 2009-03-18 英业达股份有限公司 Screen key entry system for preventing trojan program and method thereof
CN101499907A (en) * 2009-02-19 2009-08-05 西安电子科技大学 Shoulder surfing preventing identity authentication system and method based on dynamic image password

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021756A (en) * 2007-03-05 2007-08-22 郭文 Dynamic displaying cipher keboard
RU2377636C1 (en) * 2008-08-06 2009-12-27 Государственное образовательное учреждение высшего профессионального образования "Томский политехнический университет" Electronic device keyboard

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388059A (en) * 2007-09-14 2009-03-18 英业达股份有限公司 Screen key entry system for preventing trojan program and method thereof
CN101499907A (en) * 2009-02-19 2009-08-05 西安电子科技大学 Shoulder surfing preventing identity authentication system and method based on dynamic image password

Also Published As

Publication number Publication date
CN103631507A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN103631507B (en) Dummy keyboard providing method and device
CN105956857A (en) System and method for generating security virtual password keyboard
RU2656685C1 (en) Password formation method and device for its implementation
CN102984349B (en) Method and device for screen locking code generating and screen unlocking method and screen unlocking device and mobile terminal
CN103607274B (en) A kind of method generating dynamic password with static password for source
CN103745174B (en) A kind of method of work of safety keyboard
US9652619B2 (en) Method of inputting confidential data on a terminal
CN106709382A (en) Keyboard display method and device
CN103906039A (en) Method and device for preventing leakage of mobile phone numbers
CN105809000A (en) Information processing method and electronic device
CN101655768A (en) Anti-peep password input method
CN102957688A (en) Password input and verification method and device
CN102043586A (en) Method and device for displaying background color in electronic form
KR101122197B1 (en) Method of displaying virtual keypad for preventing the leaking of information
CN104966017B (en) A kind of Password Input protects system and method
CN104579637A (en) Key generation method and device
CN106250453A (en) The cipher text retrieval method of numeric type data based on cloud storage and device
EP2966550A1 (en) Apparatus and method for providing feedback on input data
CN105446516A (en) Information input method and device
CN107808076B (en) Unlocking method of terminal equipment, terminal equipment and storage medium
CN104463038B (en) Cipher-code input method and its system
WO2016184046A1 (en) Input method and apparatus, and user equipment
WO2019165978A1 (en) Password input method and device using indirect input of random character field mark
US11190505B2 (en) Password card hinting system
CN106326703A (en) An encryption method, a decryption method and an electronic apparatus

Legal Events

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