WO2020063548A1 - 一种输入方法及装置、终端及存储介质 - Google Patents
一种输入方法及装置、终端及存储介质 Download PDFInfo
- Publication number
- WO2020063548A1 WO2020063548A1 PCT/CN2019/107363 CN2019107363W WO2020063548A1 WO 2020063548 A1 WO2020063548 A1 WO 2020063548A1 CN 2019107363 W CN2019107363 W CN 2019107363W WO 2020063548 A1 WO2020063548 A1 WO 2020063548A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- character
- input
- fault
- tolerant
- target
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0238—Programmable keyboards
Definitions
- the embodiments of the present application relate to the field of electronic information technology but are not limited to the field of electronic information technology, and relate to, but are not limited to, an input method and device, a terminal, and a storage medium.
- the display screens currently applied to smart terminals are mostly designed for touch.
- a virtual keyboard displayed on the touch screen is used.
- the virtual keyboard does not have the touch of a real keyboard, and it is easy to have a wrong touch in the input process when using it, which reduces the accuracy of the input and affects the user experience.
- embodiments of the present application provide an input method and device, a terminal, and a storage medium.
- An embodiment of the present application provides an input method, and the method includes:
- An input character is determined according to the character to be input, the target character, and the fault-tolerant character.
- An embodiment of the present application further provides an input device, where the device includes:
- a first determining unit configured to determine a current input scene when a virtual keyboard is invoked
- a second determining unit configured to determine a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in a virtual keyboard
- a third determining unit configured to determine a character to be input based on the detected input operation
- a fourth determining unit is configured to determine an input character according to the character to be input, the target character, and the fault-tolerant character.
- An embodiment of the present application further provides a terminal including a memory and a processor.
- the memory stores a computer program that can be run on the processor, and the processor implements the steps in the foregoing input method when the processor executes the program.
- An embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, the steps in the foregoing input method are implemented.
- a fault-tolerant character corresponding to the target character is determined, thereby determining a character to be input of a detected input operation or a target character as an input character.
- input fault tolerance can be achieved according to the input scene, and the correct content can be quickly determined as the input characters in the case of input errors, thereby greatly reducing the possibility of input errors, reducing equipment misoperation caused by user's incorrect input, and improving users Use feelings.
- FIG. 1 is a schematic flowchart of an input method implementation according to an embodiment of the present application.
- FIG. 2 is a schematic flowchart of implementing another input method according to an embodiment of the present application.
- 3A is a schematic flowchart of another input method implementation according to an embodiment of the present application.
- 3B is a schematic diagram of a number nine-grid keyboard in an embodiment of the present application.
- 3C is a schematic diagram of a full keyboard in an embodiment of the present application.
- 3D is a schematic diagram of an application scenario according to an embodiment of the present application.
- 3E is a schematic diagram of another application scenario according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an input device according to an embodiment of the present application.
- FIG. 5 is a schematic diagram of a hardware entity of a smart terminal according to an embodiment of the present application.
- An embodiment of the present application provides an input method, which is used in a smart terminal.
- the smart terminal executes the method, it can determine a target character and a fault-tolerant character according to a current input scene, and determine a final input character according to an input operation.
- the functions implemented by this method can be implemented by the processor in the smart terminal calling program code.
- the program code can be stored in a computer storage medium. It can be seen that the smart terminal includes at least a processor and a storage medium.
- FIG. 1 is a schematic flowchart of an input method according to an embodiment of the present application. As shown in FIG. 1, the method includes:
- Step S101 When the virtual keyboard is called, determine the current input scene
- the virtual keyboard is applied to a smart terminal with a touch screen.
- the smart terminal When the smart terminal is in a non-input scenario, it is generally not necessary to display the virtual keyboard.
- the virtual keyboard is automatically called. For example, when a smartphone enters a text message editing scene, a virtual keyboard is automatically invoked for the user to enter text message content.
- the virtual keyboard is a keyboard formed by a display technology or a projection technology. When the display ends or the projection ends, the virtual keyboard disappears.
- Different input scenarios may be applied to different virtual keyboards or require different input.
- the application may enter the user account password input scenario; it may also log in through a mobile phone number to enter the mobile phone number input scenario.
- the application can send verification to the mobile phone number Code, and then enter the verification code input scene.
- an application needs to determine a current input scene when calling a virtual keyboard.
- Step S102 Determine a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in a virtual keyboard.
- the corresponding target character can be determined according to the input scene.
- the target character here refers to the content that the predicted user is most likely to input in the current input scene.
- the application can first pass the relevant communication interface of the mobile phone Obtain the local number, or obtain it according to the existing local number record, and use the local number as the input error tolerance standard. In other words, the application can use each digit of the local phone number as the target character for the current mobile phone number input scene.
- the user can enter the local number or other numbers according to his own needs, instead of limiting the user's input by automatically filling in the local number.
- the target characters can be set in advance to determine the target input content.
- it can be modified according to actual needs, or it can be quickly input and reduce input errors.
- the application can determine the fault-tolerant character corresponding to the target character according to the target character.
- the role of the fault-tolerant character is that when the user clicks on the fault-tolerant character, the application can consider that the user's input is wrong and provide the target character corresponding to the fault-tolerant character to the user. Of course, you can directly replace the fault-tolerant characters with the target characters, or you can provide users with choices.
- Different target characters can have different fault tolerance characters.
- the fault-tolerant characters corresponding to different target characters may be partially the same.
- the setting of the fault-tolerant characters here may be different according to the actual situation.
- the characters of each target character near the position of the virtual keyboard such as one or more of the four characters above and below the left and right, may be used as the fault-tolerant characters corresponding to the target character.
- the setting of fault-tolerant characters also needs to take into account the virtual keyboard mode, such as a full keyboard or a Jiugong keyboard, etc .; it can also take into account the size of the keyboard, for example, a display with a larger display area has a larger virtual keyboard.
- the nearest adjacent character of the target character can be used as the fault-tolerant character; when the virtual keyboard of the smaller display screen is also smaller, the keys of the virtual keyboard are denser, then the adjacent character and the separated character of the target character can be used as the fault-tolerant character .
- the target character and the fault-tolerant character may include at least one of the following:
- Symbol characters such as mail symbols.
- Step S103 Determine a character to be input based on the detected input operation
- the user's input operation can be sensed, that is, the position where the user clicks the virtual keyboard is determined.
- the application determines that the character clicked by the user is a character to be entered according to the position where the user clicks the virtual keyboard.
- Step S104 Determine an input character according to the character to be input, the target character, and the fault-tolerant character.
- the input characters here are the characters that are finally confirmed, that is, the characters accepted by the application and will be processed subsequently, and the characters to be input are determined according to the detected user's touch input.
- the application program should determine the input characters by synthesizing the characters to be input, the target characters, and the fault-tolerant characters. For example, if the character to be input does not touch the fault-tolerant character, the character to be input may be determined as the input character; if the character to be input touches the fault-tolerant character, the target character corresponding to the fault-tolerant character may be used as the input character.
- the method further includes:
- Step S11 Determine whether the input scene is a preset designated scene
- Step S12. If not, determine the character to be input as an input character.
- the application program may preset a specified scene for performing the above-mentioned input fault tolerance processing.
- the application program determines whether the current input scene is a preset specified scene. If the input scene is a preset designated scene, perform input fault tolerance processing for the input in the scene; and / or, if the input scene is not a preset designated scene, determine the character to be input as the input character . That is, when the input scene is not a designated scene, the received user input is directly determined as the input character without performing input fault tolerance processing.
- the specified scene may be an input scene corresponding to an application, or may be an input scene determined according to a user preset. For example, a scenario of entering a mobile phone number and obtaining a verification code, a scenario of entering an account number, a password, a scenario of entering an email address, a scenario of entering a web address, and so on.
- An embodiment of the present application provides another input method. As shown in FIG. 2, the method includes:
- Step S201 When the virtual keyboard is called, determine the current input scene
- Step S202 Determine a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in a virtual keyboard;
- Step S203 Determine a character to be input based on the detected input operation
- steps S201 to S203 are the same as steps S101 to S103 of the embodiment, and are not repeated here.
- Step S204 Determine the input character according to the character to be input, the target character, and the fault-tolerant character, including:
- Step S204a When the character to be input is the same as the target character, determine the target character as the input character;
- Step S204b when the character to be input is the same as the fault-tolerant character, determine the target character as the input character;
- the application can consider that the input of the character to be input is correct, and the target character is also The character to be input is determined as the input character. At this time, since the input is correct, there is no need for correction of fault tolerance.
- the application can consider that the input of the character to be input is wrong, and determine the target character corresponding to the fault-tolerant character as the input character, that is, the character to be input is fault-tolerant. Correct, modify the characters to be input into the target characters.
- Step S204c When the character to be input is different from the target character, and the character to be input is different from the fault-tolerant character, determine the character to be input as the input character.
- the detected user input that is, the determined character to be input is neither the target character nor the fault-tolerant character corresponding to the target character.
- the application can consider that the user does not make a typo at this time, but actually needs to input a character that is not the same as the target character, so that the fault tolerance correction becomes unnecessary, so the character entered by the user can be directly entered at this time, that is, The character to be entered is determined as the input character.
- determining the target character as the input character includes:
- Step S21 when the character to be input is the same as the fault-tolerant character, output a selection prompt; wherein the selection prompt is used to prompt whether to replace the character to be input with the target character;
- Step S22 When the selection result inputted according to the selection prompt is yes, the target character is determined as the input character.
- the characters to be entered are wrong, and the user wants the correct characters to be the target characters corresponding to the fault-tolerant characters;
- the characters to be entered are correct, the character that the user wants to enter is different from the target character, and the user wants to enter the current character to be entered;
- the character to be input is wrong.
- the character that the user wishes to input is not the current character to be input, that is, the fault-tolerant character, nor the target character corresponding to the fault-tolerant character, but other characters.
- the application needs to provide a choice for the user to confirm, that is, output a selection prompt.
- the selection prompt output here is used to prompt whether to replace the character to be input with the target character. Therefore, the selection prompt needs to include at least the option of determining the target character as the input character, that is, the first case Option, after detecting that the user has selected this option, the target character is determined as the input character. If the user does not select this option, the application can default that the characters to be entered are correct, which is the second case. At this time, the characters to be entered are determined as the input characters. If it belongs to the third case, the delete key and backspace key provided by the virtual keyboard can be used by the user to perform the delete operation. When the delete operation is detected, the current character to be input is deleted, and the new input is continued to be received.
- the method further includes:
- the method further includes:
- the fault-tolerant character corresponds to two or more target characters
- a target prompt corresponding to the character currently outputs a selection prompt; wherein the selection prompt is used to prompt whether to replace the character to be input with the target character; when the selection result input according to the selection prompt is yes, then The target character is determined as an input character.
- the alphabetic character “L” when entering into the mailbox suffix, the alphabetic character “L” may be a fault-tolerant character of the letter "n” and the symbol character ".”, But the legal content has been entered as "1378230 @ sina", at this time When the character "L” to be input is detected, the currently corresponding target character is considered to be the symbol character ".”.
- determining the current input scene includes:
- Step S31a When the display content on the display interface calling the virtual keyboard includes a prompt for inputting a mobile phone number, determine that the current input scene is inputting a mobile phone number;
- Step S31b When the display content on the display interface that invokes the virtual keyboard includes a prompt for entering an email address, determine that the current input scenario is entering an email address;
- Step S31c When the display content on the display interface that invokes the virtual keyboard includes a prompt for entering a web address, determine that the current input scene is an input web address.
- the application can determine the current input scene based on the content displayed on the display.
- the display includes prompts for entering a mobile phone number, entering an email address, or entering a web address, . It is determined that the current input scene is inputting a mobile phone number. For example, an input box is displayed on the display interface, and "Please enter a mobile phone number" is displayed above the input box. At this time, it can be determined that the current input scene is to enter a mobile phone number.
- the method further includes:
- Step S32a when the input scene is a mobile phone number, obtain a mobile phone number of the local machine;
- Step S33a determining a numeric character corresponding to each key in the virtual keyboard corresponding to the mobile phone number as the target character, and determining a character adjacent to each target character as the fault-tolerant character;
- Step S32b when the input scenario is an input email address, obtain a mailbox address of a registered mailbox;
- Step S33b determining a numeric character or an alphabetic character of the mailbox address in the virtual keyboard as the target character, and determining a character adjacent to each target character as the fault-tolerant character;
- Step S32c when the input scene is an input URL, obtaining a preset URL
- Step S33c Determine a numeric character or an alphabetic character of the preset web address in the virtual keyboard as the target character, and determine a character adjacent to each of the target characters as the fault-tolerant character.
- the scenario of inputting a mobile phone number, inputting an email address, or inputting a web address in the foregoing embodiment is taken as an example.
- the input scenario is a mobile phone number input scenario
- You can access the SIM card (Subscriber Identity Module) on the mobile phone by calling the system interface of the current mobile phone, and obtain the local phone number through the SIM card.
- Phone number You can also determine the current mobile phone number through preset settings, for example, when you use the current application for the first time, enter a preset mobile phone number.
- the virtual key corresponding to each digit of the mobile phone number in the virtual keyboard is used as the target character.
- the email address that the native application has logged in can be obtained, and the virtual key corresponding to the email address in the virtual keyboard is used as the target character.
- the input scene is an input web address
- it can be based on the preset web address of the user, or it can be based on obtaining the web address of a specific related website as the input, and the virtual key corresponding to the web site in the virtual keyboard as the target character.
- the input content can be determined according to the existing information that can be obtained on the local machine, or it can be preset in advance as the content for future input based on the content preset by the user.
- the determining a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in the virtual keyboard includes:
- Step S41 Determine the type of the virtual keyboard
- Step S42 Determine a target character corresponding to the input scene in the virtual keyboard
- Step S43 Determine, according to the type of the virtual keyboard and the target character, an adjacent character of the target character as the fault-tolerant character in the virtual keyboard.
- Different brands and types of smart terminals may correspond to virtual keyboards in different modes, and different input methods or different user settings may correspond to virtual keyboards in different modes.
- virtual keyboards there are various types of virtual keyboards, such as Jiugongge mode, full keyboard mode, or other modes.
- the arrangement of each character in the virtual keyboard is also different.
- different input fault tolerance methods need to be customized for different types of virtual keyboards.
- the application program here first determines the type of the virtual keyboard, and determines the target character corresponding to the current input scene according to the type of the virtual keyboard. Then, corresponding to the current virtual keyboard type, adjacent characters of each target character are found, and the adjacent characters are determined as fault-tolerant characters.
- an embodiment of the present application provides an input method.
- the application can obtain the local mobile phone number through the terminal, or record the local mobile phone number of the user through the user's own input, and then according to the recorded local mobile phone number of the user, for different input keyboards, such as full keyboard Or Jiugongge keyboard, set the fault-tolerant number of the user's local mobile phone number.
- the application can determine the fault-tolerant characters corresponding to the user's local number in the keyboard mode after determining the input keyboard that the user currently uses.
- a correct number prompt can pop up, and the wrong number can be automatically replaced with the correct number according to the user's selection operation, thereby greatly improving the user number.
- the correct input rate reduces the problem that the verification code cannot be received quickly due to the wrong number input.
- An embodiment of the present application provides an input method. As shown in FIG. 3A, the method includes:
- Step S301 Acquire and save the mobile phone number of the terminal
- the application program of the terminal can access the SIM card on the mobile phone by calling the system interface, and then obtain the mobile phone number of the machine through the SIM card.
- the application can also guide the user to enter their own mobile phone number by popping up a guide message when the user first uses it.
- Step S302 Set fault-tolerant characters in different input keyboard modes for the mobile phone number respectively;
- the different input keyboards set the fault-tolerant characters for the local mobile phone number obtained by performing step S301.
- the different input keyboards refer to the number nine-key grid keyboard, as shown in Figure 3B, or the full keyboard, as shown in Figure 3C. Show.
- the application may use a number located on the keyboard around the desired number as the fault-tolerant number of the desired input number. And because the numbers around the same number on different input keyboards are often different, in this solution, it is often necessary to set the fault-tolerant characters of the local number for different types of input keyboards.
- the application program sets the fault-tolerant characters for the local numbers for different keyboards according to the above rules. For example, if it is determined that the mobile phone number of the mobile phone is "1548" by executing step S301, then by performing step S302, it can be determined that the fault-tolerant characters of the mobile phone number are:
- the fault-tolerant character corresponding to the number 8 "5, 7, 9, 0".
- each digit appearing in a mobile phone number may be different, and the fault-tolerant characters corresponding to different digits are often different.
- the application determines the fault-tolerant characters corresponding to the local number, it is necessary to add the local mobile phone number to the local mobile number according to the numbers In the order in which the fault-tolerant characters corresponding to each digit in the local number are saved.
- the local phone number is “1548” by performing step S301.
- the fault-tolerant characters corresponding to the mobile phone number are: “2”, “4, 6”, “3, 5”. ",” 7, 9 ", according to the order of the local numbers, the fault-tolerant characters of the numbers can be recorded as:
- Step S303 Load fault-tolerant characters according to the input characters and the current keyboard mode
- the application When it is detected that the user calls the keyboard through the application to input the mobile phone number, the application loads the preset fault-tolerant characters according to the current keyboard type.
- the application program can determine the keyboard type currently called by the operating system by calling the relevant interface of the system, and determine the fault-tolerant characters of the local number corresponding to the keyboard type.
- the application can determine whether the current mobile phone number input scene is based on the status displayed on the current interface, such as the “Enter Account”, “Enter Password”, “Repeat Password”, and “Enter Mobile Phone Number” interfaces.
- Step S304 According to the detected input characters, an error prompt is issued, and the input characters are replaced with correct characters according to the user's selection instruction.
- the application program detects whether the user input is a fault-tolerant character, and the application program issues an input error prompt, and can automatically replace the user-entered fault-tolerant character with the corresponding correct character based on the user's selection;
- the local phone number is "1548" as an example.
- the virtual keyboard currently called by the terminal is a Jiugong numeric keypad.
- the user uses the keyboard to enter numbers, the first two digits are entered correctly, and when the third digit is entered, , The user touched the number "7" by mistake.
- the fault-tolerant characters corresponding to the third digit are: "1", "5", and "7".
- the application can determine that the character entered by the user is wrong, and the correct character “4” pops up to prompt the user according to the input position, as shown in FIG. 3D.
- the input scene prompt box 11 prompts the mobile phone number and the input box 12 Display user input.
- the fault-tolerant prompt box 13 is used to display the correct characters in the fault-tolerant prompt box 13 when a fault-tolerant character is detected in the input box.
- the virtual keyboard 14 in the figure is a number nine grid keyboard. The user enters the desired correct character key 15 , Touch the fault-tolerant character button 16 by mistake. As shown in FIG. 3E, after the user clicks on a character in the fault-tolerant prompt box 13, the fault-tolerant character in the input box 12 is replaced with the correct character in the corresponding fault-tolerant prompt box 13.
- the application can obtain the mobile phone number of the local machine through terminal or user input and save it. According to the saved local mobile phone number, set the fault-tolerant characters of the user's local mobile phone number for different input keyboards.
- the application can determine the fault-tolerant characters corresponding to the user's local number in the keyboard mode after determining the input keyboard that the user is currently using.
- a prompt for the correct character can be displayed, and the wrong input character can be replaced with the correct character according to the user's selection operation.
- an embodiment of the present application provides an input device.
- the device includes each unit included, and each module included in each unit may be implemented by a processor in a terminal; of course, it may also be implemented by a specific
- the logic circuit is implemented; in the implementation process, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA).
- CPU central processing unit
- MPU microprocessor
- DSP digital signal processor
- FPGA field programmable gate array
- FIG. 4 is a schematic structural diagram of an input device according to an embodiment of the present application. As shown in FIG. 4, the device 400 includes:
- the first determining unit 401 is configured to determine a current input scene when a virtual keyboard is invoked
- a second determining unit 402 configured to determine a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in a virtual keyboard
- the third determining unit 403 is configured to determine a character to be input based on the detected input operation
- the fourth determining unit 404 is configured to determine an input character according to the character to be input, the target character, and the fault-tolerant character.
- the fourth determining unit includes at least one of the following:
- a first determining module configured to determine the target character as the input character when the character to be input is the same as the target character
- a second determining module configured to determine a target character corresponding to the fault-tolerant character as the input character when the character to be input is the same as the fault-tolerant character
- a third determining module is configured to determine the character to be input as the input character when the character to be input is different from the target character, and the character to be input is different from the fault-tolerant character.
- the second determining module includes:
- An output sub-module configured to output a selection prompt when the character to be input is the same as the fault-tolerant character; wherein the selection prompt is used to prompt whether to replace the character to be input with a target corresponding to the fault-tolerant character character;
- the determining sub-module is configured to determine the target character as an input character when a selection result inputted according to the selection prompt is yes.
- the apparatus further includes:
- a fifth determining unit configured to determine whether the input scene is a preset designated scene
- the second determining unit determines a target character corresponding to the input scene and a fault-tolerant character corresponding to the target character in a virtual keyboard.
- the first determining unit includes:
- a fourth determining module configured to determine that the current input scene is to enter a mobile phone number when the display content on the display interface of the virtual keyboard includes a prompt to enter a mobile phone number
- a fifth determining module is configured to determine that the current input scenario is to enter the email address when the display content on the display interface of the virtual keyboard includes a prompt to enter the email address;
- a sixth determining module is configured to determine that the current input scene is an input web address when the display content on the display interface of the virtual keyboard includes a prompt for inputting a web address.
- the second determining unit includes:
- a first obtaining module is configured to obtain a mobile phone number of the local machine when the input scene is to input a mobile phone number; the second determining unit determines a numeric character corresponding to each key in the virtual keyboard corresponding to the mobile phone number as The target character, and determining a character adjacent to each of the target characters as the fault-tolerant character; or
- a second obtaining module is configured to obtain a mailbox address of a registered mailbox when the input scenario is an input email address; the second determining unit determines a numeric character or an alphabetic character of the email address in a virtual keyboard as The target character, and determining a character adjacent to each of the target characters as the fault-tolerant character; or
- the third obtaining module is configured to obtain a preset URL when the input scene is an input URL; determine a numeric character or an alphabetic character of the preset URL in a virtual keyboard as the target character, and assign each The character adjacent to the target character is determined as the fault-tolerant character.
- the second determining unit further includes:
- a seventh determining module configured to determine a type of the virtual keyboard
- An eighth determining module configured to determine a target character corresponding to the input scene in the virtual keyboard
- a ninth determination module is configured to determine, according to the type of the virtual keyboard and the target character, an adjacent character of the target character as the fault-tolerant character in the virtual keyboard.
- the description of the upper device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects to the method embodiment.
- the description of the method embodiments of the present application please refer to the description of the method embodiments of the present application for understanding.
- the above-mentioned input method is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
- the computer software product is stored in a storage medium and includes several instructions for A smart terminal (which may be a personal computer, a mobile phone, a tablet computer, etc.) is caused to execute all or part of the methods described in the embodiments of the present application.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disk, which can store program codes.
- ROM Read Only Memory
- magnetic disk or an optical disk, which can store program codes.
- an embodiment of the present application provides a terminal, which includes a memory and a processor.
- the memory stores a computer program that can be run on the processor.
- the processor executes the program, the input provided in the foregoing embodiment is implemented. method.
- an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, which is characterized in that when the computer program is executed by a processor, the steps in the input method provided in the foregoing embodiment are implemented.
- FIG. 5 is a schematic diagram of a hardware entity of a terminal that implements the foregoing input method according to an embodiment of the present application. As shown in FIG. The processor 501 may control various operations of the terminal 500.
- the communication interface 502 can enable a terminal to communicate with other terminals or servers through a network.
- the memory 503 is configured to store instructions and applications executable by the processor 501, and may also buffer data to be processed or processed by each module in the processor 501 and the terminal 500 (for example, image data, audio data, voice communication data, and video Communication data), can be realized by flash memory (FLASH) or random access memory (Random Access Memory, RAM).
- FLASH FLASH
- RAM Random Access Memory
- an embodiment or “an embodiment” mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application.
- the appearances of "in one embodiment” or “in an embodiment” appearing throughout the specification are not necessarily referring to the same embodiment.
- the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
- the size of the sequence numbers of the above processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not deal with the embodiments of the present application.
- the implementation process constitutes any limitation.
- the above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
- the disclosed device and method may be implemented in other ways.
- the device embodiments described above are only schematic.
- the division of the unit is only a logical function division.
- there may be another division manner such as multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed components are coupled, or directly coupled, or communicated with each other through some interfaces.
- the indirect coupling or communication connection of the device or unit may be electrical, mechanical, or other forms. of.
- the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
- the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
- the foregoing program may be stored in a computer-readable storage medium.
- the execution includes Steps of the above method embodiment; and the foregoing storage medium includes: various types of media that can store program codes, such as a mobile storage device, a read-only memory (Read Only Memory, ROM), a magnetic disk, or an optical disc.
- ROM Read Only Memory
- the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
- the computer software product is stored in a storage medium and includes several instructions for A smart terminal (which may be a personal computer, a smart phone, a tablet computer device, or the like) is caused to execute all or part of the methods described in the embodiments of the present application.
- the foregoing storage media include: various types of media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disc.
Abstract
Description
Claims (10)
- 一种输入方法,所述方法包括:调用虚拟键盘时,确定当前的输入场景;在虚拟键盘中确定与所述输入场景对应的目标字符和与所述目标字符对应的容错字符;基于检测到的输入操作,确定待输入字符;根据所述待输入字符、所述目标字符和所述容错字符,确定输入字符。
- 根据权利要求1所述的方法,其中,所述根据所述待输入字符、所述目标字符和所述容错字符,确定输入字符,包括以下至少之一:当所述待输入字符与所述目标字符相同时,将所述目标字符确定为所述输入字符;当所述待输入字符与所述容错字符相同时,将与所述容错字符对应的目标字符确定为所述输入字符;当所述待输入字符与所述目标字符不同时,且所述待输入字符与所述容错字符不同,将所述待输入字符确定为所述输入字符。
- 根据权利要求2所述的方法,其中,所述当所述待输入字符与所述容错字符相同时,将所述目标字符确定为所述输入字符,包括:当所述待输入字符与所述容错字符相同时,输出选择提示;其中,所述选择提示用于提示是否将所述待输入字符替换为与所述容错字符对应的目标字符;当接收到根据所述选择提示输入的选择结果为是时,则将所述目标字符确定输入字符。
- 根据权利要求1所述的方法,其中,在确定当前的输入场景之后,所述方法还包括:确定所述输入场景是否为预设的指定场景;若所述输入场景是预设的指定场景,在虚拟键盘中确定与所述输入场景对应的目标字符和与所述目标字符对应的容错字符。
- 根据权利要求1至4中任一项所述的方法,其中,所述调用虚拟键盘时,确定当前的输入场景,包括:当调用虚拟键盘的显示界面上的显示内容包括输入手机号码的提示时,确定当前输入场景为输入手机号码;当调用虚拟键盘的显示界面上的显示内容包括输入邮箱地址的提示时,确定当前输入场景为输入邮箱地址;当调用虚拟键盘的显示界面上的显示内容包括输入网址的提示时,确定当前输入场景为输入网址。
- 根据权利要求5所述的方法,其中,所述在虚拟键盘中确定与所述输入场景对应的目标字符和与所述目标字符对应的容错字符,包括:当所述输入场景为输入手机号码时,获取本机的手机号码;将所述手机号码对应虚拟键盘中的每一按键对应的数字字符确定为所述目标字符,并将每一所述目标字符相邻的字符确定为所述容错字符;或者,当所述输入场景为输入邮箱地址时,获取已登录邮箱的邮箱地址;将所述邮箱地址在虚拟键盘中的数字字符或字母字符确定为所述目标字符,并将每一所述目标字符相邻的字符确定为所述容错字符;或者,当所述输入场景为输入网址时,获取预设网址;将所述预设网址在虚拟键盘中的数字字符或字母字符确定为所述目标字符,并将每一所述目标字符相邻的字符确定为所述容错字符。
- 根据权利要求1所述的方法,其中,所述在虚拟键盘中确定与所述输入场景对应的目标字符和与所述目标字符对应的容错字符,包括:确定所述虚拟键盘的类型;在所述虚拟键盘中确定与所述输入场景对应的目标字符;根据所述虚拟键盘的类型和所述目标字符,在所述虚拟键盘中将所述目标字符的相邻字符确定为所述容错字符。
- 一种输入装置,所述装置包括:第一确定单元,配置为调用虚拟键盘时,确定当前的输入场景;第二确定单元,配置为在虚拟键盘中确定与所述输入场景对应的目标字符和与所述目标字符对应的容错字符;第三确定单元,配置为基于检测到的输入操作,确定待输入字符;第四确定单元,配置为根据所述待输入字符、所述目标字符和所述容错字符,确定输入字符。
- 一种终端,包括存储器和处理器,所述存储器存储有可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现权利要求1至7中任一项输入方法中的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现权利要求1至7中任一项输入方法中的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811145603.5 | 2018-09-29 | ||
CN201811145603.5A CN109521889B (zh) | 2018-09-29 | 2018-09-29 | 一种输入方法及装置、终端及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020063548A1 true WO2020063548A1 (zh) | 2020-04-02 |
Family
ID=65772000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/107363 WO2020063548A1 (zh) | 2018-09-29 | 2019-09-23 | 一种输入方法及装置、终端及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109521889B (zh) |
WO (1) | WO2020063548A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109521889B (zh) * | 2018-09-29 | 2021-02-09 | 咪咕音乐有限公司 | 一种输入方法及装置、终端及存储介质 |
CN110221708A (zh) * | 2019-03-29 | 2019-09-10 | 北京理工大学 | 一种用于虚拟现实的自适应键值显示输入系统 |
CN110597712B (zh) * | 2019-08-27 | 2023-09-05 | 北京奇艺世纪科技有限公司 | 一种组件属性校验方法、装置、终端及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101788855A (zh) * | 2010-03-09 | 2010-07-28 | 华为终端有限公司 | 一种获取用户输入信息的方法、装置及通信终端 |
CN103257886A (zh) * | 2012-02-15 | 2013-08-21 | 联想(北京)有限公司 | 一种调用信息输入程序的方法及一种电子设备 |
CN105446516A (zh) * | 2014-08-27 | 2016-03-30 | 阿里巴巴集团控股有限公司 | 一种信息输入的方法和设备 |
CN105511796A (zh) * | 2015-12-30 | 2016-04-20 | 努比亚技术有限公司 | 一种自适应切换输入法界面的信息输入方法及装置 |
CN107102746A (zh) * | 2016-02-19 | 2017-08-29 | 北京搜狗科技发展有限公司 | 候选词生成方法、装置以及用于候选词生成的装置 |
CN109521889A (zh) * | 2018-09-29 | 2019-03-26 | 咪咕音乐有限公司 | 一种输入方法及装置、终端及存储介质 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7030863B2 (en) * | 2000-05-26 | 2006-04-18 | America Online, Incorporated | Virtual keyboard system with automatic correction |
US9552155B2 (en) * | 2008-02-04 | 2017-01-24 | Microsoft Technology Liecsnsing, LLC | Dynamic soft keyboard |
CN101266520B (zh) * | 2008-04-18 | 2013-03-27 | 上海触乐信息科技有限公司 | 一种可实现灵活键盘布局的系统 |
CN102207816B (zh) * | 2010-07-16 | 2017-04-19 | 北京搜狗科技发展有限公司 | 一种基于输入环境进行适配输入的方法和输入法系统 |
US8819574B2 (en) * | 2012-10-22 | 2014-08-26 | Google Inc. | Space prediction for text input |
US8887103B1 (en) * | 2013-04-22 | 2014-11-11 | Google Inc. | Dynamically-positioned character string suggestions for gesture typing |
CN104298672B (zh) * | 2013-07-16 | 2018-09-11 | 北京搜狗科技发展有限公司 | 一种输入的纠错方法和装置 |
CN105404401A (zh) * | 2015-11-23 | 2016-03-16 | 小米科技有限责任公司 | 输入处理方法、装置及设备 |
CN107562222A (zh) * | 2017-09-25 | 2018-01-09 | 联想(北京)有限公司 | 一种数据处理方法及系统 |
-
2018
- 2018-09-29 CN CN201811145603.5A patent/CN109521889B/zh active Active
-
2019
- 2019-09-23 WO PCT/CN2019/107363 patent/WO2020063548A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101788855A (zh) * | 2010-03-09 | 2010-07-28 | 华为终端有限公司 | 一种获取用户输入信息的方法、装置及通信终端 |
CN103257886A (zh) * | 2012-02-15 | 2013-08-21 | 联想(北京)有限公司 | 一种调用信息输入程序的方法及一种电子设备 |
CN105446516A (zh) * | 2014-08-27 | 2016-03-30 | 阿里巴巴集团控股有限公司 | 一种信息输入的方法和设备 |
CN105511796A (zh) * | 2015-12-30 | 2016-04-20 | 努比亚技术有限公司 | 一种自适应切换输入法界面的信息输入方法及装置 |
CN107102746A (zh) * | 2016-02-19 | 2017-08-29 | 北京搜狗科技发展有限公司 | 候选词生成方法、装置以及用于候选词生成的装置 |
CN109521889A (zh) * | 2018-09-29 | 2019-03-26 | 咪咕音乐有限公司 | 一种输入方法及装置、终端及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN109521889A (zh) | 2019-03-26 |
CN109521889B (zh) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020063548A1 (zh) | 一种输入方法及装置、终端及存储介质 | |
US8798250B1 (en) | Autocorrect for phone numbers | |
US20100070908A1 (en) | System and method for accepting or rejecting suggested text corrections | |
US8898585B2 (en) | Electronic device, input method thereof, and computer-readable medium using the method | |
US10075430B2 (en) | Method and system for efficient password input | |
JP2013238936A (ja) | 文字入力装置、電子機器、制御方法、制御プログラムおよび記録媒体 | |
WO2016110217A1 (zh) | 通话过程中保存号码的方法和装置、终端、存储介质 | |
WO2017156983A1 (zh) | 一种列表的调用方法及装置 | |
US8633895B2 (en) | Apparatus and method for improving character input function in mobile terminal | |
EP2342618B1 (en) | Method, computer program, computer readable medium and device for using sound to differentiate keypresses | |
WO2011017873A1 (zh) | 一种移动终端输入法切换方法及装置 | |
WO2019153533A1 (zh) | 动态路由控制方法、装置、计算机设备及存储介质 | |
EP3422228A1 (en) | Icon processing method and device for applications | |
CN108737634B (zh) | 语音输入方法及装置、计算机装置和计算机可读存储介质 | |
CN106227413A (zh) | 一种基于移动终端的应用启动检测方法及系统 | |
CN102902751A (zh) | 移动终端中的网页输入方法及装置、移动终端 | |
US20180046224A1 (en) | Input Apparatus, Information Processing Method, And Information Processing Apparatus | |
KR20170118799A (ko) | 지문 이벤트 처리 방법, 장치, 및 단말기 | |
JP7142961B2 (ja) | 多言語キーボードシステム | |
US10572693B2 (en) | Method for hiding personal information on call screen, and device | |
US20140208230A1 (en) | Autocorrect Highlight and Re-Work | |
CN105282340A (zh) | 单手操作手机时的信息输入方法、装置和手机 | |
CN103853972B (zh) | 信息处理的方法及电子设备 | |
CN107770352B (zh) | 一种拨号处理方法及装置 | |
WO2024060705A1 (zh) | 密码找回方法、终端设备、电子设备及计算机存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19867851 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19867851 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19867851 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.12.2021) |