CN106951151A - Key assignments generation method, device and terminal - Google Patents

Key assignments generation method, device and terminal Download PDF

Info

Publication number
CN106951151A
CN106951151A CN201610008038.2A CN201610008038A CN106951151A CN 106951151 A CN106951151 A CN 106951151A CN 201610008038 A CN201610008038 A CN 201610008038A CN 106951151 A CN106951151 A CN 106951151A
Authority
CN
China
Prior art keywords
key assignments
finger
pressing operation
default
fingerprint
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
CN201610008038.2A
Other languages
Chinese (zh)
Other versions
CN106951151B (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.)
Silead Inc
Original Assignee
Silead Inc
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 Silead Inc filed Critical Silead Inc
Priority to CN201610008038.2A priority Critical patent/CN106951151B/en
Publication of CN106951151A publication Critical patent/CN106951151A/en
Application granted granted Critical
Publication of CN106951151B publication Critical patent/CN106951151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A kind of key assignments generation method, device and terminal, the key assignments generation method include:Detect the pressing operation of finger;Based on the pressing operation detected, the fingerprint of the finger is gathered;If the fingerprint of the finger is bound with default key assignments, the default key assignments is generated;Wherein, the default key assignments is configured according to input environment.Key assignments generation method, device and the terminal of the present invention is bound by possessing the fingerprint of uniqueness with default key assignments, the fingerprint is corresponded with default key assignments, while fingerprint is detected, default key assignments can just be generated, the default key assignments is configured according to input environment, realizes the variation of virtual key type.

Description

