WO2016197717A1 - Method and device for inputting information on mobile terminal - Google Patents

Method and device for inputting information on mobile terminal Download PDF

Info

Publication number
WO2016197717A1
WO2016197717A1 PCT/CN2016/080058 CN2016080058W WO2016197717A1 WO 2016197717 A1 WO2016197717 A1 WO 2016197717A1 CN 2016080058 W CN2016080058 W CN 2016080058W WO 2016197717 A1 WO2016197717 A1 WO 2016197717A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
input
application
character group
mobile terminal
Prior art date
Application number
PCT/CN2016/080058
Other languages
French (fr)
Chinese (zh)
Inventor
王晋飞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016197717A1 publication Critical patent/WO2016197717A1/en

Links

Images

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/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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method and apparatus for inputting information on a mobile terminal.
  • the prior art also provides a solution for implementing a shortcut input of a preset character by a simple operation, which draws a point track through the touch screen to correspond to a string of characters, and the correspondence needs to be uploaded to the server, and The server downloads and responds, and the applicable scenario is narrow.
  • the input process is a password keyboard.
  • the form visible to the eye there are always loopholes in security.
  • terminal manufacturers have used personal biometric information such as fingerprints instead of payment passwords in cooperation with third-party apps to improve the security and convenience of payment password input, but considering the diversity of third-party payment apps.
  • Each service provider has to jointly develop and open up the underlying associations, and the workload is huge.
  • the present invention provides a method and apparatus for inputting information on a mobile terminal, which can better solve the problem of inputting information on the mobile terminal safely and quickly.
  • An embodiment of the present invention provides a method for inputting information on a mobile terminal, including:
  • the mobile terminal acquires the application information of the activated application, and determines whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
  • the second shortcut input information that has been saved in the mobile terminal is used to obtain the preset character group information corresponding to the trigger information input by the user. And inputting the preset character group information to the activated application;
  • the trigger information input by the user and the preset character group corresponding to the application information are obtained by using the first shortcut input information.
  • Information, and inputting the preset character group information to the activated application are obtained by using the first shortcut input information.
  • the first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information;
  • the second shortcut input The information is a second relationship mapping table including a mapping relationship between the trigger information and the preset character group information.
  • the step of acquiring the preset character group information corresponding to the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal includes:
  • the mobile terminal monitors trigger information input by the user
  • the preset relationship group information corresponding to the trigger information is searched in the second relationship mapping table.
  • the first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, where the trigger information and the user input are obtained by using the first shortcut input information.
  • the method further includes:
  • the trigger information input by the user and the preset character group information corresponding to the application information are obtained by using the relationship mapping table for security input.
  • the step of acquiring the trigger information input by the user and the preset character group information corresponding to the application information by using the first shortcut input information includes:
  • the mobile terminal monitors trigger information input by the user
  • the trigger information and the preset character group information corresponding to the application information are searched in the relationship mapping table for the normal input or the relationship mapping table for the security input.
  • the step of inputting the preset character group information to the activated application includes:
  • the trigger information is information input by the user that is received by the mobile terminal when the at least one trigger mode is activated;
  • the triggering manner includes at least one of the following manners: fingerprint recognition, eye pattern or iris recognition, Face recognition, blink recognition, fixed physical buttons, button combinations, gestures, screen touch gestures.
  • An embodiment of the present invention further provides an apparatus for inputting information on a mobile terminal, including:
  • the determining module is configured to obtain application information of the activated application of the mobile terminal, and determine whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
  • the first input module is configured to: when determining that the application information of the activated application is not saved in the first shortcut input information, acquire the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal Corresponding preset character group information, and inputting the preset character group information to the activated application;
  • a second input module configured to acquire trigger information input by the user and the application information by using the first shortcut input information when determining that the application information of the activated application has been saved in the first shortcut input information Corresponding preset character group information, and inputting the preset character group information to the activated application.
  • the first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information;
  • the second shortcut input information is And a second relationship mapping table including a mapping relationship between the trigger information and the preset character group information.
  • the first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, if the determining module determines that the application information of the activated application has been saved in the first In a quick input information, the input of the second input module to the mobile terminal
  • the keyboard is monitored, and when the local input method keyboard of the mobile terminal is started, the trigger information input by the user and the preset character corresponding to the application information are obtained by using the relationship mapping table for regular input.
  • the group information is used to obtain the trigger information input by the user and the preset character group information corresponding to the application information by using the relationship mapping table for the security input when the booting of the custom password is started. .
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when executed by a processor.
  • the embodiment of the present invention utilizes various component functions and combinations on the mobile terminal to set preset character group information, such as a login password, by setting a trigger mode on the premise of taking security into consideration.
  • preset character group information such as a login password
  • the payment password, basic user information, and the like are directly transmitted to the control or app to receive the input information, so that the mobile terminal can input safely and quickly under various scenarios.
  • FIG. 1 is a block diagram of a method for inputting information on a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a block diagram of an apparatus for inputting information on a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a type of a technical solution for judging a shortcut input monitoring mode according to an embodiment of the present invention
  • Figure 4 is a flow chart of the Type A scheme of Figure 3;
  • Figure 5 is a flow chart of the Type B scheme of Figure 3;
  • Figure 6 is a flow chart of the Type C scheme of Figure 3.
  • FIG. 7 is a flowchart of a Type A fingerprinting scheme provided by an embodiment of the present invention.
  • FIG. 8 is a flowchart of a Type B fingerprint solution according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a Type C fingerprinting scheme provided by an embodiment of the present invention.
  • FIG. 1 is a block diagram of a method for inputting information on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1, the steps include:
  • Step S101 The mobile terminal acquires the application information of the activated application, and determines whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal.
  • the first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information.
  • the preset character group information includes, but is not limited to, a user-defined phrase, a user's personal information, a login name of each application (app), a login password, a payment (transaction) password, etc., and the preset character group information is strong.
  • the encryption mode is stored in the local secure storage area of the mobile terminal.
  • Step S102 If it is determined that the application information of the activated application is not saved in the first shortcut input information, the second shortcut input information that has been saved in the mobile terminal is used to obtain a preset corresponding to the trigger information input by the user. Character group information, and inputting the preset character group information to the activated application.
  • the second shortcut input information is a second relationship mapping table that includes a mapping relationship between the trigger information and the preset character group information.
  • the second shortcut input information is used, that is, the second relationship mapping table is used for shortcut input.
  • the mobile terminal monitors the trigger information input by the user, and when the trigger information is detected, searches the second relationship mapping table for the preset character group information corresponding to the trigger information, and sets the preset character group. Information is entered at the input controls.
  • Step S103 If it is determined that the application information of the activated application has been saved in the first shortcut In the information, the first shortcut input information is used to obtain the trigger information input by the user and the preset character group information corresponding to the application information, and input the preset character group information to the activated application. .
  • the input method keyboard of the mobile terminal performs monitoring, and classifies the first relationship mapping table into a relationship mapping table for regular input and a relationship mapping table for security input, so that local input of the mobile terminal is monitored
  • the relationship mapping table for the normal input may be used to obtain the trigger information input by the user and the preset character group information corresponding to the application information, and
  • the found preset character group information is directly input to the input method focus of the activated application; after the startup of the custom password keyboard of the activated application is detected, if the trigger information input by the user is monitored, the use may be utilized.
  • Obtaining the trigger information input by the user and the preset character group information corresponding to the application information in the relationship mapping table of the security input When inputting, by performing image analysis on the image of the area where the custom password keyboard is located, the screen coordinates of each character in the found preset character group information are obtained, and according to the obtained screen coordinates of each character, The virtual touch operation is sequentially performed on the custom password keyboard, so that the preset character group information is quickly input.
  • the trigger information is information input by the user that is received by the mobile terminal when the at least one trigger mode is activated, and the triggering manner includes fingerprint recognition, eye pattern or iris recognition, face recognition, blink recognition, fixed physical buttons, and buttons. Trigger methods such as combination, gesture action, and screen touch gesture.
  • the mobile terminal newly downloads to the local app1, and the user is not registered.
  • the corresponding preset character group information such as the name, the mobile phone number, the ID card number, and the home address, may be found in the second mapping table according to the trigger information. , mail address, etc., and passed to the input control of app1, to achieve quick input of personal information.
  • the mobile terminal local app2 the user has registered, its application information and corresponding trigger information and preset character group information (such as payment password, login password, etc.) are saved in the first mapping table, and after the app2 is started, the trigger may be triggered according to The information finds the preset character group information of the app2, and passes it to the input control of the app2, which simplifies the password input process, improves the password input efficiency, ensures the security of the password input, and avoids the password reset caused by the user forgetting the password. Trivial operation.
  • preset character group information such as payment password, login password, etc.
  • the mobile terminal local app3 the user has registered, but the application information is not saved in the first mapping table.
  • the corresponding preset character group information may be found in the second mapping table according to the trigger information, and transmitted. Give the input controls to app3.
  • FIG. 2 is a block diagram of a device for quickly inputting preset character group information on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes a judging module 10, a first input module 20, and a second input module 30.
  • the determining module 10 is configured to obtain application information of the activated application of the mobile terminal, and determine whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal.
  • the first shortcut input information is a first relationship mapping table including a mapping relationship between the application information, trigger information, and preset character group information, and includes a relationship mapping table for regular input and is used for security. Enter the relationship mapping table.
  • the application information in the first relationship mapping table may be app attribute information, such as an app package name.
  • the preset character group information in the first relationship mapping table may be information such as a login password, a payment password, a query password, and the like.
  • the first input module 20 is configured to: when determining that the application information of the activated application is not saved in the first shortcut input information, acquire the trigger of the user shortcut input by using the second shortcut input information that has been saved in the mobile terminal The preset character group information corresponding to the information, and inputting the preset character group information to the activated application.
  • the second shortcut input information is a second relationship mapping table that includes a mapping relationship between the trigger information and the preset character group information.
  • the preset character group information in the second relationship mapping table may be personal common information such as a name, a mobile phone number, an ID card number, a home address, and an email address.
  • the first input module 20 monitors trigger information input by the user, and when the trigger information is detected, The preset relationship group information corresponding to the trigger information is searched in the second relationship mapping table, and the found preset character group information is directly input to the input method focus of the activated application.
  • the second input module 30 is configured to: when determining that the application information of the activated application has been saved in the first shortcut input information, use the first shortcut input information to acquire trigger information input by the user and the application The preset character group information corresponding to the information, and inputting the preset character group information to the activated application. After the second input module 30 detects that the local input method keyboard of the mobile terminal is started, if the trigger information input by the user is monitored, the second input module 30 can be used for regular input.
  • the relationship mapping table for the security input may be used to obtain the trigger information input by the user and the preset character corresponding to the application information.
  • Group information during image input, by performing image analysis on the image of the area where the custom password keyboard is located, obtaining screen coordinates of each character in the found preset character group information, and according to each character obtained The screen coordinates are sequentially performed on the custom password keyboard, so that the preset character group information is quickly input.
  • FIG. 3 is a flowchart of a technical solution for determining a shortcut input monitoring mode according to an embodiment of the present invention. As shown in FIG. 3, the steps include:
  • Step S301 The mobile terminal is in a standby state.
  • Step S302 The mobile terminal enters the shortcut input monitoring mode.
  • the shortcut input monitoring mode described in this embodiment enters the monitoring state after the mobile terminal is powered on, and is responsible for determining which shortcut input technical solution the mobile terminal should perform, and when and how to initiate the shortcut input.
  • Step S303 A certain app on the mobile terminal is started.
  • Step S304 Detecting the mapping table to which the currently started app belongs, determining whether the currently launched app is in the mapping table, if yes in the mapping table, executing step S306, otherwise performing step S305.
  • Step S305 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts Type A.
  • Step S306 Monitor the input method keyboard. If the custom password keyboard is started, step S308 is performed. If the local input method keyboard is started, step S307 is performed.
  • Step S307 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
  • Step S308 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type C scheme.
  • the present invention defines three basic shortcut input schemes according to the application (app) in which the mobile terminal is currently in an active state and the input keyboard type that is invoked.
  • the differences between the three schemes are:
  • the current app has mapping information in the mapping table, and the current input method keyboard is a local input method keyboard, that is, the system default keyboard and the keyboard whose output key value is under the control of the system authority;
  • the current app has mapping information in the mapping table, and the current input method keyboard is an app custom password keyboard, that is, a security keyboard.
  • the relationship mapping table between the triggering mode and the preset character group information defined in the present invention is stored in the local secure storage area of the mobile terminal, and corresponds to the three schemes.
  • the basic structure of the relationship mapping table is shown in Table 1.
  • triggering modes listed in the present invention are applicable to different shortcut input schemes according to their basic principles and characteristics.
  • a trigger mode has only one type of trigger information
  • the face recognition trigger mode can only have one type of facial feature information
  • only one set of character sets can be corresponding to a type of mapping table, and this case is defined as “one-to-one”
  • the fingerprint identification method may have multiple sets of fingerprint information
  • one type of mapping table may respectively correspond to multiple sets of character groups, and this situation is defined as “many-to-many”
  • adding a dimension will also result in a "one-to-many" situation in Type B and Type C.
  • the triggering methods for various preset information input include fingerprint, eye pattern, face recognition, blink recognition, fixed physical button or button combination, gesture action, screen gesture, etc., and the possible support conditions are shown in Table 2.
  • FIG. 4 is a flow chart of the Type A scheme of FIG. 3, and if the shortcut input monitoring mode is determined to be Type A The scheme starts the trigger monitoring mechanism.
  • the mapping table A is queried, and the corresponding character group information is obtained according to the trigger information, and is transmitted to the current input method focus to complete a shortcut input action.
  • the steps include:
  • Step S401 The mobile terminal is in a standby state.
  • Step S402 The mobile terminal enters the shortcut input monitoring mode.
  • Step S403 A certain app on the mobile terminal is started.
  • Step S404 Monitor the mapping table to which the currently started app belongs, and determine whether the currently launched app is in the mapping table. If the mapping table is in the mapping table, execute step S405; otherwise, execute step S406.
  • Step S405 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts a Type B scheme or a Type C scheme.
  • Step S406 The mobile terminal determines that the implementation scheme of the current shortcut input adopts the Type A scheme in the shortcut input monitoring mode, and monitors the input method keyboard, thereby starting the trigger monitoring mechanism.
  • Step S407 When the local input method keyboard is started, the loop trigger information is cyclically monitored.
  • Step S408 When the triggered trigger information is successfully detected, the mapping table A (ie, the second relationship mapping table) is queried to obtain the character group information corresponding to the trigger information.
  • the mapping table A ie, the second relationship mapping table
  • Step S409 The obtained character group information is delivered to the current input method focus.
  • Step S410 A shortcut input action is completed, and step S402 is performed.
  • the Type A scheme of the present invention can replace the preset character group information by using the common input method to preset the shortcut phrase, but the convenience is slightly worse than the embodiment.
  • FIG. 5 is a flowchart of the Type B scheme in FIG. 3, if the shortcut input monitoring mode is determined to be a Type B scheme, a trigger monitoring mechanism is started; when the triggered trigger information is monitored, the mapping table B is queried according to the current application attribute and Trigger information to obtain the corresponding character group information, and pass it to the current input method focus to complete a shortcut input action. As shown in Figure 5, the steps include:
  • Step S501 The mobile terminal is in a standby state.
  • Step S502 The mobile terminal enters the shortcut input monitoring mode.
  • Step S503 an app on the mobile terminal is started.
  • Step S504 Detecting the mapping table to which the currently started app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S505 is performed; otherwise, step S506 is performed.
  • Step S505 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
  • Step S506 The input method keyboard is monitored. When the custom password keyboard is detected to start, step S507 is performed, and when the local input method keyboard is detected to be started, step S508 is performed.
  • Step S507 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type C scheme.
  • Step S508 When the local input method keyboard is started, the loop trigger information is cyclically monitored.
  • Step S509 When the trigger information for triggering success is monitored, the mapping table B (ie, the relationship mapping table for regular input in the first relationship mapping table) is queried to obtain the character group information corresponding to the trigger information.
  • the mapping table B ie, the relationship mapping table for regular input in the first relationship mapping table
  • Step S510 Pass the obtained character group information to the current input method focus.
  • Step S511 A shortcut input action is completed, and step S502 is performed.
  • Type B solution of this embodiment can be replaced by a combination of custom development and deep customization with multiple or all third party apps, but the implementation cost of the embodiment is the lowest, no need for customized development, and convenient and flexible.
  • a trigger monitoring mechanism is activated; when the triggered trigger information is monitored, the area of the password keyboard on the current screen is first obtained.
  • Information take a screenshot and perform image analysis to obtain the screen coordinate information corresponding to all the characters on the keyboard, then query the mapping table C, obtain the corresponding character group information according to the current application attribute and the trigger information, and then compare and judge the characters obtained from the image analysis. Whether the character information in all the preset character group information is already included.
  • the virtual click key switch keyboard button is used to obtain the image analysis and comparison of the next layer keyboard, and then the preset character group information is converted into the The screen coordinate information on the password keyboard, and convert the coordinate information into a virtual touch operation to complete a quick input action.
  • the steps include:
  • Step S601 The mobile terminal is in a standby state.
  • Step S602 The mobile terminal enters the shortcut input monitoring mode.
  • Step S603 A certain app on the mobile terminal is started.
  • Step S604 Detecting the mapping table to which the currently launched app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S605 is performed; otherwise, step S606 is performed.
  • Step S605 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
  • Step S606 The input method keyboard is monitored. When the local input method keyboard is detected to start, step S607 is performed, and when the custom password keyboard is detected to be started, step S608 is performed.
  • Step S607 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
  • Step S608 When the custom password keyboard is started, the loop trigger information is cyclically monitored.
  • Step S609 Acquire area range information of the custom password keyboard on the current screen.
  • Step S610 Perform a screenshot on the custom password keyboard according to the acquired area range information.
  • Step S611 Perform image analysis on the obtained screenshot to obtain screen coordinate information corresponding to all characters (including numbers, letters, etc.) on the keyboard.
  • Step S612 Query the mapping table C (ie, the relationship mapping table for security input in the first relationship mapping table), and obtain corresponding character group information according to the current application attribute and the trigger information.
  • mapping table C ie, the relationship mapping table for security input in the first relationship mapping table
  • Step S613 It is determined whether all the characters obtained in step S611 already contain the character information in all the preset character group information. If yes, step S615 is performed, otherwise step S614 is performed.
  • Step S614 Virtually clicking the switch button of the custom password keyboard to obtain the area range information of the next layer of the keyboard, and executing step S610.
  • Step S615 sequentially obtain screen coordinate information of the corresponding character according to the order of the characters in the preset character group information.
  • Step S616 Perform a virtual touch operation according to the screen coordinate information obtained in step S615.
  • Step S617 A shortcut input action is completed, and step S602 is performed.
  • Type C it is necessary to perform image recognition processing on a third-party soft keyboard (password keyboard or security keyboard), and adopt a virtual touch input mechanism.
  • Type C solution of this embodiment can be replaced by a combination of custom development and deep customization with multiple or all third party apps, but the implementation cost of the embodiment is the lowest, no need for customized development, convenient and flexible.
  • the preset character group is directly transmitted to the current input control manner.
  • a custom password keyboard is used, and characters cannot be directly transmitted.
  • the character input problem can be solved by image recognition and virtual touch; the definition of the preset character group information and the image recognition technology are involved.
  • the image recognition technology used in the embodiment of the present invention is an existing and mature technical solution.
  • the present invention does not repeat the above, that is, the existing image recognition technology can be used to perform the security keyboard area in the current display screen of the mobile terminal.
  • the mechanism for triggering the automatic input action of the preset character group information includes, but is not limited to, fingerprint recognition, eye pattern (or iris) recognition, face recognition, blink recognition, fixed physical button or button combination, Trigger actions such as gestures and screen touch gestures.
  • fingerprint identification is taken as an example, and the above three schemes are explained in conjunction with FIG. 7 to FIG.
  • the implementation scenarios of other trigger modes are similar to the fingerprint touch mode.
  • the methods of sensor monitoring, triggering, security, and fault tolerance are different.
  • FIG. 7 is a flowchart of a Type A fingerprinting scheme provided by an embodiment of the present invention. As shown in FIG. 7, the steps include:
  • Step S701 The mobile terminal is in a standby state.
  • Step S702 The mobile terminal enters the shortcut input monitoring mode.
  • Step S703 A certain app on the mobile terminal is started.
  • Step S704 Monitor the mapping table to which the currently started app belongs, and determine whether the currently launched app is in the mapping table. If the mapping table is in the mapping table, execute step S705; otherwise, perform step S706.
  • Step S705 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts a Type B scheme or a Type C scheme.
  • Step S706 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme, and monitors the input method keyboard, thereby starting the trigger monitoring mechanism.
  • Step S707 When the local input method keyboard is started, the fingerprint information input state is cyclically monitored.
  • Step S709 When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S707 is re-executed.
  • Step S710 When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint check counter is less than the threshold value, if yes, step S712 is performed, otherwise step S711 is performed;
  • the threshold is set to a threshold number of input errors, such as set to 3
  • Step S711 The shortcut input mode is frozen, and after the preset protection time M, step S702 is re-executed.
  • Step S712 performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table A. If there is matching fingerprint information in the mapping table A, the verification passes, and step S713 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S707 is executed to return the fingerprint monitoring state and give a prompt.
  • Step S713 Obtain the character group information corresponding to the fingerprint information from the mapping table A.
  • Step S714 The obtained character group information is delivered to the current input method focus.
  • Step S715 Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S702 is performed. Otherwise, the input state is still continued, and step S707 is performed.
  • the user pre-stores three sets of fingerprint information in the mobile terminal, wherein the fingerprint 1 corresponds to the mapping
  • the character group A1 for example, a name
  • the fingerprint 2 corresponds to the character group A2 (for example, a mobile phone number) in the mapping table A
  • the fingerprint 3 corresponds to the character group A3 (for example, a mailing address) in the mapping table A.
  • the shortcut input monitoring mode running in the background first detects the mapping table of the current app, if there is a mapping table in the mapping table.
  • the app package name adopts the Type B and Type C schemes; this embodiment assumes that the app is not in the mapping table, and the default is the Type A scheme.
  • the local input method keyboard is activated, and the quick input monitoring mode monitors the action, and the background sends a fingerprint input instruction to the fingerprint sensor, and starts the cyclic monitoring of the fingerprint information.
  • the fault-tolerant test is first performed to determine whether the fingerprint information is the same as the previous one. If the same, it belongs to the repeated input (may be user misoperation), start the error prompt and re-enter the fingerprint monitoring. Status; if it is different from last time, it is judged whether the fingerprint verification counter n is smaller than the threshold value, then the fingerprint information is compared with the fingerprint information in the mapping table A, and if there is matching fingerprint data, the verification is passed; otherwise, n is incremented 1. Return the fingerprint monitoring status and give a prompt.
  • the next step is to perform the action of querying the mapping table A, and then find the corresponding character group A1 (name); then pass the character group A1 to the focus of the current input method, that is, input the name to Enter the control; check the status of the input method. If the input method keyboard is closed or hidden, the input is considered to be finished, and the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, the fingerprint input information is continuously monitored. For example, if the user chooses to continue inputting at this time, and clicks another control again to activate the input method focus, the input method is still activated. When the user inputs the fingerprint 2, the character group A2 (mobile phone number) is transmitted in the control, and so on. .
  • the shortcut input mode is frozen and thawed after the preset protection time M.
  • FIG. 8 is a flowchart of a Type B fingerprinting scheme provided by an embodiment of the present invention. As shown in FIG. 8, the steps include:
  • Step S801 The mobile terminal is in a standby state.
  • Step S802 The mobile terminal enters the shortcut input monitoring mode.
  • Step S803 an app on the mobile terminal is started.
  • Step S804 Detecting the mapping table to which the currently started app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S805 is performed; otherwise, step S806 is performed.
  • Step S805 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
  • Step S806 The input method keyboard is monitored. When the custom password keyboard is detected to start, step S807 is performed, and when the local input method keyboard is detected to be started, step S808 is performed.
  • Step S807 The mobile terminal determines that the implementation scheme of the current shortcut input adopts the Type C scheme in the shortcut input monitoring mode.
  • Step S808 When the local input method keyboard is started, the fingerprint information input state is cyclically monitored.
  • Step S810 When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S808 is re-executed.
  • Step S811 When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint verification counter is less than the threshold value, if yes, step S813 is performed, otherwise step S812 is performed;
  • the threshold is set to a threshold number of times the error is input, for example, set to 3.
  • Step S812 The shortcut input mode is frozen, and after the preset protection time M, step S802 is re-executed.
  • Step S813 performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table B. If there is matching fingerprint information in the mapping table B, the verification passes, and step S814 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S808 is executed to return the fingerprint monitoring state and give a prompt.
  • Step S814 Obtain the character group information corresponding to the fingerprint information from the mapping table B.
  • Step S815 Pass the obtained character group information to the current input method focus.
  • Step S816 Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S802 is performed. Otherwise, the input state is still continued, and step S808 is performed.
  • the user stores the fingerprint 1 in advance, and specifies that the corresponding character group of the fingerprint 1 in the app1 (for example, 12306) is the character group B1 (12306 login password), and the corresponding character group in the app2 (for example, China Merchants Bank) is the character group B2 (China Merchants Bank) Login password), the user stores this mapping relationship in mapping table B.
  • the corresponding character group of the fingerprint 1 in the app1 for example, 12306
  • the corresponding character group in the app2 for example, China Merchants Bank
  • the character group B2 China Merchants Bank
  • the shortcut input monitoring mode is in the background resident state.
  • the app1 requests to input the login password
  • the shortcut input monitoring mode first detects the mapping table of the current app. If the current app (12306) package name has information in the mapping table B, it is determined that the Type B scheme is adopted.
  • the fingerprint command is sent to the fingerprint sensor at the same time, and the fingerprint monitoring is started; when the fingerprint information is detected, the fault tolerance test is first performed. It is used to judge whether the fingerprint information is the same as the last time. If it is the same, it belongs to repeated input (may be user misoperation), activates the error prompt and re-enters the fingerprint monitoring state; if it is different from the last time, determines whether the fingerprint verification counter n is If the value is less than the threshold, the fingerprint information is compared with the fingerprint information in the mapping table B. If there is matching fingerprint data, the verification is passed. Otherwise, n is incremented by 1, and the fingerprint monitoring state is returned and a prompt is given.
  • the next step is to perform the operation of querying the mapping table B, and then find the corresponding character group B1 (ie, 12306 login password); then pass the character group B1 to the current input method focus, that is, the password Input to the input control; check the status of the input method, if the input method keyboard is closed or hidden, the input is considered to be finished, that is, the user thinks that the password shortcut input action has been completed, and the next operation is selected, then the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, continue to monitor the fingerprint input information.
  • the shortcut input mode is frozen and thawed after the preset protection time M.
  • FIG. 9 is a flowchart of a Type C fingerprinting solution according to an embodiment of the present invention. As shown in FIG. 9, the steps include:
  • Step S901 The mobile terminal is in a standby state.
  • Step S902 The mobile terminal enters the shortcut input monitoring mode.
  • Step S903 an app on the mobile terminal is started.
  • Step S904 Detecting the mapping table to which the currently started app belongs, and determining whether the currently started app is in the mapping table. If not in the mapping table, step S905 is performed; otherwise, step S906 is performed.
  • Step S905 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
  • Step S906 The input method keyboard is monitored. When the local input method keyboard is detected to start, step S907 is performed, and when the custom password keyboard is detected to be started, step S908 is performed.
  • Step S907 The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
  • Step S908 When the custom password keyboard is started, the fingerprint information input state is cyclically monitored.
  • Step S910 When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S908 is re-executed.
  • Step S911 When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint verification counter is less than the threshold value, if yes, step S913 is performed, otherwise step S912 is performed;
  • the threshold is set to a threshold number of times the error is input, for example, set to 3.
  • Step S912 The shortcut input mode is frozen, and after the preset protection time M, step S902 is re-executed.
  • Step S913 performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table B. If there is matching fingerprint information in the mapping table B, the verification passes, and step S914 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S908 is performed to return the fingerprint monitoring. Status and give a hint.
  • Step S914 Acquire area range information of the custom password keyboard on the current screen.
  • Step S915 Perform a screenshot on the custom password keyboard according to the obtained area range information.
  • Step S916 Perform image analysis on the obtained screenshot to obtain screen coordinate information corresponding to all characters (including numbers, letters, etc.) on the keyboard.
  • Step S917 Query the mapping table C, and obtain corresponding character group information according to the current application attribute and the trigger information.
  • Step S918 It is determined whether all the characters obtained in step S916 already contain the character information in all the preset character group information. If yes, step S920 is performed, otherwise step S919 is performed.
  • Step S919 Virtually click the switch button of the custom password keyboard to obtain the area range information of the next layer of the keyboard, and step S915 is performed.
  • Step S920 sequentially obtain screen coordinate information of the corresponding character according to the order of the characters in the preset character group information.
  • Step S921 Perform a virtual touch operation according to the screen coordinate information obtained in step S920.
  • Step S922 Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S902 is performed. Otherwise, the input state is still continued, and step S908 is performed.
  • the user pre-stores the fingerprint 1 and specifies that the corresponding character group of the fingerprint 1 in the app1 (for example, Alipay) is the character group C1 (the payment password of Alipay), and the corresponding character group in the app2 (for example, China Merchants Bank) is the character group C2 (investment)
  • the user stores this mapping relationship in the mapping table C.
  • the user specifies that the fingerprint 1 corresponds to the character group B1 (such as the payment package login password) in app1 (ie, Alipay), and stores it in the mapping table B.
  • the shortcut input monitoring mode is in the background resident state.
  • the shortcut input monitoring mode first detects the mapping table of the current app, and queries the current app (Alipay) package name in the mapping table B, There is information in C, this fashion can not judge which plan to adopt.
  • the user clicks on a certain control to call the local input method it is determined to be the Type B scheme; if the user enters the last step of the payment process, that is, the app asks to input the payment password, When the smart input mode detects that the custom password keyboard of app1 is popped up, it is determined to be the Type C scheme.
  • the quick input monitoring mode sends a fingerprint receiving command to the fingerprint sensor, and starts fingerprint monitoring.
  • the fault tolerance test is first performed to determine whether the fingerprint information is the same as the last time, and if it is the same, it is a duplicate. Input (may be user misoperation), start error prompt and re-enter fingerprint monitoring status; if it is different from last time, judge whether fingerprint verification counter n is less than the threshold, then compare fingerprint information with fingerprint information in mapping table C If there is matching fingerprint data, the verification is passed, otherwise the fingerprint monitoring status is returned and a prompt is given.
  • the shortcut input monitoring mode requests the mobile terminal to obtain the password keyboard drawing area range information, and passes it to the cryptographic keyboard image processing unit, and the unit performs an image on the screen capture information. Analyze to get the screen coordinate information corresponding to all the numbers or letters on the current keyboard.
  • the action of querying the mapping table C is performed, and the fingerprint information and the app information are correspondingly matched to the character group C1 (ie, the Alipay payment password); then all the characters of C1 are compared with the character extraction result of the password keyboard image processing unit, if the current keyboard If all the character information of C1 is already included, the C1 character is sequentially converted into screen coordinate information, and is transmitted to the virtual touch unit to perform a virtual click operation; if the character of C1 is not on the current keyboard, the password keyboard switch is performed by the virtual touch unit.
  • the character group C1 ie, the Alipay payment password
  • the virtual input After the virtual input is completed, check the status of the input method. If the input method keyboard is closed or hidden, the input is considered to be ended, that is, the user or the app thinks that the password shortcut input action has been completed, and the next operation is selected, and then the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, continue to monitor the fingerprint input information.
  • the shortcut input mode is frozen and thawed after the preset protection time M.
  • the embodiment of the invention can achieve a good balance between security, practicability and convenience. After the user has three modes of flexibility, the user can input the common information more conveniently, and enjoy the safe and comfortable payment by the mobile payment. The sense of excitement, eliminating the inconvenience of forgetting the password, the user's repetitive character input experience will be fundamentally improved.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. Instructions to achieve their corresponding functions. This application is not limited to any specific combination of hardware and software.
  • the technical solution provided by the embodiment of the invention can achieve a good balance between security, practicability and convenience. After the user has three modes of flexibility, the user can input personal information more conveniently, and enjoy the movement more safely and comfortably. The quick feeling of quick payment and the inconvenience caused by forgetting the password will greatly improve the user's repetitive character input experience.

