CN112034995B - Display method and device of input interface of input method, storage medium and electronic equipment - Google Patents

Display method and device of input interface of input method, storage medium and electronic equipment Download PDF

Info

Publication number
CN112034995B
CN112034995B CN202010911752.9A CN202010911752A CN112034995B CN 112034995 B CN112034995 B CN 112034995B CN 202010911752 A CN202010911752 A CN 202010911752A CN 112034995 B CN112034995 B CN 112034995B
Authority
CN
China
Prior art keywords
input
target
input interface
gesture
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010911752.9A
Other languages
Chinese (zh)
Other versions
CN112034995A (en
Inventor
党娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010911752.9A priority Critical patent/CN112034995B/en
Publication of CN112034995A publication Critical patent/CN112034995A/en
Application granted granted Critical
Publication of CN112034995B publication Critical patent/CN112034995B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Abstract

The invention provides a display method and a device for an input interface of an input method, a storage medium and electronic equipment. By applying the method provided by the invention, a user can switch the input interface of various types of characters in the password inputting process, and can select various types of characters to be input in the input interface without switching the input interface for multiple times, so that the password inputting process of the user is more convenient and the user experience is improved.

Description

Display method and device of input interface of input method, storage medium and electronic equipment
Technical Field
The present invention relates to the field of input technologies, and in particular, to a method and apparatus for displaying an input interface of an input method, a storage medium, and an electronic device.
Background
With the development of computer technology, various Application software (App) appears, so that people's life is more and more convenient. In daily life, a user can enjoy convenient services through an App on a mobile terminal. When using an App on a mobile terminal, a user usually needs to log in an account of the user, and when logging in, the user needs to input a password by using an input method of the App.
In order to ensure information security of users, app has a requirement for the passwords set by users to include different types of characters, so the passwords of users often include multiple types of characters at the same time, such as capital English letters, lowercase English letters, numbers and the like.
Each input interface of the existing input method of the App only mainly comprises one type of character, and when a user invokes the input method to input information in the App, the user needs to switch to the input interface of the character type corresponding to the switch key through each switch key. Therefore, when the user inputs the password in the App, the user needs to switch to the input interface corresponding to each type of character by himself, and the password input can be completed. The user needs to switch the input interface of the input method for multiple times when inputting the password, the process is complicated, and the use experience of the user is poor.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a display method of an input interface of an input method, so as to solve the problems that when a user inputs a password, the input interface needs to be switched for a plurality of times, the input process is complicated, and the use experience of the user is poor.
The embodiment of the invention also provides a display device of the input interface of the input method, which is used for ensuring the practical realization and application of the method.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
a display method of an input interface of an input method comprises the following steps:
when receiving an input request sent by application software of a terminal in response to operation of a user, determining a target input box corresponding to the input request;
if the target input box is a password input box, displaying a first input interface, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
detecting whether the first input interface receives a preset input gesture or not;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
If a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, displaying a second input interface so that the user selects the input characters on the second input interface to input a password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all uppercase English letters, all lowercase English letters and all numerical characters.
The method, optionally, further comprises:
if the target input box is not the password input box, determining a target language mode corresponding to the application software; the target language mode is a Chinese mode or an English mode;
determining an input language mode corresponding to the target input method according to the target language mode, and displaying a third input interface corresponding to the input language mode, so that the user selects input characters in the third input interface to input texts in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method.
The method, optionally, the determining the target language mode corresponding to the application software includes:
Determining each control in the interface of the application software where the target input box is currently located, and acquiring each character string displayed in each control;
determining the language type corresponding to each character string, and determining each first character string and each second character string in all the character strings, wherein the first character string is a character string with English language type, and the second character string is a character string with Chinese language type;
determining a first numerical value and a second numerical value, wherein the first numerical value is the total number of the character strings corresponding to all the first character strings, and the second numerical value is the total number of the character strings corresponding to all the second character strings;
and determining a target language type according to the first numerical value and the second numerical value, and determining the target language mode corresponding to the application software according to the target language type.
In the above method, optionally, the detecting whether the first input interface receives a preset input gesture includes:
detecting whether a gesture input signal is received by a target area corresponding to the first input interface in real time;
if the target area receives the gesture input signal, determining a target input gesture corresponding to the gesture input signal, and judging whether the target input gesture is a continuous tapping gesture or not, wherein the continuous tapping gesture comprises tapping gestures with continuous tapping preset times;
And if the target input gesture is the continuous tapping gesture, determining to detect that the first input interface receives the preset input gesture.
The method, optionally, further comprises:
displaying a preset switching key to prompt the user to click the switching key to switch an input method;
and if an input method switching instruction triggered by clicking the switching key by the user is received, calling a system input method corresponding to the terminal, and displaying an input interface corresponding to the system input method, so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
A display device of an input interface of an input method, comprising:
a first determining unit, configured to determine, when an input request sent by application software of a terminal in response to an operation of a user is received, a target input box corresponding to the input request;
the first display unit is used for displaying a first input interface if the target input box is a password input box, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
the detection unit is used for detecting whether the first input interface receives a preset input gesture or not;
The second display unit is used for displaying a preset confirmation option if detecting that the first input interface receives the preset input gesture, and prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
the third display unit is used for displaying a second input interface if a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, so that the user selects the input characters on the second input interface to input the password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all uppercase English letters, all lowercase English letters and all numerical characters.
The above device, optionally, further comprises:
the second determining unit is used for determining a target language mode corresponding to the application software if the target input box is not a password input box; the target language mode is a Chinese mode or an English mode;
a fourth display unit, configured to determine an input language mode corresponding to the target input method according to the target language mode, and display a third input interface corresponding to the input language mode, so that the user selects an input character in the third input interface, so as to input a text in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method.
The above device, optionally, the detecting unit includes:
the detection subunit is used for detecting whether a gesture input signal is received by a target area corresponding to the first input interface in real time;
the first determining subunit is configured to determine a target input gesture corresponding to the gesture input signal if the target area receives the gesture input signal, and determine whether the target input gesture is a continuous tap gesture, where the continuous tap gesture includes a tap gesture that continuously taps for a preset number of times;
and the second determining subunit is used for determining to detect that the first input interface receives the preset input gesture if the target input gesture is the continuous tapping gesture.
The above apparatus, optionally, the second determining unit includes:
the third determining subunit is used for determining each control in the interface of the application software where the target input box is currently located and acquiring each character string displayed in each control;
a fourth determining subunit, configured to determine a language type corresponding to each of the character strings, and determine each first character string and each second character string in all the character strings, where the first character string is a character string whose language type is english, and the second character string is a character string whose language type is chinese;
A fifth determining subunit, configured to determine a first value and a second value, where the first value is a total number of strings corresponding to all the first strings, and the second value is a total number of strings corresponding to all the second strings;
and the sixth determining subunit is used for determining a target language type according to the first numerical value and the second numerical value and determining the target language mode corresponding to the application software according to the target language type.
The above device, optionally, further comprises:
a fifth display unit, configured to display a preset switching key, so as to prompt the user to click the switching key to switch the input method;
and the calling unit is used for calling the system input method corresponding to the terminal if the input method switching instruction triggered by the user clicking the switching key is received, and displaying an input interface corresponding to the system input method so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
The storage medium comprises stored instructions, wherein when the instructions run, the equipment where the storage medium is located is controlled to execute the display method of the input method input interface.
An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to execute a display method of an input method input interface as described above by one or more processors.
Based on the display method of the input interface of the input method provided by the embodiment of the invention, when receiving the input request of the user, determining the target input box corresponding to the input request; if the target input box is a password input box, calling an input method of the application software, displaying a default first input interface of the input method, and detecting whether the first input interface receives a preset input gesture; if the preset input gesture is detected to be received, a preset confirmation option is displayed, if the user triggers the confirmation option to select and switch the input interface, a second input interface comprising all uppercase English characters, all lowercase English characters and the digital characters is displayed, and the user can input a password in a target input box through the second input interface. By applying the method provided by the embodiment of the invention, a user can switch to an input interface containing characters of various preset character types through inputting preset input gestures when inputting passwords, wherein the input interface contains all characters of each preset character type, and when the passwords input by the user contain the characters of various character types, the corresponding characters can be selected in the input interface without switching the input interface for many times.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a method flowchart of a method for displaying an input interface of an input method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for displaying an input interface of an input method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a display device of an input interface of an input method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a display device of an input interface of an input method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As known from the background art, when a user uses application software in a mobile terminal such as a mobile phone, a password is usually required to be input to log in, when the password of the user contains multiple types of characters, the user needs to switch the input interface of the input method multiple times, the input process is complicated, and the use experience of the user is poor.
Therefore, the embodiment of the application provides a display method of an input interface of an input method, which can switch to a preset input interface containing characters of various character types based on a preset input gesture when a user inputs a password, so as to avoid the user from switching the input interface of the input method for a plurality of times to input the password, and improve the use experience of the user.
The embodiment of the invention provides a display method of an input interface of an input method, which can be applied to application software of a terminal, wherein an execution subject of the method can be a processor of the terminal, and the terminal can be a mobile phone, a tablet personal computer, a self-service terminal and other devices. The method flow chart of the method is shown in fig. 1, and comprises the following steps:
s101: when receiving an input request sent by application software of a terminal in response to operation of a user, determining a target input box corresponding to the input request;
in the method provided by the embodiment of the invention, when the user uses the application software of the terminal, such as when using the mobile phone bank on the mobile phone, if the user clicks the corresponding input box in the mobile phone bank interface to input the text, for example, clicks the search box to search, or clicks the user name input box or the user password input box on the login interface, the front end of the mobile phone bank responds to the operation that the user clicks the input box, and can send an input request to the back end of the mobile phone bank to request to invoke the input method for the user to input the text. When the rear end receives the input request, a target input box corresponding to the input request, namely, an input box of a text to be input currently by a user, can be determined, for example, by the position of an input cursor in an application software interface.
S102: if the target input box is a password input box, displaying a first input interface, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
in the method provided by the embodiment of the invention, if the input box of the character to be input by the user is the password input box, the target input method corresponding to the application software is called, the input method is the native input method of the application software, the first input interface is the default input interface in the input method, namely the default native virtual keyboard, such as the input method of the mobile phone bank for financial security, and the first input interface can be the default display input interface which is set in the mobile phone bank by the user or is fixedly set in the input method, such as the input interface of the digital character, or the input interface of the lowercase English character, and the like.
S103: detecting whether the first input interface receives a preset input gesture or not;
in the method provided by the embodiment of the invention, the user can input the preset input gesture in the input interface of the target input method. After the application software displays the first input interface to the user, whether the user inputs a preset input gesture in the input interface of the target input method or not is monitored, namely whether a region of the native virtual keyboard of the target input method receives the preset input gesture is detected.
S104: if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
in the method provided by the embodiment of the invention, if the user is detected to input the preset input gesture in the first input interface, the preset confirmation option is displayed. The confirmation option may include a confirmation key and a closing identifier disposed at the upper right corner of the confirmation key, where the user may select whether to switch the interface through the confirmation option, if the user clicks the confirmation key, the user is triggered to select a trigger instruction for switching the input interface, and if the user clicks the closing identifier, the confirmation key is closed.
S105: if a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, displaying a second input interface so that the user selects the input characters on the second input interface to input a password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all uppercase English letters, all lowercase English letters and all numerical characters.
In the method provided by the embodiment of the invention, if the user selects to switch the input interface in the confirmation option, a second input interface preset in the target input method is displayed, wherein the second input interface can be a full-screen keyboard, and the full-screen keyboard can comprise twenty-six capital English letter keys, twenty-six small English letter keys and 0-9 ten numerical keys, and can also comprise other types of characters, such as special symbols and the like. The distribution of these keys may be set according to the input habits. The user may select a corresponding character in the second input interface to enter a password in the target input box.
Based on the method provided by the embodiment of the invention, when an input request sent by application software of a terminal is received, a target input box corresponding to the input request can be determined, if the target input box is a password input box, an input interface of a preset character type in the target input method corresponding to the application software is displayed to a user, whether a preset input gesture is received in the input interface is detected, if the input gesture is received, a preset confirmation option is displayed for the user to select whether to switch the input interface, and if a trigger instruction for the user to select to switch the input interface is received, a second input interface comprising all capital English letters, all lowercase English letters and all numbers is displayed. By applying the method provided by the embodiment of the invention, when inputting the password, a user can input the preset input gesture and further confirm the input gesture, then can switch to the input interface containing all characters of each character type, and can select the characters of different character types in the input interface to input the password without switching the input interface for multiple times, so that the password inputting process of the user is more convenient, and the user experience is improved.
In order to better explain the method provided by the embodiment of the present invention, in conjunction with the flowchart shown in fig. 2, the embodiment of the present invention provides a method for displaying an input interface of an input method, and based on the method shown in fig. 1, in the method provided by the embodiment of the present invention, the process of detecting whether the first input interface receives a preset input gesture in step S103 includes:
s201: detecting whether a gesture input signal is received by a target area corresponding to the first input interface in real time;
in the method provided by the embodiment of the invention, after the first input interface is displayed to the user, whether the gesture input information is received by the area corresponding to the interface is detected in real time, wherein the gesture input information is an input signal generated by responding to the operations of long-time pressing, sliding, knocking and the like of the user on the terminal display screen.
S202: if the target area receives the gesture input signal, determining a target input gesture corresponding to the gesture input signal, and judging whether the target input gesture is a continuous tapping gesture or not, wherein the continuous tapping gesture comprises tapping gestures with continuous tapping preset times;
in the method provided by the embodiment of the invention, if the target area is detected to receive the gesture input signal, namely, the user performs corresponding gesture operation on the input interface of the input method on the terminal. The target input gesture input by the user can be determined according to the gesture input signal, and whether the input gesture of the user is a continuous tap gesture, such as a double tap gesture is judged.
S203: and if the target input gesture is the continuous tapping gesture, determining to detect that the first input interface receives the preset input gesture.
In the method provided by the embodiment of the invention, if the input gesture of the user is determined to be the continuous tapping gesture through judgment, the preset input gesture is determined to be received. If the continuous tapping gesture is a double-tapping gesture, if the user continuously taps twice with a finger joint in a first input interface displayed on the terminal, the application software of the terminal correspondingly detects that the first input interface receives a preset input gesture.
It should be noted that, in the method provided by the embodiment of the present invention, the continuous tapping gesture is used as a preset input gesture, which is only provided for better illustrating an embodiment of the method of the present invention, and is not limited to the preset input gesture. In a specific implementation, other types of input gestures may be used as preset input gestures, such as swipe gestures, and the like.
Based on the method provided by the embodiment of the invention, when inputting the password, the user can switch to the second input interface containing all characters of each character type, and the characters of different character types are selected in the input interface to input the password, so that the user does not need to switch the input interface for multiple times, the password inputting process is more convenient, and the user experience is improved. Further, the user can trigger the confirmation option by using the continuous tapping gesture, and the second input interface is switched out after further confirmation, so that the input gesture is simpler and easy to identify, the user can conveniently trigger the confirmation option, the gesture identification efficiency and accuracy are improved, and the use experience of the user is further improved.
Further, on the basis of the method shown in fig. 1, the embodiment of the invention provides a display method of an input interface of an input method, and the method provided by the embodiment of the invention further includes:
if the target input box is not the password input box, determining a target language mode corresponding to the application software; the target language mode is a Chinese mode or an English mode;
in the method provided by the embodiment of the present invention, if the target input box determined in step S101 shown in fig. 1 is not a password input box, that is, the user does not input a password currently, but inputs other text in the interface of the application software, it is determined whether the language mode corresponding to the application software is a chinese mode or an english mode, that is, whether the display language of the application software is chinese or english is determined.
Determining an input language mode corresponding to the target input method according to the target language mode, and displaying a third input interface corresponding to the input language mode, so that the user selects input characters in the third input interface to input texts in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method.
In the method provided by the embodiment of the invention, the input language mode corresponding to the target input method can be determined according to the target language mode corresponding to the application software, namely the display language type of the application software. If the display language of the application software is Chinese, determining that the input language mode corresponding to the target input method is Chinese input mode, and if the display language of the application software is English, determining that the input language mode corresponding to the target input method is English mode. And displaying a third input interface according to the input language mode, wherein the third input interface is an input interface of a default character type preset in the target input method, and the input mode of the input interface is the input language mode of the target input method. If the third input interface is a lower case English letter input interface, when the input language mode is Chinese, the user can perform Chinese word formation on the input interface for the user to input Chinese characters after selecting English characters, and when the input language mode is English, the user can associate English words on the input interface for the user to select or directly input English characters selected by the user.
Based on the method provided by the embodiment of the invention, when inputting the password, the user can switch to the second input interface containing all characters of each character type, and the characters of different character types are selected in the input interface to input the password, so that the user does not need to switch the input interface for multiple times, the password inputting process is more convenient, and the user experience is improved. Further, when the user inputs other texts except the password, the input language mode corresponding to the target input method can be determined according to the language mode of the language displayed by the application software used by the user so as to display the corresponding input interface to the user, so that the corresponding input interface can be displayed according to the language use environment of the user, the input interface conforming to the language habit of the user can be provided for the user, and the use experience of the user is further improved.
Further, on the basis of the foregoing embodiment, in the method provided by the embodiment of the present invention, the process of determining the target language mode corresponding to the application software includes:
determining each control in the interface of the application software where the target input box is currently located, and acquiring each character string displayed in each control;
in the method provided by the embodiment of the present invention, if the target input box determined in step S101 shown in fig. 1 is not a password input box, each control in the interface of the application software where the target input box is currently located, such as a text control in the display interface of the application software, may be identified, and each character string displayed in each control may be obtained.
Determining the language type corresponding to each character string, and determining each first character string and each second character string in all the character strings, wherein the first character string is a character string with English language type, and the second character string is a character string with Chinese language type;
in the method provided by the embodiment of the invention, character recognition can be carried out on the character strings displayed in each control in the display interface of the application software, the character strings are determined to be Chinese character strings or English character strings, and the first character strings and the second character strings are distinguished from each other according to the language type corresponding to each character string.
Determining a first numerical value and a second numerical value, wherein the first numerical value is the total number of the character strings corresponding to all the first character strings, and the second numerical value is the total number of the character strings corresponding to all the second character strings;
in the method provided by the embodiment of the invention, the first numerical value and the second numerical value can be counted, wherein the first numerical value represents the number of Chinese and English character strings in each character string, and the second numerical value represents the number of Chinese character strings in each character string.
And determining a target language type according to the first numerical value and the second numerical value, and determining the target language mode corresponding to the application software according to the target language type.
In the method provided by the embodiment of the invention, the target language type can be determined according to the first numerical value and the second numerical value, and the target language mode corresponding to the application software can be determined according to the target language type. If the target language type can be determined by comparing the first value with the second value, the type of the character string with larger value is used as the target language type, if the first value is larger than the second value, english is used as the target language type, so that the target language mode is determined to be an English mode, and if the second value is larger than the first value, chinese is used as the target language type, so that the target language mode is determined to be a Chinese mode. The ratio of the first value to the second value in the total number of the strings may be calculated, and the string type corresponding to the value with the ratio greater than a predetermined ratio (e.g., fifty percent) may be used as the target language type.
It should be noted that, the method provided by the embodiment of the present invention is only to better illustrate one embodiment of determining the target language mode corresponding to the application software, and in a specific implementation process, other manners may be adopted to determine the target language mode corresponding to the application software, for example, obtain configuration information of the application software, and determine the language mode according to the configuration information.
According to the method provided by the embodiment of the invention, the target language mode of the application software can be determined by analyzing the control in the interface currently used by the user and the character type corresponding to the character string displayed in the control, the target language mode of the application software can be determined according to the interface currently used in real time by the user, and the accuracy of matching the target language mode with the language habit of the user can be improved.
Further, on the basis of the method shown in fig. 1, the embodiment of the invention provides a display method of an input interface of an input method, and the method provided by the embodiment of the invention further includes:
displaying a preset switching key to prompt the user to click the switching key to switch an input method;
in the method provided by the embodiment of the invention, each input interface of the target input method of the application software, such as the first input interface, the second input interface and the third input interface, further comprises a preset switching key, namely when each input interface of the target input method is displayed, the preset switching key is displayed in the interface. The switching key can be used for switching the input method of the system, namely the input method set in the terminal system. For example, in a mobile terminal of a mobile phone, the input method of the system can be a default input method of the mobile phone system, or a third party input method which is installed and set as the default input method by a user. In the devices such as the self-service terminal, the input method of the system can comprise an input mode of the entity keyboard set based on the terminal besides the virtual keyboard corresponding input method operated in the man-machine interaction interface, when the input mode of the entity keyboard is used, the corresponding input interface can be displayed in the man-machine interaction interface of the terminal, and the input signals of the entity keyboard are received to input characters in the interface.
And if an input method switching instruction triggered by clicking the switching key by the user is received, calling a system input method corresponding to the terminal, and displaying an input interface corresponding to the system input method, so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
In the method provided by the embodiment of the invention, after the user clicks the switching key on the terminal interaction interface such as the mobile phone screen, the input method switching instruction is triggered, the input method of the system corresponding to the terminal is called, the input interface corresponding to the input method is displayed, and the input interface of the target input method of the application software is hidden. Meanwhile, a switching key of the software input method can be displayed on an input interface of the system input method, so that a user can switch the target input method of the application software through the switching key. Further, if the system input mode of the self-service terminal is the physical keyboard input, after the system input mode is switched to the system input method, the user can input characters through the physical keyboard, the input interface corresponding to the physical keyboard input is displayed in the terminal interface, and the corresponding physical switching key can also be arranged on the physical keyboard for switching to the target input method of the application software.
Based on the method provided by the embodiment of the invention, when inputting the password, the user can switch to the second input interface containing all characters of each character type, and the characters of different character types are selected in the input interface to input the password, so that the user does not need to switch the input interface for multiple times, the password inputting process is more convenient, and the user experience is improved. Furthermore, the user can switch the input method into the system input method in the terminal system by triggering the switching key, and the user can select other input methods for input according to the input habit in the process of inputting characters, so that the use experience of the user is further improved.
Corresponding to the display method of the input interface of the input method shown in fig. 1, the embodiment of the invention further provides a display device of the input interface of the input method, which is used for implementing the method shown in fig. 1, and the structure schematic diagram is shown in fig. 3, and includes:
a first determining unit 301, configured to determine, when an input request sent by application software of a terminal in response to an operation of a user is received, a target input box corresponding to the input request;
the first display unit 302 is configured to display a first input interface if the target input box is a password input box, where the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
A detection unit 303, configured to detect whether the first input interface receives a preset input gesture;
the second display unit 304 is configured to display a preset confirmation option if the first input interface is detected to receive the preset input gesture, and prompt the user to trigger the confirmation option to select whether to switch the input interface;
a third display unit 305, configured to display a second input interface if a trigger instruction that the user triggers the confirmation option selection switch input interface is received, so that the user selects an input character on the second input interface to input a password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all uppercase English letters, all lowercase English letters and all numerical characters.
Based on the device provided by the embodiment of the invention, when an input request sent by application software of a terminal is received, a target input box corresponding to the input request can be determined, if the target input box is a password input box, an input interface of a preset character type in a target input method corresponding to the application software is displayed to a user, whether a preset input gesture is received in the input interface is detected, if the input gesture is received, a preset confirmation option is displayed for the user to select whether to switch the input interface, and if a trigger instruction for the user to select to switch the input interface is received, a second input interface comprising all capital English letters, all lowercase English letters and all numbers is displayed. By applying the device provided by the embodiment of the invention, when inputting the password, a user can input the preset input gesture and further confirm the input gesture, then can switch to the input interface containing all characters of each character type, and can select the characters of different character types in the input interface to input the password without switching the input interface for multiple times, so that the password inputting process of the user is more convenient, and the user experience is improved.
In order to better illustrate the device provided by the embodiment of the present invention, the embodiment of the present invention provides a display device for an input interface of an input method, a schematic structure diagram of which is shown in fig. 4, and on the basis of the device shown in fig. 3, in the device provided by the embodiment of the present invention, the detecting unit 303 includes:
a detection subunit 306, configured to detect in real time whether a gesture input signal is received by a target area corresponding to the first input interface;
a first determining subunit 307, configured to determine, if the target area receives the gesture input signal, a target input gesture corresponding to the gesture input signal, and determine whether the target input gesture is a continuous tap gesture, where the continuous tap gesture includes a tap gesture that continuously taps for a preset number of times;
the second determining subunit 308 is configured to determine to detect that the first input interface receives the preset input gesture if the target input gesture is the continuous tap gesture.
Further, on the basis of the device shown in fig. 3, another display device for an input interface of an input method is provided in the embodiment of the present invention, where the device provided in the embodiment of the present invention further includes:
The second determining unit is used for determining a target language mode corresponding to the application software if the target input box is not a password input box; the target language mode is a Chinese mode or an English mode;
a fourth display unit, configured to determine an input language mode corresponding to the target input method according to the target language mode, and display a third input interface corresponding to the input language mode, so that the user selects an input character in the third input interface, so as to input a text in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method.
Further, on the basis of the apparatus provided by the foregoing implementation, in the apparatus provided by the embodiment of the present invention, the second determining unit includes:
the third determining subunit is used for determining each control in the interface of the application software where the target input box is currently located and acquiring each character string displayed in each control;
a fourth determining subunit, configured to determine a language type corresponding to each of the character strings, and determine each first character string and each second character string in all the character strings, where the first character string is a character string whose language type is english, and the second character string is a character string whose language type is chinese;
A fifth determining subunit, configured to determine a first value and a second value, where the first value is a total number of strings corresponding to all the first strings, and the second value is a total number of strings corresponding to all the second strings;
and the sixth determining subunit is used for determining a target language type according to the first numerical value and the second numerical value and determining the target language mode corresponding to the application software according to the target language type.
Further, on the basis of the device shown in fig. 3, the embodiment of the present invention provides a display device for an input interface of an input method, where the device provided in the embodiment of the present invention further includes:
a fifth display unit, configured to display a preset switching key, so as to prompt the user to click the switching key to switch the input method;
and the calling unit is used for calling the system input method corresponding to the terminal if the input method switching instruction triggered by the user clicking the switching key is received, and displaying an input interface corresponding to the system input method so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein when the instructions run, the equipment where the storage medium is controlled to execute the display method of the input interface of the input method.
The embodiment of the present invention further provides an electronic device, whose structural schematic diagram is shown in fig. 5, specifically including a memory 501, and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and configured to be executed by the one or more processors 503, where the one or more instructions 502 perform the following operations:
when receiving an input request sent by application software of a terminal in response to operation of a user, determining a target input box corresponding to the input request;
if the target input box is a password input box, displaying a first input interface, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
detecting whether the first input interface receives a preset input gesture or not;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
If a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, displaying a second input interface so that the user selects the input characters on the second input interface to input a password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all uppercase English letters, all lowercase English letters and all numerical characters.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. The display method of the input interface of the input method is characterized by comprising the following steps:
when receiving an input request sent by application software of a terminal in response to operation of a user, determining a target input box corresponding to the input request;
if the target input box is a password input box, displaying a first input interface, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
detecting whether the first input interface receives a preset input gesture or not;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
if a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, displaying a second input interface so that the user selects the input characters on the second input interface to input a password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all capital English letters, all lowercase English letters and all numerical characters;
If the target input box is not the password input box, determining a target language mode corresponding to the application software; the target language mode is a Chinese mode or an English mode;
determining an input language mode corresponding to the target input method according to the target language mode, and displaying a third input interface corresponding to the input language mode, so that the user selects input characters in the third input interface to input texts in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method;
wherein, the determining the target language mode corresponding to the application software includes:
determining each control in the interface of the application software where the target input box is currently located, and acquiring each character string displayed in each control;
determining the language type corresponding to each character string, and determining each first character string and each second character string in all the character strings, wherein the first character string is a character string with English language type, and the second character string is a character string with Chinese language type;
determining a first numerical value and a second numerical value, wherein the first numerical value is the total number of the character strings corresponding to all the first character strings, and the second numerical value is the total number of the character strings corresponding to all the second character strings;
And determining a target language type according to the first numerical value and the second numerical value, and determining the target language mode corresponding to the application software according to the target language type.
2. The method of claim 1, wherein the detecting whether the first input interface receives a preset input gesture comprises:
detecting whether a gesture input signal is received by a target area corresponding to the first input interface in real time;
if the target area receives the gesture input signal, determining a target input gesture corresponding to the gesture input signal, and judging whether the target input gesture is a continuous tapping gesture or not, wherein the continuous tapping gesture comprises tapping gestures with continuous tapping preset times;
and if the target input gesture is the continuous tapping gesture, determining to detect that the first input interface receives the preset input gesture.
3. The method as recited in claim 1, further comprising:
displaying a preset switching key to prompt the user to click the switching key to switch an input method;
and if an input method switching instruction triggered by clicking the switching key by the user is received, calling a system input method corresponding to the terminal, and displaying an input interface corresponding to the system input method, so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
4. A display device for an input interface of an input method, comprising:
a first determining unit, configured to determine, when an input request sent by application software of a terminal in response to an operation of a user is received, a target input box corresponding to the input request;
the first display unit is used for displaying a first input interface if the target input box is a password input box, wherein the first input interface is an input interface corresponding to a preset character type in a target input method corresponding to the application software;
the detection unit is used for detecting whether the first input interface receives a preset input gesture or not;
the second display unit is used for displaying a preset confirmation option if detecting that the first input interface receives the preset input gesture, and prompting the user to trigger the confirmation option so as to select whether to switch the input interface;
the third display unit is used for displaying a second input interface if a trigger instruction of triggering the confirmation option selection switching input interface by the user is received, so that the user selects the input characters on the second input interface to input the password in the target input box; the second input interface is a preset input interface in the target input method, and the second input interface comprises all capital English letters, all lowercase English letters and all numerical characters;
The second determining unit is used for determining a target language mode corresponding to the application software if the target input box is not a password input box; the target language mode is a Chinese mode or an English mode;
a fourth display unit, configured to determine an input language mode corresponding to the target input method according to the target language mode, and display a third input interface corresponding to the input language mode, so that the user selects an input character in the third input interface, so as to input a text in the target input box; the third input interface is an input interface corresponding to a default character type preset in the target input method;
wherein the second determining unit includes:
the third determining subunit is used for determining each control in the interface of the application software where the target input box is currently located and acquiring each character string displayed in each control;
a fourth determining subunit, configured to determine a language type corresponding to each of the character strings, and determine each first character string and each second character string in all the character strings, where the first character string is a character string whose language type is english, and the second character string is a character string whose language type is chinese;
A fifth determining subunit, configured to determine a first value and a second value, where the first value is a total number of strings corresponding to all the first strings, and the second value is a total number of strings corresponding to all the second strings;
and the sixth determining subunit is used for determining a target language type according to the first numerical value and the second numerical value and determining the target language mode corresponding to the application software according to the target language type.
5. The apparatus of claim 4, wherein the detection unit comprises:
the detection subunit is used for detecting whether a gesture input signal is received by a target area corresponding to the first input interface in real time;
the first determining subunit is configured to determine a target input gesture corresponding to the gesture input signal if the target area receives the gesture input signal, and determine whether the target input gesture is a continuous tap gesture, where the continuous tap gesture includes a tap gesture that continuously taps for a preset number of times;
and the second determining subunit is used for determining to detect that the first input interface receives the preset input gesture if the target input gesture is the continuous tapping gesture.
6. A storage medium comprising stored instructions, wherein the instructions, when executed, control a device in which the storage medium is located to perform a method of displaying an input method input interface according to any one of claims 1 to 3.
7. An electronic device comprising a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform a method of displaying an input interface according to any one of claims 1-3.
CN202010911752.9A 2020-09-02 2020-09-02 Display method and device of input interface of input method, storage medium and electronic equipment Active CN112034995B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010911752.9A CN112034995B (en) 2020-09-02 2020-09-02 Display method and device of input interface of input method, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010911752.9A CN112034995B (en) 2020-09-02 2020-09-02 Display method and device of input interface of input method, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112034995A CN112034995A (en) 2020-12-04
CN112034995B true CN112034995B (en) 2023-09-12

Family

ID=73591302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010911752.9A Active CN112034995B (en) 2020-09-02 2020-09-02 Display method and device of input interface of input method, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112034995B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246437A (en) * 2012-02-03 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Approach for switching input methods and terminal
CN105224858A (en) * 2014-06-05 2016-01-06 阿里巴巴集团控股有限公司 A kind of interface for password input display packing and system
CN107980110A (en) * 2016-12-08 2018-05-01 深圳市柔宇科技有限公司 Head-mounted display apparatus and its content input method
CN109739366A (en) * 2018-03-20 2019-05-10 北京字节跳动网络技术有限公司 A kind of method and apparatus that soft keyboard is shown

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932712A (en) * 2015-06-25 2015-09-23 小米科技有限责任公司 Text input method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246437A (en) * 2012-02-03 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Approach for switching input methods and terminal
CN105224858A (en) * 2014-06-05 2016-01-06 阿里巴巴集团控股有限公司 A kind of interface for password input display packing and system
CN107980110A (en) * 2016-12-08 2018-05-01 深圳市柔宇科技有限公司 Head-mounted display apparatus and its content input method
CN109739366A (en) * 2018-03-20 2019-05-10 北京字节跳动网络技术有限公司 A kind of method and apparatus that soft keyboard is shown

Also Published As

Publication number Publication date
CN112034995A (en) 2020-12-04

Similar Documents

Publication Publication Date Title
US10642933B2 (en) Method and apparatus for word prediction selection
US9678659B2 (en) Text entry for a touch screen
US8042042B2 (en) Touch screen-based document editing device and method
EP2350778B1 (en) Gestures for quick character input
EP2752744B1 (en) Arc menu index display method and relevant apparatus
AU2008100003B4 (en) Method, system and graphical user interface for viewing multiple application windows
US8159469B2 (en) User interface for initiating activities in an electronic device
KR101636705B1 (en) Method and apparatus for inputting letter in portable terminal having a touch screen
US20130047100A1 (en) Link Disambiguation For Touch Screens
US20130050222A1 (en) Keyboard with embedded display
US20070205991A1 (en) System and method for number dialing with touch sensitive keypad
US10037139B2 (en) Method and apparatus for word completion
US20070205990A1 (en) System and method for text entry with touch sensitive keypad
US20140240262A1 (en) Apparatus and method for supporting voice service in a portable terminal for visually disabled people
EP2731018A2 (en) Method of providing predictive text
CN104020989B (en) Control method and system based on remote application
TWI679576B (en) Method, device and mobile terminal for speed dialing in page
US10747270B2 (en) Input apparatus, information processing method, and information processing apparatus
CN112034995B (en) Display method and device of input interface of input method, storage medium and electronic equipment
KR20100024563A (en) System and method for inputting characters in terminal
US9524051B2 (en) Method and terminal for inputting multiple events
CA2846561C (en) Method and apparatus for word prediction selection
KR101544166B1 (en) Apparatus and method inputting data using touchscreen, and recording medium and program for executing the same
KR20100056028A (en) Method for extracting information with touch signal in mobile terminal and apparatus thereof
KR102138095B1 (en) Voice command based virtual touch input 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
GR01 Patent grant
GR01 Patent grant