Key assignments generation method, device and terminal
Technical field
The present invention relates to fingerprint application technical field, more particularly to a kind of key assignments generation method, device and end End.
Background technology
With the popularization of intelligent terminal, realize that operation and control to intelligent terminal become more next by touching It is more convenient.Wherein, key assignments is produced by the touch control operation of finger, and is entered by key-value pair intelligent terminal The a series of operation of row, is more and more used in the design of terminal device.
In the prior art, conventional virtual key type has:Navigate virtual key and common virtual key.Wherein, The virtual key (Joystick) that navigates is intelligent terminal utilization rate highest part, it is possible to achieve to bottom left in terminal Right control.The virtual key that navigates is that various actions are done on fingerprint module by finger, and these actions are upper Under move left and right, and be mapped to key up and down.Common virtual key be then finger carry out long-press, short-press with And the action such as double-click, and these actions can be mapped to different keyboard key assignments.Navigate virtual key and common Virtual key can be configured during the use of user, in each start, by configuration file, Obtain the key assignments of every kind of virtual key.A kind of method of the prior art is the real-time operation based on linux system The interface that system Kernel is provided produces key assignments.
But, the key assignments that the touch operation by finger of prior art is generated is relatively simple, it is impossible to realize Complex function, the use to terminal virtual key brings inconvenience, while reducing the business of terminal Treatment effeciency.
The content of the invention
Present invention solves the technical problem that being the variation for how realizing virtual key type.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of key assignments generation method, key assignments generation Method includes:
Detect the pressing operation of finger;
Based on the pressing operation detected, the fingerprint of the finger is gathered;
If the fingerprint of the finger is bound with default key assignments, the default key assignments is generated;Wherein, institute Default key assignments is stated to be configured according to input environment.
Optionally, based on the pressing operation detected, gathering the fingerprint of the finger includes:
When detecting the pressing operation, the duration of the pressing operation is detected;
If the duration of the pressing operation exceedes default long-press time threshold, the finger is exported Line.
Optionally, the key assignments generation method also includes:
It is less than the long-press time gate in the duration for detecting the pressing operation and the pressing operation In limited time, the movement locus of the finger is detected;
According to the trace generator of finger navigation virtual key.
Optionally, the key assignments generation method also includes:
If the duration of the pressing operation is less than the default long-press time threshold and is not detected by The movement locus of the finger, then operate the action recognition of the finger for short-press;According to current input The corresponding key assignments of environment generation.
Optionally, if the fingerprint of the finger is not bound with the default key assignments, and the pressing operation Duration exceed the long-press time threshold, then by the action recognition of the finger be long-press operation; Corresponding key assignments is generated according to current input environment.
Optionally, if the duration of the pressing operation is less than default double-click compressing time, and this Secondary pressing operation release movement is less than default double-click with the time interval that pressing operation next time presses action Interval time, then be double click operation by the action recognition of the finger;According to current input environment generation pair The key assignments answered.
Optionally, the key assignments of generation is used to be converted to the operational order for being available for terminal device to perform.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of key assignments generating means, key assignments Generating means include:
Detection unit, is adapted to detect for the pressing operation of finger;
Fingerprint collecting unit, suitable for based on the pressing operation detected, gathering the fingerprint of the finger;
Key assignments generation unit, when being bound suitable for the fingerprint in the finger and default key assignments, is generated described pre- If key assignments.
Optionally, key assignments generating means also include:
Time detecting unit, when detecting the pressing operation, to the duration of the pressing operation Detected;
Identifying unit, judges the duration of the pressing operation and the relation of default long-press time threshold, When the duration of the pressing operation exceeding the default long-press time threshold, then the finger is exported Line.
Optionally, key assignments generating means also include:
Track detection unit, is less than in the duration for detecting the pressing operation and the pressing operation During the long-press time threshold, the movement locus of the finger is detected;
The key assignments generation unit is according to the trace generator of finger navigation virtual key.
Optionally, the key assignments generation unit is less than described default in the duration of the pressing operation Long-press time threshold and when being not detected by the movement locus of the finger, then by the action recognition of the finger Operated for short-press, and corresponding key assignments is generated according to current input environment.
Optionally, the key assignments generation unit is not bound in the fingerprint of the finger with the default key assignments, And the duration of the pressing operation is when exceeding the long-press time threshold, the action of the finger is known Not Wei long-press operation, and corresponding key assignments is generated according to current input environment.
Optionally, the key assignments generation unit is less than default double-click in the duration of the pressing operation Compressing time, and this pressing operation release movement presses the time interval of action with pressing operation next time Less than it is default double-click interval time when, by the action recognition of the finger be double click operation, and according to work as Preceding input environment generates corresponding key assignments.
Optionally, key assignments generating means also include:
Key assignments converting unit, suitable for the key assignments of generation to be converted to the operation for being available for terminal device to perform Instruction.
In order to solve the above technical problems, the embodiment of the invention also discloses a kind of terminal, the terminal includes The key assignments generating means.
Compared with prior art, the technical scheme of the embodiment of the present invention has the advantages that:
Pressing operation of the invention by detecting finger, based on the pressing operation detected, gathers the hand The fingerprint of finger, is acquired to finger print, make use of the uniqueness feature of fingerprint;If the finger Fingerprint and default key assignments bind, then generate the default key assignments, by possess the fingerprint of uniqueness with it is pre- If key assignments is bound, the fingerprint is corresponded with default key assignments, while fingerprint is detected, just Default key assignments can be generated, the default key assignments can be configured according to input environment, realized virtual The variation of key type.
Further, the movement locus of the present invention detection finger, gives birth to according to the movement locus of the finger Into navigation virtual key;, will be described according to the duration of the pressing operation, the number of times of pressing operation The action recognition of finger is short-press operation, long-press operation or double click operation, and is given birth to according to current input environment Into corresponding key assignments, a variety of virtual keys coexisting under same operating environment is realized, virtual key is improved The convenience used.
Brief description of the drawings
Fig. 1 is a kind of key assignments generation method flow chart of the embodiment of the present invention;
Fig. 2 is another key assignments generation method flow chart of the embodiment of the present invention;
Fig. 3 is a kind of structural representation of key assignments generating means of the embodiment of the present invention;
Fig. 4 is the structural representation of another key assignments generating means of the embodiment of the present invention;
Fig. 5 is a kind of data flow schematic diagram of key assignments generation method of the embodiment of the present invention in actual applications.
Embodiment
As described in the background art, the key assignments that the touch operation by finger of prior art is generated is more single One, it is impossible to realize complex function, the use to terminal virtual key brings inconvenience, reduces simultaneously The Business Processing efficiency of terminal.
It is understandable to enable above-mentioned purpose, feature and beneficial effect of the invention to become apparent, with reference to Accompanying drawing is described in detail to the specific embodiment of the present invention.
Fig. 1 is a kind of key assignments generation method flow chart of the embodiment of the present invention.
Alleged key assignments of the invention is the corresponding key assignments of virtual key.Wherein, the virtual key can include navigation Virtual key, common virtual key and combination function virtual key.The virtual key that navigates includes key up and down, commonly Virtual key includes long keying, short-press key and double-click, and combination function virtual key refers to the Fingers with registration The button of line association, the finger each registered can be bound with corresponding key assignments, for example, can be, thumb Bind F1, forefinger binding F2 etc..The key assignments of virtual key can be configured.
Fig. 1 is refer to, the key assignments generation method includes:Step S101, detects the pressing operation of finger.
In the present embodiment, in the generating region of virtual key, the pressing operation of finger is detected, that is, detects finger Whether contacted with virtual key generating region.The release operation of finger can also be detected, that is, whether detects finger Leave virtual key generating region.In virtual key generating region, finger detection means can be configured, hand is detected The pressing and release operation of finger, can also detect the motor performance of finger.
Step S102, based on the pressing operation detected, gathers the fingerprint of the finger.
In the present embodiment, during the pressing operation detected in virtual key generating region, the finger is gathered Fingerprint.Wherein, the collection of the fingerprint can be acquired finger and grasped in pressing by fingerprint authentication device The image of the fingerprint produced in work.
In the embodiment of the present invention, by detecting the pressing operation of finger, the collection of finger print is carried out, is entered And the duration of the pressing operation is judged by the time continuity of fingerprint collecting, reaching length on time Between thresholding when, export fingerprint, carry out the judgement of default key assignments binding.
Step S103, if the fingerprint of the finger is bound with default key assignments, generates the default key assignments.
In the present embodiment, the fingerprint image data collected can carry out preset key after image preprocessing It is worth the judgement of binding.The default key assignments is configured according to input environment, and is carried out with specific fingerprint Binding.The binding of the fingerprint and default key assignments can be judged by fingerprint authentication device, identified and adopted Whether the fingerprint image of collection is the fingerprint configured, if it is, returning to corresponding default key assignments, and is converted to The operational order for being available for terminal device to perform.Wherein, current input environment refers to that finger pressing operation is wanted The program of control or application.
The embodiment of the present invention is bound by possessing the fingerprint of uniqueness with default key assignments, the fingerprint with Default key assignments is corresponded, while fingerprint is detected, it is possible to the default key assignments of generation, described default Key assignments is configured according to input environment, realizes the variation of virtual key type.
It is understood that the collection of fingerprint can set appropriate precondition, to avoid repeatedly need not Strategic point collection fingerprint causes overweight system burden.For example, detect after push action, can be to fingerprint Part collection is carried out, is acted up and down with detecting, the judgement of navigation virtual key is carried out, works as pressing operation Duration when exceeding long-press time threshold, then start to gather complete fingerprint, carry out default key assignments Judge, improve the efficiency of whole key assignments generating process, can also so avoid whole caused by short-term operation The problem of fingerprint collecting fails.
Fig. 2 is another key assignments generation method flow chart of the embodiment of the present invention.
Fig. 2 is refer to, the key assignments generation method includes:Step S201, detects the pressing operation of finger, The duration of the pressing operation is detected.
In the present embodiment, in virtual key generating region, the pressing operation of finger produces different virtual keys Difference is that the pressing operation duration is different, therefore the duration of pressing operation is detected.Its In, the duration of pressing operation can be realized by configuring finger detection means, by detecting finger At the time of pressing and at the time of finger discharges, release moment and the time difference for pressing the moment, as finger The pressing operation duration.
Step S202, judges whether the duration of the pressing operation exceedes default long-press time threshold, If it is, into step S203, otherwise, into step S204.
Step S203, gathers the fingerprint of the finger.
Step S204, detects the movement locus of the finger.
In the present embodiment, the generation of key assignments is preset in combination function key needs finger to carry out long-press operation, and Default long-press time threshold is reached, for example, can be 400ms, can just collect effective finger print data, The effective finger print data refers to the complete finger print view data of finger.Each pressing operation bag of finger Include and press action and release movement, between the time pressed between action and release movement of current press operation The duration operated every as current press.When the pressing operation of finger is not reaching to default length on time Between thresholding when, without preset key assignments generating process;Then need to detect the movement locus of finger, So as to carry out the generation of other kinds of virtual key and virtual key, for example, it can be navigation virtual key The generating process of value.
Step S205, judges whether movement locus, if it is, into step S206, otherwise, Into step S207.
Step S206, according to the trace generator of finger navigation virtual key.
In the present embodiment, when detecting the movement locus of finger, then the judgement of navigation virtual key, root are carried out According to the movement locus, for example, can be to move up, move down, move to left or move to right, the corresponding upper key of generation, Lower key, left button or right button, and corresponding key assignments is mapped as, and be converted to the behaviour for being available for terminal device to perform Instruct.
Step S207, judges whether the duration of pressing operation is less than default double-click compressing time, and This pressing operation release movement is less than default double with the time interval that pressing operation next time presses action Interval time is hit, if it is, into step S208, otherwise, into step S209.
Step S208, is double click operation by the action recognition of the finger, is given birth to according to current input environment Into corresponding key assignments.
Step S209, the action recognition of the finger is operated for short-press, and according to current input environment Generate corresponding key assignments.
In the present embodiment, it is less than default double-click compressing time in the duration of pressing operation, for example may be used To be 250ms, and between this pressing operation release movement and pressing operation presses action next time time Every less than default double-click interval time, for example, can be 50ms, then the current action of finger can be recognized The double click operation of position common virtual key, the corresponding double-click of generation double click operation for example can be that mouse is double Hit corresponding key assignments.Otherwise, the action recognition of the finger is operated for short-press, generates short-press key, and Corresponding key assignments is generated according to current input environment, for example, can be the corresponding key assignments of mouse-click.Its In, the key assignments is associated with current input environment, for example, can be, according to the application of terminal currently not Together, after double-click or short-press key are produced, the corresponding key assignments sent to control system is also different.
It is understood that above-mentioned long-press time threshold, default double-click compressing time and default double-click Interval time can do the adjustment of adaptability according to actual applied environment, and the embodiment of the present invention is not done to this Limitation.
Step S210, judges whether the fingerprint binds default key assignments, if it is, into step S211, Otherwise step S212 is entered.
Step S211, generates the default key assignments.
Step S212, the action recognition of the finger is operated for long-press, and according to current input environment Generate corresponding key assignments.
In the present embodiment, when judging that the default key assignments of fingerprint binding is successful, current finger print binding is sent Key assignments, the default key assignments is configured according to input environment, and is bound with specific fingerprint.It is no When then, that is, not bound with default key assignments, the operation of current finger is identified as long-press virtual key, and Corresponding key assignments is sent according to current input environment.
In the embodiment of the present invention, the generating process of navigation virtual key, common virtual key and function Macintosh can To be configured by user and be controlled.For example, closing the judgement of navigation virtual key, then pressed in finger During press operation, the judgement of function Macintosh and common virtual key is only carried out, other situations can analogy. The virtual key of above-mentioned multiple types is lived altogether, a variety of virtual keys can be in the lower production that meets some requirements Raw corresponding key assignments, it is not necessary to turn off certain virtual key and go to give way to another virtual key, and a variety of keys Value will not be interfered with each other.And once-through operation allows to send a kind of key assignments, so that will not be in current finger movement During, send multiple key assignments.For example can be, it is general when the virtual key that navigates is produced and sends key assignments Logical virtual key can also produce key assignments.Under same system state, for example, it can be room and time On some point, application program can produce more virtual keys with finger, can cover applied environment configuration In default key assignments, so as to produce other any key assignments, more control operations can be produced, it is empty The function of intending key is more enriched.
In the key assignments generation method of the embodiment of the present invention, can according to the concrete condition of current input environment, The default key assignments of any of the above virtual key is dynamically changed, the mobilism of key assignments is reached, for example, can be, When on operating system desktop, the corresponding key assignments of long keying of common virtual key is HOME keys;In camera In, the key assignments of long keying can be configured to key of taking a picture, once long-press is detected in camera applications The generation of key, then send the control command taken pictures, and carries out photographing operation.
Fig. 3 is a kind of structural representation of key assignments generating means of the embodiment of the present invention.
Fig. 3 is refer to, key assignments generating means include:Detection unit 301, is adapted to detect for the pressing behaviour of finger Make.
Fingerprint collecting unit 302, suitable for based on the pressing operation detected, gathering the fingerprint of the finger.
Key assignments generation unit 303, when being bound suitable for the fingerprint in the finger and default key assignments, generation is described Default key assignments.
In the present embodiment, in the generating region of virtual key, detection unit 301 detects the pressing operation of finger, That is whether detection finger contacts with virtual key generating region.The release operation of finger can also be detected, that is, is examined Survey whether finger leaves virtual key generating region.Detection unit 301 is detected in virtual key generating region During pressing operation, the image for the fingerprint that the collection finger of fingerprint collecting unit 302 is produced in pressing operation. The fingerprint image data collected can be sent to key assignments generation unit 303 after image preprocessing, carry out The judgement of default key assignments binding.The default key assignments is configured according to input environment, and with specifically referring to Line is bound.If binding, corresponding default key assignments is returned, and is converted to and is available for terminal device to perform Operational order.Wherein, current input environment refers to the program or application that finger pressing operation to be controlled.
Fig. 4 is the structural representation of another key assignments generating means of the embodiment of the present invention.
Fig. 4 is refer to, key assignments generating means include:Detection unit 401, time detecting unit 402, sentence Order member 403, fingerprint collecting unit 404, track detection unit 405, key assignments generation unit 406 and key It is worth converting unit 407.
Wherein, detection unit 401 is adapted to detect for the pressing operation of finger.
Time detecting unit 402 when detecting the pressing operation, to the pressing operation it is lasting when Between detected.
Identifying unit 403 judges duration of the pressing operation and default long-press time threshold, double The relation of compressing time is hit, and this pressing operation release movement presses action with pressing operation next time Time interval with it is default double-click interval time relation.
Fingerprint collecting unit 404 is suitable to the fingerprint that the finger is gathered based on the pressing operation detected.
In the present embodiment, the gatherer process of fingerprint can include:Detect after push action, fingerprint is entered Row part is gathered, and is acted up and down with detecting, carries out the judgement of navigation virtual key;When pressing operation When duration exceedes long-press time threshold, complete fingerprint is gathered.
Track detection unit 405 is small in the duration for detecting the pressing operation and the pressing operation When the long-press time threshold, the movement locus of the finger is detected.
Key assignments generation unit 406 is suitable to when the fingerprint of the finger is bound with default key assignments, and generation is described Default key assignments.The key assignments generation unit 406 generates default key assignments according to finger binding state, according to institute The trace generator navigation virtual key of finger is stated, corresponding long-press is generated according to the pressing operation of finger Key assignments, short-press key assignments double-click key assignments.
In specific implementation, the key assignments generation unit 406 is less than institute in the duration of the pressing operation When stating default long-press time threshold and being not detected by the movement locus of the finger, then by the finger Action recognition operates for short-press, and generates corresponding key assignments according to current input environment.The key assignments generation Unit 406 do not bind in the fingerprint of the finger with the default key assignments, and the pressing operation continues When time exceedes the long-press time threshold, the action recognition of the finger is operated for long-press, and according to Current input environment generates corresponding key assignments.The holding in the pressing operation of key assignments generation unit 406 The continuous time is less than default double-click compressing time, and this pressing operation release movement is grasped with pressing next time When the time interval for pressing action is less than default double-click interval time, by the action recognition of the finger For double click operation, and corresponding key assignments is generated according to current input environment.
Key assignments converting unit 407 is suitable to being converted to the key assignments of generation into the behaviour for being available for terminal device to perform Instruct.
The key assignments generating means of the embodiment of the present invention can as a virtual user's space input equipment, For example can be able to be that navigation virtual key, common virtual key and combination function are empty different types of key assignments Intend key, be set to multiple virtual key inputting devices, it is possible to realize and open and close respective virtual key input The switching of equipment, it is easy to use easy, improve Consumer's Experience.
The embodiment of the embodiment of the present invention can refer to foregoing corresponding embodiment, and here is omitted.
The embodiment of the invention also discloses a kind of terminal, the terminal is configured with the key assignments generating means. The key assignments that the terminal can be generated according to the key assignments generating means carries out corresponding control operation.
Fig. 5 is a kind of data flow schematic diagram of key assignments generation method of the embodiment of the present invention in actual applications.
Fig. 5 is refer to, data flow 1 represents that driving interface 502 uploads fingerprint image data, and interface 502 can To be Serial Peripheral Interface (SPI) (Serial Peripheral Interface, SPI);Finger print data reading device 503 will After fingerprint image is pre-processed, transmitted in the way of data flow 2 to finger detection means 504, in detection To the event of finger down, when the duration of pressing operation exceedes default long-press time threshold, with number Fingerprint image frame data are sent to fingerprint authentication device 505 according to the mode of stream 3;Fingerprint authentication device 505 confirms to refer to Line binding information, confirms that binding is then authenticated successfully, and by the default key information of binding with the side of data flow 5 Formula is sent to virtual key generator 506;Meanwhile, finger detection means 504 by the finger state detected, It for example can be to move up, move down, move to left, move to right, press or discharge, be sent in the way of data flow Virtual key generator 506;Virtual key generator 506 is transmitted the virtual key of generation in the way of data flow 6 To virtual key input device manager 507, and current virtual key input device is used with the side of data flow 7 Formula sends key assignments to control system 508.
Wherein, the application layer 501 of application program controls virtual key manager 510 in the way of data flow 11, And the behavior of virtual key generator 506 is controlled in the way of data flow 8, for example can be that either on or off is led Navigate virtual key, function Macintosh or common virtual key.Virtual key manager 510 can also be according to application layer 11 configuration controls dummy keyboard input unit manager 507 in the way of data flow 10, selects currently Virtual keypad input device.
In addition, dummy keyboard input configurator 509 can be by the default key of a variety of dummy keyboard input units Value is sent to dummy keyboard input unit manager in the way of data flow 9, for example, can be that navigation is virtual The key assignments of key, the default key assignments of common virtual key and function combine the default key assignments of virtual key, Duo Gexu Intend recording the information of the default key assignments in the corresponding configuration file of finger-impu system correspondence, configuration file.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment It is rapid to can be by program to instruct the hardware of correlation to complete, with reference to embodiment disclosed herein description Method can be embodied directly in hardware, in the software module by computing device the step of algorithm or Embodied in combination of the two.Software module can reside in RAM memory, flash memory, ROM memory, Eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM, Or in the storage medium of any other form known in the art.Exemplary storage medium is coupled to processing Device reads and write information from/to the storage medium to enable the processor.In alternative, storage Medium can be integrated into processor.
Although present disclosure is as above, the present invention is not limited to this.Any those skilled in the art, Without departing from the spirit and scope of the present invention, it can make various changes or modifications, therefore the guarantor of the present invention Shield scope should be defined by claim limited range.