Abstract

The present invention relates to mobile terminals. Disclosed are a method and device for inputting information on a mobile terminal, the method comprising: a mobile terminal obtains application information of an application which has been started, and determines whether the application information of the application which has been started is already stored within first rapid input information of the mobile terminal (S101); if the application information is not already stored within the first rapid input information, the mobile terminal uses second rapid input information already stored in the mobile terminal (S102); if the application information is already stored within the first rapid input information, the mobile terminal uses the first rapid input information, and obtains trigger information inputted by a user and preset character set information corresponding to the application information (S103); the mobile terminal inputs the obtained preset character set information into the application which has been started. The present invention takes security into account, directly transfers the preset character set information to a control or app via predetermined trigger means, and implements secure and rapid inputting.

Description

一种在移动终端上输入信息的方法及装置Method and device for inputting information on mobile terminal 技术领域Technical field
本文涉及但不限于终端技术领域,尤其涉及的是一种在移动终端上输入信息的方法及装置。This document relates to, but is not limited to, the field of terminal technologies, and in particular, to a method and apparatus for inputting information on a mobile terminal.
背景技术Background technique
当前移动互联已普及,要享受更多的服务便利,必须将个人信息提供给相应的服务提供方。例如,当用户要享受优惠洗车的便利时,需要在该用户的移动终端上下载一个洗车应用(app),注册并逐项填写用户的个人信息,例如,姓名、手机号码、车牌号、银行卡号等,如果需要查询车辆违章信息,可能还需要发动机号;当用户需要一个掌上购物类app时,又需要填写姓名、手机号码、银行卡号、身份证号、邮寄地址或家庭住址等信息。尽管少部分app通过相互授权的方式为用户提供了一些便利,但大部分app的服务提供方还是需要反复向用户要求同样的个人信息,这已成为用户使用app的一大困扰。At present, mobile internet has become popular, and to enjoy more service convenience, personal information must be provided to the corresponding service provider. For example, when the user wants to enjoy the convenience of car wash, it is necessary to download a car wash application (app) on the user's mobile terminal, register and fill in the user's personal information item by item, for example, name, mobile phone number, license plate number, bank card number. Etc. If you need to query the vehicle violation information, you may need the engine number. When the user needs a handheld shopping app, you need to fill in the name, mobile number, bank card number, ID number, mailing address or home address. Although a small number of apps provide users with some convenience through mutual authorization, most app service providers still need to repeatedly request the same personal information from users, which has become a major problem for users to use the app.
目前,已有终端厂商试图通过预设快捷输入短语的方式,让用户在输入信息时,长按输入框弹出菜单,调用和选择预设短语,这种方式实现最简单,但局限性很大,应用场景仅限于支持终端自带输入法的普通输入场景,例如,锤子科技通过在输入法焦点处的长按动作,调用预设的快捷短语,简化重复信息的输入流程,但这种方式仅限于可明文保存的非保密信息,且其本质上仅是一种快捷短语的调用,并且仅可在终端自带输入法处于激活态的部分场景使用,不能保证安全性、私密性,且不能用于密码输入场景。此外,现有技术也提供了一种通过某种简单操作实现预设字符的快捷输入的方案,其通过触屏绘制一个点轨迹来对应一串字符,该对应关系需要上传服务器,在输入时从服务器下载并进行对应,其适用场景较狭隘。At present, terminal manufacturers have tried to input a phrase by pop-up, so that the user can press and hold the input box pop-up menu to call and select the preset phrase when inputting information. This method is simplest, but has limited limitations. The application scenario is limited to the common input scenes that support the terminal's own input method. For example, Hammer Technology simplifies the input process of repeated information by long-pressing the action at the focus of the input method, but this method is limited to Non-confidential information that can be saved in plain text, and it is essentially a call of a shortcut phrase, and can only be used in a part of the scene where the input method of the terminal is in an active state, which cannot guarantee security and privacy, and cannot be used for Enter the password into the scene. In addition, the prior art also provides a solution for implementing a shortcut input of a preset character by a simple operation, which draws a point track through the touch screen to correspond to a string of characters, and the correspondence needs to be uploaded to the server, and The server downloads and responds, and the applicable scenario is narrow.
进一步地,对于app,越来越多的app希望用户成为注册用户,并保持联网以正常运行。虽然部分app支持用户名和密码保存之后默认登陆,但考虑到安全和隐私等方面的需要,每次登陆还是需要用户输入密码,最常见的是 通过软键盘输入数字与字母的组合密码,以及在某种程度上简化了密码输入过程的手势密码。随着app的增多,用户忘记密码的情况会越发频繁,尤其是比较复杂的强密码,导致更复杂的重置密码操作。因此,简化密码输入过程,提高密码输入效率已成为一种趋势。同时,在移动终端上的各类app中进行支付操作时,输入支付密码在大多数场景下都存在安全性不足的问题,鉴于支付密码的重要性和私密性,输入过程以密码键盘这种人眼可见的形式,安全性上始终存在漏洞。目前,已有终端厂商通过与第三方app合作开发的方式,将指纹等个人生物特征信息用来替代支付密码,提高支付密码的输入安全性和便捷性,但考虑到第三方支付app的多样性,每家服务提供方均去联合开发并打通底层关联,工作量巨大。Further, for apps, more and more apps want users to become registered users and stay connected to function properly. Although some apps support the default login after the user name and password are saved, considering the security and privacy requirements, the user still needs to enter the password for each login. The most common is Enter a combination of numbers and letters via a soft keyboard, and a gesture password that simplifies the password entry process to some extent. As the number of apps increases, users forget passwords more frequently, especially for more complex strong passwords, resulting in more complicated reset password operations. Therefore, it has become a trend to simplify the password input process and improve the efficiency of password input. At the same time, when performing payment operations in various types of apps on the mobile terminal, the input payment password has a problem of insufficient security in most scenarios. In view of the importance and privacy of the payment password, the input process is a password keyboard. In the form visible to the eye, there are always loopholes in security. At present, terminal manufacturers have used personal biometric information such as fingerprints instead of payment passwords in cooperation with third-party apps to improve the security and convenience of payment password input, but considering the diversity of third-party payment apps. Each service provider has to jointly develop and open up the underlying associations, and the workload is huge.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种在移动终端上输入信息的方法及装置,能更好地解决安全快捷地在移动终端上输入信息的问题。The present invention provides a method and apparatus for inputting information on a mobile terminal, which can better solve the problem of inputting information on the mobile terminal safely and quickly.
本发明实施例提供了一种在移动终端上输入信息的方法,包括:An embodiment of the present invention provides a method for inputting information on a mobile terminal, including:
移动终端获取已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中;The mobile terminal acquires the application information of the activated application, and determines whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
若判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中,则利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用;If it is determined that the application information of the activated application is not saved in the first shortcut input information, the second shortcut input information that has been saved in the mobile terminal is used to obtain the preset character group information corresponding to the trigger information input by the user. And inputting the preset character group information to the activated application;
若判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中,则利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。If it is determined that the application information of the activated application is saved in the first shortcut input information, the trigger information input by the user and the preset character group corresponding to the application information are obtained by using the first shortcut input information. Information, and inputting the preset character group information to the activated application.
可选地,所述第一快捷输入信息是包含所述应用信息、所述触发信息和所述预设字符组信息之间的映射关系的第一关系映射表;所述第二快捷输入 信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。Optionally, the first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information; the second shortcut input The information is a second relationship mapping table including a mapping relationship between the trigger information and the preset character group information.
可选地,所述利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息的步骤包括:Optionally, the step of acquiring the preset character group information corresponding to the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal includes:
移动终端监测用户输入的触发信息;The mobile terminal monitors trigger information input by the user;
当检测到触发信息时,在所述第二关系映射表中查找所述触发信息对应的预设字符组信息。When the trigger information is detected, the preset relationship group information corresponding to the trigger information is searched in the second relationship mapping table.
可选地,所述第一关系映射表包括用于常规输入的关系映射表和用于安全输入的关系映射表,在所述利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息的步骤之前,还包括:Optionally, the first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, where the trigger information and the user input are obtained by using the first shortcut input information. Before the step of describing the preset character group information corresponding to the application information, the method further includes:
对所述移动终端的输入法键盘进行监测;Monitoring the input method keyboard of the mobile terminal;
当监测到所述移动终端的本地输入法键盘启动时,确定由所述用于常规输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息;When it is detected that the local input method keyboard of the mobile terminal is started, determining, by the relationship mapping table for the normal input, acquiring the trigger information input by the user and the preset character group information corresponding to the application information;
当监测到所述已启动应用的自定义密码键盘启动时,利用所述用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息。When the custom password keyboard of the activated application is started, the trigger information input by the user and the preset character group information corresponding to the application information are obtained by using the relationship mapping table for security input.
可选地,所述利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息的步骤包括:Optionally, the step of acquiring the trigger information input by the user and the preset character group information corresponding to the application information by using the first shortcut input information includes:
移动终端监测用户输入的触发信息;The mobile terminal monitors trigger information input by the user;
当检测到触发信息时,在所述用于常规输入的关系映射表或所述用于安全输入的关系映射表中查找所述触发信息和所述应用信息所对应的预设字符组信息。When the trigger information is detected, the trigger information and the preset character group information corresponding to the application information are searched in the relationship mapping table for the normal input or the relationship mapping table for the security input.
可选地,所述将所述预设字符组信息输入至所述已启动应用的步骤包括:Optionally, the step of inputting the preset character group information to the activated application includes:
当在所述用于常规输入的关系映射表中找到所述触发信息和所述应用信息所对应的预设字符组信息时,将所找到的预设字符组信息直接输入到所述已启动应用的输入法焦点; When the trigger information and the preset character group information corresponding to the application information are found in the relationship mapping table for the normal input, the found preset character group information is directly input to the activated application. Input method focus;
当在所述用于安全输入的关系映射表中找到所述触发信息和所述应用信息所对应的预设字符组信息时,通过对所述自定义密码键盘所在区域的图像进行图像分析,得到所找到的预设字符组信息中的每个字符的屏幕坐标,并按照所得到的每个字符的屏幕坐标,在所述自定义密码键盘上依次进行虚拟触控操作,从而实现快捷输入所述预设字符组信息。When the trigger information and the preset character group information corresponding to the application information are found in the relationship mapping table for security input, image analysis is performed on the image of the area where the custom password keyboard is located. The screen coordinates of each character in the preset character group information are found, and the virtual touch operation is sequentially performed on the custom password keyboard according to the obtained screen coordinates of each character, thereby implementing the shortcut input. Preset character group information.
可选地,所述触发信息是所述移动终端在至少一种触发方式启动时收到的用户输入的信息;所述触发方式包括以下方式的至少一种:指纹识别、眼纹或虹膜识别、面部识别、眨眼识别、固定的物理按键、按键组合、手势动作、屏幕触控手势。Optionally, the trigger information is information input by the user that is received by the mobile terminal when the at least one trigger mode is activated; the triggering manner includes at least one of the following manners: fingerprint recognition, eye pattern or iris recognition, Face recognition, blink recognition, fixed physical buttons, button combinations, gestures, screen touch gestures.
本发明实施例还提供了一种在移动终端上输入信息的装置,包括:An embodiment of the present invention further provides an apparatus for inputting information on a mobile terminal, including:
判断模块,设置为获取移动终端的已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中;The determining module is configured to obtain application information of the activated application of the mobile terminal, and determine whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
第一输入模块,设置为在判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中时,利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用;The first input module is configured to: when determining that the application information of the activated application is not saved in the first shortcut input information, acquire the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal Corresponding preset character group information, and inputting the preset character group information to the activated application;
第二输入模块,设置为在判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中时,利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。a second input module, configured to acquire trigger information input by the user and the application information by using the first shortcut input information when determining that the application information of the activated application has been saved in the first shortcut input information Corresponding preset character group information, and inputting the preset character group information to the activated application.
可选地,所述第一快捷输入信息是包含所述应用信息、所述触发信息和所述预设字符组信息之间的映射关系的第一关系映射表;所述第二快捷输入信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。Optionally, the first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information; the second shortcut input information is And a second relationship mapping table including a mapping relationship between the trigger information and the preset character group information.
可选地,所述第一关系映射表包括用于常规输入的关系映射表和用于安全输入的关系映射表,若所述判断模块判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中,则所述第二输入模块对所述移动终端的输入 法键盘进行监测,并当监测到所述移动终端的本地输入法键盘启动时,利用所述用于常规输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,当监测到所述已启动应用的自定义密码键盘启动时,利用所述用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息。Optionally, the first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, if the determining module determines that the application information of the activated application has been saved in the first In a quick input information, the input of the second input module to the mobile terminal The keyboard is monitored, and when the local input method keyboard of the mobile terminal is started, the trigger information input by the user and the preset character corresponding to the application information are obtained by using the relationship mapping table for regular input. The group information is used to obtain the trigger information input by the user and the preset character group information corresponding to the application information by using the relationship mapping table for the security input when the booting of the custom password is started. .
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when executed by a processor.
与相关技术相比较,本发明实施例利用移动终端上各种元器件功能及其组合,在兼顾安全性的前提下,通过设定的触发方式,将预设的字符组信息,例如登陆密码、支付密码、基本用户信息等,直接传递给待接收输入信息的控件或app,实现移动终端在各场景下安全、快捷的输入。Compared with the related art, the embodiment of the present invention utilizes various component functions and combinations on the mobile terminal to set preset character group information, such as a login password, by setting a trigger mode on the premise of taking security into consideration. The payment password, basic user information, and the like are directly transmitted to the control or app to receive the input information, so that the mobile terminal can input safely and quickly under various scenarios.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例提供的在移动终端上输入信息的方法框图;1 is a block diagram of a method for inputting information on a mobile terminal according to an embodiment of the present invention;
图2是本发明实施例提供的在移动终端上输入信息的装置框图;2 is a block diagram of an apparatus for inputting information on a mobile terminal according to an embodiment of the present invention;
图3是本发明实施例提供的快捷输入监控模式判断技术方案类型的流程图;3 is a flowchart of a type of a technical solution for judging a shortcut input monitoring mode according to an embodiment of the present invention;
图4是图3中Type A方案的流程图;Figure 4 is a flow chart of the Type A scheme of Figure 3;
图5是图3中Type B方案的流程图;Figure 5 is a flow chart of the Type B scheme of Figure 3;
图6是图3中Type C方案的流程图;Figure 6 is a flow chart of the Type C scheme of Figure 3;
图7是本发明实施例提供的Type A指纹方案的流程图;7 is a flowchart of a Type A fingerprinting scheme provided by an embodiment of the present invention;
图8是本发明实施例提供的Type B指纹方案的流程图;FIG. 8 is a flowchart of a Type B fingerprint solution according to an embodiment of the present invention;
图9是本发明实施例提供的Type C指纹方案的流程图。 FIG. 9 is a flowchart of a Type C fingerprinting scheme provided by an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
图1是本发明实施例提供的在移动终端上输入信息的方法框图,如图1所示,步骤包括:1 is a block diagram of a method for inputting information on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1, the steps include:
步骤S101:移动终端获取已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中。Step S101: The mobile terminal acquires the application information of the activated application, and determines whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal.
其中,所述第一快捷输入信息是包含所述应用信息、触发信息和预设字符组信息之间的映射关系的第一关系映射表。The first shortcut input information is a first relationship mapping table that includes a mapping relationship between the application information, the trigger information, and the preset character group information.
其中,所述预设字符组信息包括但不限于用户自定义短语、用户个人信息、各类应用(app)的登录名、登录密码、支付(交易)密码等,这些预设字符组信息以强加密方式分类保存在移动终端本地安全存储区域。The preset character group information includes, but is not limited to, a user-defined phrase, a user's personal information, a login name of each application (app), a login password, a payment (transaction) password, etc., and the preset character group information is strong. The encryption mode is stored in the local secure storage area of the mobile terminal.
步骤S102:若判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中,则利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。Step S102: If it is determined that the application information of the activated application is not saved in the first shortcut input information, the second shortcut input information that has been saved in the mobile terminal is used to obtain a preset corresponding to the trigger information input by the user. Character group information, and inputting the preset character group information to the activated application.
其中,所述第二快捷输入信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。The second shortcut input information is a second relationship mapping table that includes a mapping relationship between the trigger information and the preset character group information.
若所述已启动应用的应用信息未保存在所述第一快捷输入信息中,此时采用第二快捷输入信息,即采用第二关系映射表进行快捷输入。具体地说,移动终端监测用户输入的触发信息,并当检测到触发信息时,在所述第二关系映射表中查找所述触发信息对应的预设字符组信息,并将该预设字符组信息输入到输入控件处。If the application information of the activated application is not saved in the first shortcut input information, the second shortcut input information is used, that is, the second relationship mapping table is used for shortcut input. Specifically, the mobile terminal monitors the trigger information input by the user, and when the trigger information is detected, searches the second relationship mapping table for the preset character group information corresponding to the trigger information, and sets the preset character group. Information is entered at the input controls.
步骤S103:若判断所述已启动应用的应用信息已保存在所述第一快捷输 入信息中,则利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。Step S103: If it is determined that the application information of the activated application has been saved in the first shortcut In the information, the first shortcut input information is used to obtain the trigger information input by the user and the preset character group information corresponding to the application information, and input the preset character group information to the activated application. .
由于app使用移动终端的本地输入法键盘时,可以直接传入预设的字符组,而在app使用其自带的自定义密码键盘时无法直接传入预设的字符组,因此本发明需要对移动终端的输入法键盘进行监测,并将所述第一关系映射表分类为用于常规输入的关系映射表和用于安全输入的关系映射表,这样,在监测到所述移动终端的本地输入法键盘启动之后,若监测到用户输入的触发信息,可以利用所述用于常规输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所找到的预设字符组信息直接输入到所述已启动应用的输入法焦点;在监测到所述已启动应用的自定义密码键盘启动之后,若监测到用户输入的触发信息,可以利用所述用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,在输入时,通过对所述自定义密码键盘所在区域的图像进行图像分析,得到所找到的预设字符组信息中的每个字符的屏幕坐标,并按照所得到的每个字符的屏幕坐标,在所述自定义密码键盘上依次进行虚拟触控操作,从而实现快捷输入所述预设字符组信息。Since the app uses the local input method keyboard of the mobile terminal, the preset character group can be directly transmitted, and when the app uses its own custom password keyboard, the preset character group cannot be directly input, so the present invention needs to The input method keyboard of the mobile terminal performs monitoring, and classifies the first relationship mapping table into a relationship mapping table for regular input and a relationship mapping table for security input, so that local input of the mobile terminal is monitored After the keyboard is started, if the trigger information input by the user is detected, the relationship mapping table for the normal input may be used to obtain the trigger information input by the user and the preset character group information corresponding to the application information, and The found preset character group information is directly input to the input method focus of the activated application; after the startup of the custom password keyboard of the activated application is detected, if the trigger information input by the user is monitored, the use may be utilized. Obtaining the trigger information input by the user and the preset character group information corresponding to the application information in the relationship mapping table of the security input, When inputting, by performing image analysis on the image of the area where the custom password keyboard is located, the screen coordinates of each character in the found preset character group information are obtained, and according to the obtained screen coordinates of each character, The virtual touch operation is sequentially performed on the custom password keyboard, so that the preset character group information is quickly input.
上述触发信息是所述移动终端在至少一种触发方式启动时收到的用户输入的信息,所述触发方式包括指纹识别、眼纹或虹膜识别、面部识别、眨眼识别、固定的物理按键、按键组合、手势动作、屏幕触控手势等触发方式。The trigger information is information input by the user that is received by the mobile terminal when the at least one trigger mode is activated, and the triggering manner includes fingerprint recognition, eye pattern or iris recognition, face recognition, blink recognition, fixed physical buttons, and buttons. Trigger methods such as combination, gesture action, and screen touch gesture.
例如,移动终端新下载到本地app1,用户未注册,在app1启动后,可以在第二映射表中根据触发信息找到相应的预设字符组信息,例如姓名、手机号码、身份证号码、家庭住址、邮件地址等,并传递给app1的输入控件,实现个人信息的快捷输入。For example, the mobile terminal newly downloads to the local app1, and the user is not registered. After the app1 is started, the corresponding preset character group information, such as the name, the mobile phone number, the ID card number, and the home address, may be found in the second mapping table according to the trigger information. , mail address, etc., and passed to the input control of app1, to achieve quick input of personal information.
例如,移动终端本地app2,用户已注册,其应用信息及相应的触发信息和预设字符组信息(例如支付密码、登录密码等)保存在第一映射表中,在app2启动后,可以根据触发信息找到该app2的预设字符组信息,并传递给app2的输入控件,实现密码输入过程简化,提高了密码输入效率,保证了密码输入安全性,同时避免用户忘记密码带来的密码重置的繁琐操作。 For example, the mobile terminal local app2, the user has registered, its application information and corresponding trigger information and preset character group information (such as payment password, login password, etc.) are saved in the first mapping table, and after the app2 is started, the trigger may be triggered according to The information finds the preset character group information of the app2, and passes it to the input control of the app2, which simplifies the password input process, improves the password input efficiency, ensures the security of the password input, and avoids the password reset caused by the user forgetting the password. Trivial operation.
例如,移动终端本地app3,用户已注册,但其应用信息未保存在第一映射表中,在app3启动后,可以在第二映射表中根据触发信息找到相应的预设字符组信息,并传递给app3的输入控件。For example, the mobile terminal local app3, the user has registered, but the application information is not saved in the first mapping table. After the app3 is started, the corresponding preset character group information may be found in the second mapping table according to the trigger information, and transmitted. Give the input controls to app3.
图2是本发明实施例提供的在移动终端上快捷输入预设字符组信息的装置框图,如图2所示,包括判断模块10、第一输入模块20和第二输入模块30。FIG. 2 is a block diagram of a device for quickly inputting preset character group information on a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes a judging module 10, a first input module 20, and a second input module 30.
判断模块10,设置为获取移动终端的已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中。其中,所述第一快捷输入信息是包含所述应用信息、触发信息和预设字符组信息之间的映射关系的第一关系映射表,其包括用于常规输入的关系映射表和用于安全输入的关系映射表。所述第一关系映射表中的应用信息可以是app属性信息,例如app包名。所述第一关系映射表中的预设字符组信息可以是登录密码、支付密码、查询密码等信息。The determining module 10 is configured to obtain application information of the activated application of the mobile terminal, and determine whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal. The first shortcut input information is a first relationship mapping table including a mapping relationship between the application information, trigger information, and preset character group information, and includes a relationship mapping table for regular input and is used for security. Enter the relationship mapping table. The application information in the first relationship mapping table may be app attribute information, such as an app package name. The preset character group information in the first relationship mapping table may be information such as a login password, a payment password, a query password, and the like.
第一输入模块20,设置为在判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中时,利用已保存在移动终端的第二快捷输入信息,获取用户快捷输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。其中,所述第二快捷输入信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。所述第二关系映射表中的预设字符组信息可以是姓名、手机号码、身份证号码、家庭住址、邮件地址等个人常用信息。若所述判断模块10判断所述已启动应用的应用信息未保存在所述第一关系映射表中,则所述第一输入模块20监测用户输入的触发信息,并当检测到触发信息时,在所述第二关系映射表中查找所述触发信息对应的预设字符组信息,并将所找到的预设字符组信息直接输入到所述已启动应用的输入法焦点。The first input module 20 is configured to: when determining that the application information of the activated application is not saved in the first shortcut input information, acquire the trigger of the user shortcut input by using the second shortcut input information that has been saved in the mobile terminal The preset character group information corresponding to the information, and inputting the preset character group information to the activated application. The second shortcut input information is a second relationship mapping table that includes a mapping relationship between the trigger information and the preset character group information. The preset character group information in the second relationship mapping table may be personal common information such as a name, a mobile phone number, an ID card number, a home address, and an email address. If the determining module 10 determines that the application information of the activated application is not saved in the first relationship mapping table, the first input module 20 monitors trigger information input by the user, and when the trigger information is detected, The preset relationship group information corresponding to the trigger information is searched in the second relationship mapping table, and the found preset character group information is directly input to the input method focus of the activated application.
第二输入模块30,设置为在判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中时,利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。第二输入模块30在监测到所述移动终端的本地输入法键盘启动之后,若监测到用户输入的触发信息,可以利用用于常规输入的 关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所找到的预设字符组信息直接输入到所述已启动应用的输入法焦点;在监测到所述已启动应用的自定义密码键盘启动之后,若监测到用户输入的触发信息,可以利用用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,在输入期间,通过对所述自定义密码键盘所在区域的图像进行图像分析,得到所找到的预设字符组信息中的每个字符的屏幕坐标,并按照所得到的每个字符的屏幕坐标,在所述自定义密码键盘上依次进行虚拟触控操作,从而实现快捷输入所述预设字符组信息。The second input module 30 is configured to: when determining that the application information of the activated application has been saved in the first shortcut input information, use the first shortcut input information to acquire trigger information input by the user and the application The preset character group information corresponding to the information, and inputting the preset character group information to the activated application. After the second input module 30 detects that the local input method keyboard of the mobile terminal is started, if the trigger information input by the user is monitored, the second input module 30 can be used for regular input. a relationship mapping table, the trigger information input by the user and the preset character group information corresponding to the application information are obtained, and the found preset character group information is directly input to the input method focus of the activated application; After the startup password of the activated application is started, if the trigger information input by the user is detected, the relationship mapping table for the security input may be used to obtain the trigger information input by the user and the preset character corresponding to the application information. Group information, during image input, by performing image analysis on the image of the area where the custom password keyboard is located, obtaining screen coordinates of each character in the found preset character group information, and according to each character obtained The screen coordinates are sequentially performed on the custom password keyboard, so that the preset character group information is quickly input.
图3是本发明实施例提供的快捷输入监控模式判断技术方案类型的流程图,如图3所示,步骤包括:FIG. 3 is a flowchart of a technical solution for determining a shortcut input monitoring mode according to an embodiment of the present invention. As shown in FIG. 3, the steps include:
步骤S301:移动终端处于待机状态。Step S301: The mobile terminal is in a standby state.
步骤S302:移动终端进入快捷输入监控模式。Step S302: The mobile terminal enters the shortcut input monitoring mode.
本实施例所述的快捷输入监控模式在移动终端开机后即进入监控状态,负责判断移动终端该执行何种快捷输入技术方案,以及何时、以何种方式启动快捷输入。The shortcut input monitoring mode described in this embodiment enters the monitoring state after the mobile terminal is powered on, and is responsible for determining which shortcut input technical solution the mobile terminal should perform, and when and how to initiate the shortcut input.
步骤S303:移动终端上的某一app启动。Step S303: A certain app on the mobile terminal is started.
步骤S304:检测当前已启动的app所属的映射表,判断当前已启动的app是否在映射表内,若在映射表内则执行步骤S306,否则执行步骤S305。Step S304: Detecting the mapping table to which the currently started app belongs, determining whether the currently launched app is in the mapping table, if yes in the mapping table, executing step S306, otherwise performing step S305.
步骤S305:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A。Step S305: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts Type A.
步骤S306:监测输入法键盘,若自定义密码键盘启动,则执行步骤S308,若本地输入法键盘启动,则执行步骤S307。Step S306: Monitor the input method keyboard. If the custom password keyboard is started, step S308 is performed. If the local input method keyboard is started, step S307 is performed.
步骤S307:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type B方案。Step S307: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
步骤S308:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type C方案。 Step S308: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type C scheme.
可见,本发明根据移动终端当前处于激活态的应用(app)和所调用的输入法键盘类别,定义了三种基本的快捷输入方案,这三种方案的区别在于:It can be seen that the present invention defines three basic shortcut input schemes according to the application (app) in which the mobile terminal is currently in an active state and the input keyboard type that is invoked. The differences between the three schemes are:
1.Type A:当前app在映射表内没有映射信息;1.Type A: The current app has no mapping information in the mapping table;
2.Type B:当前app在映射表内有映射信息,且当前输入法键盘为本地输入法键盘,即系统默认键盘以及输出键值处于系统权限控制下的键盘;2.Type B: The current app has mapping information in the mapping table, and the current input method keyboard is a local input method keyboard, that is, the system default keyboard and the keyboard whose output key value is under the control of the system authority;
3.Type C:当前app在映射表内有映射信息,且当前输入法键盘为app自定义密码键盘,即安全键盘。3.Type C: The current app has mapping information in the mapping table, and the current input method keyboard is an app custom password keyboard, that is, a security keyboard.
本发明定义的触发方式与预设的字符组信息的关系映射表保存在移动终端的本地安全存储区域,并与三种方案相互对应,该关系映射表的基本结构如表1所示。The relationship mapping table between the triggering mode and the preset character group information defined in the present invention is stored in the local secure storage area of the mobile terminal, and corresponds to the three schemes. The basic structure of the relationship mapping table is shown in Table 1.
表1.触发信息与预设字符组信息的关系映射表Table 1. Relationship mapping between trigger information and preset character group information
Figure PCTCN2016080058-appb-000001
Figure PCTCN2016080058-appb-000001
本发明所列的触发方式随其基本原理及特性的不同,适用于不同的快捷输入方案。 The triggering modes listed in the present invention are applicable to different shortcut input schemes according to their basic principles and characteristics.
表2.三种技术方案对不同触发方式的支持程度Table 2. Degree of support for different triggering methods by the three technical solutions
Figure PCTCN2016080058-appb-000002
Figure PCTCN2016080058-appb-000002
如果某触发方式仅有一种触发信息,例如面部识别触发方式仅可以有一种面部特征信息,则在一类映射表内仅能对应一组字符组,将这种情况定义为“一对一”;如果某种触发方式可以有多种触发信息,例如指纹识别方式可以有多组指纹信息,则在一类映射表内可以分别对应多组字符组,将这种情况定义为“多对多”;考虑到不同应用中使用,增加一个维度,也会在Type B、Type C中出现“一对多”的情况。多种预设信息输入的触发方式包括指纹、眼纹、面部识别、眨眼识别、固定的物理按键或按键组合、手势动作、屏幕手势等,则可能的支持情况见表2。If a trigger mode has only one type of trigger information, for example, the face recognition trigger mode can only have one type of facial feature information, then only one set of character sets can be corresponding to a type of mapping table, and this case is defined as “one-to-one”; If a certain triggering method can have multiple triggering information, for example, the fingerprint identification method may have multiple sets of fingerprint information, then one type of mapping table may respectively correspond to multiple sets of character groups, and this situation is defined as “many-to-many”; Considering the use of different applications, adding a dimension will also result in a "one-to-many" situation in Type B and Type C. The triggering methods for various preset information input include fingerprint, eye pattern, face recognition, blink recognition, fixed physical button or button combination, gesture action, screen gesture, etc., and the possible support conditions are shown in Table 2.
图4是图3中Type A方案的流程图,若快捷输入监控模式判断为Type A 方案,则启动触发监控机制;当监控到触发成功的触发信息时,查询映射表A,根据触发信息获取对应的字符组信息,并将其传递到当前输入法焦点,完成一次快捷输入动作。如图4所示,步骤包括:4 is a flow chart of the Type A scheme of FIG. 3, and if the shortcut input monitoring mode is determined to be Type A The scheme starts the trigger monitoring mechanism. When the triggered trigger information is successfully detected, the mapping table A is queried, and the corresponding character group information is obtained according to the trigger information, and is transmitted to the current input method focus to complete a shortcut input action. As shown in Figure 4, the steps include:
步骤S401:移动终端处于待机状态。Step S401: The mobile terminal is in a standby state.
步骤S402:移动终端进入快捷输入监控模式。Step S402: The mobile terminal enters the shortcut input monitoring mode.
步骤S403:移动终端上的某一app启动。Step S403: A certain app on the mobile terminal is started.
步骤S404:监测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若在映射表内则执行步骤S405,否则执行步骤S406。Step S404: Monitor the mapping table to which the currently started app belongs, and determine whether the currently launched app is in the mapping table. If the mapping table is in the mapping table, execute step S405; otherwise, execute step S406.
步骤S405:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type B方案或Type C方案。Step S405: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts a Type B scheme or a Type C scheme.
步骤S406:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案,并对输入法键盘进行监测,从而启动触发监控机制。Step S406: The mobile terminal determines that the implementation scheme of the current shortcut input adopts the Type A scheme in the shortcut input monitoring mode, and monitors the input method keyboard, thereby starting the trigger monitoring mechanism.
步骤S407:当本地输入法键盘启动时,循环监控触发信息。Step S407: When the local input method keyboard is started, the loop trigger information is cyclically monitored.
步骤S408:当监控到触发成功的触发信息时,查询映射表A(即第二关系映射表),得到触发信息对应的字符组信息。Step S408: When the triggered trigger information is successfully detected, the mapping table A (ie, the second relationship mapping table) is queried to obtain the character group information corresponding to the trigger information.
步骤S409:将所得到的字符组信息传递到当前输入法焦点。Step S409: The obtained character group information is delivered to the current input method focus.
步骤S410:一次快捷输入动作完成,并执行步骤S402。Step S410: A shortcut input action is completed, and step S402 is performed.
本发明所述Type A方案可用普通输入法预设快捷短语替代预设字符组信息,但便捷性比本实施例稍差。The Type A scheme of the present invention can replace the preset character group information by using the common input method to preset the shortcut phrase, but the convenience is slightly worse than the embodiment.
图5是图3中Type B方案的流程图,若快捷输入监控模式判断为Type B方案,则启动触发监控机制;当监控到触发成功的触发信息时,查询映射表B,根据当前应用属性和触发信息获取对应的字符组信息,并将其传递到当前输入法焦点,完成一次快捷输入动作。如图5所示,步骤包括:FIG. 5 is a flowchart of the Type B scheme in FIG. 3, if the shortcut input monitoring mode is determined to be a Type B scheme, a trigger monitoring mechanism is started; when the triggered trigger information is monitored, the mapping table B is queried according to the current application attribute and Trigger information to obtain the corresponding character group information, and pass it to the current input method focus to complete a shortcut input action. As shown in Figure 5, the steps include:
步骤S501:移动终端处于待机状态。Step S501: The mobile terminal is in a standby state.
步骤S502:移动终端进入快捷输入监控模式。Step S502: The mobile terminal enters the shortcut input monitoring mode.
步骤S503:移动终端上的某一app启动。 Step S503: an app on the mobile terminal is started.
步骤S504:检测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若不在映射表内则执行步骤S505,否则执行步骤S506。Step S504: Detecting the mapping table to which the currently started app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S505 is performed; otherwise, step S506 is performed.
步骤S505:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案。Step S505: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
步骤S506:对输入法键盘进行监测,当监测到自定义密码键盘启动时执行步骤S507,当监测到本地输入法键盘启动时执行步骤S508。Step S506: The input method keyboard is monitored. When the custom password keyboard is detected to start, step S507 is performed, and when the local input method keyboard is detected to be started, step S508 is performed.
步骤S507:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type C方案。Step S507: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type C scheme.
步骤S508:当本地输入法键盘启动时,循环监控触发信息。Step S508: When the local input method keyboard is started, the loop trigger information is cyclically monitored.
步骤S509:当监控到触发成功的触发信息时,查询映射表B(即第一关系映射表中的用于常规输入的关系映射表),得到触发信息对应的字符组信息。Step S509: When the trigger information for triggering success is monitored, the mapping table B (ie, the relationship mapping table for regular input in the first relationship mapping table) is queried to obtain the character group information corresponding to the trigger information.
步骤S510:将所得到的字符组信息传递到当前输入法焦点。Step S510: Pass the obtained character group information to the current input method focus.
步骤S511:一次快捷输入动作完成,并执行步骤S502。Step S511: A shortcut input action is completed, and step S502 is performed.
本实施例的Type B方案可通过与多个或全部第三方app联合定制开发、深度定制的方式来替代,但本实施例的实现成本最低,无需定制开发,便捷灵活。The Type B solution of this embodiment can be replaced by a combination of custom development and deep customization with multiple or all third party apps, but the implementation cost of the embodiment is the lowest, no need for customized development, and convenient and flexible.
图6是图3中Type C方案的流程图,若快捷输入监控模式判断为Type C方案,则启动触发监控机制;当监控到触发成功的触发信息时,首先获取当前屏幕上密码键盘的区域范围信息,将其截图并进行图像分析,获取键盘上所有字符对应的屏幕坐标信息,之后查询映射表C,根据当前应用属性和触发信息获取对应的字符组信息,然后对比判断从图像分析获得的字符是否已包含所有的预设字符组信息中的字符信息,如果不完整,则虚拟点击密码键盘的切换按键,获取下一层键盘的图像二次分析对比,再将预设字符组信息转换为该密码键盘上的屏幕坐标信息,并把该坐标信息转换为虚拟触控操作,完成一次快捷输入动作。如图6所示,步骤包括:6 is a flow chart of the Type C scheme of FIG. 3. If the shortcut input monitoring mode is determined to be a Type C scheme, a trigger monitoring mechanism is activated; when the triggered trigger information is monitored, the area of the password keyboard on the current screen is first obtained. Information, take a screenshot and perform image analysis to obtain the screen coordinate information corresponding to all the characters on the keyboard, then query the mapping table C, obtain the corresponding character group information according to the current application attribute and the trigger information, and then compare and judge the characters obtained from the image analysis. Whether the character information in all the preset character group information is already included. If it is not complete, the virtual click key switch keyboard button is used to obtain the image analysis and comparison of the next layer keyboard, and then the preset character group information is converted into the The screen coordinate information on the password keyboard, and convert the coordinate information into a virtual touch operation to complete a quick input action. As shown in Figure 6, the steps include:
步骤S601:移动终端处于待机状态。 Step S601: The mobile terminal is in a standby state.
步骤S602:移动终端进入快捷输入监控模式。Step S602: The mobile terminal enters the shortcut input monitoring mode.
步骤S603:移动终端上的某一app启动。Step S603: A certain app on the mobile terminal is started.
步骤S604:检测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若不在映射表内则执行步骤S605,否则执行步骤S606。Step S604: Detecting the mapping table to which the currently launched app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S605 is performed; otherwise, step S606 is performed.
步骤S605:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案。Step S605: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
步骤S606:对输入法键盘进行监测,当监测到本地输入法键盘启动时执行步骤S607,当监测到自定义密码键盘启动时执行步骤S608。Step S606: The input method keyboard is monitored. When the local input method keyboard is detected to start, step S607 is performed, and when the custom password keyboard is detected to be started, step S608 is performed.
步骤S607:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type B方案。Step S607: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
步骤S608:当自定义密码键盘启动时,循环监控触发信息。Step S608: When the custom password keyboard is started, the loop trigger information is cyclically monitored.
步骤S609:获取当前屏幕上的自定义密码键盘的区域范围信息。Step S609: Acquire area range information of the custom password keyboard on the current screen.
步骤S610:按照所获取的区域范围信息,对自定义密码键盘进行截图。Step S610: Perform a screenshot on the custom password keyboard according to the acquired area range information.
步骤S611:对得到的截图进行图像分析,得到键盘上所有字符(包括数字、字母等)对应的屏幕坐标信息。Step S611: Perform image analysis on the obtained screenshot to obtain screen coordinate information corresponding to all characters (including numbers, letters, etc.) on the keyboard.
步骤S612:查询映射表C(即第一关系映射表中的用于安全输入的关系映射表),根据当前应用属性和触发信息获取对应的字符组信息。Step S612: Query the mapping table C (ie, the relationship mapping table for security input in the first relationship mapping table), and obtain corresponding character group information according to the current application attribute and the trigger information.
步骤S613:判断步骤S611得到的所有字符是否已包含所有的预设字符组信息中的字符信息,若包含,则执行步骤S615,否则执行步骤S614。Step S613: It is determined whether all the characters obtained in step S611 already contain the character information in all the preset character group information. If yes, step S615 is performed, otherwise step S614 is performed.
步骤S614:虚拟点击自定义密码键盘的切换按键,获取下一层键盘的区域范围信息,并执行步骤S610。Step S614: Virtually clicking the switch button of the custom password keyboard to obtain the area range information of the next layer of the keyboard, and executing step S610.
步骤S615:按照预设字符组信息中的字符顺序,依次得到相应字符的屏幕坐标信息。Step S615: sequentially obtain screen coordinate information of the corresponding character according to the order of the characters in the preset character group information.
步骤S616:按照步骤S615得到的屏幕坐标信息,执行虚拟触控操作。Step S616: Perform a virtual touch operation according to the screen coordinate information obtained in step S615.
步骤S617:一次快捷输入动作完成,并执行步骤S602。Step S617: A shortcut input action is completed, and step S602 is performed.
也就是说,对于Type C,需要对第三方软键盘(密码键盘或安全键盘)进行图像识别处理,并采用虚拟触控输入机制。 That is to say, for Type C, it is necessary to perform image recognition processing on a third-party soft keyboard (password keyboard or security keyboard), and adopt a virtual touch input mechanism.
本实施例的Type C方案可通过与多个或全部第三方app联合定制开发、深度定制的方式来替代,但本实施例的实现成本最低,无需定制开发,便捷灵活。The Type C solution of this embodiment can be replaced by a combination of custom development and deep customization with multiple or all third party apps, but the implementation cost of the embodiment is the lowest, no need for customized development, convenient and flexible.
本发明实施例通过建立特定触发信息、移动终端上的各应用(app)、预设的字符组的对应关系,在符合触发条件时,将预设的字符组直接传递到当前输入控件的方式,解决字符组快捷输入问题。对于第三方应用采用了自定义密码键盘,无法直接传入字符的情况,可以通过图像识别和虚拟触控的方式解决字符输入问题;其中涉及到预设的字符组信息的定义、图像识别技术的应用、多种触发机制的定义、快捷输入监控模式的定义、三种基本技术实现方案的定义等。In the embodiment of the present invention, by setting a specific trigger information, a corresponding relationship between each application (app) and a preset character group on the mobile terminal, when the trigger condition is met, the preset character group is directly transmitted to the current input control manner. Solve the problem of character group shortcut input. For the third-party application, a custom password keyboard is used, and characters cannot be directly transmitted. The character input problem can be solved by image recognition and virtual touch; the definition of the preset character group information and the image recognition technology are involved. Application, definition of multiple trigger mechanisms, definition of fast input monitoring mode, definition of three basic technology implementation schemes, etc.
其中,本发明实施例使用到的图像识别技术是一种已有的、成熟的技术方案,本发明不再赘述,即可以通过现有图像识别技术对移动终端当前显示画面中的安全键盘区域进行图像识别处理,获取到键盘上数字、字母、大小写切换等的按键坐标。The image recognition technology used in the embodiment of the present invention is an existing and mature technical solution. The present invention does not repeat the above, that is, the existing image recognition technology can be used to perform the security keyboard area in the current display screen of the mobile terminal. Image recognition processing, obtaining key coordinates of numbers, letters, case switching, etc. on the keyboard.
其中,本发明实施例所述的触发预设字符组信息自动输入动作的机制,包括但不限于指纹识别、眼纹(或虹膜)识别、面部识别、眨眼识别、固定的物理按键或按键组合、手势动作、屏幕触控手势等触发方式。The mechanism for triggering the automatic input action of the preset character group information according to the embodiment of the present invention includes, but is not limited to, fingerprint recognition, eye pattern (or iris) recognition, face recognition, blink recognition, fixed physical button or button combination, Trigger actions such as gestures and screen touch gestures.
典型的,以指纹识别为例,结合图7至图9对上述三种方案一一进行阐述。其它触发方式的实施场景与指纹触控方式类似,仅是传感器监测方式、触发方式、安全、容错等方式有所不同。Typically, fingerprint identification is taken as an example, and the above three schemes are explained in conjunction with FIG. 7 to FIG. The implementation scenarios of other trigger modes are similar to the fingerprint touch mode. The methods of sensor monitoring, triggering, security, and fault tolerance are different.
图7是本发明实施例提供的Type A指纹方案的流程图,如图7所示,步骤包括:FIG. 7 is a flowchart of a Type A fingerprinting scheme provided by an embodiment of the present invention. As shown in FIG. 7, the steps include:
步骤S701:移动终端处于待机状态。Step S701: The mobile terminal is in a standby state.
步骤S702:移动终端进入快捷输入监控模式。Step S702: The mobile terminal enters the shortcut input monitoring mode.
步骤S703:移动终端上的某一app启动。 Step S703: A certain app on the mobile terminal is started.
步骤S704:监测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若在映射表内则执行步骤S705,否则执行步骤S706。Step S704: Monitor the mapping table to which the currently started app belongs, and determine whether the currently launched app is in the mapping table. If the mapping table is in the mapping table, execute step S705; otherwise, perform step S706.
步骤S705:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type B方案或Type C方案。Step S705: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts a Type B scheme or a Type C scheme.
步骤S706:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案,并对输入法键盘进行监测,从而启动触发监控机制。Step S706: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme, and monitors the input method keyboard, thereby starting the trigger monitoring mechanism.
步骤S707:当本地输入法键盘启动时,循环监控指纹信息输入状态。Step S707: When the local input method keyboard is started, the fingerprint information input state is cyclically monitored.
步骤S708:当监控到指纹信息时,若是第一次输入,则初始化指纹校验计数器n=0,进行容错检验,若为重复信息则执行步骤S709,否则执行步骤S710。Step S708: When the fingerprint information is monitored, if the first input is performed, the fingerprint verification counter n=0 is initialized, and the fault tolerance check is performed. If the information is repeated, step S709 is performed; otherwise, step S710 is performed.
步骤S709:当本次指纹信息与上次指纹信息相同时,启动错误提示并重新执行步骤S707。Step S709: When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S707 is re-executed.
步骤S710:当本次指纹信息与上次指纹信息不同时,判断指纹校验计数器的计数值n是否小于阈值,是则执行步骤S712,否则执行步骤S711;Step S710: When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint check counter is less than the threshold value, if yes, step S712 is performed, otherwise step S711 is performed;
所述阈值,设置为输入错误的次数阈值,比如设置为3The threshold is set to a threshold number of input errors, such as set to 3
步骤S711:冻结快捷输入模式,并在预设的保护时间M后,重新执行步骤S702。Step S711: The shortcut input mode is frozen, and after the preset protection time M, step S702 is re-executed.
步骤S712:进行指纹校验,即将指纹信息与映射表A内的指纹信息进行匹配,如果在映射表A中有匹配的指纹信息则校验通过,并执行步骤S713,否则,将指纹校验计数器的计数值n递增1,执行步骤S707,退回指纹监测状态并给出提示。Step S712: performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table A. If there is matching fingerprint information in the mapping table A, the verification passes, and step S713 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S707 is executed to return the fingerprint monitoring state and give a prompt.
步骤S713:从映射表A中获取该指纹信息对应的字符组信息。Step S713: Obtain the character group information corresponding to the fingerprint information from the mapping table A.
步骤S714:将所得到的字符组信息传递到当前输入法焦点。Step S714: The obtained character group information is delivered to the current input method focus.
步骤S715:判断本地输入法状态,若输入法键盘被用户关闭或隐藏,则说明输入状态结束,执行步骤S702,否则说明输入状态仍在继续,执行步骤S707。Step S715: Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S702 is performed. Otherwise, the input state is still continued, and step S707 is performed.
假设用户在移动终端中预先存储三组指纹信息,其中,指纹1对应映射 表A内的字符组A1(例如姓名),指纹2对应映射表A内的字符组A2(例如手机号),指纹3对应映射表A内的字符组A3(例如邮寄地址)。用户在移动终端上启动某一app(可以是本地应用)后,点击某控件,开始输入动作,这时,处于后台运行的快捷输入监控模式首先检测当前app所属映射表,如果在映射表内有该app包名,则采用Type B、Type C方案;本实施例假设该app不在映射表内,则默认为Type A方案。It is assumed that the user pre-stores three sets of fingerprint information in the mobile terminal, wherein the fingerprint 1 corresponds to the mapping The character group A1 (for example, a name) in the table A, the fingerprint 2 corresponds to the character group A2 (for example, a mobile phone number) in the mapping table A, and the fingerprint 3 corresponds to the character group A3 (for example, a mailing address) in the mapping table A. After the user starts an app (which can be a local application) on the mobile terminal, clicks on a certain control to start the input action. At this time, the shortcut input monitoring mode running in the background first detects the mapping table of the current app, if there is a mapping table in the mapping table. The app package name adopts the Type B and Type C schemes; this embodiment assumes that the app is not in the mapping table, and the default is the Type A scheme.
当用户点击控件,开始输入动作时,本地输入法键盘启动,快捷输入监控模式监控到这一动作,后台向指纹传感器发出接收指纹输入指令,并启动指纹信息的循环监测。当检测到有指纹信息传入时,首先进行容错检验,用于判断本次指纹信息是否与上次相同,如相同则属于重复输入(可能是用户误操作),启动错误提示并重新进入指纹监测状态;如果与上次不同,判断指纹校验计数器n是否小于阈值,是则将指纹信息与映射表A内的指纹信息进行对比,如果有符合的指纹数据则校验通过,否则,将n递增1,退回指纹监测状态并给出提示。When the user clicks on the control and starts inputting the action, the local input method keyboard is activated, and the quick input monitoring mode monitors the action, and the background sends a fingerprint input instruction to the fingerprint sensor, and starts the cyclic monitoring of the fingerprint information. When the fingerprint information is detected, the fault-tolerant test is first performed to determine whether the fingerprint information is the same as the previous one. If the same, it belongs to the repeated input (may be user misoperation), start the error prompt and re-enter the fingerprint monitoring. Status; if it is different from last time, it is judged whether the fingerprint verification counter n is smaller than the threshold value, then the fingerprint information is compared with the fingerprint information in the mapping table A, and if there is matching fingerprint data, the verification is passed; otherwise, n is incremented 1. Return the fingerprint monitoring status and give a prompt.
假设本次指纹信息为指纹1,则下一步执行查询映射表A的动作后,查得对应字符组A1(即姓名);然后将字符组A1传递到当前输入法焦点所在处,即将姓名输入到输入控件处;再检查输入法所处状态,如果输入法键盘关闭或隐藏,则认为输入结束,返回快捷输入监控模式;如果输入法键盘没有被用户关闭或隐藏,则继续监控指纹输入信息。例如,用户选择此时继续输入,重新点击了另一个控件,激活输入法焦点,则输入法依然处于激活状态,用户输入指纹2,则将字符组A2(手机号)传递在此控件,依次类推。Assuming that the fingerprint information is fingerprint 1, the next step is to perform the action of querying the mapping table A, and then find the corresponding character group A1 (name); then pass the character group A1 to the focus of the current input method, that is, input the name to Enter the control; check the status of the input method. If the input method keyboard is closed or hidden, the input is considered to be finished, and the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, the fingerprint input information is continuously monitored. For example, if the user chooses to continue inputting at this time, and clicks another control again to activate the input method focus, the input method is still activated. When the user inputs the fingerprint 2, the character group A2 (mobile phone number) is transmitted in the control, and so on. .
考虑到安全因素,如果指纹计数器n=3时,即有三次连续输入了不在映射表内的无效或错误指纹,则冻结快捷输入模式,在预设的保护时间M之后解冻。Considering the security factor, if the fingerprint counter n=3, that is, three consecutive invalid or incorrect fingerprints that are not in the mapping table are input, the shortcut input mode is frozen and thawed after the preset protection time M.
图8是本发明实施例提供的Type B指纹方案的流程图,如图8所示,步骤包括:FIG. 8 is a flowchart of a Type B fingerprinting scheme provided by an embodiment of the present invention. As shown in FIG. 8, the steps include:
步骤S801:移动终端处于待机状态。 Step S801: The mobile terminal is in a standby state.
步骤S802:移动终端进入快捷输入监控模式。Step S802: The mobile terminal enters the shortcut input monitoring mode.
步骤S803:移动终端上的某一app启动。Step S803: an app on the mobile terminal is started.
步骤S804:检测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若不在映射表内则执行步骤S805,否则执行步骤S806。Step S804: Detecting the mapping table to which the currently started app belongs, and determining whether the currently launched app is in the mapping table. If not in the mapping table, step S805 is performed; otherwise, step S806 is performed.
步骤S805:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案。Step S805: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
步骤S806:对输入法键盘进行监测,当监测到自定义密码键盘启动时执行步骤S807,当监测到本地输入法键盘启动时执行步骤S808。Step S806: The input method keyboard is monitored. When the custom password keyboard is detected to start, step S807 is performed, and when the local input method keyboard is detected to be started, step S808 is performed.
步骤S807:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type C方案。Step S807: The mobile terminal determines that the implementation scheme of the current shortcut input adopts the Type C scheme in the shortcut input monitoring mode.
步骤S808:当本地输入法键盘启动时,循环监控指纹信息输入状态。Step S808: When the local input method keyboard is started, the fingerprint information input state is cyclically monitored.
步骤S809:当监控到指纹信息时,若是第一次输入,则初始化指纹校验计数器n=0,进行容错检验,若为重复信息则执行步骤S810,否则执行步骤S811。Step S809: When the fingerprint information is monitored, if the first input is performed, the fingerprint verification counter n=0 is initialized, and the fault tolerance check is performed. If the information is repeated, step S810 is performed; otherwise, step S811 is performed.
步骤S810:当本次指纹信息与上次指纹信息相同时,启动错误提示并重新执行步骤S808。Step S810: When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S808 is re-executed.
步骤S811:当本次指纹信息与上次指纹信息不同时,判断指纹校验计数器的计数值n是否小于阈值,是则执行步骤S813,否则执行步骤S812;Step S811: When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint verification counter is less than the threshold value, if yes, step S813 is performed, otherwise step S812 is performed;
所述阈值,设置为输入错误的次数阈值,比如设置为3。The threshold is set to a threshold number of times the error is input, for example, set to 3.
步骤S812:冻结快捷输入模式,并在预设的保护时间M后,重新执行步骤S802。Step S812: The shortcut input mode is frozen, and after the preset protection time M, step S802 is re-executed.
步骤S813:进行指纹校验,即将指纹信息与映射表B内的指纹信息进行匹配,如果在映射表B中有匹配的指纹信息则校验通过,并执行步骤S814,否则,将指纹校验计数器的计数值n递增1,执行步骤S808,退回指纹监测状态并给出提示。Step S813: performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table B. If there is matching fingerprint information in the mapping table B, the verification passes, and step S814 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S808 is executed to return the fingerprint monitoring state and give a prompt.
步骤S814:从映射表B中获取该指纹信息对应的字符组信息。Step S814: Obtain the character group information corresponding to the fingerprint information from the mapping table B.
步骤S815:将所得到的字符组信息传递到当前输入法焦点。 Step S815: Pass the obtained character group information to the current input method focus.
步骤S816:判断本地输入法状态,若输入法键盘被用户关闭或隐藏,则说明输入状态结束,执行步骤S802,否则说明输入状态仍在继续,执行步骤S808。Step S816: Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S802 is performed. Otherwise, the input state is still continued, and step S808 is performed.
用户事先存储了指纹1,并指定指纹1在app1(例如12306)内对应字符组为字符组B1(12306登录密码),在app2(例如招商银行)内对应字符组为字符组B2(招商银行的登录密码),用户将此映射关系存储在映射表B。The user stores the fingerprint 1 in advance, and specifies that the corresponding character group of the fingerprint 1 in the app1 (for example, 12306) is the character group B1 (12306 login password), and the corresponding character group in the app2 (for example, China Merchants Bank) is the character group B2 (China Merchants Bank) Login password), the user stores this mapping relationship in mapping table B.
假设在用户移动终端上,快捷输入监控模式处于后台常驻状态,当启动app1时(例如12306)后,app要求输入登录密码,用户点击密码输入控件,快捷输入监控模式首先检测当前app所属映射表,查询到当前app(12306)包名在映射表B内有信息,则判断采用Type B方案。Assume that on the user's mobile terminal, the shortcut input monitoring mode is in the background resident state. When the app1 is started (for example, 12306), the app requests to input the login password, the user clicks the password input control, and the shortcut input monitoring mode first detects the mapping table of the current app. If the current app (12306) package name has information in the mapping table B, it is determined that the Type B scheme is adopted.
当本地输入法键盘已启动,当快捷输入监控模式检测到输入法键盘启动时,同时向指纹传感器发送接收指纹指令,并启动指纹监测;当检测到有指纹信息传入时,首先进行容错检验,用于判断本次指纹信息是否与上次相同,如相同则属于重复输入(可能是用户误操作),启动错误提示并重新进入指纹监测状态;如果与上次不同,判断指纹校验计数器n是否小于阈值,是则将指纹信息与映射表B内的指纹信息进行对比,如果有符合的指纹数据则校验通过,否则,将n递增1,退回指纹监测状态并给出提示。When the local input method keyboard is activated, when the quick input monitoring mode detects that the input method keyboard is started, the fingerprint command is sent to the fingerprint sensor at the same time, and the fingerprint monitoring is started; when the fingerprint information is detected, the fault tolerance test is first performed. It is used to judge whether the fingerprint information is the same as the last time. If it is the same, it belongs to repeated input (may be user misoperation), activates the error prompt and re-enters the fingerprint monitoring state; if it is different from the last time, determines whether the fingerprint verification counter n is If the value is less than the threshold, the fingerprint information is compared with the fingerprint information in the mapping table B. If there is matching fingerprint data, the verification is passed. Otherwise, n is incremented by 1, and the fingerprint monitoring state is returned and a prompt is given.
假设本次指纹信息为指纹1,则下一步执行查询映射表B的动作后,查得对应字符组B1(即12306登录密码);然后将字符组B1传递到当前输入法焦点所在处,即将密码输入到输入控件处;再检查输入法所处状态,如果输入法键盘关闭或隐藏,则认为输入结束,即用户认为已完成密码快捷输入动作,选择了下一步操作,这时返回快捷输入监控模式;如果输入法键盘没有被用户关闭或隐藏,则继续监控指纹输入信息。Assuming that the fingerprint information is fingerprint 1, the next step is to perform the operation of querying the mapping table B, and then find the corresponding character group B1 (ie, 12306 login password); then pass the character group B1 to the current input method focus, that is, the password Input to the input control; check the status of the input method, if the input method keyboard is closed or hidden, the input is considered to be finished, that is, the user thinks that the password shortcut input action has been completed, and the next operation is selected, then the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, continue to monitor the fingerprint input information.
考虑到安全因素,如果指纹计数器n=3时,即有三次连续输入了不在映射表内的无效或错误指纹,则冻结快捷输入模式,在预设的保护时间M之后解冻。 Considering the security factor, if the fingerprint counter n=3, that is, three consecutive invalid or incorrect fingerprints that are not in the mapping table are input, the shortcut input mode is frozen and thawed after the preset protection time M.
图9是本发明实施例提供的Type C指纹方案的流程图,如图9所示,步骤包括:FIG. 9 is a flowchart of a Type C fingerprinting solution according to an embodiment of the present invention. As shown in FIG. 9, the steps include:
步骤S901:移动终端处于待机状态。Step S901: The mobile terminal is in a standby state.
步骤S902:移动终端进入快捷输入监控模式。Step S902: The mobile terminal enters the shortcut input monitoring mode.
步骤S903:移动终端上的某一app启动。Step S903: an app on the mobile terminal is started.
步骤S904:检测当前已启动的app所属的映射表,并判断当前已启动的app是否在映射表内,若不在映射表内则执行步骤S905,否则执行步骤S906。Step S904: Detecting the mapping table to which the currently started app belongs, and determining whether the currently started app is in the mapping table. If not in the mapping table, step S905 is performed; otherwise, step S906 is performed.
步骤S905:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type A方案。Step S905: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type A scheme.
步骤S906:对输入法键盘进行监测,当监测到本地输入法键盘启动时执行步骤S907,当监测到自定义密码键盘启动时执行步骤S908。Step S906: The input method keyboard is monitored. When the local input method keyboard is detected to start, step S907 is performed, and when the custom password keyboard is detected to be started, step S908 is performed.
步骤S907:移动终端在快捷输入监控模式下判断当前快捷输入的实现方案采用Type B方案。Step S907: The mobile terminal determines, in the shortcut input monitoring mode, that the implementation scheme of the current shortcut input adopts the Type B scheme.
步骤S908:当自定义密码键盘启动时,循环监控指纹信息输入状态。Step S908: When the custom password keyboard is started, the fingerprint information input state is cyclically monitored.
步骤S909:当监控到指纹信息时,若是第一次输入,则初始化指纹校验计数器n=0,进行容错检验,若为重复信息则执行步骤S910,否则执行步骤S911。Step S909: When the fingerprint information is monitored, if the first input is performed, the fingerprint verification counter n=0 is initialized, and the fault tolerance check is performed. If the information is repeated, step S910 is performed, otherwise step S911 is performed.
步骤S910:当本次指纹信息与上次指纹信息相同时,启动错误提示并重新执行步骤S908。Step S910: When the current fingerprint information is the same as the last fingerprint information, an error prompt is activated and step S908 is re-executed.
步骤S911:当本次指纹信息与上次指纹信息不同时,判断指纹校验计数器的计数值n是否小于阈值,是则执行步骤S913,否则执行步骤S912;Step S911: When the current fingerprint information is different from the previous fingerprint information, it is determined whether the count value n of the fingerprint verification counter is less than the threshold value, if yes, step S913 is performed, otherwise step S912 is performed;
所述阈值,设置为输入错误的次数阈值,比如设置为3。The threshold is set to a threshold number of times the error is input, for example, set to 3.
步骤S912:冻结快捷输入模式,并在预设的保护时间M后,重新执行步骤S902。Step S912: The shortcut input mode is frozen, and after the preset protection time M, step S902 is re-executed.
步骤S913:进行指纹校验,即将指纹信息与映射表B内的指纹信息进行匹配,如果在映射表B中有匹配的指纹信息则校验通过,并执行步骤S914,否则,将指纹校验计数器的计数值n递增1,执行步骤S908,退回指纹监测 状态并给出提示。Step S913: performing fingerprint verification, that is, matching the fingerprint information with the fingerprint information in the mapping table B. If there is matching fingerprint information in the mapping table B, the verification passes, and step S914 is performed; otherwise, the fingerprint verification counter is executed. The count value n is incremented by 1, and step S908 is performed to return the fingerprint monitoring. Status and give a hint.
步骤S914:获取当前屏幕上的自定义密码键盘的区域范围信息。Step S914: Acquire area range information of the custom password keyboard on the current screen.
步骤S915:按照所获取的区域范围信息,对自定义密码键盘进行截图。Step S915: Perform a screenshot on the custom password keyboard according to the obtained area range information.
步骤S916:对得到的截图进行图像分析,得到键盘上所有字符(包括数字、字母等)对应的屏幕坐标信息。Step S916: Perform image analysis on the obtained screenshot to obtain screen coordinate information corresponding to all characters (including numbers, letters, etc.) on the keyboard.
步骤S917:查询映射表C,根据当前应用属性和触发信息获取对应的字符组信息。Step S917: Query the mapping table C, and obtain corresponding character group information according to the current application attribute and the trigger information.
步骤S918:判断步骤S916得到的所有字符是否已包含所有的预设字符组信息中的字符信息,若包含,则执行步骤S920,否则执行步骤S919。Step S918: It is determined whether all the characters obtained in step S916 already contain the character information in all the preset character group information. If yes, step S920 is performed, otherwise step S919 is performed.
步骤S919:虚拟点击自定义密码键盘的切换按键,获取下一层键盘的区域范围信息,并执行步骤S915。Step S919: Virtually click the switch button of the custom password keyboard to obtain the area range information of the next layer of the keyboard, and step S915 is performed.
步骤S920:按照预设字符组信息中的字符顺序,依次得到相应字符的屏幕坐标信息。Step S920: sequentially obtain screen coordinate information of the corresponding character according to the order of the characters in the preset character group information.
步骤S921:按照步骤S920得到的屏幕坐标信息,执行虚拟触控操作。Step S921: Perform a virtual touch operation according to the screen coordinate information obtained in step S920.
步骤S922:判断本地输入法状态,若输入法键盘被用户关闭或隐藏,则说明输入状态结束,执行步骤S902,否则说明输入状态仍在继续,执行步骤S908。Step S922: Determine the state of the local input method. If the input method keyboard is closed or hidden by the user, the input state ends, and step S902 is performed. Otherwise, the input state is still continued, and step S908 is performed.
假设用户预先存储了指纹1,并指定指纹1在app1(例如支付宝)内对应字符组为字符组C1(支付宝的支付密码),在app2(例如招商银行)内对应字符组为字符组C2(招商银行的交易密码),用户将此映射关系存储在映射表C。同时,用户指定指纹1在app1(即支付宝)内对应字符组B1(如支付包登陆密码),并将其存储在映射表B。It is assumed that the user pre-stores the fingerprint 1 and specifies that the corresponding character group of the fingerprint 1 in the app1 (for example, Alipay) is the character group C1 (the payment password of Alipay), and the corresponding character group in the app2 (for example, China Merchants Bank) is the character group C2 (investment) The transaction password of the bank), the user stores this mapping relationship in the mapping table C. At the same time, the user specifies that the fingerprint 1 corresponds to the character group B1 (such as the payment package login password) in app1 (ie, Alipay), and stores it in the mapping table B.
在用户移动终端上,快捷输入监控模式处于后台常驻状态,当启动app1(支付宝)时,快捷输入监控模式首先检测当前app所属映射表,查询到当前app(支付宝)包名在映射表B、C内均有信息,此时尚不能判断采用何种方案。On the user mobile terminal, the shortcut input monitoring mode is in the background resident state. When the app1 (Alipay) is started, the shortcut input monitoring mode first detects the mapping table of the current app, and queries the current app (Alipay) package name in the mapping table B, There is information in C, this fashion can not judge which plan to adopt.
如果在app1内,用户点击某处控件调用了本地输入法,则判定为Type B方案;如果用户进入支付流程的最后一步,即app要求输入支付密码时,快 捷输入监控模式检测到app1的自定义密码键盘弹出时,则判定为Type C方案。If in the app1, the user clicks on a certain control to call the local input method, it is determined to be the Type B scheme; if the user enters the last step of the payment process, that is, the app asks to input the payment password, When the smart input mode detects that the custom password keyboard of app1 is popped up, it is determined to be the Type C scheme.
快捷输入监控模式向指纹传感器发送接收指纹指令,并启动指纹监测;当检测到有指纹信息传入时,首先进行容错检验,用于判断本次指纹信息是否与上次相同,如相同则属于重复输入(可能是用户误操作),启动错误提示并重新进入指纹监测状态;如果与上次不同,判断指纹校验计数器n是否小于阈值,是则将指纹信息与映射表C内的指纹信息进行对比,如果有符合的指纹数据则校验通过,否则退回指纹监测状态并给出提示。The quick input monitoring mode sends a fingerprint receiving command to the fingerprint sensor, and starts fingerprint monitoring. When detecting the receipt of fingerprint information, the fault tolerance test is first performed to determine whether the fingerprint information is the same as the last time, and if it is the same, it is a duplicate. Input (may be user misoperation), start error prompt and re-enter fingerprint monitoring status; if it is different from last time, judge whether fingerprint verification counter n is less than the threshold, then compare fingerprint information with fingerprint information in mapping table C If there is matching fingerprint data, the verification is passed, otherwise the fingerprint monitoring status is returned and a prompt is given.
假设本次指纹信息为指纹1,指纹校验通过后,快捷输入监控模式向移动终端请求获取密码键盘绘制区域范围信息,并将其传递给密码键盘图像处理单元,由该单元对截屏信息进行图像分析,以获取当前键盘上所有的数字或字母对应的屏幕坐标信息。Assuming that the fingerprint information is fingerprint 1, after the fingerprint verification is passed, the shortcut input monitoring mode requests the mobile terminal to obtain the password keyboard drawing area range information, and passes it to the cryptographic keyboard image processing unit, and the unit performs an image on the screen capture information. Analyze to get the screen coordinate information corresponding to all the numbers or letters on the current keyboard.
随后执行查询映射表C的动作,将指纹信息、app信息对应查得字符组C1(即支付宝支付密码);然后将C1所有字符与密码键盘图像处理单元的字符提取结果进行比对,如果当前键盘上已含有C1所有字符信息,则将C1字符依次转换为屏幕坐标信息,传递给虚拟触控单元执行虚拟点击操作;如果C1有字符并不在当前键盘上,则由虚拟触控单元执行密码键盘切换操作(例如从数字键盘切换到字母键盘),同时将该切换操作作为一次点击操作记录下来;再由密码键盘图像处理单元二次截屏分析并给出缺失字符的坐标;对比分析后,将C1转换为数字键盘坐标、切换按钮坐标、字母键盘坐标相互组合的一系列屏幕坐标参数,由虚拟触控单元执行最终的虚拟点击输入操作。Then, the action of querying the mapping table C is performed, and the fingerprint information and the app information are correspondingly matched to the character group C1 (ie, the Alipay payment password); then all the characters of C1 are compared with the character extraction result of the password keyboard image processing unit, if the current keyboard If all the character information of C1 is already included, the C1 character is sequentially converted into screen coordinate information, and is transmitted to the virtual touch unit to perform a virtual click operation; if the character of C1 is not on the current keyboard, the password keyboard switch is performed by the virtual touch unit. Operation (for example, switching from the numeric keypad to the alphanumeric keyboard), and recording the switching operation as a click operation; then the second screen capture analysis by the cryptographic keyboard image processing unit and giving the coordinates of the missing characters; after the comparison analysis, the C1 conversion is performed. The final virtual click input operation is performed by the virtual touch unit for a series of screen coordinate parameters in which the numeric keypad coordinates, the toggle button coordinates, and the alphanumeric keyboard coordinates are combined with each other.
虚拟输入完成后,检查输入法所处状态,如果输入法键盘关闭或隐藏,则认为输入结束,即用户或app认为已完成密码快捷输入动作,选择了下一步操作,这时返回快捷输入监控模式;如果输入法键盘没有被用户关闭或隐藏,则继续监控指纹输入信息。After the virtual input is completed, check the status of the input method. If the input method keyboard is closed or hidden, the input is considered to be ended, that is, the user or the app thinks that the password shortcut input action has been completed, and the next operation is selected, and then the shortcut input monitoring mode is returned. If the input method keyboard is not closed or hidden by the user, continue to monitor the fingerprint input information.
考虑到安全因素,如果指纹计数器n=3时,即有三次连续输入了不在映射表内的无效或错误指纹,则冻结快捷输入模式,在预设的保护时间M之后解冻。 Considering the security factor, if the fingerprint counter n=3, that is, three consecutive invalid or incorrect fingerprints that are not in the mapping table are input, the shortcut input mode is frozen and thawed after the preset protection time M.
本发明实施例可在安全性、实用性、便捷性之间取得良好的均衡,用户在灵活掌握三种方式后,可以更加便捷地输入个人常用信息,更加安全舒适地享受移动快捷支付带来的畅快感,消除忘记密码带来的不便,用户的重复性字符输入体验将得到根本性改善。The embodiment of the invention can achieve a good balance between security, practicability and convenience. After the user has three modes of flexibility, the user can input the common information more conveniently, and enjoy the safe and comfortable payment by the mobile payment. The sense of excitement, eliminating the inconvenience of forgetting the password, the user's repetitive character input experience will be fundamentally improved.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. Instructions to achieve their corresponding functions. This application is not limited to any specific combination of hardware and software.
需要说明的是,本申请还可有其他多种实施例,在不背离本申请精神及其实质的情况下,熟悉本领域的技术人员可根据本申请作出各种相应的改变和变形,但这些相应的改变和变形都应属于本申请所附的权利要求的保护范围。It should be noted that various other embodiments and modifications may be made by those skilled in the art without departing from the spirit and scope of the application, Corresponding changes and modifications are intended to fall within the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例提供的技术方案,可在安全性、实用性、便捷性之间取得良好的均衡,用户在灵活掌握三种方式后,可以更加便捷地输入个人常用信息,更加安全舒适地享受移动快捷支付带来的畅快感,消除忘记密码带来的不便,用户的重复性字符输入体验将得到根本性改善。 The technical solution provided by the embodiment of the invention can achieve a good balance between security, practicability and convenience. After the user has three modes of flexibility, the user can input personal information more conveniently, and enjoy the movement more safely and comfortably. The quick feeling of quick payment and the inconvenience caused by forgetting the password will greatly improve the user's repetitive character input experience.

