CN112000273A - Input method, device, equipment and computer readable storage medium - Google Patents

Input method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112000273A
CN112000273A CN202010883602.1A CN202010883602A CN112000273A CN 112000273 A CN112000273 A CN 112000273A CN 202010883602 A CN202010883602 A CN 202010883602A CN 112000273 A CN112000273 A CN 112000273A
Authority
CN
China
Prior art keywords
input
pressing
time
real
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010883602.1A
Other languages
Chinese (zh)
Inventor
席阳
华挺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202010883602.1A priority Critical patent/CN112000273A/en
Publication of CN112000273A publication Critical patent/CN112000273A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of financial science and technology, and discloses an input method, an input device, input equipment and a computer-readable storage medium. The input method comprises the following steps: in the safe input mode, acquiring a real-time pressing signal generated by a user based on input equipment; determining pressing operation information of a user according to the real-time pressing signal; and determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters. The invention can solve the problem of poor safety of the existing input mode.

Description

Input method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of financial technology (Fintech), and in particular, to an input method, apparatus, device, and computer-readable storage medium.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but higher requirements are also put forward on the technologies due to the requirements of the financial industry on safety and real-time performance.
When a user with visual disorder uses a mobile phone to input, the user cannot accurately identify information on a screen of the mobile phone due to the limitation of the visual disorder, and generally faces a situation of difficult input. Therefore, some assistance is required to complete the input. At present, input is generally performed in a voice form, however, privacy information of the input is often revealed in the voice input process. In addition, when a normal user inputs private information in a public place, the user generally clicks a display keyboard in a mobile phone screen to input the private information, and the risk of leakage also exists. Therefore, the conventional input method has the problem of poor safety.
Disclosure of Invention
The invention mainly aims to provide an input method, an input device, input equipment and a computer readable storage medium, and aims to solve the problem that the existing input mode is poor in safety.
In order to achieve the above object, the present invention provides an input method, including:
in the safe input mode, acquiring a real-time pressing signal generated by a user based on input equipment;
determining pressing operation information of a user according to the real-time pressing signal;
and determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
Optionally, in the secure input mode, the step of acquiring a real-time pressing signal generated by a user based on an input device includes:
in a safe input mode, acquiring a current input information type and acquiring a character number corresponding to the current input information type;
dividing the touch screen of the input device according to the number of the characters to obtain a plurality of input areas;
acquiring a real-time pressing signal generated by a user based on any one of the plurality of input areas.
Optionally, the real-time pressing signal includes a pressing force degree and/or a pressing duration corresponding to each pressing, and the step of determining the pressing operation information of the user according to the real-time pressing signal includes:
comparing the pressing strength and/or the pressing duration with a preset pressing strength and/or a preset pressing duration, and determining a pressing type corresponding to each pressing according to a comparison result;
and counting the pressing according to the pressing type to obtain the pressing operation information of the user, wherein the pressing operation information comprises the pressing type and the pressing times corresponding to the pressing type.
Optionally, after the step of acquiring the real-time pressing signal generated by the user based on the input device, the method further includes:
acquiring trigger time corresponding to the real-time pressing signal;
after the step of determining the real-time input character according to the pressing operation information and the mapping relation between the preset pressing operation and the input character, the method further comprises the following steps:
and when the information input is detected to be finished, sequencing the real-time input characters corresponding to the real-time pressing signals according to the trigger time to obtain target input information for inputting.
Optionally, after the step of determining the real-time input character according to the pressing operation information and the mapping relationship between the preset pressing operation and the input character, the method further includes:
when a real-time input character is obtained, determining a target vibration mode corresponding to the real-time input character according to a mapping relation between preset input characters and vibration modes;
and controlling a vibration sensor of the input equipment to vibrate according to the target vibration mode, so that a user can verify whether the real-time input characters are correct or not according to the vibration condition.
Optionally, the input method further comprises:
acquiring a current application or a current input interface;
detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not;
and if the current application is detected to be a preset application or the current input interface is detected to be a preset input interface, starting the safe input mode.
Optionally, the input method further comprises:
receiving an operation instruction triggered by a user, and executing corresponding operation according to the operation instruction;
the operation instruction comprises a confirmation instruction, a deletion instruction, a modification instruction and a cancellation instruction.
Further, to achieve the above object, the present invention also provides an input device comprising:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a real-time pressing signal generated by a user based on input equipment in a safe input mode;
the first determining module is used for determining the pressing operation information of the user according to the real-time pressing signal;
and the second determining module is used for determining the real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
Further, to achieve the above object, the present invention also provides an input device comprising: a memory, a processor and an input program stored on the memory and executable on the processor, the input program, when executed by the processor, implementing the steps of the input method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an input program which, when executed by a processor, implements the steps of the input method as described above.
The invention provides an input method, an input device, input equipment and a computer readable storage medium, wherein in a safe input mode, a real-time pressing signal generated by a user based on the input equipment is acquired; then, determining the pressing operation information of the user according to the real-time pressing signal; and then, determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters. In the invention, the vision-impaired user or the normal user can input characters by pressing the input equipment, and the input equipment can determine corresponding real-time input characters based on real-time pressing signals generated by pressing so as to realize the input of the characters. For the vision-impaired user, the vision-impaired user is more sensitive in the aspect of touch sense, and the privacy and the safety of information input can be improved by inputting in the touch pressing mode compared with a voice input mode. In addition, for a normal user, the input is carried out in the touch pressing mode, input characters do not need to be displayed, the privacy and the safety of information input can be improved, and the user can safely input passwords and carry out fund operations such as account transfer and the like in a public place conveniently.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of an input method according to the present invention;
FIG. 3 is a schematic diagram illustrating an input area division according to the input method of the present invention;
fig. 4 is a functional block diagram of the input device according to the first embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The input device of the embodiment of the invention can be a smart phone, and can also be terminal equipment such as a tablet personal computer and a portable computer.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wi-Fi interface, Wireless-Fidelity, Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, and the like. Such as light sensors, motion sensors, pressure sensors, and vibration sensors, among others. Specifically, the light sensor may include an ambient light sensor that adjusts brightness of the display screen according to brightness of ambient light, and a proximity sensor that turns off the display screen and/or backlight when the terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications of recognizing the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like. The pressure sensor is used for acquiring a pressing signal, including the pressing degree, the pressing duration and the like. The vibration sensor is used for carrying out vibration reminding. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the input device configuration shown in FIG. 1 does not constitute a limitation of the input device, and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include an operating system, a network communication module, and an input program therein.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; and the processor 1001 may be configured to call an input program stored in the memory 1005 and perform the following operations:
in the safe input mode, acquiring a real-time pressing signal generated by a user based on input equipment;
determining pressing operation information of a user according to the real-time pressing signal;
and determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
Further, the processor 1001 may call an input program stored in the memory 1005, and also perform the following operations:
in a safe input mode, acquiring a current input information type and acquiring a character number corresponding to the current input information type;
dividing the touch screen of the input device according to the number of the characters to obtain a plurality of input areas;
acquiring a real-time pressing signal generated by a user based on any one of the plurality of input areas.
Further, the real-time pressing signal includes a pressing force degree and/or a pressing time length corresponding to each pressing, and the processor 1001 may call the input program stored in the memory 1005, and further perform the following operations:
comparing the pressing strength and/or the pressing duration with a preset pressing strength and/or a preset pressing duration, and determining a pressing type corresponding to each pressing according to a comparison result;
and counting the pressing according to the pressing type to obtain the pressing operation information of the user, wherein the pressing operation information comprises the pressing type and the pressing times corresponding to the pressing type.
Further, the processor 1001 may call an input program stored in the memory 1005, and also perform the following operations:
acquiring trigger time corresponding to the real-time pressing signal;
after the step of determining the real-time input character according to the pressing operation information and the mapping relation between the preset pressing operation and the input character, the method further comprises the following steps:
and when the information input is detected to be finished, sequencing the real-time input characters corresponding to the real-time pressing signals according to the trigger time to obtain target input information for inputting.
Further, the processor 1001 may call an input program stored in the memory 1005, and also perform the following operations:
when a real-time input character is obtained, determining a target vibration mode corresponding to the real-time input character according to a mapping relation between preset input characters and vibration modes;
and controlling a vibration sensor of the input equipment to vibrate according to the target vibration mode, so that a user can verify whether the real-time input characters are correct or not according to the vibration condition.
Further, the processor 1001 may call an input program stored in the memory 1005, and also perform the following operations:
acquiring a current application or a current input interface;
detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not;
and if the current application is detected to be a preset application or the current input interface is detected to be a preset input interface, starting the safe input mode.
Further, the processor 1001 may call an input program stored in the memory 1005, and also perform the following operations:
receiving an operation instruction triggered by a user, and executing corresponding operation according to the operation instruction;
the operation instruction comprises a confirmation instruction, a deletion instruction, a modification instruction and a cancellation instruction.
Based on the above hardware structure, embodiments of the input method of the present invention are provided.
The invention provides an input method.
Referring to fig. 2, fig. 2 is a flowchart illustrating an input method according to a first embodiment of the present invention.
In the present embodiment, an embodiment of an input method is provided, it should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that here.
In this embodiment, the input method includes:
step S10, acquiring a real-time pressing signal generated by a user based on an input device in a safe input mode;
the input method of the embodiment is implemented by an input device, wherein the input device may be a terminal device such as a smart phone and a tablet computer. For convenience of explanation, the input device is described by taking a smartphone as an example.
In the present embodiment, in the secure input mode, a real-time pressing signal generated by the user based on the input device is acquired. The safety input mode can be started based on a safety input mode starting instruction triggered by a user, and can also be automatically started based on the fact that the current application is a preset application or the current input interface is a preset input interface. The real-time pressing signal is a pressing signal corresponding to a single character input in real time.
As one embodiment, step S10 may include:
a11, under the safe input mode, obtaining the current input information type and obtaining the character number corresponding to the current input information type;
a12, dividing the touch screen of the input device according to the number of the characters to obtain a plurality of input areas;
step a13, acquiring a real-time pressing signal generated by a user based on any one of the plurality of input areas.
As one of the acquisition modes of the real-time compression signal, the acquisition process may be:
and under the safe input mode, acquiring the current input information type and acquiring the number of characters corresponding to the current input information type. The current input information type may include, but is not limited to, a mobile phone number input, an identification number input, a password input, and the like, and correspondingly, different input information types correspond to different numbers of characters, for example, the number of characters corresponding to the mobile phone number input is 11 digits, the number of characters corresponding to the identification number input is 18 digits, and the number of characters corresponding to the password input is 6 digits.
Then, the touch screen of the input device is divided according to the number of the characters to obtain a plurality of input areas. When the touch screen is divided into the regions, the determination can be performed according to the mapping relationship between the preset number of characters and the divided regions, wherein the mapping relationship between the preset number of characters and the divided regions can be set to the number of the divided regions and the dividing modes thereof corresponding to different numbers of characters, and can also be set to the number of the divided regions and the dividing modes thereof corresponding to different ranges of the numbers of characters. Of course, in specific implementation, a fixed dividing mode may be set, and the division may be performed directly according to the preset fixed dividing mode.
Further, a real-time press signal generated by a user based on any one of the plurality of input areas is acquired. After the touch screen of the input device is divided, prompting can be performed in a voice prompting or text prompting mode so as to inform a user of the input area corresponding to each character, and the user can input in the corresponding input areas in sequence. The voice prompt mode is more suitable for users with visual impairment and has more universality.
Certainly, in specific implementation, the divided regions may only serve to distinguish inputs of different characters, and correspondingly, a user may be informed that adjacent characters are input in different input regions, so that when a change in the pressing region is detected, it is determined that the user enters input of a next character, and thus a pressing signal corresponding to a single character input by the user in real time, that is, a real-time pressing signal corresponding to each real-time input character, is determined.
For example, taking an input scenario of a 6-bit password as an example, as shown in fig. 3, a touch screen of a mobile phone is divided into 7 areas, where input areas 1 to 6 are areas for inputting 1 st to 6 th bits of the password, and input area 7 is an area for triggering an operation instruction, such as an acknowledgement instruction and a cancel instruction. After the areas are divided, the user can be prompted by voice to input in the upper left corner area, the upper middle area, the upper right corner area, the lower middle area and the lower right corner area in sequence, and then real-time pressing signals triggered by the user in each input area are received.
As another embodiment, step S10 may further include:
in the safe input mode, a pressing signal generated by a user based on input equipment is acquired in real time, the pressing signal is generated once due to one-time pressing, and when the next pressing signal is not received within a preset time (such as 2s) after the current pressing signal is detected to be finished, the pressing operation of the current input character is judged to be finished, and then the corresponding real-time pressing signal is determined. By the aid of the mode, real-time pressing signals corresponding to input characters can be distinguished based on time intervals among the pressing signals.
Further, as another embodiment, a pressure sensor may be disposed on a side frame, a back portion, or the like of the input terminal, so that the user can perform a pressing operation, but the present invention is not limited to performing a pressing operation on a touch screen.
Step S20, determining the pressing operation information of the user according to the real-time pressing signal;
after a real-time pressing signal generated by a user based on an input device is acquired, pressing operation information of the user is determined according to the real-time pressing signal.
Wherein, the real-time pressing signal includes a pressing force degree and/or a pressing time length corresponding to each pressing, and step S20 includes:
step a21, comparing the pressing force degree and/or the pressing time with a preset pressing force degree and/or a preset pressing time, and determining the pressing type corresponding to each pressing according to the comparison result;
step a22, counting the pressing according to the pressing type to obtain the pressing operation information of the user, wherein the pressing operation information includes the pressing type and the pressing times corresponding to the pressing type.
In this embodiment, the determination process of the pressing operation information is as follows:
after the real-time pressing signal is acquired, the real-time pressing signal includes pressing information corresponding to one or more pressing operations corresponding to the real-time input character, specifically, pressing strength and/or pressing duration corresponding to each pressing. The pressing degree and/or the pressing duration can be compared with the preset pressing degree and/or the preset pressing duration, and the pressing type corresponding to each pressing can be determined according to the comparison result. The method comprises the steps of comparing the pressing strength with a preset pressing strength, determining a pressing type corresponding to each pressing according to a comparison result, or comparing the pressing duration with a preset pressing duration, determining a pressing type corresponding to each pressing according to a comparison result, or comparing the pressing strength with a preset pressing strength, comparing the pressing duration with a preset pressing duration, and determining a pressing type corresponding to each pressing according to a comparison result. The preset pressing degree and the preset pressing duration can be flexibly set according to actual needs, for example, the preset pressing duration is 0.5s for illustration, and if the pressing duration is less than 0.5s, the pressing type is determined to be short pressing; and if the pressing time is more than or equal to 0.5s, determining that the pressing type is long pressing. If the pressing force degree is greater than or equal to the preset pressing force degree, determining the pressing type of the pressing device as heavy pressing; and if the pressing time is less than the preset pressing degree, determining the pressing type to be light pressing.
Then, counting the pressing according to the pressing type to obtain the pressing operation information of the user, wherein the pressing operation information comprises the pressing type and the pressing times corresponding to the pressing type. The description is given by taking an example that the real-time pressing signal only includes the pressing duration corresponding to each pressing, and if the real-time pressing signal corresponds to 3 times of pressing and the types of each pressing are determined to be long pressing, short pressing and short pressing respectively, the pressing operation information of the user can be counted to be 1 time of long pressing and 2 times of short pressing.
And step S30, determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
After the pressing operation information of the user is determined, determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
The mapping relation between the preset pressing operation and the input characters can be set according to the combination of different pressing types in the three combinations of short pressing and long pressing, or heavy pressing and light pressing, or short pressing, long pressing, heavy pressing and light pressing. For example, the mapping relationship between the short-press and long-press combination settings and the numeric characters will be described as an example, where the number 1 is expressed by short-press 1, the number 5 is expressed by long-press 1, and correspondingly, the number 2 is expressed by short-press 2, the number 1 is expressed by short-press 3, the number 4 is expressed by short-press 4, the number 6 is expressed by long-press 1 + short-press 1, the number 7 is expressed by long-press 1 + short-press 2, the number 8 is expressed by long-press 1 + short-press 3, the number 9 is expressed by long-press 1 + short-press 4, and so on.
In addition, in the specific implementation, the mapping relationship may be set based on the pressing type and the pressing number, or may be set based on the pressing type and the pressing order.
The embodiment of the invention provides an input method, which comprises the steps of acquiring a real-time pressing signal generated by a user based on input equipment in a safe input mode; then, determining the pressing operation information of the user according to the real-time pressing signal; and then, determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters. In the embodiment of the invention, the visually impaired user or the normal user can input characters by pressing the input equipment, and the input equipment can determine corresponding real-time input characters based on real-time pressing signals generated by pressing so as to realize the input of the characters. For the vision-impaired user, the vision-impaired user is more sensitive in the aspect of touch sense, and the privacy and the safety of information input can be improved by inputting in the touch pressing mode compared with a voice input mode. In addition, for a normal user, the input is carried out in the touch pressing mode, input characters do not need to be displayed, the privacy and the safety of information input can be improved, and the user can safely input passwords and carry out fund operations such as account transfer and the like in a public place conveniently.
Further, based on the above first embodiment, a second embodiment of the input method of the present invention is proposed.
In this embodiment, after the step S10, the input method further includes:
step A, acquiring trigger time corresponding to the real-time pressing signal;
in this embodiment, when a real-time pressing signal generated by a user based on an input device is acquired, a trigger time corresponding to the real-time pressing signal is acquired. The triggering time is optionally a time when the user completes inputting the currently input character, and may also be a starting input time of the currently input character, that is, a starting pressing time.
Further, after the step S30, the input method further includes:
and B, when the information input is detected to be finished, sequencing the real-time input characters corresponding to the real-time pressing signals according to the trigger time to obtain target input information for inputting.
Because the input information is generally composed of a plurality of characters, when the completion of information input is detected, the real-time input characters corresponding to the real-time pressing signals can be sequenced according to the trigger time, and the target input information is obtained for input.
Specifically, when detecting whether the information input is completed, the information input may be determined to be completed when detecting a confirmation input instruction of the user; or when the total number of the real-time input characters is detected to be the same as the number of the characters corresponding to the current input information type, the information input is determined to be finished.
Further, in specific implementation, the real-time input characters may be sorted based on the input area corresponding to each real-time input character or based on a combination of the input area and the trigger time. For example, the input area corresponding to each real-time input character is obtained first, and then the real-time input characters are sorted according to the sorting relation between the input area and the input characters to obtain target input information, for example, in the above example, in the password input scenario, the input areas 1 to 6 correspond to 1 to 6 bits of the input password, and then the sorting is determined according to the input area corresponding to the real-time input character to obtain the input password.
In this embodiment, the target input information is obtained by obtaining the trigger time corresponding to each real-time pressing signal and sorting each real-time input character according to the trigger time. By the mode, automatic sequencing combination and input of the real-time input characters can be realized, display on a screen is not needed, and the safety of user information input can be further ensured.
Further, based on the first and second embodiments described above, a third embodiment of the input method of the present invention is proposed.
In this embodiment, after the step S30, the input method further includes:
step C, when a real-time input character is obtained, determining a target vibration mode corresponding to the real-time input character according to a mapping relation between preset input characters and vibration modes;
in this embodiment, the user may make a mistake input because the pressing force or pressing time is not controlled well in the pressing input process, and in order to avoid the above situation, the user may confirm the input character input by the user in a vibration mode after determining the input character. The specific process is as follows:
and when one real-time input character is determined to be obtained, determining a target vibration mode corresponding to the real-time input character according to the mapping relation between the preset input character and the vibration mode.
The mapping relationship between the preset input characters and the vibration mode is preset, and for the convenience of memory of a user, a setting mode similar to the mapping relationship between the preset pressing operation and the input characters can be adopted, and the preset input characters correspond to the input characters based on a combination mode of vibration time length and vibration times, wherein if the vibration time is 1s, the long vibration is represented, and if the vibration time is 0.5s, the short vibration is represented.
For example, the number 1 is represented by 1 time of short shake, the number 5 is represented by 1 time of long shake, correspondingly, the number 2 is represented by 2 times of short shake, the number 1 is represented by 3 times of short shake, the number 4 is represented by 4 times of short shake, the number 6 is represented by 1 time of long shake + 1 time of short shake, the number 7 is represented by 1 time of long shake + 2 times of short shake, the number 8 is represented by 1 time of long shake + 3 times of short shake, the number 9 is represented by 1 time of long shake + 4 times of short shake, and so on.
And D, controlling a vibration sensor of the input equipment to vibrate according to the target vibration mode, so that a user can verify whether the real-time input characters are correct or not according to the vibration condition.
And then, controlling a vibration sensor of the input device to vibrate according to the target vibration mode, so that the user can verify whether the real-time input characters are correct or not according to the vibration condition.
In the embodiment, the user can confirm whether the input characters are correct or not by combining the vibration mode, so that the accuracy of the input result can be improved, and the use experience of the user is improved.
Further, based on the first and second embodiments described above, a fourth embodiment of the input method of the present invention is proposed.
In this embodiment, before the step S10, the input method further includes:
step E, acquiring a current application or a current input interface;
in this embodiment, when detecting application switching or interface skipping, the mobile phone end may obtain a current application or a current input interface.
Step F, detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not;
and G, if the current application is detected to be a preset application or the current input interface is detected to be a preset input interface, executing the step G and starting the safe input mode.
Then, detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not; if the current application is detected to be the preset application or the current input interface is detected to be the preset input interface, the safe input mode is started, so that the user can conveniently input the secret information in a pressing operation mode, and the safety of information input can be guaranteed.
In this embodiment, whether the security input mode is automatically started or not can be determined by detecting whether the current application is the preset application or detecting whether the current input interface is the preset input interface, so as to realize intelligent protection of the user input information.
Further, a fifth embodiment of the input method of the present invention is proposed based on the above-described first and second embodiments.
In this embodiment, the input method further includes:
step H, receiving an operation instruction triggered by a user, and executing corresponding operation according to the operation instruction;
the operation instruction comprises a confirmation instruction, a deletion instruction, a modification instruction and a cancellation instruction.
In this embodiment, during the input process or after the input is completed, the user may trigger a related operation instruction, such as a confirmation instruction, a deletion instruction, a modification instruction, or a cancellation instruction, and the triggering manner may include but is not limited to: 1) executing a corresponding operation gesture on the touch screen for triggering, such as determining an instruction through upward sliding triggering, triggering a cancel instruction through downward sliding, 2) triggering through pressing a key, and 3) triggering through voice.
At this time, when receiving an operation instruction triggered by the user, the mobile phone end executes corresponding operation according to the operation instruction. For example, when a confirmation instruction is received, the target character is input.
Through the mode, the corresponding operation can be executed based on the operation instruction triggered by the user, so that the user can conveniently confirm, delete, modify, cancel and the like.
The invention also provides an input device.
Referring to fig. 4, fig. 4 is a functional block diagram of the input device according to the first embodiment of the present invention.
As shown in fig. 4, the input device includes:
the first acquisition module 10 is used for acquiring a real-time pressing signal generated by a user based on an input device in a safe input mode;
a first determining module 20, configured to determine pressing operation information of a user according to the real-time pressing signal;
and the second determining module 30 is configured to determine a real-time input character according to the pressing operation information and a mapping relationship between a preset pressing operation and the input character.
Further, the first obtaining module 10 includes:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring a current input information type and acquiring the number of characters corresponding to the current input information type in a safe input mode;
the area dividing unit is used for dividing the touch screen of the input equipment according to the number of the characters to obtain a plurality of input areas;
and the second acquisition unit is used for acquiring a real-time pressing signal generated by the user based on any one of the plurality of input areas.
Further, the real-time compression signal includes a compression force degree and/or a compression time length corresponding to each compression, and the first determining module 20 includes:
the first determining unit is used for comparing the pressing force degree and/or the pressing time with a preset pressing force degree and/or a preset pressing time, and determining the pressing type corresponding to each pressing according to the comparison result;
and the data counting unit is used for counting the pressing times according to the pressing types to obtain the pressing operation information of the user, and the pressing operation information comprises the pressing types and the corresponding pressing times.
Further, the input device further includes:
the second acquisition module is used for acquiring the trigger time corresponding to the real-time pressing signal;
the input device further includes:
and the character input module is used for sequencing the real-time input characters corresponding to the real-time pressing signals according to the trigger time when the completion of information input is detected, so as to obtain target input information for inputting.
Further, the input device further includes:
the third determining module is used for determining a target vibration mode corresponding to the real-time input character according to a mapping relation between preset input characters and vibration modes when each real-time input character is determined to be obtained;
and the vibration control module is used for controlling the vibration sensor of the input equipment to vibrate according to the target vibration mode so that a user can verify whether the real-time input characters are correct or not according to the vibration condition.
Further, the input device further includes:
the third acquisition module is used for acquiring the current application or the current input interface;
the detection module is used for detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not;
and the mode starting module is used for starting the safe input mode if the current application is detected to be a preset application or the current input interface is detected to be a preset input interface.
Further, the input device further includes:
the operation execution module is used for receiving an operation instruction triggered by a user and executing corresponding operation according to the operation instruction; the operation instruction comprises a confirmation instruction, a deletion instruction, a modification instruction and a cancellation instruction.
The function implementation of each module in the input device corresponds to each step in the input method embodiment, and the function and implementation process are not described in detail here.
The invention also provides a computer readable storage medium having stored thereon an input program which, when executed by a processor, implements the steps of the input method as described in any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the input method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An input method, characterized in that the input method comprises:
in the safe input mode, acquiring a real-time pressing signal generated by a user based on input equipment;
determining pressing operation information of a user according to the real-time pressing signal;
and determining real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
2. The input method of claim 1, wherein in the secure input mode, the step of acquiring a real-time press signal generated by a user based on the input device comprises:
in a safe input mode, acquiring a current input information type and acquiring a character number corresponding to the current input information type;
dividing the touch screen of the input device according to the number of the characters to obtain a plurality of input areas;
acquiring a real-time pressing signal generated by a user based on any one of the plurality of input areas.
3. The input method according to claim 1, wherein the real-time pressing signal includes a pressing force degree and/or a pressing time length corresponding to each pressing, and the step of determining the pressing operation information of the user according to the real-time pressing signal includes:
comparing the pressing strength and/or the pressing duration with a preset pressing strength and/or a preset pressing duration, and determining a pressing type corresponding to each pressing according to a comparison result;
and counting the pressing according to the pressing type to obtain the pressing operation information of the user, wherein the pressing operation information comprises the pressing type and the pressing times corresponding to the pressing type.
4. The input method of claim 1, wherein the step of obtaining the real-time press signal generated by the user based on the input device is followed by:
acquiring trigger time corresponding to the real-time pressing signal;
after the step of determining the real-time input character according to the pressing operation information and the mapping relation between the preset pressing operation and the input character, the method further comprises the following steps:
and when the information input is detected to be finished, sequencing the real-time input characters corresponding to the real-time pressing signals according to the trigger time to obtain target input information for inputting.
5. The input method according to any one of claims 1 to 4, wherein after the step of determining the real-time input character according to the pressing operation information and the mapping relationship between the preset pressing operation and the input character, the method further comprises:
when a real-time input character is obtained, determining a target vibration mode corresponding to the real-time input character according to a mapping relation between preset input characters and vibration modes;
and controlling a vibration sensor of the input equipment to vibrate according to the target vibration mode, so that a user can verify whether the real-time input characters are correct or not according to the vibration condition.
6. The input method of any one of claims 1 to 4, further comprising:
acquiring a current application or a current input interface;
detecting whether the current application is a preset application or not, or detecting whether the current input interface is a preset input interface or not;
and if the current application is detected to be a preset application or the current input interface is detected to be a preset input interface, starting the safe input mode.
7. The input method of any one of claims 1 to 4, further comprising:
receiving an operation instruction triggered by a user, and executing corresponding operation according to the operation instruction;
the operation instruction comprises a confirmation instruction, a deletion instruction, a modification instruction and a cancellation instruction.
8. An input device, comprising:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a real-time pressing signal generated by a user based on input equipment in a safe input mode;
the first determining module is used for determining the pressing operation information of the user according to the real-time pressing signal;
and the second determining module is used for determining the real-time input characters according to the pressing operation information and the mapping relation between the preset pressing operation and the input characters.
9. An input device, characterized in that the input device comprises: memory, a processor and an input program stored on the memory and executable on the processor, the input program, when executed by the processor, implementing the steps of the input method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an input program which, when executed by a processor, implements the steps of the input method according to any one of claims 1 to 7.
CN202010883602.1A 2020-08-26 2020-08-26 Input method, device, equipment and computer readable storage medium Pending CN112000273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010883602.1A CN112000273A (en) 2020-08-26 2020-08-26 Input method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010883602.1A CN112000273A (en) 2020-08-26 2020-08-26 Input method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112000273A true CN112000273A (en) 2020-11-27