Claims (15)

1. a kind of key assignments generation method, it is characterised in that including:
Detect the pressing operation of finger;
Based on the pressing operation detected, the fingerprint of the finger is gathered;
If the fingerprint of the finger is bound with default key assignments, the default key assignments, the preset key are generated Value is configured according to input environment.
2. key assignments generation method according to claim 1, it is characterised in that based on described in detecting by Press operation, gathering the fingerprint of the finger includes:
When detecting the pressing operation, the duration of the pressing operation is detected;
If the duration of the pressing operation exceedes default long-press time threshold, the fingerprint is exported.
3. key assignments generation method according to claim 2, it is characterised in that also include:
It is less than the long-press time threshold in the duration for detecting the pressing operation and the pressing operation When, detect the movement locus of the finger;
According to the trace generator of finger navigation virtual key.
4. key assignments generation method according to claim 2, it is characterised in that also include:
If the duration of the pressing operation is less than the default long-press time threshold and is not detected by institute The movement locus of finger is stated, then is operated the action recognition of the finger for short-press;According to current input The corresponding key assignments of environment generation.
5. key assignments generation method according to claim 2, it is characterised in that if the fingerprint of the finger Do not bound with the default key assignments, and the duration of the pressing operation exceedes the long-press time gate Limit, then operate the action recognition of the finger for long-press;Generated according to current input environment corresponding Key assignments.
6. key assignments generation method according to claim 1, it is characterised in that if the pressing operation Duration is less than default double-click compressing time, and this pressing operation release movement is with pressing next time The time interval that press operation presses action is less than default double-click interval time, then by the dynamic of the finger It is identified as double click operation;Corresponding key assignments is generated according to current input environment.
7. the key assignments generation method according to any one of claim 1 to 6, it is characterised in that the institute of generation Stating key assignments is used to be converted to the operational order for being available for terminal device to perform.
8. a kind of key assignments generating means, it is characterised in that including:
Detection unit, is adapted to detect for the pressing operation of finger;
Fingerprint collecting unit, suitable for based on the pressing operation detected, gathering the fingerprint of the finger;
Key assignments generation unit, when being bound suitable for the fingerprint in the finger and default key assignments, is generated described default Key assignments, the default key assignments is configured according to input environment.
9. key assignments generating means according to claim 8, it is characterised in that the fingerprint collecting unit bag Include:
Time detecting unit, when detecting the pressing operation, enters to the duration of the pressing operation Row detection;
Identifying unit, judges the duration of the pressing operation and the relation of default long-press time threshold, When the duration of the pressing operation exceeding the default long-press time threshold, then export described Fingerprint.
10. key assignments generating means according to claim 9, it is characterised in that also include:
Track detection unit, is less than institute in the duration for detecting the pressing operation and the pressing operation When stating long-press time threshold, the movement locus of the finger is detected;
The key assignments generation unit is according to the trace generator of finger navigation virtual key.
11. key assignments generating means according to claim 9, it is characterised in that in holding for the pressing operation When the continuous time is less than the default long-press time threshold and is not detected by the movement locus of the finger, The key assignments generation unit operates the action recognition of the finger for short-press, and according to current input ring Border generates corresponding key assignments.
12. key assignments generating means according to claim 9, it is characterised in that the finger fingerprint not Bound with the default key assignments, and the duration of the pressing operation exceedes the long-press time threshold When, the key assignments generation unit operates the action recognition of the finger for long-press, and according to current defeated Enter the corresponding key assignments of environment generation.
13. key assignments generating means according to claim 8, it is characterised in that in holding for the pressing operation The continuous time is less than default double-click compressing time, and this pressing operation release movement is with pressing next time When the time interval that action is pressed in operation is less than default double-click interval time, the key assignments generation unit It is double click operation by the action recognition of the finger, and corresponding key assignments is generated according to current input environment.
14. the key assignments generating means according to any one of claim 8 to 13, it is characterised in that also include: Key assignments converting unit, refers to suitable for the key assignments of generation to be converted to the operation for being available for terminal device to perform Order.
15. a kind of terminal, it is characterised in that generate dress including the key assignments as described in any one of claim 8 to 14 Put.
CN201610008038.2A 2016-01-07 2016-01-07 Key value generation method, device and terminal Active CN106951151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610008038.2A CN106951151B (en) 2016-01-07 2016-01-07 Key value generation method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610008038.2A CN106951151B (en) 2016-01-07 2016-01-07 Key value generation method, device and terminal