Claims (10)

  1. 一种在移动终端上输入信息的方法,包括:A method of inputting information on a mobile terminal, comprising:
    移动终端获取已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中;The mobile terminal acquires the application information of the activated application, and determines whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
    若判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中,则利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用;If it is determined that the application information of the activated application is not saved in the first shortcut input information, the second shortcut input information that has been saved in the mobile terminal is used to obtain the preset character group information corresponding to the trigger information input by the user. And inputting the preset character group information to the activated application;
    若判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中,则利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。If it is determined that the application information of the activated application is saved in the first shortcut input information, the trigger information input by the user and the preset character group corresponding to the application information are obtained by using the first shortcut input information. Information, and inputting the preset character group information to the activated application.
  2. 根据权利要求1所述的方法,其中:The method of claim 1 wherein:
    所述第一快捷输入信息是包含所述应用信息、所述触发信息和所述预设字符组信息之间的映射关系的第一关系映射表;所述第二快捷输入信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。The first shortcut input information is a first relationship mapping table including a mapping relationship between the application information, the trigger information, and the preset character group information; the second shortcut input information includes the trigger A second relationship mapping table of mapping relationship between the information and the preset character group information.
  3. 根据权利要求2所述的方法,其中:The method of claim 2 wherein:
    所述利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息的步骤包括:The step of acquiring the preset character group information corresponding to the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal includes:
    移动终端监测用户输入的触发信息;The mobile terminal monitors trigger information input by the user;
    当检测到触发信息时,在所述第二关系映射表中查找所述触发信息对应的预设字符组信息。When the trigger information is detected, the preset relationship group information corresponding to the trigger information is searched in the second relationship mapping table.
  4. 根据权利要求2所述的方法,其中:The method of claim 2 wherein:
    所述第一关系映射表包括用于常规输入的关系映射表和用于安全输入的关系映射表,在所述利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息的步骤之前,还包括:The first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, where the trigger information and the application information input by the user are acquired by using the first shortcut input information. Before the step of corresponding preset character group information, the method further includes:
    对所述移动终端的输入法键盘进行监测;Monitoring the input method keyboard of the mobile terminal;
    当监测到所述移动终端的本地输入法键盘启动时,确定由所述用于常规 输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息;When it is detected that the local input method keyboard of the mobile terminal is activated, it is determined by the Entering a relationship mapping table, acquiring trigger information input by the user and preset character group information corresponding to the application information;
    当监测到所述已启动应用的自定义密码键盘启动时,确定由所述用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息。When the custom password keyboard of the activated application is started, it is determined that the trigger information input by the user and the preset character group information corresponding to the application information are obtained by the relationship mapping table for security input.
  5. 根据权利要求4所述的方法,其中:The method of claim 4 wherein:
    所述利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息的步骤包括:The step of acquiring the trigger information input by the user and the preset character group information corresponding to the application information by using the first shortcut input information includes:
    移动终端监测用户输入的触发信息;The mobile terminal monitors trigger information input by the user;
    当检测到触发信息时,在所述用于常规输入的关系映射表或所述用于安全输入的关系映射表中查找所述触发信息和所述应用信息所对应的预设字符组信息。When the trigger information is detected, the trigger information and the preset character group information corresponding to the application information are searched in the relationship mapping table for the normal input or the relationship mapping table for the security input.
  6. 根据权利要求5所述的方法,其中:The method of claim 5 wherein:
    所述将所述预设字符组信息输入至所述已启动应用的步骤包括:The step of inputting the preset character group information to the activated application includes:
    当在所述用于常规输入的关系映射表中找到所述触发信息和所述应用信息所对应的预设字符组信息时,将所找到的预设字符组信息直接输入到所述已启动应用的输入法焦点;When the trigger information and the preset character group information corresponding to the application information are found in the relationship mapping table for the normal input, the found preset character group information is directly input to the activated application. Input method focus;
    当在所述用于安全输入的关系映射表中找到所述触发信息和所述应用信息所对应的预设字符组信息时,通过对所述自定义密码键盘所在区域的图像进行图像分析,得到所找到的预设字符组信息中的每个字符的屏幕坐标,并按照所得到的每个字符的屏幕坐标,在所述自定义密码键盘上依次进行虚拟触控操作,从而实现快捷输入所述预设字符组信息。When the trigger information and the preset character group information corresponding to the application information are found in the relationship mapping table for security input, image analysis is performed on the image of the area where the custom password keyboard is located. The screen coordinates of each character in the preset character group information are found, and the virtual touch operation is sequentially performed on the custom password keyboard according to the obtained screen coordinates of each character, thereby implementing the shortcut input. Preset character group information.
  7. 根据权利要求1-6任意一项所述的方法,其中:A method according to any of claims 1-6, wherein:
    所述触发信息是所述移动终端在至少一种触发方式启动时收到的用户输入的信息;The trigger information is information input by the user that is received by the mobile terminal when at least one trigger mode is activated;
    所述触发方式包括以下方式的至少一种:指纹识别、眼纹或虹膜识别、面部识别、眨眼识别、固定的物理按键、按键组合、手势动作、屏幕触控手 势。The triggering method includes at least one of the following methods: fingerprint recognition, eye pattern or iris recognition, face recognition, blink recognition, fixed physical buttons, button combinations, gesture actions, and screen touch hands. Potential.
  8. 一种在移动终端上输入信息的装置,包括:A device for inputting information on a mobile terminal, comprising:
    判断模块,设置为获取移动终端的已启动应用的应用信息,并判断所述已启动应用的应用信息是否已保存在移动终端的第一快捷输入信息中;The determining module is configured to obtain application information of the activated application of the mobile terminal, and determine whether the application information of the activated application has been saved in the first shortcut input information of the mobile terminal;
    第一输入模块,设置为在判断所述已启动应用的应用信息未保存在所述第一快捷输入信息中时,利用已保存在移动终端的第二快捷输入信息,获取用户输入的触发信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用;The first input module is configured to: when determining that the application information of the activated application is not saved in the first shortcut input information, acquire the trigger information input by the user by using the second shortcut input information that has been saved in the mobile terminal Corresponding preset character group information, and inputting the preset character group information to the activated application;
    第二输入模块,设置为在判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中时,利用所述第一快捷输入信息,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,并将所述预设字符组信息输入至所述已启动应用。a second input module, configured to acquire trigger information input by the user and the application information by using the first shortcut input information when determining that the application information of the activated application has been saved in the first shortcut input information Corresponding preset character group information, and inputting the preset character group information to the activated application.
  9. 根据权利要求8所述的装置,其中:The device of claim 8 wherein:
    所述第一快捷输入信息是包含所述应用信息、所述触发信息和所述预设字符组信息之间的映射关系的第一关系映射表;所述第二快捷输入信息是包含所述触发信息和所述预设字符组信息之间的映射关系的第二关系映射表。The first shortcut input information is a first relationship mapping table including a mapping relationship between the application information, the trigger information, and the preset character group information; the second shortcut input information includes the trigger A second relationship mapping table of mapping relationship between the information and the preset character group information.
  10. 根据权利要求9所述的装置,其中:The device of claim 9 wherein:
    所述第一关系映射表包括用于常规输入的关系映射表和用于安全输入的关系映射表,若所述判断模块判断所述已启动应用的应用信息已保存在所述第一快捷输入信息中,则所述第二输入模块对所述移动终端的输入法键盘进行监测,并当监测到所述移动终端的本地输入法键盘启动时,利用所述用于常规输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息,当监测到所述已启动应用的自定义密码键盘启动时,利用所述用于安全输入的关系映射表,获取用户输入的触发信息和所述应用信息所对应的预设字符组信息。 The first relationship mapping table includes a relationship mapping table for regular input and a relationship mapping table for security input, if the determining module determines that the application information of the activated application has been saved in the first shortcut input information. The second input module monitors the input method keyboard of the mobile terminal, and when the local input method keyboard of the mobile terminal is detected to be activated, the relationship mapping table for regular input is used to obtain The trigger information input by the user and the preset character group information corresponding to the application information, when the custom password keyboard of the activated application is detected to be started, use the relationship mapping table for secure input to obtain user input. The trigger information and the preset character group information corresponding to the application information.