Family

ID=73464389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010883602.1A Pending CN112000273A (en) 2020-08-26 2020-08-26 Input method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112000273A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158150A (en) * 2021-04-14 2021-07-23 捷德(中国)科技有限公司 Verification method, device and system
CN113190883A (en) * 2021-04-21 2021-07-30 莱芜职业技术学院 High-safety computer anti-dismantling system
CN113342303A (en) * 2021-05-31 2021-09-03 维沃移动通信有限公司 Information input method and device
US11341496B2 (en) 2020-06-03 2022-05-24 Fiserv, Inc. Hardware device for entering a PIN via tapping on a touch screen display
WO2022179239A1 (en) * 2021-02-26 2022-09-01 华为技术有限公司 Touch behavior recognition method and apparatus, and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335675A (en) * 2015-09-29 2016-02-17 努比亚技术有限公司 Method and device for input password of mobile terminal, and mobile terminal
CN106570359A (en) * 2015-10-09 2017-04-19 中兴通讯股份有限公司 Input method and device, and user equipment
CN107153788A (en) * 2016-03-04 2017-09-12 北京搜狗科技发展有限公司 A kind of cipher-code input method and device, a kind of device for Password Input
WO2018053695A1 (en) * 2016-09-20 2018-03-29 谷歌公司 Pressure-based selection of additional characters
CN109409047A (en) * 2018-09-28 2019-03-01 阿里巴巴集团控股有限公司 Information processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335675A (en) * 2015-09-29 2016-02-17 努比亚技术有限公司 Method and device for input password of mobile terminal, and mobile terminal
CN106570359A (en) * 2015-10-09 2017-04-19 中兴通讯股份有限公司 Input method and device, and user equipment
CN107153788A (en) * 2016-03-04 2017-09-12 北京搜狗科技发展有限公司 A kind of cipher-code input method and device, a kind of device for Password Input
WO2018053695A1 (en) * 2016-09-20 2018-03-29 谷歌公司 Pressure-based selection of additional characters
CN109409047A (en) * 2018-09-28 2019-03-01 阿里巴巴集团控股有限公司 Information processing method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11341496B2 (en) 2020-06-03 2022-05-24 Fiserv, Inc. Hardware device for entering a PIN via tapping on a touch screen display
US11710126B2 (en) 2020-06-03 2023-07-25 Fiserv, Inc. Hardware device for entering a pin via tapping on a touch screen display
WO2022179239A1 (en) * 2021-02-26 2022-09-01 华为技术有限公司 Touch behavior recognition method and apparatus, and device
CN113158150A (en) * 2021-04-14 2021-07-23 捷德(中国)科技有限公司 Verification method, device and system
CN113190883A (en) * 2021-04-21 2021-07-30 莱芜职业技术学院 High-safety computer anti-dismantling system
CN113342303A (en) * 2021-05-31 2021-09-03 维沃移动通信有限公司 Information input method and device
CN113342303B (en) * 2021-05-31 2024-05-24 维沃移动通信有限公司 Information input method and device