Publications (2)

Publication Number Publication Date
CN106951151A true CN106951151A (en) 2017-07-14
CN106951151B CN106951151B (en) 2020-06-05

Family

ID=59465696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610008038.2A Active CN106951151B (en) 2016-01-07 2016-01-07 Key value generation method, device and terminal

Country Status (1)

Country Link
CN (1) CN106951151B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932068A (en) * 2018-06-30 2018-12-04 珠海市魅族科技有限公司 A kind of input method application method and device
CN110312035A (en) * 2019-06-26 2019-10-08 维沃移动通信有限公司 A kind of control method of terminal, mobile terminal and computer readable storage medium
CN111984182A (en) * 2020-07-28 2020-11-24 华帝股份有限公司 Combination key identification method, device, equipment and readable access medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063254A (en) * 2010-12-23 2011-05-18 东莞宇龙通信科技有限公司 Fingerprint operating method and system applied to mobile terminal
CN103246683A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Method and electronic equipment for prompting combination keys
CN104679401A (en) * 2013-12-03 2015-06-03 上海思立微电子科技有限公司 Terminal and touch method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063254A (en) * 2010-12-23 2011-05-18 东莞宇龙通信科技有限公司 Fingerprint operating method and system applied to mobile terminal
CN103246683A (en) * 2012-02-13 2013-08-14 联想(北京)有限公司 Method and electronic equipment for prompting combination keys
CN104679401A (en) * 2013-12-03 2015-06-03 上海思立微电子科技有限公司 Terminal and touch method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932068A (en) * 2018-06-30 2018-12-04 珠海市魅族科技有限公司 A kind of input method application method and device
CN110312035A (en) * 2019-06-26 2019-10-08 维沃移动通信有限公司 A kind of control method of terminal, mobile terminal and computer readable storage medium
CN111984182A (en) * 2020-07-28 2020-11-24 华帝股份有限公司 Combination key identification method, device, equipment and readable access medium
CN111984182B (en) * 2020-07-28 2022-07-12 华帝股份有限公司 Combination key identification method, device, equipment and readable access medium