PCT/CN2016/080058 2016-01-11 2016-04-22 Method and device for inputting information on mobile terminal WO2016197717A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610014719.XA CN106959811A (en) 2016-01-11 2016-01-11 A kind of method and device for inputting information on mobile terminals
CN201610014719.X 2016-01-11

Publications (1)

Publication Number Publication Date
WO2016197717A1 true WO2016197717A1 (en) 2016-12-15

Family

ID=57502768

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/080058 WO2016197717A1 (en) 2016-01-11 2016-04-22 Method and device for inputting information on mobile terminal

Country Status (2)

Country Link
CN (1) CN106959811A (en)
WO (1) WO2016197717A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538418A (en) * 2020-04-30 2020-08-14 中国银行股份有限公司 Information input method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI658401B (en) * 2017-11-14 2019-05-01 財團法人工業技術研究院 Mobile communication device based on virtual mobile infrastructure and related input method switching methods thereof
CN109976549B (en) * 2017-12-28 2022-08-16 北京搜狗科技发展有限公司 Data processing method, device and machine readable medium
CN108551521B (en) * 2018-03-16 2020-03-31 维沃移动通信有限公司 Login information prompting method and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192380B1 (en) * 1998-03-31 2001-02-20 Intel Corporation Automatic web based form fill-in
CN101963844A (en) * 2010-09-26 2011-02-02 百度在线网络技术(北京)有限公司 Method and device for inputting form
CN103581212A (en) * 2012-07-18 2014-02-12 百度在线网络技术(北京)有限公司 Automatic form filling method, system and device based on cloud analysis
CN103902519A (en) * 2014-03-17 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN103984747A (en) * 2014-05-26 2014-08-13 中国工商银行股份有限公司 Method and device for screen information processing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8798250B1 (en) * 2013-02-11 2014-08-05 Blackberry Limited Autocorrect for phone numbers
CN104660688B (en) * 2015-02-03 2019-07-26 百度在线网络技术(北京)有限公司 A kind of method and apparatus obtaining log-on message
CN105159475B (en) * 2015-08-27 2018-03-30 广东欧珀移动通信有限公司 A kind of characters input method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192380B1 (en) * 1998-03-31 2001-02-20 Intel Corporation Automatic web based form fill-in
CN101963844A (en) * 2010-09-26 2011-02-02 百度在线网络技术(北京)有限公司 Method and device for inputting form
CN103581212A (en) * 2012-07-18 2014-02-12 百度在线网络技术(北京)有限公司 Automatic form filling method, system and device based on cloud analysis
CN103902519A (en) * 2014-03-17 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN103984747A (en) * 2014-05-26 2014-08-13 中国工商银行股份有限公司 Method and device for screen information processing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111538418A (en) * 2020-04-30 2020-08-14 中国银行股份有限公司 Information input method and device

