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

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

Info

Publication number
CN112034995A
CN112034995A CN202010911752.9A CN202010911752A CN112034995A CN 112034995 A CN112034995 A CN 112034995A CN 202010911752 A CN202010911752 A CN 202010911752A CN 112034995 A CN112034995 A CN 112034995A
Authority
CN
China
Prior art keywords
input
target
input interface
gesture
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010911752.9A
Other languages
Chinese (zh)
Other versions
CN112034995B (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

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/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

Landscapes

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

Abstract

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

Description

Display method and device of input method input interface, storage medium and electronic equipment
Technical Field
The present invention relates to the field of input technologies, and in particular, to a display method and device for 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 the user uses the App on the mobile terminal, the user usually needs to log in the account, and when the user logs in, the user needs to input a password by using an input method carried by the App.
In order to ensure the information security of the user, the App usually has a requirement that the password set by the user contains different types of characters, so the password of the user usually contains multiple types of characters at the same time, such as capital English letters, lowercase English letters, numbers and the like.
Each input interface in the existing input method of the App only mainly comprises one type of characters, and when a user calls the input method of the App to input information, the input interface is switched to the character type corresponding to each switching key through each switching key. Therefore, when a user inputs a password in the App, the user needs to switch to the input interface corresponding to each type of character by himself to complete the input of the password. Therefore, when the user inputs the password, the input method input interface needs to be switched for many times, the process is complicated, and the user experience is poor.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a display method for an input interface of an input method, so as to solve the problem that a user needs to switch the input interface for many times when inputting a password, and the input process is complicated, so that the user experience 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 actual realization and application of the method.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a display method of an input method input interface comprises the following steps:
when an input request sent by application software of a terminal in response to the operation of a user is received, 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;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, and prompting the user to trigger the confirmation option to select whether to switch the input interface;
if a triggering instruction that the user triggers the confirmation option to select the switching input interface is received, displaying a second input interface so that the user can select the input characters on the second input interface to input the password in the target input box; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
The above method, optionally, further includes:
if the target input box is not a 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; and the third input interface is an input interface corresponding to a default character type preset in the target input 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 located currently, and acquiring each character string displayed in each control;
determining a 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 an English language type, and the second character string is a character string with a 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.
Optionally, the method for detecting whether the first input interface receives a preset input gesture includes:
detecting whether a target area corresponding to the first input interface receives a gesture input signal 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, wherein the continuous tapping gesture comprises a tapping gesture of continuous tapping for a preset number of 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 above method, optionally, further includes:
displaying a preset switching key to prompt the user to click the switching key to switch the input method;
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 method input interface, comprising:
the terminal comprises a first determination unit, a second determination unit and a display unit, wherein the first determination unit is used for determining a target input frame corresponding to an input request when the input request sent by application software of the terminal in response to the operation of a user is received;
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;
the second display unit is used for displaying a preset confirmation option if the first input interface is detected to receive 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 that the user triggers the confirmation option selection switching input interface is received, so that the user can select the input characters on the second input interface to input the passwords in the target input frame; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
The above apparatus, 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;
the fourth display unit is used for 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 can select input characters in the third input interface to input texts in the target input box; and the third input interface is an input interface corresponding to a default character type preset in the target input method.
The above apparatus, optionally, the detection unit includes:
the detection subunit is used for detecting whether a target area corresponding to the first input interface receives a gesture input signal in real time;
the first determining subunit is 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 tapping gesture, where the continuous tapping gesture includes tapping gestures for a preset number of continuous taps;
and the second determining subunit is configured to determine 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 located currently, and acquiring each character string displayed in each control;
a fourth determining subunit, configured to determine a language type corresponding to each character string, and determine, in all the character strings, each first character string and each second character string, 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 numerical value and a second numerical value, where the first numerical value is a total number of character strings corresponding to all the first character strings, and the second numerical value is a total number of character strings corresponding to all the second character strings;
and the sixth determining subunit is configured to determine a target language type according to the first numerical value and the second numerical value, and determine the target language mode corresponding to the application software according to the target language type.
The above apparatus, optionally, further comprises:
the fifth display unit is used for displaying a preset switching key 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 and displaying the input interface corresponding to the system input method if an input method switching instruction triggered by clicking the switching key by the user is received, so that the user inputs a text in the target input box based on the input interface corresponding to the system input method.
A storage medium comprises stored instructions, wherein when the instructions are executed, the equipment where the storage medium is located is controlled to execute the display method of the input method input interface.
An electronic device includes a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the display method of the input method input interface.
Based on the display method of the input method input interface provided by the embodiment of the invention, when an input request of a user is received, a target input box corresponding to the input request is determined; if the target input box is a password input box, calling an input method of 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, displaying a preset confirmation option, and if the user triggers the confirmation option to select to switch the input interface, displaying a second input interface comprising all capital English characters, all lowercase English characters and the numeric characters, wherein the user can input the password in the target input box through the second input interface. By applying the method provided by the embodiment of the invention, a user can input the preset input gesture when inputting the password, and switch to the input interface containing the characters of various preset character types, wherein the input interface contains all the characters of each preset character type, and when the password input by the user contains 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a 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 of 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 method input interface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a display device of an input method input interface 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 technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, 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 an … …" does not exclude the presence of other identical 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, the user usually needs to input a password to log in, and when the password of the user contains multiple types of characters, the user needs to switch an input interface of an input method for multiple times, so that the input process is complicated, and the user experience is poor.
Therefore, the embodiment of the invention provides a display method of an input method input interface, which can be switched to a preset input interface containing characters of various character types based on a preset input gesture input by a user when the user inputs a password, so that the user is prevented from switching the input interface of the input method for multiple times to input the password, and the use experience of the user is improved.
The embodiment of the invention provides a display method of an input method input interface, which can be applied to application software of a terminal, wherein an execution main body 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 equipment. The method flow chart of the method is shown in fig. 1, and comprises the following steps:
s101: when an input request sent by application software of a terminal in response to the operation of a user is received, determining a target input box corresponding to the input request;
in the method provided by the embodiment of the invention, when a user uses application software of a terminal, such as a mobile phone bank on a mobile phone, if the user clicks a corresponding input box in a mobile phone bank interface to input a text, for example, clicks a search box for intention to search, or clicks a user name input box or a user password input box in a 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 rear end of the mobile phone bank to request to call an input method for the user to input the text. When the back end receives the input request, a target input box corresponding to the input request, that is, an input box in which a user is to input text currently, may be determined, for example, by a 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 current 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 carried by the application software, the first input interface is the default input interface in the input method, namely the default native virtual keyboard, for example, the input method carried by a mobile phone bank for financial security, and the first input interface can be the default display input interface which is set by the user in the mobile phone bank or is fixedly set in the input method, for example, the input interface of a digital character or the input interface of a lower case English character, and the like.
S103: detecting whether the first input interface receives a preset input gesture;
in the method provided by the embodiment of the invention, a user can input a 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 is monitored, namely whether a region of a 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, and prompting the user to trigger the confirmation option to select whether to switch the input interface;
in the method provided by the embodiment of the invention, if the preset input gesture input by the user in the first input interface is detected, the preset confirmation option is displayed. The confirmation option can comprise a confirmation key and a closing identifier arranged at the upper right corner of the confirmation key, a user can select whether to switch the interface or not through the confirmation option, if the user clicks the confirmation key, a triggering instruction for selecting to switch the input interface is triggered, and if the user clicks the closing identifier, the confirmation key is closed.
S105: if a triggering instruction that the user triggers the confirmation option to select the switching input interface is received, displaying a second input interface so that the user can select the input characters on the second input interface to input the password in the target input box; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
In the method provided by the embodiment of the invention, if the user selects the switching input interface in the confirmation options, a second input interface preset in the target input method is displayed, the second input interface can be a full-screen keyboard, and the full-screen keyboard can comprise twenty-six upper-case English letter keys, twenty-six lower-case English letter keys and 0-9 ten numeric keys, and can also comprise other types of characters, such as special symbols and the like. The distribution of these keys can be set according to input habits. The user may select a corresponding character in the second input interface to enter the 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 frame corresponding to the input request can be determined, if the target input frame is a password input frame, 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 selecting to switch the input interface by the user is received, a second input interface containing all capital English letters, all small English letters and all numbers is displayed. By applying the method provided by the embodiment of the invention, when the user inputs the password, the user can input the preset input gesture and can switch to the input interface containing all characters of each character type after further confirmation, and the characters of different character types can be selected in the input interface to input the password without switching the input interface for multiple times, so that the process of inputting the password by the user is more convenient, and the use experience of the user is improved.
To better illustrate the method provided by the embodiment of the present invention, with reference to the flowchart shown in fig. 2, the embodiment of the present invention provides another 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 target area corresponding to the first input interface receives a gesture input signal in real time;
in the method provided by the embodiment of the invention, after the first input interface is displayed for the user, whether the area corresponding to the interface receives the gesture input information is detected in real time, wherein the gesture input information is an input signal generated by responding to long pressing, sliding, knocking and other operations 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, wherein the continuous tapping gesture comprises a tapping gesture of continuous tapping for a preset number of times;
in the method provided by the embodiment of the invention, if the target area is detected to receive the gesture input signal, the user performs corresponding gesture operation on the input interface of the input method on the terminal. According to the gesture input signal, a target input gesture input by the user can be determined, and whether the input gesture of the user is a continuous tapping gesture, such as a double-tapping 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 taps the first input interface displayed by the terminal twice continuously by using a finger joint, and 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 in the embodiment of the present invention, the continuous tapping gesture is taken as the preset input gesture, which is only one embodiment provided for better explaining the method of the present invention, and the preset input gesture is not limited. In a specific implementation, other types of input gestures may be used as the preset input gesture, such as a slide gesture and the like.
Based on the method provided by the embodiment of the invention, when the user inputs the password, the user can switch to the second input interface containing all the characters of each character type, and the characters of different character types are selected in the input interface to input the password without switching the input interface for many times, so that the process of inputting the password by the user is more convenient, and the use experience of the user is improved. Furthermore, the user can trigger the confirmation option by using a continuous tapping gesture, the second input interface is switched out after further confirmation, the input gesture is simple and easy to recognize, the user can trigger the confirmation option conveniently, the gesture recognition 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, an embodiment of the present invention provides another method for displaying an input interface of an input method, where the method provided in the embodiment of the present invention further includes:
if the target input box is not a 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 in 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 at present but inputs another 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, it is determined whether the display language of the application software is chinese or english.
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; and 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. And if the display language of the application software is English, determining that the input language mode corresponding to the target input method is the Chinese input mode. And displaying a third input interface according to the input language mode, wherein the third input interface is an input interface of default character types 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 an input interface of lower case English letters, when the input language mode is Chinese, after selecting English characters, the user can perform Chinese word formation on the input interface for the user to input Chinese characters, and when the input language mode is English, after selecting English characters, 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 the user inputs the password, the user can switch to the second input interface containing all the characters of each character type, and the characters of different character types are selected in the input interface to input the password without switching the input interface for many times, so that the process of inputting the password by the user is more convenient, and the use experience of the user is improved. Furthermore, 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 that the corresponding input interface can be displayed for the user according to the language using environment of the user, the input interface conforming to the language habit can be provided for the user, and the using experience of the user is further improved.
Further, on the basis of the foregoing embodiment, in the method provided in 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 located currently, 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 is obtained.
Determining a 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 an English language type, and the second character string is a character string with a Chinese language type;
in the method provided by the embodiment of the invention, character recognition can be performed 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 in all the character strings 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, a first numerical value and a second numerical value can be counted, wherein the first numerical value represents the number of 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 is determined according to the target language type. If the target language type can be determined by comparing the first numerical value with the second numerical value, the type of the character string with the larger numerical value is taken as the target language type, if the first numerical value is larger than the second numerical value, English is taken as the target language type, so that the target language mode is determined to be an English mode, and if the second numerical value is larger than the first numerical value, Chinese is taken as the target language type, so that the target language mode is determined to be a Chinese mode. The ratio of the first numerical value to the second numerical value in the total number of the character strings can also be calculated respectively, and the character string type corresponding to the numerical value with the ratio larger than a predetermined ratio (such as fifty percent) can be used as the target language type.
It should be noted that the method provided in the embodiment of the present invention is only one embodiment for better describing the determination of the target language mode corresponding to the application software, and during the implementation process, the target language mode corresponding to the application software may also be determined in other manners, for example, obtaining the configuration information of the application software, and determining the language mode according to the configuration information.
Based on 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 by the user in real time, and the accuracy of matching the target language mode and the language habit of the user can be improved.
Further, on the basis of the method shown in fig. 1, an embodiment of the present invention provides another method for displaying an input interface of an input method, where the method provided in the embodiment of the present invention further includes:
displaying a preset switching key to prompt the user to click the switching key to switch the 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 may be a default input method of the mobile phone system, or may be a third-party input method which is installed by a user and set as the default input method. In the self-service terminal and other devices, the input method of the system can also include an input mode of an entity keyboard based on the terminal besides the input method corresponding to the virtual keyboard operated in the human-computer interaction interface, and when the input mode of the entity keyboard is used, the input interface corresponding to the input of the entity keyboard can be displayed in the human-computer interaction interface of the terminal, and the input signal of the entity keyboard is received to input characters in the interface.
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 a user clicks the switching key on a terminal interaction interface such as a mobile phone screen, an input method switching instruction is triggered, an input method of a system corresponding to the terminal is called, an input interface corresponding to the input method is displayed, and an input interface of a target input method of 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. Furthermore, if the system input mode of the equipment such as the self-service terminal is the physical keyboard input, after the system input method is switched, the user can input characters through the physical keyboard, an input interface corresponding to the physical keyboard input is displayed in the terminal interface, and a corresponding physical switching key can be arranged on the physical keyboard and used for switching to the target input method of the application software.
Based on the method provided by the embodiment of the invention, when the user inputs the password, the user can switch to the second input interface containing all the characters of each character type, and the characters of different character types are selected in the input interface to input the password without switching the input interface for many times, so that the process of inputting the password by the user is more convenient, and the use experience of the user 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 inputting 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 method input interface shown in fig. 1, an embodiment of the present invention further provides a display device of an input method input interface, which is used for implementing the method shown in fig. 1 specifically, and a schematic structural diagram of the display device is shown in fig. 3, and includes:
a first determination unit 301, configured to, when receiving an input request sent by application software of a terminal in response to an operation of a user, determine a target input box corresponding to the input request;
a first display unit 302, 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;
the detecting unit 303 is configured to detect whether the first input interface receives a preset input gesture;
a second display unit 304, configured to display a preset confirmation option if it is detected that the first input interface receives 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 for triggering the confirmation option selection switching input interface by the user 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 an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric 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 frame corresponding to the input request can be determined, if the target input frame is a password input frame, 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 selecting to switch the input interface by the user is received, a second input interface containing all capital English letters, all small English letters and all numbers is displayed. By applying the device provided by the embodiment of the invention, when a user inputs a password, the user can input a preset input gesture and can switch to the input interface containing all characters of each character type after further confirmation, and the characters of different character types can be selected in the input interface to input the password without switching the input interface for multiple times, so that the process of inputting the password by the user is more convenient, and the use experience of the user is improved.
To better explain the device provided by the embodiment of the present invention, the embodiment of the present invention provides another display device of an input method input interface, a schematic structural 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:
the detecting subunit 306 is configured to detect whether a target area corresponding to the first input interface receives a gesture input signal in real time;
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 tapping gesture, where the continuous tapping gesture includes tapping gestures for a preset number of continuous taps;
a second determining subunit 308, configured to determine to detect that the first input interface receives the preset input gesture if the target input gesture is the continuous tapping gesture.
Further, on the basis of the apparatus shown in fig. 3, an embodiment of the present invention provides another display apparatus for an input interface of an input method, where the apparatus 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;
the fourth display unit is used for 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 can select input characters in the third input interface to input texts in the target input box; and the third input interface is an input interface corresponding to a default character type preset in the target input method.
Further, in the apparatus provided in the above implementation, in an 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 located currently, and acquiring each character string displayed in each control;
a fourth determining subunit, configured to determine a language type corresponding to each character string, and determine, in all the character strings, each first character string and each second character string, 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 numerical value and a second numerical value, where the first numerical value is a total number of character strings corresponding to all the first character strings, and the second numerical value is a total number of character strings corresponding to all the second character strings;
and the sixth determining subunit is configured to determine a target language type according to the first numerical value and the second numerical value, and determine the target language mode corresponding to the application software according to the target language type.
Further, on the basis of the apparatus shown in fig. 3, an embodiment of the present invention provides another display apparatus for an input method input interface, where the apparatus provided in the embodiment of the present invention further includes:
the fifth display unit is used for displaying a preset switching key 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 and displaying the input interface corresponding to the system input method if an input method switching instruction triggered by clicking the switching key by the user is received, 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 a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the display method of the input method input interface.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
when an input request sent by application software of a terminal in response to the operation of a user is received, 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;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, and prompting the user to trigger the confirmation option to select whether to switch the input interface;
if a triggering instruction that the user triggers the confirmation option to select the switching input interface is received, displaying a second input interface so that the user can select the input characters on the second input interface to input the password in the target input box; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
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 components and steps have been described above generally in terms of their functionality in order to clearly illustrate this 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 implementation. 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 (10)

1. A display method of an input method input interface is characterized by comprising the following steps:
when an input request sent by application software of a terminal in response to the operation of a user is received, 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;
if the first input interface is detected to receive the preset input gesture, displaying a preset confirmation option, and prompting the user to trigger the confirmation option to select whether to switch the input interface;
if a triggering instruction that the user triggers the confirmation option to select the switching input interface is received, displaying a second input interface so that the user can select the input characters on the second input interface to input the password in the target input box; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
2. The method of claim 1, further comprising:
if the target input box is not a 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; and the third input interface is an input interface corresponding to a default character type preset in the target input method.
3. The method of claim 2, wherein the determining the target language mode corresponding to the application software comprises:
determining each control in the interface of the application software where the target input box is located currently, and acquiring each character string displayed in each control;
determining a 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 an English language type, and the second character string is a character string with a 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.
4. The method of claim 1, wherein the detecting whether the first input interface receives a preset input gesture comprises:
detecting whether a target area corresponding to the first input interface receives a gesture input signal 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, wherein the continuous tapping gesture comprises a tapping gesture of continuous tapping for a preset number of 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.
5. The method of claim 1, further comprising:
displaying a preset switching key to prompt the user to click the switching key to switch the input method;
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.
6. A display device of an input method input interface is characterized by comprising:
the terminal comprises a first determination unit, a second determination unit and a display unit, wherein the first determination unit is used for determining a target input frame corresponding to an input request when the input request sent by application software of the terminal in response to the operation of a user is received;
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;
the second display unit is used for displaying a preset confirmation option if the first input interface is detected to receive 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 that the user triggers the confirmation option selection switching input interface is received, so that the user can select the input characters on the second input interface to input the passwords in the target input frame; the second input interface is an input interface preset in the target input method, and the second input interface comprises all capital English alphabetic characters, all small English alphabetic characters and all numeric characters.
7. The apparatus of claim 6, further comprising:
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;
the fourth display unit is used for 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 can select input characters in the third input interface to input texts in the target input box; and the third input interface is an input interface corresponding to a default character type preset in the target input method.
8. The apparatus of claim 6, wherein the detection unit comprises:
the detection subunit is used for detecting whether a target area corresponding to the first input interface receives a gesture input signal in real time;
the first determining subunit is 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 tapping gesture, where the continuous tapping gesture includes tapping gestures for a preset number of continuous taps;
and the second determining subunit is configured to determine to detect that the first input interface receives the preset input gesture if the target input gesture is the continuous tapping gesture.
9. A storage medium, characterized in that the storage medium comprises stored instructions, wherein when the instructions are executed, the storage medium controls a device on which the storage medium is located to execute the display method of the input method input interface according to any one of claims 1 to 5.
10. 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 the method of displaying the input method input interface of any one of claims 1-5.
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 true CN112034995A (en) 2020-12-04
CN112034995B 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 (5)

* 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
US20160378744A1 (en) * 2015-06-25 2016-12-29 Xiaomi Inc. Text input method and device
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

Patent Citations (5)

* 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
US20160378744A1 (en) * 2015-06-25 2016-12-29 Xiaomi Inc. Text input method and device
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
CN112034995B (en) 2023-09-12

Similar Documents

Publication Publication Date Title
US10642933B2 (en) Method and apparatus for word prediction selection
US9639267B2 (en) Quick gesture input
EP2752744B1 (en) Arc menu index display method and relevant apparatus
US8610669B2 (en) Apparatus and method for inputting character using touch screen in portable terminal
US20160077733A1 (en) Method and device having touchscreen keyboard with visual cues
US20130285926A1 (en) Configurable Touchscreen Keyboard
EP2653955B1 (en) Method and device having touchscreen keyboard with visual cues
CA2776707A1 (en) Input processing for character matching and predicted word matching
CN103324428A (en) Electronic apparatus and method for symbol input
EP2473900A1 (en) Pressure sensitive user interface for mobile devices
WO2013027224A1 (en) Keyboard with embedded display
WO2009074047A1 (en) Method, system, device and terminal for correcting touch screen error
US20070205990A1 (en) System and method for text entry with touch sensitive keypad
KR20140106801A (en) Apparatus and method for supporting voice service in terminal for visually disabled peoples
US20160266659A1 (en) Method and apparatus for word prediction using the position of a non-typing digit
EP2660692A1 (en) Configurable touchscreen keyboard
TWI679576B (en) Method, device and mobile terminal for speed dialing in page
CN108737634B (en) Voice input method and device, computer device and computer readable storage medium
CN105930085A (en) Input method and electronic device
US20180046224A1 (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
US9524051B2 (en) Method and terminal for inputting multiple events
KR20100024563A (en) System and method for inputting characters in terminal
EP2778859B1 (en) Method and apparatus for word prediction using the position of a non-typing digit
CA2846561C (en) Method and apparatus for word prediction selection

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