Also Published As

Publication number Publication date
CN106951151B (en) 2020-06-05

Similar Documents

Publication Publication Date Title
US11816329B2 (en) Multitouch data fusion
US8830181B1 (en) Gesture recognition system for a touch-sensing surface
CN107025019A (en) The exchange method and terminal device of virtual key
JP5715986B2 (en) Multi-touch surface device
US20160239149A1 (en) Method of identifying touch gesture and touch system
CN104216642B (en) A kind of terminal control method
KR20190082140A (en) Devices and methods for dynamic association of user input with mobile device actions
CN108616712B (en) Camera-based interface operation method, device, equipment and storage medium
TW201331788A (en) Method of performing a switching operation through a gesture inputted to an electronic device
CN102135830A (en) Touch screen triggering method and touch device
CN104216516B (en) A kind of terminal
CN104881122A (en) Somatosensory interactive system activation method and somatosensory interactive method and system
CN107122119A (en) Information processing method, device, electronic equipment and computer-readable recording medium
CN105867916A (en) Terminal control method and device
CN106951151A (en) Key assignments generation method, device and terminal
CN112099666B (en) Touch control method, system, terminal and storage medium applied to capacitive screen
CN104020989B (en) Control method and system based on remote application
CN109032334B (en) Interaction method and interaction system based on fingerprint and gesture recognition
CN107577404B (en) Information processing method and device and electronic equipment
CN107037951B (en) Automatic operation mode identification method and terminal
CN104866210B (en) A kind of touch screen control method, device and electronic equipment
CN110908580B (en) Method and device for controlling application
CN107608521A (en) Processing method, storage medium and the mobile terminal of touch-screen failure
CN109388318B (en) Control method and electronic equipment
CN105260065B (en) The method and device of information processing

Legal Events

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