Also Published As

Publication number Publication date
CN106959811A (en) 2017-07-18

Similar Documents

Publication Publication Date Title
CN109952753B (en) User interface for managing access to credentials used in operations
US10313882B2 (en) Dynamic unlock mechanisms for mobile devices
RU2589397C2 (en) Authentication graphic gestures
JP6859501B2 (en) A method of starting a business by voice in communication software and a device corresponding to this
CN108139864A (en) Use the operating method of fingerprint recognition, device, mobile terminal
US10055562B2 (en) Techniques for identifying a change in users
EP2951746B1 (en) System and method of enhancing security of a wireless device through usage pattern detection
WO2016197717A1 (en) Method and device for inputting information on mobile terminal
EP3055806B1 (en) Informed implicit enrollment and identification
TWI706288B (en) Wearable device, unlocking control system and method
CN106843660B (en) Data processing method and equipment thereof
CN112313983A (en) User authentication using companion device
WO2017088745A1 (en) Information processing method and apparatus, and electronic device
CN109472122A (en) A kind of multimedia messages reminding method and system
KR101435487B1 (en) User device, method of using hidden page of the same and computer-readable recording medium
KR20150063899A (en) Method and Device for Unlocking Input using the Combination of Password Number and Pattern Image Input of Smartphone
CN116954532A (en) Split screen display method and electronic equipment
TW201738791A (en) Information processing system and method for allowing a user to use a touch screen of an electronic device to input authentication data, which is at least one of point data, line data and surface data, in a touch manner

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16806615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16806615

Country of ref document: EP

Kind code of ref document: A1