Similar Documents

Publication Publication Date Title
CN112000273A (en) Input method, device, equipment and computer readable storage medium
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
US10708065B2 (en) Service processing method, device and system
US20180121161A1 (en) Electronic device, control method, and storage medium
CN108537011B (en) Application permission processing method, terminal and server
US20170053149A1 (en) Method and apparatus for fingerprint identification
CN111177710B (en) Application authorization method, electronic device and storage medium
CN108763317B (en) Method for assisting in selecting picture and terminal equipment
CN108737638B (en) Application control method and device, mobile terminal and computer readable medium
CN108551521B (en) Login information prompting method and mobile terminal
CN108985034B (en) Unlocking method and terminal equipment
CN108491713B (en) Safety reminding method and electronic equipment
CN110096320B (en) Authentication window display method and device
CN106055959B (en) Unlocking method and mobile terminal
CN111338524A (en) Application program control method and electronic equipment
CN110941469A (en) Application body-splitting creating method and terminal equipment thereof
CN110825306B (en) Braille input method, device, terminal and readable storage medium
CN110166621B (en) Word processing method and terminal equipment
CN109634508B (en) User information loading method and device
CN109547622B (en) Verification method and terminal equipment
CN108563983B (en) Fingerprint identification method based on touch screen and terminal equipment
CN109164951B (en) Mobile terminal operation method and mobile terminal
CN108763884B (en) Authority management method, device, mobile terminal and storage medium
CN108494754B (en) Account information processing method and mobile terminal
US10922514B2 (en) Electronic apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201127

RJ01 Rejection of invention patent application after publication