WO2016184134A1 - Input method and apparatus, and user equipment - Google Patents

Input method and apparatus, and user equipment Download PDF

Info

Publication number
WO2016184134A1
WO2016184134A1 PCT/CN2016/070181 CN2016070181W WO2016184134A1 WO 2016184134 A1 WO2016184134 A1 WO 2016184134A1 CN 2016070181 W CN2016070181 W CN 2016070181W WO 2016184134 A1 WO2016184134 A1 WO 2016184134A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressing
preset
correspondence
key
key position
Prior art date
Application number
PCT/CN2016/070181
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 WO2016184134A1 publication Critical patent/WO2016184134A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/83Protecting input, output or interconnection devices input devices, e.g. keyboards, mice or controllers thereof
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of communications, and in particular to an input method, apparatus, and user equipment.
  • passwords are generally composed of actual numbers, letters, symbols and other character combinations.
  • these characters are generally input through a keyboard (including a virtual keyboard), which is relatively easy to be located or sneaked during the input process, resulting in leakage of user data.
  • the embodiment of the invention provides an input method, a device and a user equipment, so as to at least solve the problem that the security input mode of the related art has low security.
  • an input method comprising: detecting a pressing operation of a key position of a user equipment and pressing information corresponding to the pressing operation, wherein the key position comprises: one or more keys And the pressing information includes: a pressing area for performing the pressing operation; and recording a correspondence relationship between the key position and the pressing information.
  • detecting a pressing operation of a key position of the user equipment, and pressing information corresponding to the pressing operation includes: detecting a touch display screen of the user equipment a pressing operation of the key position displayed thereon, and pressing information corresponding to the pressing operation.
  • the method further includes: determining whether the corresponding relationship is consistent with the first preset correspondence, where the first pre- The corresponding relationship includes: a correspondence between a preset key position and a preset pressing information, where the preset key position includes: one or more key positions; and determining that the corresponding relationship is consistent with the first preset correspondence relationship In the case of the case, it is confirmed that the authentication of the correspondence relationship is successful.
  • determining whether the corresponding relationship is consistent with the first preset correspondence includes: determining the key position in the corresponding relationship Whether it is consistent with the preset key position, and whether the pressing information falls within the preset pressing information threshold; wherein, determining that the key position in the corresponding relationship is consistent with the preset key position And determining that the correspondence relationship is consistent with the first preset correspondence relationship, in a case that the pressing information falls within the preset pressing information threshold.
  • the recording the corresponding relationship between the key position and the pressing information comprises: querying, by using the pressing information as a key, an equivalent character corresponding to the pressing information in a preset relationship table, where The preset relationship table is configured to store a correspondence between the pressing information and the equivalent character; and record a correspondence between the key position and the equivalent character as the corresponding relationship.
  • the method further includes: determining whether the corresponding relationship is consistent with the second preset correspondence, where
  • the second preset correspondence includes: a correspondence between a preset key position and a preset equivalent character, the preset key position includes: one or more key positions; and determining the corresponding relationship and the first If the two preset correspondences are consistent, it is confirmed that the authentication of the corresponding relationship is successful.
  • the method before detecting the pressing operation of the key position of the user equipment and the pressing information corresponding to the pressing operation, the method further includes: on a touch display screen of the user equipment A key distribution pattern including the key bits is displayed.
  • the key distribution pattern includes at least one of the following: a character keyboard graphic, a nine-square grid key graphic.
  • the pressing information further includes at least one of: performing a pressing pressure value of the pressing operation, and performing a pressing duration of the pressing operation.
  • the pressing operation of detecting the key position of the user equipment, and the pressing information corresponding to the pressing operation further comprises: displaying the pressing in real time if the pressing information is detected information.
  • an input device including: a detecting module, configured to detect a pressing operation of a key position of a user equipment, and pressing information corresponding to the pressing operation, wherein the key position
  • the method includes: one or more key positions, the pressing information includes: a pressing area for performing the pressing operation; and a recording module configured to record a correspondence relationship between the key position and the pressing information.
  • the device further includes: a first determining module, configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a preset key position and a preset The preset information of the pressing information includes: one or more key positions; the first confirming module is configured to: when it is determined that the corresponding relationship is consistent with the first preset correspondence, Confirming that the authentication of the corresponding relationship is successful.
  • a first determining module configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a preset key position and a preset The preset information of the pressing information includes: one or more key positions; the first confirming module is configured to: when it is determined that the corresponding relationship is consistent with the first preset correspondence, Confirming that the authentication of the corresponding relationship is successful.
  • the recording module includes: a query unit, configured to query, in the preset relationship table, an equivalent character corresponding to the pressing information by using the pressing information as a key, wherein the preset relationship table Corresponding relationship between the pressing information and the equivalent character; the recording unit is configured to record the correspondence between the key position and the equivalent character as the correspondence relationship.
  • the device further includes: a second determining module, configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a preset key position and a preset The correspondence between the equivalent characters includes: one or more key positions; and the second confirmation module is configured to determine that the correspondence relationship is consistent with the second preset correspondence And confirming that the authentication of the corresponding relationship is successful.
  • a second determining module configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a preset key position and a preset The correspondence between the equivalent characters includes: one or more key positions; and the second confirmation module is configured to determine that the correspondence relationship is consistent with the second preset correspondence And confirming that the authentication of the corresponding relationship is successful.
  • the device further includes: a display module configured to display a key distribution pattern including the key position on the touch display screen of the user equipment.
  • a user equipment including: a key input device and a processor, wherein the key input device is coupled to the processor and configured to receive a user equipment a pressing operation of the key position and generating an electrical signal according to the pressing operation; the processor being configured to detect the electrical signal according to the received a pressing operation of the key position of the user equipment and a pressing information corresponding to the pressing operation, and recording a correspondence between the key position and the pressing information, wherein the key position includes: one or more key positions, The pressing information includes a pressing area that performs the pressing operation.
  • the key input device comprises at least one of the following: a keyboard with physical buttons, a touch display screen.
  • the user equipment further includes: a non-volatile memory, wherein the non-volatile memory is coupled to the processor, configured to store a first preset correspondence and/or a second preset Corresponding relationship, wherein the first preset correspondence relationship includes a correspondence between a preset key position and preset preset information, and the second preset correspondence relationship includes a correspondence between a preset key position and a preset equivalent character,
  • the preset key position includes: one or more key positions.
  • the pressing operation corresponding to the key position of the user equipment and the pressing information corresponding to the pressing operation are adopted, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation; and a recording key
  • the key position includes: one or more key positions
  • the pressing information includes: a pressing area for performing a pressing operation; and a recording key
  • FIG. 1 is a flow chart of an input method in accordance with an embodiment of the present invention.
  • FIG. 2 is a block diagram showing the structure of an input device according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of an optional structure of an input device according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 2 of an optional structure of an input device according to an embodiment of the present invention.
  • FIG. 5 is a block diagram 3 of an optional structure of an input device according to an embodiment of the present invention.
  • FIG. 6 is a block diagram 4 of an optional structure of an input device according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of a user equipment according to an embodiment of the present invention.
  • FIG. 8 is a block diagram showing an optional structure of a user equipment according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a user equipment according to an alternative embodiment of the present invention.
  • FIG. 10 is a flowchart 1 of an unlock password setting method according to an alternative embodiment of the present invention.
  • FIG. 11 is a flowchart 1 of an unlocking method according to an alternative embodiment of the present invention.
  • FIG. 13 is a second flowchart of an unlocking method according to an alternative embodiment of the present invention.
  • FIG. 14 is a first schematic diagram of an unlocking method according to an alternative embodiment of the present invention.
  • 15 is a second schematic diagram of an unlocking method in accordance with an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of an input method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 detecting a pressing operation of a key position of the user equipment and pressing information corresponding to the pressing operation, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation;
  • Step S104 recording the correspondence between the key position and the pressing information.
  • the pressing operation of the key position on the user equipment and the information carried by the pressing operation can be simultaneously detected, for example, the pressing area information covered by the pressing operation, and the correspondence relationship between the key position and the pressing area is recorded.
  • the corresponding relationship of the record is used as a password, and even if the user presses the button when the password is entered, the pressed area information is not leaked.
  • the plurality of key positions are an ordered plurality of key positions.
  • the foregoing steps may be used for the unlocking process of the user equipment, and may also be used for the password setting process of the user equipment.
  • the corresponding relationship between the detected key position and the pressing information may be recorded as The initial password is used to determine whether the authentication is successful according to the comparison result between the re-detected key position and the pressing information and the initial password during the unlocking process of the user equipment.
  • the initial password is set by the corresponding relationship between the preset key position and the pressing information, and then, according to the detected key position and the pressing information, in the unlocking process of the user equipment.
  • the result of the comparison with the initial password determines whether the authentication is successful.
  • the pressing operation on the key position of the user equipment may occur on a keyboard having physical buttons capable of recognizing the pressing area, for example, a desktop computer keyboard, a laptop keyboard, an automatic teller machine (ATM for short).
  • the keyboard, the physical button of the mobile terminal device, etc., the pressing operation of the user equipment key position may also occur on the touch display screen, for example: a virtual keyboard on the touch display, a virtual keyboard on the ATM machine display, a mobile terminal Virtual keyboard etc.
  • the following optional embodiments take the case where the pressing operation of the key position of the user equipment occurs on the touch display screen.
  • the pressing operation of the key position displayed on the touch display screen of the user equipment and the pressing information corresponding to the pressing operation may be detected.
  • the correspondence between the recorded key position and the pressing information may be compared with a corresponding relationship that has been stored.
  • the authentication of the correspondence of the records can be considered successful.
  • the corresponding relationship may be determined by determining whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence may include: a preset key position and preset pressing information.
  • the preset key position may include: one or more key positions, and if it is determined that the correspondence relationship is consistent with the first preset correspondence relationship, the authentication of the corresponding relationship is confirmed to be successful.
  • the preset key position is a plurality of key positions
  • the plurality of key positions are an ordered plurality of key positions.
  • the preset pressing information in the first preset correspondence may be a certain threshold range, and the pressing information falling within the range is considered to belong to the preset pressing information threshold, and the preset pressing information is a preset pressing.
  • the information threshold it may be determined whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls within the preset pressing information threshold to determine whether the correspondence relationship is consistent with the first preset correspondence relationship, and When it is determined that the key position in the correspondence relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, it is determined that the correspondence relationship is consistent with the first preset correspondence relationship.
  • the first pressing information is the first value
  • the second pressing information is the second value
  • the third pressing information is the third value
  • the second value is greater than the first value and less than the third value
  • the first preset pressing information If the threshold value is greater than or equal to the first value and less than the third value, and the second preset pressing information threshold is greater than or equal to the third value and less than the fourth value, then the first pressing information and the second pressing information both correspond to the first preset.
  • the information threshold is pressed, and the third pressing information corresponds to the second preset pressing information threshold.
  • the detected pressing information may be represented by an equivalent character
  • the correspondence between the pressing information and the equivalent character is stored in the correspondence relationship table, and the pressing information is used as a key in the pre-predetermined relationship.
  • the equivalent character corresponding to the pressing information is set in the relationship table, and the correspondence between the key position and the pressing information is converted into a correspondence relationship between the key position and the equivalent character, and the correspondence relationship between the key position and the equivalent character is recorded.
  • the first pressing information corresponding to the first key position is the first numerical value
  • the second pressing information corresponding to the second key position is the second numerical value
  • the third pressing information corresponding to the third key position is the third numerical value.
  • the correspondence between the pressing information and the equivalent character may also be a correspondence between the pressing information threshold and the equivalent character, and the pressing information falling within the threshold of the pressing information corresponds to the same equivalent character, and the information is pressed by
  • query the equivalent character corresponding to the threshold of the pressing information that the pressing information falls in the preset relationship table convert the correspondence between the key position and the pressing information into a correspondence relationship between the key position and the equivalent character, and record the key The correspondence between bits and equivalent characters.
  • the first pressing information corresponding to the first key position is a first value
  • the second pressing information corresponding to the second key position is a second value
  • the third pressing information corresponding to the third key position is a third value
  • the second value is greater than the first value and less than the third value
  • the first pressing information threshold is greater than or equal to the first value and less than the third value
  • the second pressing information threshold is greater than or equal to the third value and less than the fourth value
  • the first The pressing information and the second pressing information both fall into the first pressing information threshold
  • the third pressing information falls into the second pressing information threshold
  • the first pressing information threshold is corresponding to the first equivalent character by querying the preset relationship table.
  • the second pressing information threshold corresponds to the second equivalent character, then the correspondence between the first key position and the first equivalent character, the correspondence between the second key position and the first equivalent character, the third key position and the The correspondence between two equivalent characters.
  • step S104 the Determining whether the correspondence between the key position and the equivalent character is consistent with the second preset correspondence between the preset key position and the preset equivalent character to determine whether the record correspondence is successful, and determining the key position and the equivalent character In the case where the corresponding relationship is consistent with the second preset correspondence, the authentication of the corresponding relationship is confirmed to be successful.
  • the key distribution pattern including the key position may be displayed on the touch display screen of the user equipment, where the key position distribution graphic may be a character keyboard graphic or a nine-square key pattern.
  • the character keyboard graphic can be a digital panel, a full keyboard, a thumb keyboard, and the nine-square grid key graphic can be a grid panel or a nine-square lattice panel.
  • the pressing information may further include at least one of: a pressing pressure value that performs a pressing operation, and a pressing duration that performs the pressing operation.
  • the pressing information may be combined information of a pressing pressure value and a pressing area, and the pressing area may be a first pressing area and a second pressing area, and the pressing pressure value may be a first pressing pressure value and a second pressing pressure value, Therefore, the pressing information may be in the following four combinations: a first pressing area + a first pressing pressure value, a first pressing area + a second pressing pressure value, a second pressing area + a first pressing pressure value, and a second pressing area.
  • the pressing information may be combined information of a pressing duration and a pressing area, and the pressing area may be a first pressing area and a second pressing area, and the pressing duration may be a first pressing duration and a second pressing duration, and therefore, pressing
  • the information may be in the following four combinations: a first pressing area + a first pressing time length, a first pressing area + a second pressing time length, a second pressing area + a first pressing time length, a second pressing area + a second pressing time length, It is also possible that the first pressing time corresponds to a short pressing, the second pressing time corresponds to a long pressing, the first pressing area corresponds to a small area pressing, and the second pressing area corresponds to a large area pressing, then the following four pressing information can be combined: a small area pressing + Short press, small area pressing + long press, large area pressing + short press, large area pressing + long press.
  • the pressing information may be a combination of a pressing pressure value and a pressing time plus a pressing area
  • the pressing area may be a first pressing area and a second pressing area
  • the pressing duration may be a first pressing duration and a second pressing duration.
  • the pressing pressure value may be the first pressing pressure value and the second pressing pressure value. Therefore, the pressing information may be in the following six combinations: a first pressing area + a first pressing time length + a first pressing pressure value, and a first pressing area.
  • the duration + the second pressing pressure value may also correspond to a short pressing of the first pressing duration
  • the second pressing duration corresponds to a long pressing
  • the first pressing area corresponds to a small area pressing
  • the second pressing area corresponds to a large surface Pressing
  • the first pressing pressure value corresponds to the light press
  • the second pressing pressure value corresponds to the heavy pressing
  • the pressing action is controlled and the input is clarified. Pressing the information to enhance the user experience, and displaying the pressing information in real time when the pressing information is detected.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • an input device is also provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: a detecting module 22 and a recording module 24, wherein the detecting module 22 is configured to detect a pressing operation of a key position of a user equipment. And pressing information corresponding to the pressing operation, wherein the key position comprises: one or more key positions, the pressing information comprises: a pressing area for performing a pressing operation; the recording module 24 is coupled to the detecting module 22, and is configured to record the key position and the pressing information Correspondence.
  • the detecting module 22 is configured to: when the user equipment includes the touch display screen, detect a pressing operation of the key position displayed on the touch display screen of the user equipment, and press information corresponding to the pressing operation.
  • the device further includes: a first determining module 32 and a first confirming module 34, wherein the first determining The module 32 is coupled to the recording module 24, and is configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a correspondence between the preset key position and the preset pressing information, and the preset key
  • the bit includes: one or more key positions; the first confirmation module 34 is coupled to the first determining module 32, and is configured to confirm the authentication of the corresponding relationship if it is determined that the correspondence relationship is consistent with the first preset correspondence relationship. success.
  • the first determining module 32 is configured to: if the preset pressing information is a preset pressing information threshold, determine whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls into the pre-predetermined The pressing information threshold is set; wherein, when it is determined that the key position in the correspondence relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, determining that the correspondence relationship is consistent with the first preset correspondence relationship .
  • the recording module 24 includes: a query unit 42 and a recording unit 44, wherein the query unit 42 is configured to The pressing information is used as a keyword, and the equivalent character corresponding to the pressing information is queried in the preset relationship table, wherein the preset relationship table is used to store the pressing information.
  • the recording unit 44 coupled to the query unit 42, is configured to record the correspondence between the key bits and the equivalent characters as a correspondence relationship.
  • FIG. 5 is a block diagram 3 of an optional structure of an input device according to an embodiment of the present invention.
  • the device further includes: a second determining module 52 and a second confirming module 54, wherein the second determining The module 52 is coupled to the recording module 24, and is configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a correspondence between the preset key position and the preset equivalent character, and the preset The key position includes: one or more key positions; the second confirmation module 54 is coupled to the second determination module 52, and is configured to confirm the comparison of the correspondence relationship when it is determined that the correspondence relationship is consistent with the second preset correspondence relationship. The right is successful.
  • FIG. 6 is a block diagram of an optional structure of an input device according to an embodiment of the present invention.
  • the device further includes: a display module 62 coupled to the detecting module 22 and configured to be touched by the user equipment.
  • the key distribution pattern including the key position is displayed on the control display.
  • the key distribution pattern may include at least one of the following: a character keyboard graphic, a nine-square key pattern.
  • the pressing information may further include at least one of: a pressing pressure value that performs a pressing operation, and a pressing duration that performs the pressing operation.
  • the detecting module 22 is configured to display the pressing information in real time when the pressing information is detected.
  • FIG. 7 is a structural block diagram of a user equipment according to an embodiment of the present invention.
  • the user equipment includes: a key input device 72 and a processor 74, wherein a key input device 72 coupled to the processor 74, configured to receive a pressing operation on a key position of the user equipment, and generate an electrical signal according to the pressing operation; the processor 74 is configured to detect the user according to the received electrical signal The pressing operation of the key position of the device and the pressing information corresponding to the pressing operation, and recording the correspondence between the key position and the pressing information, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing the pressing operation.
  • the key input device 72 may include at least one of a keyboard having a physical button that can recognize a touch area, and a touch display screen.
  • FIG. 8 is a block diagram showing an optional structure of a user equipment according to an embodiment of the present invention.
  • the user equipment further includes: a non-volatile memory 82, wherein the non-volatile memory is coupled to
  • the processor 74 is configured to store a first preset correspondence and/or a second preset correspondence, where the first preset correspondence includes a correspondence between the preset key and the preset pressing information, and the second preset corresponds to The relationship includes a correspondence between a preset key position and a preset equivalent character, and the preset key position includes: one or more key positions.
  • the processor 74 is configured to: detect a pressing operation of a key position displayed on a touch display screen of the user equipment, and a corresponding pressing operation Press the message.
  • the processor 74 is configured to determine, according to the correspondence between the key position and the pressing information, whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a preset key position.
  • the preset key position includes: one or more key positions; and the correspondence relationship is determined to be consistent with the first preset correspondence relationship In the case of the case, it is confirmed that the authentication of the correspondence is successful.
  • the first preset correspondence relationship described above is stored in the non-volatile memory 82.
  • the processor 74 is configured to: if the preset pressing information is the preset pressing information threshold, determine whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls within the preset pressing In the information threshold, if it is determined that the key position in the corresponding relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, it is determined that the corresponding relationship is consistent with the first preset correspondence.
  • the processor 74 is configured to: query, by using the pressing information as a key, an equivalent character corresponding to the pressing information in the preset relationship table, where the preset relationship table is used to store the pressing information and the equivalent character. Correspondence relationship; the correspondence between the key position and the equivalent character is recorded as a correspondence relationship.
  • the preset relationship table described above is stored in the non-volatile memory 82.
  • the processor 74 is configured to: after the correspondence between the key position and the equivalent character is recorded as a corresponding relationship, determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes The correspondence between the preset key position and the preset equivalent character, the preset key position includes: one or more key positions; and when it is determined that the correspondence relationship is consistent with the second preset correspondence relationship, confirming the correspondence relationship The authentication was successful.
  • the second preset correspondence relationship described above is stored in the non-volatile memory 82.
  • the touch display screen is used before the processor 74 detects the pressing operation of the key position of the user equipment and the pressing information corresponding to the pressing operation.
  • a key distribution pattern including a key position is displayed on the touch display screen of the user device.
  • the key distribution pattern includes at least one of the following: a character keyboard graphic, a nine-square grid key graphic.
  • the pressing information further includes at least one of: a pressing pressure value for performing the pressing operation, and a pressing duration for performing the pressing operation.
  • the touch display screen is further configured to display the press information in real time when the processor 74 detects the press information.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a software for performing the technical solutions described in the foregoing embodiments and optional embodiments.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • Step S102 detecting a pressing operation of a key position of the user equipment and pressing information corresponding to the pressing operation, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation;
  • Step S104 recording the correspondence between the key position and the pressing information.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • An optional embodiment of the present invention provides a user equipment, such as a mobile phone, a tablet computer, or the like.
  • the user equipment includes: a processor, a memory, and a touch screen.
  • the touch screen can detect the pressing of the user and detect the corresponding pressing area when the user presses; the corresponding storage table is pre-stored in the memory of the user equipment for storing the value of the pressing area between the numerical value and the numerical value.
  • the correspondence relationship table includes: a plurality of pressing area size values and a plurality of values, and a plurality of pressing area size values within a certain range may correspond to one of the values, for example, in the correspondence relationship table, the pressing area size is smaller than The value corresponding to 127 is 0, and the value of the pressing area is greater than 127, and the corresponding value is 1.
  • the processor of the user equipment includes: a password input module and a password recognition module, wherein the password input module and the password recognition module are software codes stored in the memory. And through the execution of the processor to achieve their respective functions.
  • each digit or grid information of the password can be recorded as a two-dimensional information, and the user inputs the password by pressing the touch screen, and the user is in a specific area of the touch screen. Press inside, enter the first element in the two-dimensional information of the password by pressing the value or grid. At this time, the touch screen detects the user's pressing and detects the area size value pressed by the user to determine the second element in the two-dimensional information of the input password.
  • the user equipment may also include a display module when the password is input.
  • the display module displays the size of the pressing area detected by the touch screen when the user presses on the display interface of the electronic device. For example, if the user quickly clicks on the touch screen and the detected pressing area size is less than 127, the second element of the password is 0; if the user continues to press the touch screen, the detected pressing area size value is greater than 127, then the password is The second element is 1.
  • the display module can directly display the size of the pressing area as a digital display on the touch screen next to the position pressed by the user, or display the size of the pressing area into other more vivid expression methods, for example, at a position pressed by the user.
  • the area of the frame becomes larger as the pressing area becomes larger. The user can intuitively feel the size of the area used for pressing.
  • the corresponding relationship table is queried according to the size of the pressed area detected by the touch screen when the user finishes pressing, to obtain a corresponding value.
  • the password input module records the queried value as a second element of the password into the password.
  • the touch screen can also detect the position pressed by the user, and the password input module can record the detected position and the queried value as a password.
  • An optional embodiment of the present invention provides a user equipment, which solves the problem of low security of password input and identification on the existing user equipment.
  • FIG. 9 is a structural block diagram of a user equipment according to an alternative embodiment of the present invention.
  • the user equipment includes: a memory 92, a touch screen 94, and a processor 96, where
  • the memory 92 is coupled to the processor 96, and configured to store a correspondence between the size of the pressing area and the value in the correspondence table;
  • the touch screen 94 is coupled to the processor 96, configured to detect that the user presses the digital or position information, and simultaneously detects the size of the area when the user presses; the processor 96 is configured to query the corresponding relationship according to the pressing area detected by the touch screen when the user finishes pressing the button. Table, to get the corresponding value, and the value of the query as the input password.
  • FIG. 10 is a flowchart 1 of a method for setting an unlock password according to an alternative embodiment of the present invention. As shown in FIG. 10, the flow includes the following steps. step:
  • Step S1002 entering a setting module password input module
  • Step S1004 the touch screen detects the number pressed by the user
  • Step S1006 The touch screen detects a magnitude of a pressing area corresponding to a user pressing a number
  • Step S1008 Find a correspondence table in the memory according to the magnitude of the pressed area detected by the end of the user pressing to obtain a corresponding area dimension value; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates a large area. Press the event.
  • Step S1010 combining the number pressed by the user with the value of the pressing area dimension, and storing the result as a two-dimensional password sequence; wherein, taking the four-digit password sequence as an example, the two-dimensional password sequence is [(the first pressing number, pressing the first one) The number corresponds to the area size value), (the second press number, press the second number corresponding to the area size value), (the third press number, press the third number corresponding to the area size value), (the fourth press number , press the 4th number corresponding to the area size value)].
  • Step S1012 it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1014 is performed, otherwise, step S1004 is performed;
  • step S1014 the input password sequence is stored in the memory.
  • the correspondence table may include a plurality of button area size values and a plurality of values, and the pressing area value within a certain range corresponds to one of the values.
  • the touch panel (referred to as TP, that is, the touch display screen) corresponds to the reported pressing area size value of 1 to 255, and the defined pressing area size value is less than 127 (1 to 126) as a small area pressing event, and the corresponding value is 0; Define the pressing area size value greater than or equal to 127 (127 ⁇ 255) for the large area pressing event, the corresponding value is 1.
  • FIG. 11 is a flowchart 1 of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 11, the flow includes the following steps:
  • Step S1102 entering a password input module to be unlocked
  • Step S1104 the touch screen detects the number pressed by the user
  • Step S1106 the touch screen detects the magnitude of the pressing area corresponding to the user pressing the number
  • Step S1108 Find a correspondence table in the memory according to the magnitude of the pressed area detected by the end of the user press to obtain a corresponding area dimension value; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates a large area. Press the event.
  • Step S1110 combining the number pressed by the user with the value of the pressing area dimension, and storing it as a two-dimensional password sequence, wherein the four-digit password sequence is taken as an example, and the two-dimensional password sequence is [(the first pressing number, pressing the first one) The number corresponds to the area size value), (the second press number, press the second number corresponding to the area size value), (the third press number, press the third number corresponding to the area size value), (the fourth press number , press the 4th number corresponding to the area size value)];
  • Step S1112 it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1114 is performed, otherwise, step S1104 is performed;
  • step S1114 the two-dimensional password sequence input this time is compared with the setting password stored in the memory by the password input sequence module. If the matching is successful, the unlocking succeeds; otherwise, the unlocking fails.
  • FIG. 12 is a second flowchart of a method for setting an unlock password according to an alternative embodiment of the present invention. As shown in FIG. 12, the flow is shown in FIG. Includes the following steps:
  • Step S1202 entering a grid pattern password input module of the setting module
  • step S1204 the grid pattern is displayed on the display interface of the electronic device, for example, the grid pattern is divided into 9 grids.
  • the coordinates corresponding to the nine grids can be:
  • Step S1206 When the password is input, the touch screen detects coordinates corresponding to the graphic of the user pressing the grid pattern. For example, the user presses the "L"-shaped pattern, and the corresponding coordinate sequences are ⁇ (1,1), (2,1), (3,1), (3,2), (3,3) ⁇ ;
  • Step S1208 detecting a pressing area size value corresponding to the position where the user presses the grid pattern
  • Step S1210 Find a corresponding relationship table according to the area size value detected by the user in pressing the corresponding coordinates of the grid pattern, and obtain a dimension value of each coordinate pressing area; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates Large-scale compression events.
  • Step S1212 combining the grid pattern shape coordinates pressed by the user and pressing the corresponding coordinate area size dimension values into a three-dimensional password sequence; for example, the user presses the "L"-shaped pattern, and the lower left corner and the lower right corner of the "L" are If a large area is pressed, the corresponding input password sequence is ⁇ (1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3, 1) ⁇ .
  • Step S1214 it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1216 is performed, otherwise, step S1206 is performed;
  • step S1216 the setting module stores the input password sequence into the memory.
  • FIG. 13 is a second flowchart of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 13, the flow includes the following steps:
  • Step S1302 entering a grid pattern input module to be unlocked
  • Step S1304 Display the grid pattern on the display interface of the electronic device; for example, divide the grid pattern into 9 grids, wherein the coordinates corresponding to the 9 grids may be:
  • Step S1306 when the password is input, the touch screen detects coordinates corresponding to the graphic of the user pressing the grid pattern; for example, the user presses the "L"-shaped pattern, and the corresponding coordinate sequence is ⁇ (1, 1), (2, 1), ( 3,1), (3,2), (3,3) ⁇ .
  • Step S1310 Find a corresponding relationship table according to the area size value detected by the user in pressing the corresponding coordinates of the grid pattern, and obtain a dimension value of each coordinate pressing area; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates Large-scale compression events.
  • Step S1312 combining the grid pattern shape coordinates pressed by the user and pressing the corresponding coordinate area size dimension values into a three-dimensional password sequence; for example, the user presses the "L"-shaped pattern, and the lower left corner and the lower right corner of the "L" are If a large area is pressed, the corresponding input password sequence is ⁇ (1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3, 1) ⁇ .
  • Step S1314 it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1316 is performed, otherwise, step S1306 is performed;
  • step S1316 the three-dimensional password sequence input this time is compared with the setting password stored in the memory by the password input sequence module. If the matching is successful, the unlocking succeeds; otherwise, the unlocking fails.
  • FIG. 14 is a first schematic diagram of an unlocking method according to an alternative embodiment of the present invention.
  • the set password sequence is [1, 2, 3, 4]
  • the input and recognized password sequence is [(1, press).
  • the correspondence table is set to: pressing area less than 127 corresponding value is 0, pressing area If the value corresponding to 127 is greater than or equal to 127, the value of the pressed area is converted by the conversion correspondence table, and the password sequence is [(1,0), (2,0), (3,1), (4,0)] .
  • the unlocking pattern is “L”.
  • Five grid pattern positions are included, and the input and recognized code sequence is "L", wherein the lower left and lower right grid positions of "L" are large-area pressing events.
  • the display module displays the grid lines on the display interface of the user equipment, and the grid lines divide the display interface of the electronic device or the specific pressing area into 9 grids, and each grid can correspond to a position coordinate, and the user can be specific In the grid, a three-dimensional password reflecting the size of the position and the pressing area is input by pressing.
  • each grid can correspond to a set of vertical and horizontal coordinate values, which are used to represent the position represented by the grid.
  • the position of the grid in the first row of the first row can be represented by coordinates (1, 1), and the second row.
  • the position of the grid of the first column can be represented by coordinates (2, 1)
  • the position of the grid of the mth row and the nth column can be represented by coordinates (m, n), and so on.
  • the optional embodiment of the present invention is exemplified by the above-mentioned arrangement form. In other embodiments, other manners may be adopted for the manner in which the position of the mesh is converted into coordinates.
  • the touch screen detects the grid in which the user presses, and the position acquisition module converts the detected mesh into an abscissa value and an ordinate value, and the password input module corresponds the abscissa value, the ordinate value, and the detected pressing area.
  • the values are combined into a three-dimensional password as an input password. For example, if the touch screen detects that the user presses in the grid of the first row of the third row and the grid of the third row and the third column, the size of the pressing area used is detected as a large-area pressing event, then the password input module
  • the combined three-dimensional passwords are (1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3,1).
  • the input password method and the unlocking method provided by the embodiment and the optional embodiment of the present invention may be applied to a device for providing touch screen input, including: pre-storing a correspondence between a value of a pressing area size and a value to correspond to Relationship table; the touch screen detects the user's pressing, and detects the size of the area pressed by the user; queries the correspondence table according to the size of the pressed area detected when the user ends pressing to obtain the corresponding value; and uses the queried value as the input password to strengthen The protection of the password.
  • the present invention can simultaneously detect the pressing operation of the key on the user equipment and the information carried by the pressing operation, for example, the pressing area information covered by the pressing operation, and record the correspondence between the key position and the pressing area.
  • the corresponding relationship of the record is used as a password, and even if the user presses the button when the password is entered, the pressed area information is not leaked. It can be seen that the above steps solve the problem that the security input mode of the related technology is low in security, and the security of the password input mode is improved.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Abstract

The present invention provides an input method and apparatus, and a user equipment. The method comprises: detecting a press operation on a key of a user equipment and press information corresponding to the press operation, wherein the key comprises: one or more keys, and the press information comprises: a press area for executing the press operation; and recording a corresponding relation between the key and the press information. The present invention solves the problem of low safety of a password input mode in the related art, and improves the safety of the password input mode.

Description

输入方法、装置和用户设备Input method, device and user equipment 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种输入方法、装置和用户设备。The present invention relates to the field of communications, and in particular to an input method, apparatus, and user equipment.
背景技术Background technique
目前,大多数电子设备的操作系统在运行过程中都需要输入密码,而这些密码一般都是由实际的数字、字母、符号等字元组合排序而组成。然而,这些字元一般都是通过键盘(包括虚拟键盘)完成输入,在输入的过程中比较容易被定位或被偷窥,造成用户资料的泄漏。At present, most electronic device operating systems need to input passwords during operation, and these passwords are generally composed of actual numbers, letters, symbols and other character combinations. However, these characters are generally input through a keyboard (including a virtual keyboard), which is relatively easy to be located or sneaked during the input process, resulting in leakage of user data.
针对相关技术密码输入方式安全性低的问题,目前尚未提出有效的解决方案。In view of the low security of the related technology password input method, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种输入方法、装置和用户设备,以至少解决相关技术密码输入方式安全性低的问题。The embodiment of the invention provides an input method, a device and a user equipment, so as to at least solve the problem that the security input mode of the related art has low security.
根据本发明实施例的一个方面,提供了一种输入方法,包括:检测用户设备的键位的按压操作以及所述按压操作对应的按压信息,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积;记录所述键位与所述按压信息的对应关系。According to an aspect of the embodiments of the present invention, there is provided an input method, comprising: detecting a pressing operation of a key position of a user equipment and pressing information corresponding to the pressing operation, wherein the key position comprises: one or more keys And the pressing information includes: a pressing area for performing the pressing operation; and recording a correspondence relationship between the key position and the pressing information.
可选地,在所述用户设备包括触控显示屏的情况下,检测用户设备的键位的按压操作,以及所述按压操作对应的按压信息包括:检测在所述用户设备的触控显示屏上显示的所述键位的按压操作,以及所述按压操作对应的按压信息。Optionally, in a case that the user equipment includes a touch display screen, detecting a pressing operation of a key position of the user equipment, and pressing information corresponding to the pressing operation includes: detecting a touch display screen of the user equipment a pressing operation of the key position displayed thereon, and pressing information corresponding to the pressing operation.
可选地,在记录所述键位与所述按压信息的所述对应关系之后,所述方法还包括:判断所述对应关系与第一预设对应关系是否一致,其中,所述第一预设对应关系包括:预设键位和预设按压信息的对应关系,所述预设键位包括:一个或者多个键位;在判断到所述对应关系与所述第一预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。Optionally, after the corresponding relationship between the key position and the pressing information is recorded, the method further includes: determining whether the corresponding relationship is consistent with the first preset correspondence, where the first pre- The corresponding relationship includes: a correspondence between a preset key position and a preset pressing information, where the preset key position includes: one or more key positions; and determining that the corresponding relationship is consistent with the first preset correspondence relationship In the case of the case, it is confirmed that the authentication of the correspondence relationship is successful.
可选地,在所述预设按压信息为预设按压信息阈值的情况下,判断所述对应关系与所述第一预设对应关系是否一致包括:判断所述对应关系中的所述键位与所述预设键位是否一致,以及所述按压信息是否落入所述预设按压信息阈值内;其中,在判断到所述对应关系中的所述键位与所述预设键位一致,以及所述按压信息落入所述预设按压信息阈值内的情况下,确定所述对应关系与所述第一预设对应关系一致。Optionally, if the preset pressing information is a preset pressing information threshold, determining whether the corresponding relationship is consistent with the first preset correspondence includes: determining the key position in the corresponding relationship Whether it is consistent with the preset key position, and whether the pressing information falls within the preset pressing information threshold; wherein, determining that the key position in the corresponding relationship is consistent with the preset key position And determining that the correspondence relationship is consistent with the first preset correspondence relationship, in a case that the pressing information falls within the preset pressing information threshold.
可选地,记录所述键位与所述按压信息的所述对应关系包括:以所述按压信息为关键字,在预设关系表中查询与所述按压信息对应的等效字符,其中,所述预设关系表用于存储所述按压信息与所述等效字符的对应关系;将所述键位与所述等效字符的对应关系记录为所述对应关系。 Optionally, the recording the corresponding relationship between the key position and the pressing information comprises: querying, by using the pressing information as a key, an equivalent character corresponding to the pressing information in a preset relationship table, where The preset relationship table is configured to store a correspondence between the pressing information and the equivalent character; and record a correspondence between the key position and the equivalent character as the corresponding relationship.
可选地,在将所述键位与所述等效字符的对应关系记录为所述对应关系之后,所述方法还包括:判断所述对应关系与第二预设对应关系是否一致,其中,所述第二预设对应关系包括:预设键位和预设等效字符的对应关系,所述预设键位包括:一个或者多个键位;在判断到所述对应关系与所述第二预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。Optionally, after the mapping between the key position and the equivalent character is recorded as the corresponding relationship, the method further includes: determining whether the corresponding relationship is consistent with the second preset correspondence, where The second preset correspondence includes: a correspondence between a preset key position and a preset equivalent character, the preset key position includes: one or more key positions; and determining the corresponding relationship and the first If the two preset correspondences are consistent, it is confirmed that the authentication of the corresponding relationship is successful.
可选地,在检测所述用户设备的所述键位的所述按压操作和所述按压操作对应的所述按压信息之前,所述方法还包括:在所述用户设备的触控显示屏上显示包括所述键位的键位分布图形。Optionally, before detecting the pressing operation of the key position of the user equipment and the pressing information corresponding to the pressing operation, the method further includes: on a touch display screen of the user equipment A key distribution pattern including the key bits is displayed.
可选地,所述键位分布图形包括以下至少之一:字符键盘图形、九宫格键位图形。Optionally, the key distribution pattern includes at least one of the following: a character keyboard graphic, a nine-square grid key graphic.
可选地,所述按压信息还包括以下至少之一:执行所述按压操作的按压压力值,执行所述按压操作的按压时长。Optionally, the pressing information further includes at least one of: performing a pressing pressure value of the pressing operation, and performing a pressing duration of the pressing operation.
可选地,检测所述用户设备的所述键位的所述按压操作,以及所述按压操作对应的所述按压信息还包括:在检测到所述按压信息的情况下,实时显示所述按压信息。Optionally, the pressing operation of detecting the key position of the user equipment, and the pressing information corresponding to the pressing operation further comprises: displaying the pressing in real time if the pressing information is detected information.
根据本发明实施例的另一个方面,还提供了一种输入装置,包括:检测模块,设置为检测用户设备的键位的按压操作以及所述按压操作对应的按压信息,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积;记录模块,设置为记录所述键位与所述按压信息的对应关系。According to another aspect of the embodiments of the present invention, an input device is provided, including: a detecting module, configured to detect a pressing operation of a key position of a user equipment, and pressing information corresponding to the pressing operation, wherein the key position The method includes: one or more key positions, the pressing information includes: a pressing area for performing the pressing operation; and a recording module configured to record a correspondence relationship between the key position and the pressing information.
可选地,所述装置还包括:第一判断模块,设置为判断所述对应关系与第一预设对应关系是否一致,其中,所述第一预设对应关系包括:预设键位和预设按压信息的对应关系,所述预设键位包括:一个或者多个键位;第一确认模块,设置为在判断到所述对应关系与所述第一预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。Optionally, the device further includes: a first determining module, configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a preset key position and a preset The preset information of the pressing information includes: one or more key positions; the first confirming module is configured to: when it is determined that the corresponding relationship is consistent with the first preset correspondence, Confirming that the authentication of the corresponding relationship is successful.
可选地,所述记录模块包括:查询单元,设置为以所述按压信息为关键字,在预设关系表中查询与所述按压信息对应的等效字符,其中,所述预设关系表用于存储所述按压信息与所述等效字符的对应关系;记录单元,设置为将所述键位与所述等效字符的对应关系记录为所述对应关系。Optionally, the recording module includes: a query unit, configured to query, in the preset relationship table, an equivalent character corresponding to the pressing information by using the pressing information as a key, wherein the preset relationship table Corresponding relationship between the pressing information and the equivalent character; the recording unit is configured to record the correspondence between the key position and the equivalent character as the correspondence relationship.
可选地,所述装置还包括:第二判断模块,设置为判断所述对应关系与第二预设对应关系是否一致,其中,所述第二预设对应关系包括:预设键位和预设等效字符的对应关系,所述预设键位包括:一个或者多个键位;第二确认模块,设置为在判断到所述对应关系与所述第二预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。Optionally, the device further includes: a second determining module, configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a preset key position and a preset The correspondence between the equivalent characters includes: one or more key positions; and the second confirmation module is configured to determine that the correspondence relationship is consistent with the second preset correspondence And confirming that the authentication of the corresponding relationship is successful.
可选地,所述装置还包括:显示模块,设置为在所述用户设备的触控显示屏上显示包括所述键位的键位分布图形。Optionally, the device further includes: a display module configured to display a key distribution pattern including the key position on the touch display screen of the user equipment.
根据本发明实施例的另一个方面,还提供了一种用户设备,包括:键位输入器和处理器,其中,所述键位输入器,耦合至所述处理器,设置为接收对用户设备的键位的按压操作,并根据所述按压操作生成电信号;所述处理器,设置为根据接收到的所述电信号,检测对所述 用户设备的所述键位的按压操作以及所述按压操作对应的按压信息,并记录所述键位与所述按压信息的对应关系,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积。According to another aspect of the embodiments of the present invention, a user equipment is provided, including: a key input device and a processor, wherein the key input device is coupled to the processor and configured to receive a user equipment a pressing operation of the key position and generating an electrical signal according to the pressing operation; the processor being configured to detect the electrical signal according to the received a pressing operation of the key position of the user equipment and a pressing information corresponding to the pressing operation, and recording a correspondence between the key position and the pressing information, wherein the key position includes: one or more key positions, The pressing information includes a pressing area that performs the pressing operation.
可选地,所述键位输入器包括以下至少之一:具有物理按键的键盘、触摸显示屏。Optionally, the key input device comprises at least one of the following: a keyboard with physical buttons, a touch display screen.
可选地,所述用户设备还包括:非易失性存储器,其中,所述非易失性存储器,耦合至所述处理器,设置为存储第一预设对应关系和/或第二预设对应关系,其中,所述第一预设对应关系包括预设键位和预设按压信息的对应关系,所述第二预设对应关系包括预设键位和预设等效字符的对应关系,所述预设键位包括:一个或者多个键位。Optionally, the user equipment further includes: a non-volatile memory, wherein the non-volatile memory is coupled to the processor, configured to store a first preset correspondence and/or a second preset Corresponding relationship, wherein the first preset correspondence relationship includes a correspondence between a preset key position and preset preset information, and the second preset correspondence relationship includes a correspondence between a preset key position and a preset equivalent character, The preset key position includes: one or more key positions.
通过本发明实施例,采用检测用户设备的键位的按压操作以及按压操作对应的按压信息,其中,键位包括:一个或者多个键位,按压信息包括:执行按压操作的按压面积;记录键位与按压信息的对应关系的方式,解决了相关技术密码输入方式安全性低的问题,提高了密码输入方式的安全性。According to the embodiment of the present invention, the pressing operation corresponding to the key position of the user equipment and the pressing information corresponding to the pressing operation are adopted, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation; and a recording key The way of the correspondence between the bit and the pressing information solves the problem of low security of the password input method of the related art, and improves the security of the password input mode.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的输入方法的流程图;1 is a flow chart of an input method in accordance with an embodiment of the present invention;
图2是根据本发明实施例的输入装置的结构框图;2 is a block diagram showing the structure of an input device according to an embodiment of the present invention;
图3是根据本发明实施例的输入装置的可选结构框图一;3 is a block diagram 1 of an optional structure of an input device according to an embodiment of the present invention;
图4是根据本发明实施例的输入装置的可选结构框图二;4 is a block diagram 2 of an optional structure of an input device according to an embodiment of the present invention;
图5是根据本发明实施例的输入装置的可选结构框图三;FIG. 5 is a block diagram 3 of an optional structure of an input device according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的输入装置的可选结构框图四;6 is a block diagram 4 of an optional structure of an input device according to an embodiment of the present invention;
图7是根据本发明实施例的用户设备的结构框图;FIG. 7 is a structural block diagram of a user equipment according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的用户设备的可选结构框图;FIG. 8 is a block diagram showing an optional structure of a user equipment according to an embodiment of the present invention; FIG.
图9是根据本发明可选实施例的用户设备的结构框图;9 is a structural block diagram of a user equipment according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例的解锁密码设置方法的流程图一;10 is a flowchart 1 of an unlock password setting method according to an alternative embodiment of the present invention;
图11是根据本发明可选实施例的解锁方法的流程图一;11 is a flowchart 1 of an unlocking method according to an alternative embodiment of the present invention;
图12是根据本发明可选实施例的解锁密码设置方法的流程图二;12 is a second flowchart of a method for setting an unlock password according to an alternative embodiment of the present invention;
图13是根据本发明可选实施例的解锁方法的流程图二;FIG. 13 is a second flowchart of an unlocking method according to an alternative embodiment of the present invention; FIG.
图14是根据本发明可选实施例的解锁方法的示意图一; FIG. 14 is a first schematic diagram of an unlocking method according to an alternative embodiment of the present invention; FIG.
图15是根据本发明可选实施例的解锁方法的示意图二。15 is a second schematic diagram of an unlocking method in accordance with an alternative embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种输入方法,图1是根据本发明实施例的输入方法的流程图,如图1所示,该流程包括如下步骤:An input method is provided in this embodiment. FIG. 1 is a flowchart of an input method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102,检测用户设备的键位的按压操作以及按压操作对应的按压信息,其中,键位包括:一个或者多个键位,按压信息包括:执行按压操作的按压面积;Step S102, detecting a pressing operation of a key position of the user equipment and pressing information corresponding to the pressing operation, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation;
步骤S104,记录键位与按压信息的对应关系。Step S104, recording the correspondence between the key position and the pressing information.
通过上述步骤,可以同时检测用户设备上键位的按压操作和按压操作携带的信息,例如:按压操作覆盖的按压面积信息,并记录键位和按压面积的对应关系。在需要输入密码的场景下,将记录的对应关系作为密码,即使用户在输入密码时的按键被偷窥到,也不会泄露按压面积信息。可见,采用上述步骤,解决了相关技术密码输入方式安全性低的问题,提高了密码输入方式的安全性。Through the above steps, the pressing operation of the key position on the user equipment and the information carried by the pressing operation can be simultaneously detected, for example, the pressing area information covered by the pressing operation, and the correspondence relationship between the key position and the pressing area is recorded. In the scenario where a password is required, the corresponding relationship of the record is used as a password, and even if the user presses the button when the password is entered, the pressed area information is not leaked. It can be seen that the above steps solve the problem that the security input mode of the related technology is low in security, and the security of the password input mode is improved.
可选地,在上述键位为多个键位的情况下,这多个键位为有序的多个键位。Optionally, in the case that the above key position is a plurality of key positions, the plurality of key positions are an ordered plurality of key positions.
可选地,上述步骤可以用于用户设备的解锁过程,也可以用于用户设备的密码设置过程,在用户设备的密码设置过程中,可以将检测到的键位与按压信息的对应关系记录为初始密码,再在用户设备的解锁过程中,根据再次检测到的键位与按压信息的对应关系同初始密码的比较结果,判断是否鉴权成功。Optionally, the foregoing steps may be used for the unlocking process of the user equipment, and may also be used for the password setting process of the user equipment. During the password setting process of the user equipment, the corresponding relationship between the detected key position and the pressing information may be recorded as The initial password is used to determine whether the authentication is successful according to the comparison result between the re-detected key position and the pressing information and the initial password during the unlocking process of the user equipment.
可选地,也可以在用户设备的密码设置过程中,通过预设键位与按压信息的对应关系设置初始密码,再在用户设备的解锁过程中,根据检测到的键位与按压信息的对应关系同初始密码的比较结果,判断是否鉴权成功。Optionally, in the password setting process of the user equipment, the initial password is set by the corresponding relationship between the preset key position and the pressing information, and then, according to the detected key position and the pressing information, in the unlocking process of the user equipment. The result of the comparison with the initial password determines whether the authentication is successful.
可选地,对用户设备的键位的按压操作可以发生在能够识别出按压面积的具有物理按键的键盘上,例如:台式电脑键盘、笔记本电脑键盘、自动取款机(Automatic Teller Machine,简称为ATM)键盘、移动终端设备的物理按键等,对用户设备的键位的按压操作也可以发生在触控显示屏上,例如:触摸式显示器上的虚拟键盘、ATM机显示器上的虚拟键盘、移动终端的虚拟键盘等。以下可选实施例均以对用户设备的键位的按压操作发生在触控显示屏上为例。在上述步骤S102中,可以检测在用户设备的触控显示屏上显示的键位的按压操作,以及按压操作对应的按压信息。Optionally, the pressing operation on the key position of the user equipment may occur on a keyboard having physical buttons capable of recognizing the pressing area, for example, a desktop computer keyboard, a laptop keyboard, an automatic teller machine (ATM for short). The keyboard, the physical button of the mobile terminal device, etc., the pressing operation of the user equipment key position may also occur on the touch display screen, for example: a virtual keyboard on the touch display, a virtual keyboard on the ATM machine display, a mobile terminal Virtual keyboard etc. The following optional embodiments take the case where the pressing operation of the key position of the user equipment occurs on the touch display screen. In the above step S102, the pressing operation of the key position displayed on the touch display screen of the user equipment and the pressing information corresponding to the pressing operation may be detected.
可选地,可以将记录的键位与按压信息的对应关系与一个已经被存储的对应关系进行比 较,在判断出两个对应关系一致的情况下,可以认为对记录的对应关系的鉴权成功。例如,在上述步骤S104之后,可以通过判断对应关系与第一预设对应关系是否一致对对应关系进行鉴权,其中,第一预设对应关系可以包括:预设键位和预设按压信息的对应关系,预设键位可以包括:一个或者多个键位,在判断到对应关系与第一预设对应关系一致的情况下,确认对对应关系的鉴权成功。可选地,在上述预设键位为多个键位的情况下,这多个键位为有序的多个键位。Optionally, the correspondence between the recorded key position and the pressing information may be compared with a corresponding relationship that has been stored. When it is determined that the two correspondences are consistent, the authentication of the correspondence of the records can be considered successful. For example, after the step S104, the corresponding relationship may be determined by determining whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence may include: a preset key position and preset pressing information. Corresponding relationship, the preset key position may include: one or more key positions, and if it is determined that the correspondence relationship is consistent with the first preset correspondence relationship, the authentication of the corresponding relationship is confirmed to be successful. Optionally, in the case that the preset key position is a plurality of key positions, the plurality of key positions are an ordered plurality of key positions.
可选地,第一预设对应关系中的预设按压信息可以为某个阈值范围,落在其范围内的按压信息都认为属于这个预设按压信息阈值,在预设按压信息为预设按压信息阈值的情况下,可以通过判断对应关系中的键位与预设键位是否一致,以及按压信息是否落入预设按压信息阈值内来判断对应关系与第一预设对应关系是否一致,并且,在判断到对应关系中的键位与预设键位一致,以及按压信息落入预设按压信息阈值内的情况下,确定对应关系与第一预设对应关系一致。例如:第一按压信息为第一数值,第二按压信息为第二数值,第三按压信息为第三数值,其中,第二数值大于第一数值且小于第三数值,第一预设按压信息阈值为大于等于第一数值并且小于第三数值,第二预设按压信息阈值为大于等于第三数值并且小于第四数值,那么,第一按压信息和第二按压信息均对应于第一预设按压信息阈值,而第三按压信息对应于第二预设按压信息阈值。Optionally, the preset pressing information in the first preset correspondence may be a certain threshold range, and the pressing information falling within the range is considered to belong to the preset pressing information threshold, and the preset pressing information is a preset pressing. In the case of the information threshold, it may be determined whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls within the preset pressing information threshold to determine whether the correspondence relationship is consistent with the first preset correspondence relationship, and When it is determined that the key position in the correspondence relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, it is determined that the correspondence relationship is consistent with the first preset correspondence relationship. For example, the first pressing information is the first value, the second pressing information is the second value, and the third pressing information is the third value, wherein the second value is greater than the first value and less than the third value, the first preset pressing information If the threshold value is greater than or equal to the first value and less than the third value, and the second preset pressing information threshold is greater than or equal to the third value and less than the fourth value, then the first pressing information and the second pressing information both correspond to the first preset. The information threshold is pressed, and the third pressing information corresponds to the second preset pressing information threshold.
可选地,在上述步骤S104中,可以将检测到的按压信息用等效字符表示,将按压信息与等效字符的对应关系存储在对应关系表中,通过以按压信息为关键字,在预设关系表中查询与按压信息对应的等效字符,将键位与按压信息的对应关系转换为键位与等效字符的对应关系,并记录键位与等效字符的对应关系。例如,第一键位对应的第一按压信息为第一数值,第二键位对应的第二按压信息为第二数值,第三键位对应的第三按压信息为第三数值,通过查询预设关系表,得出第一数值和第二数值均对应第一等效字符,第三键位对应第二等效字符,那么,可以记录第一键位和第一等效字符的对应关系、第二键位和第一等效字符的对应关系、第三键位和第二等效字符的对应关系。Optionally, in the foregoing step S104, the detected pressing information may be represented by an equivalent character, and the correspondence between the pressing information and the equivalent character is stored in the correspondence relationship table, and the pressing information is used as a key in the pre-predetermined relationship. The equivalent character corresponding to the pressing information is set in the relationship table, and the correspondence between the key position and the pressing information is converted into a correspondence relationship between the key position and the equivalent character, and the correspondence relationship between the key position and the equivalent character is recorded. For example, the first pressing information corresponding to the first key position is the first numerical value, the second pressing information corresponding to the second key position is the second numerical value, and the third pressing information corresponding to the third key position is the third numerical value. Setting the relationship table, and obtaining that the first value and the second value correspond to the first equivalent character, and the third key bit corresponds to the second equivalent character, then the correspondence between the first key position and the first equivalent character may be recorded, Correspondence between the second key position and the first equivalent character, and the correspondence between the third key position and the second equivalent character.
可选地,上述按压信息与等效字符的对应关系也可以为按压信息阈值与等效字符的对应关系,落在按压信息阈值范围内的按压信息均对应相同的等效字符,通过以按压信息为关键字,在预设关系表中查询与按压信息落入的按压信息阈值对应的等效字符,将键位与按压信息的对应关系转换为键位与等效字符的对应关系,并记录键位与等效字符的对应关系。例如,第一键位对应的第一按压信息为第一数值,第二键位对应的第二按压信息为第二数值,第三键位对应的第三按压信息为第三数值,其中,第二数值大于第一数值且小于第三数值,第一按压信息阈值为大于等于第一数值并且小于第三数值,第二按压信息阈值为大于等于第三数值并且小于第四数值,那么,第一按压信息和第二按压信息均落入第一按压信息阈值,而第三按压信息落入第二按压信息阈值,通过查询预设关系表,得出第一按压信息阈值对应第一等效字符,第二按压信息阈值对应第二等效字符,那么,可以记录第一键位和第一等效字符的对应关系、第二键位和第一等效字符的对应关系、第三键位和第二等效字符的对应关系。Optionally, the correspondence between the pressing information and the equivalent character may also be a correspondence between the pressing information threshold and the equivalent character, and the pressing information falling within the threshold of the pressing information corresponds to the same equivalent character, and the information is pressed by For the keyword, query the equivalent character corresponding to the threshold of the pressing information that the pressing information falls in the preset relationship table, convert the correspondence between the key position and the pressing information into a correspondence relationship between the key position and the equivalent character, and record the key The correspondence between bits and equivalent characters. For example, the first pressing information corresponding to the first key position is a first value, the second pressing information corresponding to the second key position is a second value, and the third pressing information corresponding to the third key position is a third value, wherein The second value is greater than the first value and less than the third value, the first pressing information threshold is greater than or equal to the first value and less than the third value, and the second pressing information threshold is greater than or equal to the third value and less than the fourth value, then the first The pressing information and the second pressing information both fall into the first pressing information threshold, and the third pressing information falls into the second pressing information threshold, and the first pressing information threshold is corresponding to the first equivalent character by querying the preset relationship table. The second pressing information threshold corresponds to the second equivalent character, then the correspondence between the first key position and the first equivalent character, the correspondence between the second key position and the first equivalent character, the third key position and the The correspondence between two equivalent characters.
可选地,在记录键位与等效字符的对应关系的情况下,在上述步骤S104之后,可以通过 判断键位与等效字符的对应关系与预设键位和预设等效字符的第二预设对应关系是否一致来确定记录的对应关系是否鉴权成功,在判断到键位与等效字符的对应关系与第二预设对应关系一致的情况下,确认对对应关系的鉴权成功。Optionally, in the case of recording the correspondence between the key position and the equivalent character, after the above step S104, the Determining whether the correspondence between the key position and the equivalent character is consistent with the second preset correspondence between the preset key position and the preset equivalent character to determine whether the record correspondence is successful, and determining the key position and the equivalent character In the case where the corresponding relationship is consistent with the second preset correspondence, the authentication of the corresponding relationship is confirmed to be successful.
可选地,在上述步骤S102之前,可以在用户设备的触控显示屏上显示包括键位的键位分布图形,其中,键位分布图形可以是字符键盘图形,也可以是九宫格键位图形。例如:字符键盘图形可以是数字面板、全键盘、拇指键盘,九宫格键位图形可以是网格面板、九宫格点阵面板。Optionally, before the step S102, the key distribution pattern including the key position may be displayed on the touch display screen of the user equipment, where the key position distribution graphic may be a character keyboard graphic or a nine-square key pattern. For example, the character keyboard graphic can be a digital panel, a full keyboard, a thumb keyboard, and the nine-square grid key graphic can be a grid panel or a nine-square lattice panel.
可选地,按压信息还可以包括以下至少之一:执行按压操作的按压压力值,执行按压操作的按压时长。Alternatively, the pressing information may further include at least one of: a pressing pressure value that performs a pressing operation, and a pressing duration that performs the pressing operation.
可选地,按压信息可以是按压压力值加上按压面积的组合信息,按压面积可以为第一按压面积和第二按压面积,按压压力值可以为第一按压压力值和第二按压压力值,因此,按压信息就可以为以下四种组合形式:第一按压面积+第一按压压力值、第一按压面积+第二按压压力值、第二按压面积+第一按压压力值、第二按压面积+第二按压压力值,也可以第一按压压力值对应轻按,第二按压压力值对应重按,第一按压面积对应小面积按压,第二按压面积对应大面积按压,那么就可以组合成以下四种按压信息:小面积按压+轻按、小面积按压+重按、大面积按压+轻按、大面积按压+重按。Optionally, the pressing information may be combined information of a pressing pressure value and a pressing area, and the pressing area may be a first pressing area and a second pressing area, and the pressing pressure value may be a first pressing pressure value and a second pressing pressure value, Therefore, the pressing information may be in the following four combinations: a first pressing area + a first pressing pressure value, a first pressing area + a second pressing pressure value, a second pressing area + a first pressing pressure value, and a second pressing area. + the second pressing pressure value, the first pressing pressure value corresponding to the light pressing, the second pressing pressure value corresponding to the heavy pressing, the first pressing area corresponding to the small area pressing, the second pressing area corresponding to the large area pressing, then the combination can be combined The following four types of pressing information: small area pressing + light pressing, small area pressing + heavy pressing, large area pressing + light pressing, large area pressing + heavy pressing.
可选地,按压信息还可以是按压时长加上按压面积的组合信息,按压面积可以为第一按压面积和第二按压面积,按压时长可以为第一按压时长和第二按压时长,因此,按压信息就可以为以下四种组合形式:第一按压面积+第一按压时长、第一按压面积+第二按压时长、第二按压面积+第一按压时长、第二按压面积+第二按压时长,也可以第一按压时长对应短按,第二按压时长对应长按,第一按压面积对应小面积按压,第二按压面积对应大面积按压,那么就可以组合成以下四种按压信息:小面积按压+短按、小面积按压+长按、大面积按压+短按、大面积按压+长按。Optionally, the pressing information may be combined information of a pressing duration and a pressing area, and the pressing area may be a first pressing area and a second pressing area, and the pressing duration may be a first pressing duration and a second pressing duration, and therefore, pressing The information may be in the following four combinations: a first pressing area + a first pressing time length, a first pressing area + a second pressing time length, a second pressing area + a first pressing time length, a second pressing area + a second pressing time length, It is also possible that the first pressing time corresponds to a short pressing, the second pressing time corresponds to a long pressing, the first pressing area corresponds to a small area pressing, and the second pressing area corresponds to a large area pressing, then the following four pressing information can be combined: a small area pressing + Short press, small area pressing + long press, large area pressing + short press, large area pressing + long press.
可选地,按压信息还可以是按压压力值加按压时长加按压面积的组合信息,按压面积可以为第一按压面积和第二按压面积,按压时长可以为第一按压时长和第二按压时长,按压压力值可以为第一按压压力值和第二按压压力值,因此,按压信息就可以为以下六种组合形式:第一按压面积+第一按压时长+第一按压压力值、第一按压面积+第一按压时长+第二按压压力值、第一按压面积+第二按压时长+第一按压压力值、第一按压面积+第二按压时长+第二按压压力值、第二按压面积+第一按压时长+第一按压压力值、第二按压面积+第一按压时长+第二按压压力值、第二按压面积+第二按压时长+第一按压压力值、第二按压面积+第二按压时长+第二按压压力值,也可以第一按压时长对应短按,第二按压时长对应长按,第一按压面积对应小面积按压,第二按压面积对应大面积按压,第一按压压力值对应轻按,第二按压压力值对应重按,那么就可以组合成以下六种按压信息:小面积按压+短按+轻按、小面积按压+短按+重按、小面积按压+长按+轻按、小面积按压+长按+重按、大面积按压+短按+轻按、大面积按压+短按+重按、大面积按压+长按+轻按、大面积按压+长按+重按。 Optionally, the pressing information may be a combination of a pressing pressure value and a pressing time plus a pressing area, and the pressing area may be a first pressing area and a second pressing area, and the pressing duration may be a first pressing duration and a second pressing duration. The pressing pressure value may be the first pressing pressure value and the second pressing pressure value. Therefore, the pressing information may be in the following six combinations: a first pressing area + a first pressing time length + a first pressing pressure value, and a first pressing area. + first pressing time + second pressing pressure value, first pressing area + second pressing time + first pressing pressure value, first pressing area + second pressing time + second pressing pressure value, second pressing area + a pressing duration + a first pressing pressure value, a second pressing area + a first pressing duration + a second pressing pressure value, a second pressing area + a second pressing duration + a first pressing pressure value, a second pressing area + a second pressing The duration + the second pressing pressure value may also correspond to a short pressing of the first pressing duration, the second pressing duration corresponds to a long pressing, the first pressing area corresponds to a small area pressing, and the second pressing area corresponds to a large surface Pressing, the first pressing pressure value corresponds to the light press, and the second pressing pressure value corresponds to the heavy pressing, then the following six kinds of pressing information can be combined: small area pressing + short pressing + light pressing, small area pressing + short pressing + weight Press, small area pressing + long press + light press, small area pressing + long press + heavy press, large area pressing + short press + light press, large area pressing + short press + heavy press, large area pressing + long press + light Press, press a large area + long press + press again.
需要说明的是,以上是以每种按压信息对应两种按压效果为例对本发明实施例进行说明和描述,每种按压信息对应的按压效果也可以为多种,在此不再赘述。It should be noted that, in the above, the embodiment of the present invention is described and described by taking the two types of pressing effects as an example. The pressing effect corresponding to each pressing information may also be multiple, and details are not described herein again.
可选地,在检测到用户设备的键位上的按压操作,以及按压操作对应的按压信息时,为了使用户能够知晓执行按压操作时检测到的按压信息,从而控制按压的动作并且明确自己输入的按压信息,提升用户体验,还可以在检测到按压信息的情况下,实时显示按压信息。Optionally, when the pressing operation on the key position of the user equipment is detected, and the pressing information corresponding to the pressing operation is detected, in order to enable the user to know the pressing information detected when the pressing operation is performed, the pressing action is controlled and the input is clarified. Pressing the information to enhance the user experience, and displaying the pressing information in real time when the pressing information is detected.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
在本实施例中还提供了一种输入装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, an input device is also provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的输入装置的结构框图,如图2所示,该装置包括:检测模块22和记录模块24,其中,检测模块22,设置为检测用户设备的键位的按压操作以及按压操作对应的按压信息,其中,键位包括:一个或者多个键位,按压信息包括:执行按压操作的按压面积;记录模块24,耦合至检测模块22,设置为记录键位与按压信息的对应关系。2 is a structural block diagram of an input device according to an embodiment of the present invention. As shown in FIG. 2, the device includes: a detecting module 22 and a recording module 24, wherein the detecting module 22 is configured to detect a pressing operation of a key position of a user equipment. And pressing information corresponding to the pressing operation, wherein the key position comprises: one or more key positions, the pressing information comprises: a pressing area for performing a pressing operation; the recording module 24 is coupled to the detecting module 22, and is configured to record the key position and the pressing information Correspondence.
可选地,上述检测模块22设置为:在用户设备包括触控显示屏的情况下,检测在用户设备的触控显示屏上显示的键位的按压操作,以及按压操作对应的按压信息。Optionally, the detecting module 22 is configured to: when the user equipment includes the touch display screen, detect a pressing operation of the key position displayed on the touch display screen of the user equipment, and press information corresponding to the pressing operation.
图3是根据本发明实施例的输入装置的可选结构框图一,可选地,如图3所示,上述装置还包括:第一判断模块32和第一确认模块34,其中,第一判断模块32,耦合至记录模块24,设置为判断对应关系与第一预设对应关系是否一致,其中,第一预设对应关系包括:预设键位和预设按压信息的对应关系,预设键位包括:一个或者多个键位;第一确认模块34,耦合至第一判断模块32,设置为在判断到对应关系与第一预设对应关系一致的情况下,确认对对应关系的鉴权成功。3 is a block diagram of an optional structure of an input device according to an embodiment of the present invention. Optionally, as shown in FIG. 3, the device further includes: a first determining module 32 and a first confirming module 34, wherein the first determining The module 32 is coupled to the recording module 24, and is configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a correspondence between the preset key position and the preset pressing information, and the preset key The bit includes: one or more key positions; the first confirmation module 34 is coupled to the first determining module 32, and is configured to confirm the authentication of the corresponding relationship if it is determined that the correspondence relationship is consistent with the first preset correspondence relationship. success.
可选地,上述第一判断模块32设置为:在预设按压信息为预设按压信息阈值的情况下,判断对应关系中的键位与预设键位是否一致,以及按压信息是否落入预设按压信息阈值内;其中,在判断到对应关系中的键位与预设键位一致,以及按压信息落入预设按压信息阈值内的情况下,确定对应关系与第一预设对应关系一致。Optionally, the first determining module 32 is configured to: if the preset pressing information is a preset pressing information threshold, determine whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls into the pre-predetermined The pressing information threshold is set; wherein, when it is determined that the key position in the correspondence relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, determining that the correspondence relationship is consistent with the first preset correspondence relationship .
图4是根据本发明实施例的输入装置的可选结构框图二,可选地,如图4所示,上述记录模块24包括:查询单元42和记录单元44,其中,查询单元42,设置为以按压信息为关键字,在预设关系表中查询与按压信息对应的等效字符,其中,预设关系表用于存储按压信息 与等效字符的对应关系;记录单元44,耦合至查询单元42,设置为将键位与等效字符的对应关系记录为对应关系。4 is a block diagram 2 of an optional structure of an input device according to an embodiment of the present invention. Optionally, as shown in FIG. 4, the recording module 24 includes: a query unit 42 and a recording unit 44, wherein the query unit 42 is configured to The pressing information is used as a keyword, and the equivalent character corresponding to the pressing information is queried in the preset relationship table, wherein the preset relationship table is used to store the pressing information. Correspondence relationship with equivalent characters; the recording unit 44, coupled to the query unit 42, is configured to record the correspondence between the key bits and the equivalent characters as a correspondence relationship.
图5是根据本发明实施例的输入装置的可选结构框图三,可选地,如图5所示,上述装置还包括:第二判断模块52和第二确认模块54,其中,第二判断模块52,耦合至记录模块24,设置为判断对应关系与第二预设对应关系是否一致,其中,第二预设对应关系包括:预设键位和预设等效字符的对应关系,预设键位包括:一个或者多个键位;第二确认模块54,耦合至第二判断模块52,设置为在判断到对应关系与第二预设对应关系一致的情况下,确认对对应关系的鉴权成功。FIG. 5 is a block diagram 3 of an optional structure of an input device according to an embodiment of the present invention. Optionally, as shown in FIG. 5, the device further includes: a second determining module 52 and a second confirming module 54, wherein the second determining The module 52 is coupled to the recording module 24, and is configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a correspondence between the preset key position and the preset equivalent character, and the preset The key position includes: one or more key positions; the second confirmation module 54 is coupled to the second determination module 52, and is configured to confirm the comparison of the correspondence relationship when it is determined that the correspondence relationship is consistent with the second preset correspondence relationship. The right is successful.
图6是根据本发明实施例的输入装置的可选结构框图四,可选地,如图6所示,上述装置还包括:显示模块62,耦合至检测模块22,设置为在用户设备的触控显示屏上显示包括键位的键位分布图形。FIG. 6 is a block diagram of an optional structure of an input device according to an embodiment of the present invention. Optionally, as shown in FIG. 6, the device further includes: a display module 62 coupled to the detecting module 22 and configured to be touched by the user equipment. The key distribution pattern including the key position is displayed on the control display.
可选地,键位分布图形可以包括以下至少之一:字符键盘图形、九宫格键位图形。Optionally, the key distribution pattern may include at least one of the following: a character keyboard graphic, a nine-square key pattern.
可选地,按压信息还可以包括以下至少之一:执行按压操作的按压压力值,执行按压操作的按压时长。Alternatively, the pressing information may further include at least one of: a pressing pressure value that performs a pressing operation, and a pressing duration that performs the pressing operation.
可选地,上述检测模块22设置为:在检测到按压信息的情况下,实时显示按压信息。Optionally, the detecting module 22 is configured to display the pressing information in real time when the pressing information is detected.
在本实施例中还提供了一种用户设备,图7是根据本发明实施例的用户设备的结构框图,如图7所示,该用户设备包括:键位输入器72和处理器74,其中,键位输入器72,耦合至处理器74,设置为接收对用户设备的键位的按压操作,并根据按压操作生成电信号;处理器74,设置为根据接收到的电信号,检测对用户设备的键位的按压操作以及按压操作对应的按压信息,并记录键位与按压信息的对应关系,其中,键位包括:一个或者多个键位,按压信息包括:执行按压操作的按压面积。A user equipment is also provided in this embodiment. FIG. 7 is a structural block diagram of a user equipment according to an embodiment of the present invention. As shown in FIG. 7, the user equipment includes: a key input device 72 and a processor 74, wherein a key input device 72 coupled to the processor 74, configured to receive a pressing operation on a key position of the user equipment, and generate an electrical signal according to the pressing operation; the processor 74 is configured to detect the user according to the received electrical signal The pressing operation of the key position of the device and the pressing information corresponding to the pressing operation, and recording the correspondence between the key position and the pressing information, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing the pressing operation.
可选地,键位输入器72可以包括以下至少之一:可识别触摸面积的具有物理按键的键盘、触摸显示屏。Alternatively, the key input device 72 may include at least one of a keyboard having a physical button that can recognize a touch area, and a touch display screen.
图8是根据本发明实施例的用户设备的可选结构框图,可选地,如图8所示,上述用户设备还包括:非易失性存储器82,其中,非易失性存储器,耦合至处理器74,设置为存储第一预设对应关系和/或第二预设对应关系,其中,第一预设对应关系包括预设键位和预设按压信息的对应关系,第二预设对应关系包括预设键位和预设等效字符的对应关系,预设键位包括:一个或者多个键位。FIG. 8 is a block diagram showing an optional structure of a user equipment according to an embodiment of the present invention. Optionally, as shown in FIG. 8, the user equipment further includes: a non-volatile memory 82, wherein the non-volatile memory is coupled to The processor 74 is configured to store a first preset correspondence and/or a second preset correspondence, where the first preset correspondence includes a correspondence between the preset key and the preset pressing information, and the second preset corresponds to The relationship includes a correspondence between a preset key position and a preset equivalent character, and the preset key position includes: one or more key positions.
可选地,在上述键位输入器72包括触控显示屏的情况下,上述处理器74设置为:检测在用户设备的触控显示屏上显示的键位的按压操作,以及按压操作对应的按压信息。Optionally, in a case where the key input device 72 includes a touch display screen, the processor 74 is configured to: detect a pressing operation of a key position displayed on a touch display screen of the user equipment, and a corresponding pressing operation Press the message.
可选地,上述处理器74设置为:在记录键位与按压信息的对应关系之后,判断对应关系与第一预设对应关系是否一致,其中,第一预设对应关系包括:预设键位和预设按压信息的对应关系,预设键位包括:一个或者多个键位;在判断到对应关系与第一预设对应关系一致 的情况下,确认对对应关系的鉴权成功。Optionally, the processor 74 is configured to determine, according to the correspondence between the key position and the pressing information, whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a preset key position. Corresponding relationship with the preset pressing information, the preset key position includes: one or more key positions; and the correspondence relationship is determined to be consistent with the first preset correspondence relationship In the case of the case, it is confirmed that the authentication of the correspondence is successful.
可选地,上述的第一预设对应关系存储在非易失性存储器82中。Optionally, the first preset correspondence relationship described above is stored in the non-volatile memory 82.
可选地,上述处理器74设置为:在预设按压信息为预设按压信息阈值的情况下,判断对应关系中的键位与预设键位是否一致,以及按压信息是否落入预设按压信息阈值内;其中,在判断到对应关系中的键位与预设键位一致,以及按压信息落入预设按压信息阈值内的情况下,确定对应关系与第一预设对应关系一致。Optionally, the processor 74 is configured to: if the preset pressing information is the preset pressing information threshold, determine whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls within the preset pressing In the information threshold, if it is determined that the key position in the corresponding relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, it is determined that the corresponding relationship is consistent with the first preset correspondence.
可选地,上述处理器74设置为:以按压信息为关键字,在预设关系表中查询与按压信息对应的等效字符,其中,预设关系表用于存储按压信息与等效字符的对应关系;将键位与等效字符的对应关系记录为对应关系。Optionally, the processor 74 is configured to: query, by using the pressing information as a key, an equivalent character corresponding to the pressing information in the preset relationship table, where the preset relationship table is used to store the pressing information and the equivalent character. Correspondence relationship; the correspondence between the key position and the equivalent character is recorded as a correspondence relationship.
可选地,上述的预设关系表存储在非易失性存储器82中。Optionally, the preset relationship table described above is stored in the non-volatile memory 82.
可选地,上述处理器74设置为:在将键位与等效字符的对应关系记录为对应关系之后,判断对应关系与第二预设对应关系是否一致,其中,第二预设对应关系包括:预设键位和预设等效字符的对应关系,预设键位包括:一个或者多个键位;在判断到对应关系与第二预设对应关系一致的情况下,确认对对应关系的鉴权成功。Optionally, the processor 74 is configured to: after the correspondence between the key position and the equivalent character is recorded as a corresponding relationship, determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes The correspondence between the preset key position and the preset equivalent character, the preset key position includes: one or more key positions; and when it is determined that the correspondence relationship is consistent with the second preset correspondence relationship, confirming the correspondence relationship The authentication was successful.
可选地,上述的第二预设对应关系存储在非易失性存储器82中。Optionally, the second preset correspondence relationship described above is stored in the non-volatile memory 82.
可选地,在上述的键位输入器72为触控显示屏的情况下,触控显示屏用于在处理器74检测用户设备的键位的按压操作和按压操作对应的按压信息之前,在用户设备的触控显示屏上显示包括键位的键位分布图形。Optionally, in the case that the key input device 72 is a touch display screen, the touch display screen is used before the processor 74 detects the pressing operation of the key position of the user equipment and the pressing information corresponding to the pressing operation. A key distribution pattern including a key position is displayed on the touch display screen of the user device.
可选地,键位分布图形包括以下至少之一:字符键盘图形、九宫格键位图形。Optionally, the key distribution pattern includes at least one of the following: a character keyboard graphic, a nine-square grid key graphic.
可选地,按压信息还包括以下至少之一:执行按压操作的按压压力值,执行按压操作的按压时长。Optionally, the pressing information further includes at least one of: a pressing pressure value for performing the pressing operation, and a pressing duration for performing the pressing operation.
可选地,上述触控显示屏,还设置为在处理器74检测到按压信息的情况下,实时显示按压信息。Optionally, the touch display screen is further configured to display the press information in real time when the processor 74 detects the press information.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。Embodiments of the present invention also provide a software for performing the technical solutions described in the foregoing embodiments and optional embodiments.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
步骤S102,检测用户设备的键位的按压操作以及按压操作对应的按压信息,其中,键位包括:一个或者多个键位,按压信息包括:执行按压操作的按压面积; Step S102, detecting a pressing operation of a key position of the user equipment and pressing information corresponding to the pressing operation, wherein the key position includes: one or more key positions, and the pressing information includes: a pressing area for performing a pressing operation;
步骤S104,记录键位与按压信息的对应关系。Step S104, recording the correspondence between the key position and the pressing information.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
为了使本发明实施例的描述更加清楚,下面结合可选实施例进行描述和说明。In order to make the description of the embodiments of the present invention more clear, the following description and description are made in conjunction with the exemplary embodiments.
本发明可选实施例提供了一种用户设备,例如:手机,平板电脑等。该用户设备包括:处理器、存储器、触摸屏。在用户按压触摸屏时,触摸屏可以检测到用户的按压,并检测出用户按压时对应的按压面积大小;用户设备的存储器中预先存储有对应关系表,用于存储按压面积大小数值与数值之间的对应关系,对应关系表包括:多个按压面积大小值与多个数值,且处在一定范围内的多个按压面积大小值可以对应其中一个数值,比如,在对应关系表中,按压面积大小小于等于127对应数值为0,按压面积大小大于127对应数值为1;用户设备的处理器包括:密码输入模块及密码识别模块,其中,密码输入模块和密码识别模块是存储于存储器中的软件代码,并通过处理器的执行以实现其各自的功能。An optional embodiment of the present invention provides a user equipment, such as a mobile phone, a tablet computer, or the like. The user equipment includes: a processor, a memory, and a touch screen. When the user presses the touch screen, the touch screen can detect the pressing of the user and detect the corresponding pressing area when the user presses; the corresponding storage table is pre-stored in the memory of the user equipment for storing the value of the pressing area between the numerical value and the numerical value. Corresponding relationship, the correspondence relationship table includes: a plurality of pressing area size values and a plurality of values, and a plurality of pressing area size values within a certain range may correspond to one of the values, for example, in the correspondence relationship table, the pressing area size is smaller than The value corresponding to 127 is 0, and the value of the pressing area is greater than 127, and the corresponding value is 1. The processor of the user equipment includes: a password input module and a password recognition module, wherein the password input module and the password recognition module are software codes stored in the memory. And through the execution of the processor to achieve their respective functions.
在用户输入密码(相当于上述对应关系)的过程中,可以将密码的每一个数字或者网格信息记录为一个二维的信息,用户通过按压触摸屏来输入密码,用户在触摸屏的某个特定区域内按压,通过按压的数值或者网格输入密码的二维信息中的第一个元素。此时,触摸屏会检测到用户的按压,并检测用户按压的面积大小值来确定输入的密码的二维信息中的第二个元素。In the process of the user inputting a password (corresponding to the above correspondence), each digit or grid information of the password can be recorded as a two-dimensional information, and the user inputs the password by pressing the touch screen, and the user is in a specific area of the touch screen. Press inside, enter the first element in the two-dimensional information of the password by pressing the value or grid. At this time, the touch screen detects the user's pressing and detects the area size value pressed by the user to determine the second element in the two-dimensional information of the input password.
为了让用户实时了解自己的按压的面积大小,输入密码时用户设备还可以包括显示模块。在用户按压触摸屏时,显示模块将用户按压时触摸屏检测到的按压面积大小显示在电子设备的显示界面上。例如:若用户快速点击触摸屏,所侦测出的按压面积大小值小于127,则密码的第二元素为0;若用户持续按压触摸屏,所侦测的按压面积大小值大于127,这时密码的第二元素为1。In order to let the user know the size of the area of his pressing in real time, the user equipment may also include a display module when the password is input. When the user presses the touch screen, the display module displays the size of the pressing area detected by the touch screen when the user presses on the display interface of the electronic device. For example, if the user quickly clicks on the touch screen and the detected pressing area size is less than 127, the second element of the password is 0; if the user continues to press the touch screen, the detected pressing area size value is greater than 127, then the password is The second element is 1.
此外,显示模块可以直接将按压面积大小作为数字显示在触摸屏上用户所按压的位置的旁边,也可以采用将按压面积大小转化为其他更形象的表达方法来显示,例如,在用户按压的位置出现一个框,框的面积随按压面积的变大而变大。用户就可以很直观的感受到按压时所用的面积大小。In addition, the display module can directly display the size of the pressing area as a digital display on the touch screen next to the position pressed by the user, or display the size of the pressing area into other more vivid expression methods, for example, at a position pressed by the user. In a frame, the area of the frame becomes larger as the pressing area becomes larger. The user can intuitively feel the size of the area used for pressing.
当用户结束按压时,根据用户结束按压时触摸屏所侦测到的按压面积大小值查询对应关系表,以获得对应的数值。密码输入模块将所查询到的数值作为密码的第二元素记录到密码中。When the user finishes pressing, the corresponding relationship table is queried according to the size of the pressed area detected by the touch screen when the user finishes pressing, to obtain a corresponding value. The password input module records the queried value as a second element of the password into the password.
触摸屏还可以检测用户按压的位置,密码输入模块可以将检测到的位置与查询到的数值组合记录为密码。The touch screen can also detect the position pressed by the user, and the password input module can record the detected position and the queried value as a password.
下面结合附图对本发明可选实施例进行说明。 The optional embodiments of the present invention are described below with reference to the accompanying drawings.
本发明可选实施例提供了一种用户设备,解决了现有用户设备上密码输入和识别安全性低的问题。An optional embodiment of the present invention provides a user equipment, which solves the problem of low security of password input and identification on the existing user equipment.
图9是根据本发明可选实施例的用户设备的结构框图,如图9所示,该用户设备包括:存储器92、触摸屏94、处理器96,其中,FIG. 9 is a structural block diagram of a user equipment according to an alternative embodiment of the present invention. As shown in FIG. 9, the user equipment includes: a memory 92, a touch screen 94, and a processor 96, where
存储器92,耦合至处理器96,设置为存储按压面积大小与数值之间的对应关系于对应关系表;The memory 92 is coupled to the processor 96, and configured to store a correspondence between the size of the pressing area and the value in the correspondence table;
触摸屏94,耦合至处理器96,设置为检测用户按压数字或位置信息,且同时检测用户按压时的面积大小;处理器96,设置为根据用户结束按压时触摸屏所侦测的按压面积查询对应关系表,以获得对应的数值,以及将所查询到的数值作为输入密码。The touch screen 94 is coupled to the processor 96, configured to detect that the user presses the digital or position information, and simultaneously detects the size of the area when the user presses; the processor 96 is configured to query the corresponding relationship according to the pressing area detected by the touch screen when the user finishes pressing the button. Table, to get the corresponding value, and the value of the query as the input password.
本发明可选实施例还提供了一种基于数字密码的解锁密码设置方法,图10是根据本发明可选实施例的解锁密码设置方法的流程图一,如图10所示,该流程包括以下步骤:An optional embodiment of the present invention further provides a method for setting an unlock password based on a digital password. FIG. 10 is a flowchart 1 of a method for setting an unlock password according to an alternative embodiment of the present invention. As shown in FIG. 10, the flow includes the following steps. step:
步骤S1002,进入设置模块密码输入模块;Step S1002, entering a setting module password input module;
步骤S1004,触摸屏检测用户按压的数字;Step S1004, the touch screen detects the number pressed by the user;
步骤S1006,触摸屏检测用户按压数字时对应的按压面积大小数值;Step S1006: The touch screen detects a magnitude of a pressing area corresponding to a user pressing a number;
步骤S1008,根据用户按压结束时所检测到的按压面积数值大小,在存储器中查找对应关系表,以获得对应的面积维度数值;例如:面积维度数值中0表示小面积按压事件,1表示大面积按压事件。Step S1008: Find a correspondence table in the memory according to the magnitude of the pressed area detected by the end of the user pressing to obtain a corresponding area dimension value; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates a large area. Press the event.
步骤S1010,将用户按压的数字与按压面积维度数值组合,存储为一个二维密码序列;其中,以四个数字密码序列为例,二维密码序列为[(第1个按压数字,按压第1个数字对应面积大小值),(第2个按压数字,按压第2个数字对应面积大小值),(第3个按压数字,按压第3个数字对应面积大小值),(第4个按压数字,按压第4个数字对应面积大小值)]。Step S1010, combining the number pressed by the user with the value of the pressing area dimension, and storing the result as a two-dimensional password sequence; wherein, taking the four-digit password sequence as an example, the two-dimensional password sequence is [(the first pressing number, pressing the first one) The number corresponds to the area size value), (the second press number, press the second number corresponding to the area size value), (the third press number, press the third number corresponding to the area size value), (the fourth press number , press the 4th number corresponding to the area size value)].
步骤S1012,判断密码输入是否完成,在判断到密码输入已完成的情况下,执行步骤S1014,否则,执行步骤S1004;Step S1012, it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1014 is performed, otherwise, step S1004 is performed;
步骤S1014,将输入密码序列存储到存储器。In step S1014, the input password sequence is stored in the memory.
其中,对应关系表可以包括多个按键面积大小值与多个数值,且处在一定范围内的按压面积值对应其中一个数值。比如,目前触摸屏(Touch Panel,简称为TP,即触摸显示屏)对应上报的按压面积大小数值为1至255,定义按压面积大小数值小于127(1至126)为小面积按压事件,对应数值为0;定义按压面积大小数值大于或者等于127(127~255)为大面积按压事件,对应数值为1。The correspondence table may include a plurality of button area size values and a plurality of values, and the pressing area value within a certain range corresponds to one of the values. For example, at present, the touch panel (referred to as TP, that is, the touch display screen) corresponds to the reported pressing area size value of 1 to 255, and the defined pressing area size value is less than 127 (1 to 126) as a small area pressing event, and the corresponding value is 0; Define the pressing area size value greater than or equal to 127 (127 ~ 255) for the large area pressing event, the corresponding value is 1.
本发明可选实施例还提供了一种基于数字密码的解锁方法,图11是根据本发明可选实施例的解锁方法的流程图一,如图11所示,该流程包括以下步骤:An optional embodiment of the present invention further provides a digital password-based unlocking method. FIG. 11 is a flowchart 1 of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 11, the flow includes the following steps:
步骤S1102,进入待解锁密码输入模块; Step S1102, entering a password input module to be unlocked;
步骤S1104,触摸屏检测用户按压的数字;Step S1104, the touch screen detects the number pressed by the user;
步骤S1106,触摸屏检测用户按压数字时对应的按压面积大小数值;Step S1106, the touch screen detects the magnitude of the pressing area corresponding to the user pressing the number;
步骤S1108,根据用户按压结束时所检测到的按压面积数值大小,在存储器中查找对应关系表,以获得对应的面积维度数值;例如:面积维度数值中0表示小面积按压事件,1表示大面积按压事件。Step S1108: Find a correspondence table in the memory according to the magnitude of the pressed area detected by the end of the user press to obtain a corresponding area dimension value; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates a large area. Press the event.
步骤S1110,将用户按压的数字与按压面积维度数值组合,存储为一个二维密码序列,其中,以四个数字密码序列为例,二维密码序列为[(第1个按压数字,按压第1个数字对应面积大小值),(第2个按压数字,按压第2个数字对应面积大小值),(第3个按压数字,按压第3个数字对应面积大小值),(第4个按压数字,按压第4个数字对应面积大小值)];Step S1110, combining the number pressed by the user with the value of the pressing area dimension, and storing it as a two-dimensional password sequence, wherein the four-digit password sequence is taken as an example, and the two-dimensional password sequence is [(the first pressing number, pressing the first one) The number corresponds to the area size value), (the second press number, press the second number corresponding to the area size value), (the third press number, press the third number corresponding to the area size value), (the fourth press number , press the 4th number corresponding to the area size value)];
步骤S1112,判断密码输入是否完成,在判断到密码输入已完成的情况下,执行步骤S1114,否则,执行步骤S1104;Step S1112, it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1114 is performed, otherwise, step S1104 is performed;
步骤S1114,将本次输入的二维密码序列与密码输入序列模块保存在存储器的设置密码进行比较,如果匹配,则解锁成功;否则解锁失败。In step S1114, the two-dimensional password sequence input this time is compared with the setting password stored in the memory by the password input sequence module. If the matching is successful, the unlocking succeeds; otherwise, the unlocking fails.
本发明可选实施例还提供了一种基于网格图案密码的解锁密码设置方法,图12是根据本发明可选实施例的解锁密码设置方法的流程图二,如图12所示,该流程包括以下步骤:An optional embodiment of the present invention further provides a method for setting an unlock password based on a grid pattern password. FIG. 12 is a second flowchart of a method for setting an unlock password according to an alternative embodiment of the present invention. As shown in FIG. 12, the flow is shown in FIG. Includes the following steps:
步骤S1202,进入设置模块的网格图案密码输入模块;Step S1202, entering a grid pattern password input module of the setting module;
步骤S1204,将网格图案显示在电子设备的显示界面上,比如,将网格图案划分为9个网格。例如:9个网格对应的坐标分别可以为:In step S1204, the grid pattern is displayed on the display interface of the electronic device, for example, the grid pattern is divided into 9 grids. For example, the coordinates corresponding to the nine grids can be:
[(1,1)、(1,2)、(1,3)][(1,1), (1,2), (1,3)]
[(2,1)、(2,2)、(2,3)][(2,1), (2,2), (2,3)]
[(3,1)、(3,2)、(3,3)][(3,1), (3,2), (3,3)]
步骤S1206,输入密码时,触摸屏检测用户按压网格图案的图形对应的坐标。例如:用户按压“L”形图案,对应的坐标序列分别为{(1,1)、(2,1)、(3,1)、(3,2)、(3,3)};Step S1206: When the password is input, the touch screen detects coordinates corresponding to the graphic of the user pressing the grid pattern. For example, the user presses the "L"-shaped pattern, and the corresponding coordinate sequences are {(1,1), (2,1), (3,1), (3,2), (3,3)};
步骤S1208,检测用户按压网格图案位置所对应的按压面积大小值;Step S1208, detecting a pressing area size value corresponding to the position where the user presses the grid pattern;
步骤S1210,根据用户按压网格图案对应坐标过程中所检测的面积大小值,查找对应的关系表,得到每个坐标按压面积维度数值;例如:面积维度数值中0表示小面积按压事件,1表示大面积按压事件。Step S1210: Find a corresponding relationship table according to the area size value detected by the user in pressing the corresponding coordinates of the grid pattern, and obtain a dimension value of each coordinate pressing area; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates Large-scale compression events.
步骤S1212,将用户按压的网格图案形状坐标,和按压对应坐标面积大小维度数值,组合成一个三维密码序列;例如:用户按压“L”形图案,在“L”的左下角、右下角为大面积按压的话,那么对应的输入密码序列为{(1,1,0)、(2,1,0)、(3,1,1)、(3,2,0)、(3,3,1)}。 Step S1212, combining the grid pattern shape coordinates pressed by the user and pressing the corresponding coordinate area size dimension values into a three-dimensional password sequence; for example, the user presses the "L"-shaped pattern, and the lower left corner and the lower right corner of the "L" are If a large area is pressed, the corresponding input password sequence is {(1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3, 1)}.
步骤S1214,判断密码输入是否完成,在判断到密码输入已完成的情况下,执行步骤S1216,否则,执行步骤S1206;Step S1214, it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1216 is performed, otherwise, step S1206 is performed;
步骤S1216,设置模块将输入密码序列存储到存储器。In step S1216, the setting module stores the input password sequence into the memory.
本发明可选实施例还提供了一种基于网格图案密码的解锁方法,图13是根据本发明可选实施例的解锁方法的流程图二,如图13所示,该流程包括以下步骤:An optional embodiment of the present invention further provides a method for unlocking a password based on a grid pattern. FIG. 13 is a second flowchart of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 13, the flow includes the following steps:
步骤S1302,进入待解锁的网格图案输入模块;Step S1302, entering a grid pattern input module to be unlocked;
步骤S1304,将网格图案显示在电子设备的显示界面上;例如,将网格图案划分为9个网格,其中,9个网格对应的坐标分别可以为:Step S1304: Display the grid pattern on the display interface of the electronic device; for example, divide the grid pattern into 9 grids, wherein the coordinates corresponding to the 9 grids may be:
[(1,1)、(1,2)、(1,3)][(1,1), (1,2), (1,3)]
[(2,1)、(2,2)、(2,3)][(2,1), (2,2), (2,3)]
[(3,1)、(3,2)、(3,3)][(3,1), (3,2), (3,3)]
步骤S1306,输入密码时,触摸屏检测用户按压网格图案的图形对应的坐标;例如:用户按压“L”形图案,对应的坐标序列分别为{(1,1)、(2,1)、(3,1)、(3,2)、(3,3)}。Step S1306, when the password is input, the touch screen detects coordinates corresponding to the graphic of the user pressing the grid pattern; for example, the user presses the "L"-shaped pattern, and the corresponding coordinate sequence is {(1, 1), (2, 1), ( 3,1), (3,2), (3,3)}.
步骤S1308,检测用户按压网格图案位置所对应的按压面积大小值;Step S1308, detecting a size of a pressing area corresponding to a position at which the user presses the grid pattern;
步骤S1310,根据用户按压网格图案对应坐标过程中所检测的面积大小值,查找对应的关系表,得到每个坐标按压面积维度数值;例如:面积维度数值中0表示小面积按压事件,1表示大面积按压事件。Step S1310: Find a corresponding relationship table according to the area size value detected by the user in pressing the corresponding coordinates of the grid pattern, and obtain a dimension value of each coordinate pressing area; for example, 0 in the area dimension value indicates a small area pressing event, and 1 indicates Large-scale compression events.
步骤S1312,将用户按压的网格图案形状坐标,和按压对应坐标面积大小维度数值,组合成一个三维密码序列;例如:用户按压“L”形图案,在“L”的左下角、右下角为大面积按压的话,那么对应的输入密码序列为{(1,1,0)、(2,1,0)、(3,1,1)、(3,2,0)、(3,3,1)}。Step S1312, combining the grid pattern shape coordinates pressed by the user and pressing the corresponding coordinate area size dimension values into a three-dimensional password sequence; for example, the user presses the "L"-shaped pattern, and the lower left corner and the lower right corner of the "L" are If a large area is pressed, the corresponding input password sequence is {(1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3, 1)}.
步骤S1314,判断密码输入是否完成,在判断到密码输入已完成的情况下,执行步骤S1316,否则,执行步骤S1306;Step S1314, it is determined whether the password input is completed, in the case that it is determined that the password input has been completed, step S1316 is performed, otherwise, step S1306 is performed;
步骤S1316,将本次输入的三维密码序列与密码输入序列模块保存在存储器的设置密码进行比较,如果匹配,则解锁成功;否则解锁失败。In step S1316, the three-dimensional password sequence input this time is compared with the setting password stored in the memory by the password input sequence module. If the matching is successful, the unlocking succeeds; otherwise, the unlocking fails.
图14是根据本发明可选实施例的解锁方法的示意图一,如图14所示,设置的密码序列为[1,2,3,4],输入和识别的密码序列为[(1,按压面积大小值),(2,按压面积大小值),(3,按压面积大小值),(4,按压面积大小值)],对应关系表设置为:按压面积小于127对应数值为0,按压面积大于或者等于127对应数值为1,将按压面积大小值通过转换对应关系表进行转换,密码序列为[(1,0),(2,0),(3,1),(4,0)]。FIG. 14 is a first schematic diagram of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 14, the set password sequence is [1, 2, 3, 4], and the input and recognized password sequence is [(1, press). Area size value), (2, pressing area size value), (3, pressing area size value), (4, pressing area size value), the correspondence table is set to: pressing area less than 127 corresponding value is 0, pressing area If the value corresponding to 127 is greater than or equal to 127, the value of the pressed area is converted by the conversion correspondence table, and the password sequence is [(1,0), (2,0), (3,1), (4,0)] .
图15是根据本发明可选实施例的解锁方法的示意图二,如图15所示,解锁图案为“L”, 包括了五个网格图案位置,输入和识别的密码序列为“L”,其中,“L”的左下和右下网格位置为大面积按压事件。显示模块将网格线显示在用户设备的显示界面上,网格线将电子设备的显示界面或特定的按压区域划分为9个网格,每一个网格可对应一个位置坐标,用户可以在特定的网格里通过进行按压来输入体现位置与按压面积大小的三维密码。例如:每一个网格可以对应一组纵横坐标值,用于表示网格所代表的位置,比如,处于第一行第一列的网格的位置可用坐标(1,1)代表,第二行第一列的网格的位置可用坐标(2,1)代表,第m行第n列的网格的位置可用坐标(m,n)代表,以此类推。需要说明的是,本发明可选实施例以上述的设置形式作为示例,在其他实施方式中,网格的位置转化为坐标的方式也可以采用其他的规定。15 is a second schematic diagram of an unlocking method according to an alternative embodiment of the present invention. As shown in FIG. 15, the unlocking pattern is “L”. Five grid pattern positions are included, and the input and recognized code sequence is "L", wherein the lower left and lower right grid positions of "L" are large-area pressing events. The display module displays the grid lines on the display interface of the user equipment, and the grid lines divide the display interface of the electronic device or the specific pressing area into 9 grids, and each grid can correspond to a position coordinate, and the user can be specific In the grid, a three-dimensional password reflecting the size of the position and the pressing area is input by pressing. For example, each grid can correspond to a set of vertical and horizontal coordinate values, which are used to represent the position represented by the grid. For example, the position of the grid in the first row of the first row can be represented by coordinates (1, 1), and the second row. The position of the grid of the first column can be represented by coordinates (2, 1), the position of the grid of the mth row and the nth column can be represented by coordinates (m, n), and so on. It should be noted that the optional embodiment of the present invention is exemplified by the above-mentioned arrangement form. In other embodiments, other manners may be adopted for the manner in which the position of the mesh is converted into coordinates.
触摸屏检测用户按压时所在的网格,位置获取模块将检测到的网格转化为横坐标值与纵坐标值,密码输入模块将横坐标值、纵坐标值及所侦测到的按压面积对应的数值组合为三维密码以作为输入密码。例如:若触摸屏侦测到用户在第三行第一列的网格中按压和第三行第三列的网格中,所用的按压面积大小侦测到为大面积按压事件,则密码输入模块组合的三维密码为(1,1,0)、(2,1,0)、(3,1,1)、(3,2,0)、(3,3,1)。The touch screen detects the grid in which the user presses, and the position acquisition module converts the detected mesh into an abscissa value and an ordinate value, and the password input module corresponds the abscissa value, the ordinate value, and the detected pressing area. The values are combined into a three-dimensional password as an input password. For example, if the touch screen detects that the user presses in the grid of the first row of the third row and the grid of the third row and the third column, the size of the pressing area used is detected as a large-area pressing event, then the password input module The combined three-dimensional passwords are (1,1,0), (2,1,0), (3,1,1), (3,2,0), (3,3,1).
综上所述,本发明实施例和可选实施例提供的输入密码方法和解锁方法,可以应用于提供触摸屏输入的设备中,包括:预存储按压面积大小数值与数值之间的对应关系于对应关系表;触摸屏检测到用户按压,并检测用户按压的面积大小;根据用户结束按压时所检测的按压面积大小数值查询对应关系表以获得对应的数值;将所查询到的数值作为输入密码,加强了密码的保护。In summary, the input password method and the unlocking method provided by the embodiment and the optional embodiment of the present invention may be applied to a device for providing touch screen input, including: pre-storing a correspondence between a value of a pressing area size and a value to correspond to Relationship table; the touch screen detects the user's pressing, and detects the size of the area pressed by the user; queries the correspondence table according to the size of the pressed area detected when the user ends pressing to obtain the corresponding value; and uses the queried value as the input password to strengthen The protection of the password.
工业实用性:通过上述描述可知,本发明可以同时检测用户设备上键位的按压操作和按压操作携带的信息,例如:按压操作覆盖的按压面积信息,并记录键位和按压面积的对应关系。在需要输入密码的场景下,将记录的对应关系作为密码,即使用户在输入密码时的按键被偷窥到,也不会泄露按压面积信息。可见,采用上述步骤,解决了相关技术密码输入方式安全性低的问题,提高了密码输入方式的安全性。Industrial Applicability: As can be seen from the above description, the present invention can simultaneously detect the pressing operation of the key on the user equipment and the information carried by the pressing operation, for example, the pressing area information covered by the pressing operation, and record the correspondence between the key position and the pressing area. In the scenario where a password is required, the corresponding relationship of the record is used as a password, and even if the user presses the button when the password is entered, the pressed area information is not leaked. It can be seen that the above steps solve the problem that the security input mode of the related technology is low in security, and the security of the password input mode is improved.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (18)

  1. 一种输入方法,包括:An input method that includes:
    检测用户设备的键位的按压操作以及所述按压操作对应的按压信息,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积;a pressing operation of the key position of the user equipment and a pressing information corresponding to the pressing operation, wherein the key position comprises: one or more key positions, and the pressing information comprises: a pressing area for performing the pressing operation;
    记录所述键位与所述按压信息的对应关系。Recording a correspondence between the key position and the pressing information.
  2. 根据权利要求1所述的方法,其中,在所述用户设备包括触控显示屏的情况下,检测用户设备的键位的按压操作,以及所述按压操作对应的按压信息包括:The method according to claim 1, wherein in the case that the user equipment comprises a touch display screen, the pressing operation of detecting the key position of the user equipment, and the pressing information corresponding to the pressing operation comprises:
    检测在所述用户设备的触控显示屏上显示的所述键位的按压操作,以及所述按压操作对应的按压信息。And detecting a pressing operation of the key position displayed on the touch display screen of the user equipment, and pressing information corresponding to the pressing operation.
  3. 根据权利要求1所述的方法,其中,在记录所述键位与所述按压信息的所述对应关系之后,所述方法还包括:The method of claim 1, wherein after the recording of the correspondence between the key position and the press information, the method further comprises:
    判断所述对应关系与第一预设对应关系是否一致,其中,所述第一预设对应关系包括:预设键位和预设按压信息的对应关系,所述预设键位包括:一个或者多个键位;Determining whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence includes: a correspondence between a preset key position and preset preset information, where the preset key position includes: one or Multiple key positions;
    在判断到所述对应关系与所述第一预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。When it is determined that the correspondence relationship is consistent with the first preset correspondence, it is confirmed that the authentication of the corresponding relationship is successful.
  4. 根据权利要求3所述的方法,其中,在所述预设按压信息为预设按压信息阈值的情况下,判断所述对应关系与所述第一预设对应关系是否一致包括:The method according to claim 3, wherein, if the preset pressing information is a preset pressing information threshold, determining whether the correspondence relationship is consistent with the first preset correspondence includes:
    判断所述对应关系中的所述键位与所述预设键位是否一致,以及所述按压信息是否落入所述预设按压信息阈值内;Determining whether the key position in the correspondence relationship is consistent with the preset key position, and whether the pressing information falls within the preset pressing information threshold;
    其中,在判断到所述对应关系中的所述键位与所述预设键位一致,以及所述按压信息落入所述预设按压信息阈值内的情况下,确定所述对应关系与所述第一预设对应关系一致。When it is determined that the key position in the correspondence relationship is consistent with the preset key position, and the pressing information falls within the preset pressing information threshold, determining the corresponding relationship and the location The first preset correspondence is consistent.
  5. 根据权利要求1所述的方法,其中,记录所述键位与所述按压信息的所述对应关系包括:The method of claim 1, wherein recording the correspondence between the key position and the press information comprises:
    以所述按压信息为关键字,在预设关系表中查询与所述按压信息对应的等效字符,其中,所述预设关系表用于存储所述按压信息与所述等效字符的对应关系;Querying, by using the pressing information as a key, an equivalent character corresponding to the pressing information in a preset relationship table, where the preset relationship table is configured to store a correspondence between the pressing information and the equivalent character relationship;
    将所述键位与所述等效字符的对应关系记录为所述对应关系。Recording the correspondence between the key position and the equivalent character as the correspondence relationship.
  6. 根据权利要求5所述的方法,其中,在将所述键位与所述等效字符的对应关系记录为所述对应关系之后,所述方法还包括:The method according to claim 5, wherein after the correspondence between the key position and the equivalent character is recorded as the correspondence, the method further comprises:
    判断所述对应关系与第二预设对应关系是否一致,其中,所述第二预设对应关系包括:预设键位和预设等效字符的对应关系,所述预设键位包括:一个或者多个键位;Determining whether the corresponding relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a correspondence between a preset key and a preset equivalent, the preset key includes: Or multiple key positions;
    在判断到所述对应关系与所述第二预设对应关系一致的情况下,确认对所述对应关 系的鉴权成功。When it is determined that the correspondence relationship is consistent with the second preset correspondence, confirming that the corresponding relationship is The authentication of the department was successful.
  7. 根据权利要求1所述的方法,其中,在检测所述用户设备的所述键位的所述按压操作和所述按压操作对应的所述按压信息之前,所述方法还包括:The method according to claim 1, wherein before the detecting the pressing operation of the key position of the user equipment and the pressing information corresponding to the pressing operation, the method further comprises:
    在所述用户设备的触控显示屏上显示包括所述键位的键位分布图形。A key distribution pattern including the key position is displayed on a touch display screen of the user device.
  8. 根据权利要求7所述的方法,其中,所述键位分布图形包括以下至少之一:The method of claim 7, wherein the key distribution pattern comprises at least one of the following:
    字符键盘图形、九宫格键位图形。Character keyboard graphics, nine-square grid key graphics.
  9. 根据权利要求1所述的方法,其中,所述按压信息还包括以下至少之一:执行所述按压操作的按压压力值,执行所述按压操作的按压时长。The method according to claim 1, wherein the pressing information further comprises at least one of: performing a pressing pressure value of the pressing operation, and performing a pressing duration of the pressing operation.
  10. 根据权利要求1至9中任一项所述的方法,其中,检测所述用户设备的所述键位的所述按压操作,以及所述按压操作对应的所述按压信息还包括:The method according to any one of claims 1 to 9, wherein the pressing operation of detecting the key position of the user equipment, and the pressing information corresponding to the pressing operation further comprises:
    在检测到所述按压信息的情况下,实时显示所述按压信息。In the case where the pressing information is detected, the pressing information is displayed in real time.
  11. 一种输入装置,包括:An input device comprising:
    检测模块,设置为检测用户设备的键位的按压操作以及所述按压操作对应的按压信息,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积;The detecting module is configured to detect a pressing operation of a key position of the user equipment and a pressing information corresponding to the pressing operation, wherein the key position comprises: one or more key positions, and the pressing information comprises: performing the pressing operation Pressed area;
    记录模块,设置为记录所述键位与所述按压信息的对应关系。And a recording module configured to record a correspondence between the key position and the pressing information.
  12. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    第一判断模块,设置为判断所述对应关系与第一预设对应关系是否一致,其中,所述第一预设对应关系包括:预设键位和预设按压信息的对应关系,所述预设键位包括:一个或者多个键位;The first judging module is configured to determine whether the correspondence relationship is consistent with the first preset correspondence, where the first preset correspondence relationship includes: a correspondence between a preset key position and preset preset information, the pre-predetermined relationship The key bits include: one or more key positions;
    第一确认模块,设置为在判断到所述对应关系与所述第一预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。The first confirmation module is configured to confirm that the authentication of the corresponding relationship is successful if it is determined that the correspondence relationship is consistent with the first preset correspondence.
  13. 根据权利要求11所述的装置,其中,所述记录模块包括:The apparatus of claim 11 wherein said recording module comprises:
    查询单元,设置为以所述按压信息为关键字,在预设关系表中查询与所述按压信息对应的等效字符,其中,所述预设关系表用于存储所述按压信息与所述等效字符的对应关系;The query unit is configured to query, in the preset relationship table, an equivalent character corresponding to the press information by using the press information as a key, where the preset relationship table is configured to store the press information and the Correspondence of equivalent characters;
    记录单元,设置为将所述键位与所述等效字符的对应关系记录为所述对应关系。a recording unit configured to record a correspondence relationship between the key position and the equivalent character as the correspondence relationship.
  14. 根据权利要求13所述的装置,其中,所述装置还包括:The device of claim 13 wherein said device further comprises:
    第二判断模块,设置为判断所述对应关系与第二预设对应关系是否一致,其中,所述第二预设对应关系包括:预设键位和预设等效字符的对应关系,所述预设键位包括: 一个或者多个键位;The second judging module is configured to determine whether the correspondence relationship is consistent with the second preset correspondence, where the second preset correspondence includes: a correspondence between a preset key position and a preset equivalent character, The preset keys include: One or more key positions;
    第二确认模块,设置为在判断到所述对应关系与所述第二预设对应关系一致的情况下,确认对所述对应关系的鉴权成功。The second confirmation module is configured to confirm that the authentication of the corresponding relationship is successful if it is determined that the correspondence relationship is consistent with the second preset correspondence.
  15. 根据权利要求11所述的装置,其中,所述装置还包括:The apparatus of claim 11 wherein said apparatus further comprises:
    显示模块,设置为在所述用户设备的触控显示屏上显示包括所述键位的键位分布图形。And a display module configured to display a key distribution pattern including the key position on the touch display screen of the user equipment.
  16. 一种用户设备,包括:键位输入器和处理器,其中,A user equipment includes: a key input device and a processor, wherein
    所述键位输入器,耦合至所述处理器,设置为接收对用户设备的键位的按压操作,并根据所述按压操作生成电信号;The key input device is coupled to the processor, configured to receive a pressing operation on a key position of the user equipment, and generate an electrical signal according to the pressing operation;
    所述处理器,设置为根据接收到的所述电信号,检测对所述用户设备的所述键位的按压操作以及所述按压操作对应的按压信息,并记录所述键位与所述按压信息的对应关系,其中,所述键位包括:一个或者多个键位,所述按压信息包括:执行所述按压操作的按压面积。The processor is configured to detect a pressing operation of the key position of the user equipment and a pressing information corresponding to the pressing operation according to the received electrical signal, and record the key position and the pressing Corresponding relationship of information, wherein the key position comprises: one or more key positions, and the pressing information comprises: a pressing area for performing the pressing operation.
  17. 根据权利要求16所述的用户设备,其中,所述键位输入器包括以下至少之一:具有物理按键的键盘、触摸显示屏。The user device of claim 16, wherein the key input device comprises at least one of: a keyboard having physical keys, a touch display screen.
  18. 根据权利要求16所述的用户设备,其中,所述用户设备还包括:非易失性存储器,其中,The user equipment according to claim 16, wherein the user equipment further comprises: a non-volatile memory, wherein
    所述非易失性存储器,耦合至所述处理器,设置为存储第一预设对应关系和/或第二预设对应关系,其中,所述第一预设对应关系包括预设键位和预设按压信息的对应关系,所述第二预设对应关系包括预设键位和预设等效字符的对应关系,所述预设键位包括:一个或者多个键位。 The non-volatile memory is coupled to the processor, and configured to store a first preset correspondence and/or a second preset correspondence, where the first preset correspondence includes a preset key and Corresponding relationship of the preset pressing information, the second preset correspondence relationship includes a correspondence between the preset key position and the preset equivalent character, and the preset key position includes: one or more key positions.
PCT/CN2016/070181 2015-11-24 2016-01-05 Input method and apparatus, and user equipment WO2016184134A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510827001.8A CN106778376A (en) 2015-11-24 2015-11-24 Input method, device and user equipment
CN201510827001.8 2015-11-24

Publications (1)

Publication Number Publication Date
WO2016184134A1 true WO2016184134A1 (en) 2016-11-24

Family

ID=57319315

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/070181 WO2016184134A1 (en) 2015-11-24 2016-01-05 Input method and apparatus, and user equipment

Country Status (2)

Country Link
CN (1) CN106778376A (en)
WO (1) WO2016184134A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132380A (en) * 2021-04-18 2021-07-16 重庆化工职业学院 Security evaluation system, method, device and medium for cryptographic algorithm

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583188A (en) * 2018-11-30 2019-04-05 芯海科技(深圳)股份有限公司 A kind of cipher-code input method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566818A (en) * 2011-12-17 2012-07-11 鸿富锦精密工业(深圳)有限公司 Electronic device with touch screen and screen unlocking method
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
US8797286B2 (en) * 2011-07-29 2014-08-05 Motorola Mobility Llc User interface and method for managing a user interface state between a locked state and an unlocked state
CN104063638A (en) * 2014-02-12 2014-09-24 苏州天鸣信息科技有限公司 Unlocking method based on touch screen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100447718C (en) * 2005-12-23 2008-12-31 联想(北京)有限公司 Keyboard and its input method
CN103530053B (en) * 2013-10-14 2017-01-18 惠州Tcl移动通信有限公司 Mobile terminal, unlocking method for screen of mobile terminal and locking method for screen of mobile terminal
CN105069360B (en) * 2015-08-27 2019-04-09 Oppo广东移动通信有限公司 A kind of file encryption, decryption method and terminal
CN105069335A (en) * 2015-08-27 2015-11-18 广东欧珀移动通信有限公司 Password setting method, verification method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8797286B2 (en) * 2011-07-29 2014-08-05 Motorola Mobility Llc User interface and method for managing a user interface state between a locked state and an unlocked state
CN102566818A (en) * 2011-12-17 2012-07-11 鸿富锦精密工业(深圳)有限公司 Electronic device with touch screen and screen unlocking method
CN103139390A (en) * 2013-02-27 2013-06-05 Tcl通讯(宁波)有限公司 Method, system of unlocking screen of mobile phone and mobile phone
CN104063638A (en) * 2014-02-12 2014-09-24 苏州天鸣信息科技有限公司 Unlocking method based on touch screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132380A (en) * 2021-04-18 2021-07-16 重庆化工职业学院 Security evaluation system, method, device and medium for cryptographic algorithm

Also Published As

Publication number Publication date
CN106778376A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US10176315B2 (en) Graphical authentication
CN108154055B (en) Password input method, mobile terminal and storage medium
RU2665222C2 (en) Authenticity confirmation device and authenticity confirmation method
US8810365B2 (en) Random location authentication
US20130159927A1 (en) Electronic device with touch screen and screen unlocking method thereof
CN103677644A (en) Unlocking method and system for smart mobile terminal
CN104598783A (en) Unlocking method and device of intelligent terminal
CN105956857A (en) System and method for generating security virtual password keyboard
CN104134032A (en) Anti-peeping coded lock system based on visional confusion and anti-peeing unlocking method based on visional confusion
US9032508B2 (en) Pattern password trajectory configuration system and method using the same
CN104021327A (en) Method and device for unlocking intelligent device
KR20210077770A (en) Multi-factor based password authentication
US10234943B2 (en) Access control method by haptic feedback
WO2016184046A1 (en) Input method and apparatus, and user equipment
CN106407761B (en) Unlocking method and unlocking device
WO2016184134A1 (en) Input method and apparatus, and user equipment
US9397992B1 (en) Authentication using color-shape pairings
JP5471706B2 (en) Password input system, input method, and input program
KR101122197B1 (en) Method of displaying virtual keypad for preventing the leaking of information
CN108345390A (en) A kind of auxiliary input method, device and apply its electronic equipment
KR102222411B1 (en) Method and Device for Password and Unlocking Input using the Combination of Password Number and Pattern Image
CN109033796B (en) Unlocking method based on key level amplitude, storage medium and mobile terminal
WO2016062093A1 (en) Touchscreen unlocking method and device
WO2016123941A1 (en) Method and device for unlocking process and displaying screen locking interface
JP5115749B2 (en) Key input device and key input method

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: 16795621

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: 16795621

Country of ref document: EP

Kind code of ref document: A1