CN110362214A - A kind of input method, equipment and program product - Google Patents
A kind of input method, equipment and program product Download PDFInfo
- Publication number
- CN110362214A CN110362214A CN201910661973.2A CN201910661973A CN110362214A CN 110362214 A CN110362214 A CN 110362214A CN 201910661973 A CN201910661973 A CN 201910661973A CN 110362214 A CN110362214 A CN 110362214A
- Authority
- CN
- China
- Prior art keywords
- input
- area
- candidate
- keyboard
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
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)
- Document Processing Apparatus (AREA)
Abstract
This application discloses a kind of input method, equipment and program products, comprising: shows keyboard layout in the first area of touch display screen, and receives touching operation of the user in the touch display screen;Terminal determines starting touch position of the touching operation in touch display screen, wherein, if the starting touch position is located at the first area in touch display screen, touching operation is then responded using input method corresponding with keyboard layout, if and the starting touch position is located at the second area of touch display screen, touching operation is then responded using hand-writing input method, wherein above-mentioned second area is located in touch display screen except first area.It can be seen that, user may not need the handover operation for executing additional input method again in input process, and it only needs to click directly on keyboard area and starts to carry out keyboard input, or directly touching second area starts handwriting input, it thereby may be ensured that the continuity of user's thinking, the input efficiency for improving user promotes the input experience of user.
Description
Technical Field
The present application relates to the field of input methods, and in particular, to an input method, device, and program product.
Background
When a user uses various applications on a terminal, the user usually needs to input information by calling an input method. The input method converts the input of the user into the inner code of the actual character, and the inner code is irrelevant to the specific input method. For example, the user enters "ni" via the keyboard, which the input method can convert into the inner code of "you" word. When a user opens an instant messaging application on a terminal and performs instant messaging with other users, the user usually triggers the terminal to call an input method, and the instant messaging with other users is realized by inputting information on an input interface presented by the input method. In an actual application scenario, when a user inputs information on a terminal by using an input method, there may be a need to switch the input method. For example, a user may need to enter "you know glance sideways the word" when communicating with other users instantly. After a user inputs the content of 'you know' by using the pinyin input method, the current input method may need to be switched from the pinyin input method to the handwriting input method because the pronunciation of 'glance sideways' is not clear, and after the input of the 'glance sideways' word is completed, the handwriting input method is switched back to the pinyin input method to which the user is accustomed, and the content of 'this word' is continuously input by using the pinyin input method, in the process, the user needs to switch the operation process of the input method at least twice.
At present, the operation process of switching the input method by a user is usually complicated, specifically, the user needs to search a switching key of the input method on an input interface, and select an icon corresponding to the input method desired by the user from the presented multiple input method icons, so that the current input method is switched to the input method selected by the user. Therefore, when the user needs to frequently switch the input method, the extra operation required for switching the input method can seriously interfere the consistency of thinking of the user, reduce the input efficiency of the user and influence the input experience of the user.
Disclosure of Invention
The embodiment of the application provides an input method, input equipment and a program product, so that a user can conveniently switch the input mode of the input method, the user is not required to execute extra switching operation of a complicated input mode, the input efficiency of the user is improved, and the input experience of the user is improved.
In a first aspect, an embodiment of the present application provides an input method, including:
displaying a keyboard layout in a first area of a touch display screen;
receiving touch operation of a user on the touch display screen;
determining an initial touch position of the touch operation on the touch display screen, wherein if the initial touch position is located in the first area and the touch operation is a click operation, the touch operation is responded by adopting an input method corresponding to the keyboard layout; if the initial touch position is located in a second area of the touch display screen, responding to the touch operation by adopting a handwriting input method; wherein the second area is located outside the first area on the touch display screen.
The embodiment of the application further provides an input method, when an initial touch position of touch operation on a display screen is located in a second area, a display sequence of candidate characters or words in the candidate area is determined according to the position of the initial touch position in the second area, wherein the second area is a handwriting area outside a keyboard layout area on the display screen.
In a second aspect, an embodiment of the present application further provides an apparatus, where the apparatus includes a processor and a memory;
the memory is for storing a computer program or instructions;
the processor is configured to execute the computer program or instructions to cause the input method of the first aspect to be performed.
In a third aspect, an embodiment of the present application further provides another apparatus, where the apparatus includes a memory;
the memory is for storing a computer program or instructions;
the computer program or the instructions may be downloaded to a computer or a processor via a network, and the input method according to the first aspect may be executed on the computer or the processor.
In a fourth aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer or a processor, cause the computer or the processor to execute the input method according to the first aspect.
The beneficial effects that above-mentioned implementation of this application embodiment can reach are: the terminal determines which input method is adopted based on the initial touch position of the touch operation executed by the user, namely when the initial touch position falls into the first area, the input method responds to the input of the user by the input method corresponding to the keyboard layout, and when the initial touch position falls into the second area, the input method responds to the input of the user by the handwriting input method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a computer architecture diagram;
FIG. 2 is a connection diagram of a terminal device and a server via a network according to the present application
FIG. 3 is a schematic flow chart diagram according to an embodiment of the present application;
FIG. 4 is a diagram of a keyboard layout including 26 letter keys;
FIG. 5 is a diagram of a keyboard layout including 26 letter keys;
FIG. 6 is a schematic flow chart diagram of another embodiment of the present application;
FIG. 7 is a diagram of a keyboard layout including 26 letter keys;
FIG. 8 is a diagram of a keyboard layout including 26 letter keys;
FIG. 9 is a diagram of a keyboard layout including 9 letter keys;
FIG. 10 is a flow chart of an embodiment of a sub-region of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not intended to limit the disclosure.
The input method of the present disclosure is used for a terminal device with a touch display screen (touch screen). The terminal device may employ a computer architecture as shown in fig. 1.
The computer system 10 in fig. 1 includes a central processing unit CPU 12, a random access memory RAM 13, and a storage unit 14, a communication unit 15, an input unit 16, and a display unit 17 connected via a communication bus 11.
The central processing unit CPU 12 can comprehensively control processing performed by the computer system 10. The RAM 13 is a volatile memory. The storage unit 14 may be a non-volatile storage medium, and includes a readable storage medium such as a magnetic hard disk, a solid state disk, an optical disk, a flash disk, and the like, wherein the flash memory is NAND, NOR, and the like. In other possible embodiments, the storage unit 14 may further include a nonvolatile memory. Generally, the program or code may be stored in the storage unit 14 in advance, and after being loaded into the RAM 13 by the CPU 12, the program instruction is executed by the CPU to complete the corresponding function.
The communication unit 15 may include, for example, a RJ45 module, a WIFI module, a 2G to 5G mobile communication module, or a bluetooth module for a network adapter. The computer system may be connected to a network via a network and communicate with other computer systems on the network.
The computer system 10 may also include an input unit 16, including a keyboard, mouse, touch screen, etc. On the client side, the user can issue instructions to the computer system 10 through operations performed on the input unit 16.
The display unit 17 may include a graphic controller and a display device connected to the graphic controller, and may specifically include an LCD, an LED display, a CRT display, a touch screen, or the like.
The computer system 10 may use an operating system such as Windows, Andriod, iOS, and the like.
It should be noted that this hardware configuration is merely an example. The touch screen of the terminal disclosed by the application belongs to the display devices in the input unit (16) and the display unit (17), and the storage unit of the touch screen also has program codes for realizing the method disclosed by the application. In addition, the terminal may employ a computer system different from the hardware shown in fig. 1, for example, unnecessary units may be removed, for example, some terminal devices may not need a communication unit, additional units may be added thereto such as a camera, and the like. Specifically, the terminal disclosed in the present application may be a mobile device such as a mobile phone, a tablet computer, a PAD, a notebook computer, etc., and a desktop computer connected to a touch screen through a wired or wireless interface such as a USB interface, such as a super counter machine of a bank, etc. The wired connection includes VGA, DVI, HDMI, USB, DisplayPort, etc., and the wireless connection includes DLNA, AirPlay, Miracast, etc.
The embodiment of the application provides an input method, so that a user can automatically switch between keyboard input and handwriting input on a touch screen without performing additional operation.
Referring to fig. 3, fig. 3 is a schematic flow chart diagram illustrating an embodiment of the input method according to the present application, where the method may specifically include:
s301: and displaying the keyboard layout in a first area of the touch display screen.
In this embodiment, when the user inputs information by using the input method, the keyboard layout may be displayed in the first area on the touch display screen of the terminal. For example, a keyboard layout including 26 letter keys as shown in fig. 4 may be used. The keyboard layout area belongs to a first area, a candidate area is arranged on the first area, and a second area is arranged on the candidate area. The user can perform handwriting input in the second area, and can also click keys on the first area, namely the keyboard layout, to perform keyboard input. The keyboard layout can correspond to different input methods, such as pinyin input method, five-stroke font input method, two-stroke font input method, Zheng code input method, Cangjie input method, rank input method, Dayi input method, and the like. Besides the Chinese input method, the keyboard layout can also correspond to the input methods of other countries such as Japanese and Korean input methods. In this embodiment, the keyboard layout may correspond to a pinyin input method. It should be noted that fig. 4 also includes an input box, and when the terminal finally confirms the character or word input by the user, the character or word is displayed in the input box.
Of course, the keyboard layout may take other forms, such as a 9 letter key layout in the embodiment shown in fig. 8.
S302: and receiving touch operation of a user on the touch display screen.
S303: and determining the initial touch position of the touch operation on the touch display screen.
S304: and judging whether the initial touch position is located in a first area on the touch display screen and the touch operation is clicking, if so, executing step S305, and if not, executing step S306.
S305: the terminal responds to the touch operation by adopting an input method corresponding to the keyboard layout, and returns to the step S302 after the touch operation is completed.
For example, the first area displays the keyboard layout shown in fig. 4. After the user clicks the letter keys on the keyboard layout to input 'ni', 'ren' and 'shi' respectively, the terminal confirms the three characters 'you know' input by the user according to the pinyin input method corresponding to the keyboard layout.
S306: and the terminal judges whether the initial touch position is located in a second area on the touch display screen. If yes, go to step S307, otherwise go to step S308.
S307: and the terminal responds to the touch operation by adopting a handwriting input method, wherein the second area is positioned outside the first area on the touch display screen, and the step S302 is returned after the touch operation is finished.
If the user inputs 'you know' through the keyboard and inputs 'glance sideways' through the hand in the second area, the terminal detects that the initial touch position of the first stroke of the word of the user is located in the second area, as shown in fig. 4, and then adopts the handwriting input method to respond to the current stroke and the subsequent stroke. In the process, the user does not perform additional input method switching operation. When the terminal detects that the initial touch position of the touch operation of the user on the touch display screen is located in the second area, the terminal can automatically switch the input method type responding to the input of the user, switch the input method corresponding to the keyboard layout into a handwriting input method, and respond to the input operation of the user by using the handwriting input method.
During handwriting input, the strokes can extend to the candidate area or the keyboard layout area, but the terminal still recognizes the strokes as input because the initial touch position is located in the second area. If a stroke completely falls into the keyboard layout area in the continuous stroke input process, but if the time interval between the start of the stroke and the end of the previous stroke is smaller than a preset value, such as 0.5 second, the terminal still recognizes that the stroke is still handwriting input.
S308, the terminal checks whether the initial touch position is in the first area and the touch operation is sliding. If yes, step S309 is executed, and if no, step S310 is executed.
S309: and responding by adopting a handwriting input method, and returning to the step S302 after the response is finished.
The click operation of the user on the touch screen refers to an operation of the user pressing down and then lifting up on the touch screen. If the user does not lift the touch screen immediately after pressing down on the touch screen, the user moves on the touch screen, for example, by at least 2 mm or more, which is the sliding operation on the touch screen. This process may go through two keys. And the user slides in the first area, and responds by adopting a handwriting input method after being received and recognized by the terminal. The handwriting input can be performed by sliding in the keyboard layout area, and the advantage is that when the first area where the keyboard layout is located is larger and the second area is smaller, the handwriting recognition area can be expanded to the first area. Further, when the initial touch position is located in the candidate area and the touch operation is sliding, the handwriting input is also adopted. In other possible embodiments, this step S309 and its preceding step S308 may be omitted.
S310: if the determination result in step S308 is no, it indicates that the user clicks the candidate area, and the terminal detects the word (i.e., the character or the word) clicked by the user, confirms that the word is input by the user, and displays the word in the input box.
If the user clicks and inputs the first pinyin "z" of the "glance sideways" character in the keyboard layout area after inputting the "glance sideways" character by handwriting, as shown in fig. 5, the terminal determines yes in the step S304, so step S305 is executed again, that is, the pinyin input method corresponding to the keyboard layout is adopted for response. In the process, the user does not perform additional input method switching operation. Then, the user inputs "this word" by pinyin on the keyboard.
In this embodiment, the terminal determines which input method is used by using the initial touch position of the touch operation performed by the user, that is, when the initial touch position falls into the first area and is clicked, the terminal responds to the input of the user with the input method corresponding to the keyboard layout; and when the initial touch position falls into the second area, the terminal responds to the input of the user by a handwriting input method. Therefore, the user can directly click the keyboard area to start keyboard input without executing additional input method switching operation in the input process, or directly touch the second area to start handwriting input, so that the consistency of the thinking of the user can be ensured, the input efficiency of the user is improved, and the input experience of the user is improved.
If it is detected in step 304 that the user has clicked "send" on the keyboard, the terminal may no longer display the keyboard layout and end the input. The key indicating the end of the input in other embodiments may be "search", "determine", or the like.
In fig. 6 is a flow of another embodiment. The character or word which the user wants to input is taken as the current word and is input through multiple touch operations, wherein the multiple touch operations comprise keyboard input in a first area and handwriting input in a second area. For clarity of illustration, the sliding touch condition in the first region, i.e. the keyboard layout region, is not considered. And this case is similar to the touch operation in the second area, and those skilled in the art should be able to refer to the implementation.
After the start, the keyboard layout is displayed on a part of the touch screen (S601), i.e. the first area in fig. 7, and then a touch operation of the user on the touch screen is received, and a starting touch position of the touch operation on the touch screen is determined (S602). The touch operation may have three situations: firstly, judging whether the initial touch position is located in a first area and the touch operation is clicking (S603); if not, judging whether the starting position is located in a second area (S604); if not, the description is that the user clicks the candidate word in the candidate region based on the existing input, at this time, the input of the user is determined to be the clicked word in the candidate region (S605), and the input is displayed in the input box, and then the step returns to step S602 to continue receiving the touch operation of the user.
If the determination result in the step S603 is yes, that is, the touch operation is a click and the touched position is located in the first area, the following three cases are also adopted: first, it is determined whether or not the input of the current word is always performed by the keyboard (S6031), including a case where the touch operation is the first input of the current word. If yes, the input method corresponding to the keyboard layout is adopted to respond to the touch operation, and candidate words are displayed in the candidate area (S6032), and then the step S602 is returned to. Next, if step S6031 returns a negative result, it is determined whether the current word is input by handwriting (S6033), if so, a keyboard input method is used to respond to the touch operation, but a candidate word matching both the handwriting input and the keyboard input is displayed in the candidate area (S6034), and the process returns to step S602. Finally, if step S6033 also returns a negative result, it is assumed that the keyboard input is started, and then the handwriting input is performed again, and the keyboard input is returned. Therefore, it is determined that the user input is the default word in the candidate region before the current input (S6035), which may be the leftmost word in the candidate region, and then the process returns to step S6032, and the keyboard input method is used to start the input of a new word in response to the current keyboard input.
If the determination result in the step S604 is yes, it is further determined whether the previous touch operation is also the handwriting input and the time interval between the previous touch operation and the current touch operation is greater than a predetermined value (S6041), such as 0.5 seconds. If yes, the previous touch operation is performed to finish the handwriting input of the current word, and the touch operation starts to input a new word. The terminal can determine that the user' S input is a default word of the candidate region before this input (S6042) and display it in the input box. Then, the handwriting input method is used to respond to the touch operation of this time, and a word is displayed in the candidate area (S6044), that is, only the word corresponding to the input stroke of this time, and then the process returns to step S602.
On the other hand, if a negative result is returned in step S6041, it indicates that the input of the current word is still continued, and there are the following three cases. First, it is determined whether or not the current word has been input by handwriting (S6043), including a case where the touch operation is the first input of the current word. If so, the handwriting input method is adopted to respond to the touch operation, and the word is displayed in the candidate area (S6044), and then the process returns to step S602. Next, if step S6043 returns a negative result, it is determined whether the current word is input by the keyboard at the beginning (S6045), and if so, a candidate word matching both the keyboard input and the handwriting input is displayed in the candidate area in response to the touch operation by using the input method corresponding to the keyboard layout (S6046), and the process returns to step S602. Finally, if step S6045 returns a negative result, this indicates that the handwriting input is started, followed by the keyboard input, and the handwriting input is returned. It is determined that the user input is a default word in the candidate area before the current input (S6047), and the process returns to step S6044 to start a new word input in response to the current handwriting input using the handwriting input method.
For ease of understanding, the following description is presented in conjunction with specific input examples.
In step S6046 in fig. 6, words matching both the keyboard input and the handwritten input, which may include the keyboard input matching the pinyin of the candidate word and the handwritten input matching the strokes of the candidate word, are displayed in the candidate area. For example, when the user desires to enter "villa", there may be the following steps:
in the first step, the terminal detects "shu" input by the user through the keyboard in the first region, and performs steps S602, S603 (yes), and S6031 (yes) in fig. 6, and then performs step S6032. Wherein "(yes)" or "(no)" after the aforementioned step respectively indicates whether the judgment result of the step is yes or no. In step S6032, using the existing pinyin input method, a first group of 174 candidate words is determined from the pinyin input, wherein "input", "book", "number", "t", "tree", "ripe", "comfortable" are displayed in the candidate area.
Secondly, the terminal detects that the user inputs a stroke "one" by handwriting in the second area, and the process goes through steps S602, S603 (no), S604 (yes), S6041 (no), S6043 (no), and S6045 (yes) in fig. 6, and executes step S6046, checks each candidate character in the first group, puts the initial stroke and the input stroke of this time into a new group, and finally generates a second group of candidate characters, wherein "input", "tree", "art", "bundle", "potato", "comb", and "said" are displayed in the candidate area.
And thirdly, after the terminal detects that the user inputs the stroke I in the second area by handwriting, the terminal also executes the step S6046 after the process is the same as that of the second step. In this step, when the terminal detects that the vertical intersects with the horizontal, the terminal detects each candidate word in the second set, retains the word in which the initial stroke is a horizontal-vertical and intersecting word, and excludes other words that do not meet the conditions, and finally forms a third set of candidate words, in which "tree", "art", "comb", "potato", "vegetable" and "pivot" are displayed in the candidate area.
Fourthly, the terminal detects that the user inputs the stroke 'one' by handwriting in the second area, and after the same process as the second step, the same step S6046 is performed. In this step, the terminal detects that the third handwriting input forms a radical "soil", and since the radical is not necessarily located at the prefix, the terminal checks each candidate character in the first group, selects the character with the radical "soil", and forms a fourth group of candidate characters "shukuas". As shown in fig. 7, item 71 in the figure is the retained input pinyin "shu".
In the case of only pinyin, as a lot of characters conforming to the pronunciation of the pinyin are not displayed in the candidate area, the candidate area needs to be turned, searched one by one and finally found in the 23 rd position, so that a long time is spent, and the continuous thinking of the user in inputting is interrupted. In the embodiment, the number of the candidate characters can be quickly reduced to two by simply handwriting one 'soil', so that the coincident code rate is greatly reduced, and the required 'villa' can be easily and quickly selected in the candidate region by clicking.
In the third step, if the terminal detects that the input vertical and horizontal are not intersected, the terminal detects each candidate word in the second set, retains the word in which the initial stroke is horizontal-vertical and is not intersected, and finally finds "bundle ".
The complete pinyin is not required when the pinyin is input. For example, the user enters a "pivot". The terminal respectively detects the pinyin input's', the cross vertical and horizontal cross of the handwriting input 'ten', the handwriting input 'Contraband' on the right side of the cross 'ten', and finally selects the candidate character 'pivot' as shown in fig. 8.
The step S6046 of matching the keyboard input and the handwriting input may further include matching the keyboard input with the pinyin corresponding to one component of the candidate word, and matching the handwriting input with a stroke of another component of the candidate word. For example, when "snore" is to be input, the pinyin "bi" of the left half "nose" is first input and then the right half "dry" is handwritten, since the pronunciation is not known or is not displayed directly in the candidate area because it is not commonly used. After the terminal receives the pinyin input "bi", a group of candidate characters conforming to the pronunciation is generated in step S6032, wherein "Bibi is more than Bibi" is displayed in the candidate area. Then, after receiving the handwritten input of "stem", the terminal combines "stem" with the candidate words in the group in step S6046, puts it into a new candidate group if a new word can be generated, and finally finds that only the combination of "nose" and "stem" can generate "snore".
In the process of generating the snore character, another method can also be adopted, namely, the snore character is coded by two parts of a sound code and a shape code in advance, wherein the sound code is bi, and the shape code is dry. After the terminal receives the sound code "bi" input by the keyboard and the shape code "dry" input by handwriting, the terminal looks up the coding table in step S6046 to find the "snore" character.
Comparing the prior art of inputting the snore character, if pinyin input is adopted, the operation of turning over the candidate area can be carried out due to the fact that the input is located in the 25 th order of the candidate area, and more time is spent; if the hand-writing input is purely performed, fourteen strokes are made in the left part, the nose is complicated in structure, the writing is large, and therefore, the time is long. The present embodiment can quickly write out characters or strokes by only continuously inputting the characters or strokes for five times in total, and belongs to the most efficient input mode.
The method can also be used for quickly writing out the villa, namely pinyin inputting 'ye' and handwriting inputting 'soil', and can also be used for quickly inputting.
The step S6046 of inputting words and phrases that match with both keyboard input and handwriting input may further include matching the keyboard input with pinyin of the candidate word, and matching the handwriting input with strokes of partial characters in the candidate word. For example, when the user desires to input "crouch tiger dragon", when the terminal receives "whcl" input by the user through the keyboard, the candidate phrases "cultural gallery", "crouch tiger dragon", and "i have eaten" are generated in step S6032; then, the terminal receives a word "dragon" in "tiger-hidden dragon" handwritten by the user, or a radical "few" included in the "tiger" word in "tiger-hidden dragon", so that "tiger-hidden dragon" can be screened out from the candidate phrases in step S6046.
In step S6034 in fig. 6, a candidate word that matches both the handwriting input and the keyboard input is displayed in the candidate area. The method may include matching the handwritten input with strokes of a component of the candidate word, and matching the keyboard input with pinyin corresponding to another component of the candidate word. For example, the terminal receives "" input by the user through handwriting and then receives "" nan "" input by the user through a keyboard.
In one embodiment, after steps S602, S603 (no), S604 (yes), S6041 (no), and S6043 (yes), the terminal may form a set of candidate words including "alpha" in step S6044. Then, after steps S602, S603 (yes), S6031 (no), and S6033 (yes), the terminal checks in step S6034 whether the remaining part of each word therein is "nan" in its pronunciation, and if so, picks it up and adds it to a new candidate word group, and finally screens out "exo". This word reads "nuo", less known.
In the second embodiment, the terminal may form a set of candidate words beginning with the pronunciation "nan" in step S6034, then check whether each word can be increased by "", "" if so, to a new candidate set, and finally screen out "exo" words.
In the third embodiment, the font code and phonetic code are coded for "Nuo", which corresponds to "" alpha "" and "" nan "" respectively. In step S6034, the "special" word is easily found out from the input lookup code table.
For another example, when the terminal detects that the user firstly uses the "mouth" of the handwriting input and then uses the "wu" of the keyboard input, the user can determine that the input is the unusual "jai", and the pronunciation is "yu", which is known by less people.
The words and phrases matched with the handwriting input and the keyboard input in step S6034 may further include matching the handwriting input with strokes of some characters in the candidate word, and matching the keyboard input with pinyin of other characters in the candidate word. For example, the terminal detects that the user inputs 'one' by handwriting and then inputs 'fct' by pinyin.
In one embodiment, in step S6034, the terminal may determine a set of initial candidate words such as "a chinese character," a whitish character, "a surprise," a heart, a once for all, "a flying character" by handwriting the input "one"; then, the beginning pronunciation of the three characters behind the pinyin is screened through the pinyin 'fct', and finally 'flying Ongtian' is obtained.
In the second embodiment, the initial pinyin y of 'one' is read first, then the initial pinyin y and the pinyin input later are combined into 'yfct', and then the 'abnormal state and flying time' can be found and displayed in a candidate area by the pure pinyin combination by utilizing the existing pinyin input method. At this time, the user may click "one-time-of-flight-in-the-sky"; or continuing to input the second pronunciation 'i' of 'day', at this time, the terminal obtains the second pronunciation 'a' of the 'state' character, which is not matched with 'i', thereby removing 'abnormal state', and only leaving 'flying rush sky' in the candidate area.
In step S6035 in fig. 6, in the process of inputting a word, the keyboard input is started, and then the handwriting input is used, and the keyboard input is returned. At this point the initial keyboard entry and subsequent handwriting entry have determined that the default word of the candidate area is the final entry by the user, whereas the existing keyboard entry has initiated entry of a new word. In yet another embodiment, the existing keyboard input is still the input of the original word. For example, the user may want to enter a "tree". The terminal detects that the pinyin s input by the user through the keyboard is started and then the handwritten input wood is input, and forms a group of candidate characters, wherein the candidate characters comprise a tree, but only a skill, a killing, a fir, a pivot, a pine, a bolt and a persimmon are displayed in a candidate area. The user continues to enter the pinyin "d" because there are no words to select. After the terminal checks each character of the candidate character group, the pronunciation 'dui' of the right part 'pair' of the 'tree' is found to be matched with the final pinyin'd' input by the keyboard, so that the 'tree' is selected and displayed in a candidate area.
In the above embodiment, the input of a word is performed by the mode of keyboard + handwriting + keyboard, which includes two conversions of the input method. In another embodiment, a word may be input by handwriting + keyboard + handwriting, that is, the situation corresponding to step S6047 in fig. 6 is not the termination of the input of the current word, but continues. For example, the user inputs "starvation", and the terminal displays "box starvation" in the candidate area after detecting the pinyin input "g" subsequent to the user's initial handwriting input "Contraband". Finally, the handwritten input I of the user is detected, and the terminal screens the first strokes of the internal structure rail and the noble of the two characters by using the strokes to leave 'scarcity'.
In the above embodiments, the keyboard input is a pinyin input method, and other input methods, such as a commonly used five-stroke character, may also be used. The input method simply using the shape code corresponds the specific key to the specific radical. For example, when we input the 'French' word, we only need to input the left part 'ri' corresponding key 'i' and the upper right part 'ri' f 'corresponding key'. The disadvantage of the five-stroke character input method is that the user is required to memorize the corresponding relationship in a large amount. Therefore, when the user forgets the corresponding key of the "soil", for example, the user can directly hand-write the "soil" in the second area after inputting the "i" by the keyboard. After the terminal detects the handwriting input, it may be converted into a corresponding key "f" and combined with "i" input from the previous keypad into "if" in step S6046 in fig. 6, thereby determining that its input is "method" using the existing five-stroke character input method. If the user forgets that the key is not fixed, the user can firstly hand-write on the key at the second area and then input the key at the first area. After the terminal detects the keyboard input, in step S6034 of fig. 6, the handwritten input is converted into corresponding "i", and then combined with the subsequent keyboard input "f" to form "if", so that the input is determined to be "method" by using the five-stroke character input method.
The embodiment of the five-stroke font directly restores the font code replaced by the keyboard in the existing input method into the handwriting input, so that the complicated corresponding rule is not required to be remembered. However, the shape code of the five-stroke character is a more complex radical, and more strokes are possible during handwriting. In the existing two-stroke input method, the shape code is very simple, generally comprising a first stroke, a horizontal stroke, a vertical stroke, a left-falling stroke and a left-falling stroke,Five kinds of strokes, the strokes are less when handwriting. In the two-stroke input method, one of the encoding rules is that the first letter of the pronunciation + the first two strokes of the first part of the character shape + the first two strokes of the second part of the character shape. For example, the process of inputting the "pivot" character shown in fig. 8 is not performed by the screening method, but in step S6046, the first two strokes "ten" and "Contraband" of the input pinyin "S" and the handwriting input are combined into the code "sx" of the two inputs; ", and then look up the coding table of the two-stroke input method to obtain the" pivot "word. For example, when inputting "unique", the terminal can receive the pinyin "w" inputted by the keyboard, and by handwriting "left radicals", "alpha" and "alpha", and finally by two strokes in step S6046, the character "unique" can be detected.
Summarizing the above embodiments of mixing keyboard input and handwriting input, words displayed in the candidate area always match the keyboard input and the handwriting input. Which comprises the following steps:
1. matching the keyboard input, including keyboard input according with the candidate character or pronunciation of a component in the candidate character, such as all pinyin or partial pinyin thereof; inputting a character form corresponding to a component in the candidate character by a keyboard, such as a radical corresponding to a key of a five-stroke input method; and so on.
2. Matching with the handwriting input, wherein the handwriting input conforms to the candidate character or a group of strokes in the candidate character, and the stroke combination such as the relative position combination of the strokes and the sequence combination of the strokes can be further conformed besides the specific stroke combination such as the horizontal stroke and the vertical stroke; the whole of the handwriting input is a group of parts in the candidate words; and so on.
3. The 1 st and 2 nd items are combined for one time or more times, and compared with the combination of a keyboard + handwriting, handwriting + keyboard + handwriting + keyboard, and the input of candidate characters or words is completed.
In the embodiment, the user does not need to perform additional input method switching operation in the input process, and can complete the input of a single word in a mode of combining keyboard input and handwriting input, so that the coincident code rate is reduced, and the input efficiency is further improved. Moreover, because each word can have multiple input modes, the user can adopt the input mode which is most suitable for the user or most efficient.
Although only a screening scheme, a conversion scheme or an encoding scheme of mixed input of partial words is given here, a person skilled in the art will be able to implement the described schemes of other words and implement new schemes on the basis thereof, depending on the details of the implementation thereof.
The hybrid input method disclosed by the invention is not only suitable for Chinese, but also suitable for other languages requiring the input method to convert keyboard input into internal codes, such as Japanese and Korean.
In another embodiment, when the terminal detects that the initial touch position is located in the second area and adopts the handwriting input method, the candidate words are displayed in the candidate area in a specific sequence according to the specific position of the initial touch in the second area.
In the interface of this embodiment shown in fig. 9, the first area adopts a keyboard layout including only 9 letter keys, but of course, a 26-key layout may also be adopted. The second region includes a first sub-region and a second sub-region illustrated by dotted lines. The dotted lines are drawn in a very light color. In another embodiment, no dashed lines are drawn, but both the first and second sub-regions are present. When the terminal detects the handwriting input of the user and performs step S307 in fig. 3, the steps in fig. 10 are included.
In fig. 10, after the start, a candidate word is first found according to the user handwriting input (S1001), and then it is determined whether the initial touch position is located in the first sub-area and the candidate word includes a number (S1002). If so, the number in the candidate word is displayed at the default position in the candidate area (S1003), and then ends. For example, the user inputs "2" by handwriting, and the terminal finds out "b", "2", "Z" and "worker" to wait for character selection. However, since it is detected that the input start touch position is located in the first sub-area, that is, the step S1002 returns to the yes, step S1003 is executed, that is, a number "2" is displayed in the candidate area at a default position of the candidate area, which is the leftmost position of the candidate area in this embodiment. In practice, the default position of the candidate area may be, but is not limited to, the leftmost position.
If the step S1002 returns a negative result, it is determined whether the initial touch position is located in the second sub-area of the second area and the candidate word includes the punctuation mark (S1004). If so, the punctuation in the candidate word is displayed at the default position of the candidate area (S1005), and then ends. Such as a user handwriting a period. ", the terminal finds out" 0 "," o ". "," Q "awaits selection of a word. However, since the input start touch position is detected to be located in the second sub-area, i.e. the step S1004 returns to the conclusion of yes, step S1005 is executed, i.e. a period is formed in the candidate area. "is displayed at the leftmost position, i.e. the default position of the candidate area.
If a negative result is returned in step S1004, the candidate words are displayed in the normal order (S1006), and the response to the current input is terminated.
By the method, when the user inputs the numbers or the punctuations, the user does not need to switch to the numeric keyboard layout or the punctuations keyboard layout, and the numbers or the punctuations can be quickly and accurately displayed at the default positions of the candidate areas by handwriting, so that the user can conveniently search the candidate areas, or the numbers or the punctuations can be directly used as default input. If the method of this embodiment is combined with the method of fig. 3 or fig. 6 and the keyboard layout of 26 letter keys shown in fig. 8 is adopted, the keyboard layout does not need to be switched at all during the input process, and smooth input can be realized.
In addition, the embodiment of the present application further provides a terminal device, which has been described above with reference to fig. 1. The apparatus includes a memory 14, a processor 12.
Wherein the memory is for storing a computer program or instructions;
the processor is configured to execute the computer program or instructions such that the apparatus is configured to perform the methods described herein.
In addition, the embodiment of the application also provides a storage device. See fig. 2. In the figure, 21 denotes the terminal device, and 23 denotes a server, which are connected via a network 22. The network 22 may be a local area network, the internet, etc., and may communicate using HTTP protocol, or other protocols such as TCP/IP, WIFI, etc. The server 23 has a computer architecture similar to that of fig. 1, and the storage devices in its storage unit 14 contain instructions capable of implementing the methods of the present disclosure. The terminal device 21 may download the instruction from the storage device of the server 23 through the network 22, and may implement the method of the present disclosure after execution, that is, the method described in the foregoing embodiments.
In addition, the present application also provides a computer program product containing instructions, which when run on a computer or a processor, causes the computer or the processor to execute the input method described in the above method embodiments.
In the names of the "first region", the "first sub-region", and the like, the "first" mentioned in the embodiments of the present application is used for name identification only, and does not represent the first in sequence. The same applies to "second" etc.
The same and similar parts among the various embodiments in the present specification are referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein elements illustrated as separate components may or may not be physically separate, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the elements can be selected according to actual needs to achieve the purpose of the application.
All other embodiments that can be obtained by a person skilled in the art without making any inventive step based on the embodiments in the present application shall also fall within the scope of protection of the present application.
Claims (12)
1. An input method, characterized in that the method comprises:
displaying a keyboard layout in a first area of a touch display screen;
receiving touch operation of a user on the touch display screen;
determining an initial touch position of the touch operation on the touch display screen, wherein if the initial touch position is located in the first area and the touch operation is a click operation, the touch operation is responded by adopting an input method corresponding to the keyboard layout; if the initial touch position is located in a second area of the touch display screen, responding to the touch operation by adopting a handwriting input method; wherein the second area is located outside the first area on the touch display screen.
2. The method according to claim 1, wherein in the step of determining the initial touch position, the method further comprises responding to the touch operation by using a handwriting input method if the initial touch position is located in the first area and the touch operation is a sliding operation.
3. The method of claim 1, further comprising a candidate area on the touch screen for displaying candidate words or phrases.
4. The method of claim 3, further comprising:
receiving the handwriting input of the user in the second area after receiving and responding to the keyboard input of the user in the first area;
responding to the handwriting input by adopting a handwriting input method;
and displaying candidate characters or words matched with the keyboard input and the handwriting input in the candidate area.
5. The method of claim 4, wherein the input method corresponding to the keyboard layout is a Pinyin input method, and the matching is any one of the following:
the keyboard input is matched with the pinyin of the candidate character, and the handwriting input is matched with the stroke of the candidate character; or,
the keyboard input is matched with pinyin corresponding to one component in the candidate characters, and the handwriting input is matched with strokes of the other component in the candidate characters; or,
the keyboard input is matched with pinyin of the candidate word, and the handwriting input is matched with strokes of partial characters in the candidate word.
6. The method of claim 3, further comprising:
after receiving and responding to the handwriting input of the user in the second area, receiving the keyboard input of the user in the first area;
responding to the keyboard input by adopting an input method corresponding to the keyboard layout;
and displaying candidate characters or words matched with the handwriting input and the keyboard input in the candidate area.
7. The method of claim 6, wherein the input method corresponding to the keyboard layout is a Pinyin input method, and the matching is any one of:
the handwriting input is matched with strokes of one component in the candidate characters, and the keyboard input is matched with pinyin corresponding to another component in the candidate characters; or,
the handwritten input is matched with strokes of part of characters in the candidate words, and the keyboard input is matched with pinyin of other characters in the candidate words.
8. The method of claim 3, wherein when the start touch location is in the second region, the method further comprises:
and determining the display sequence of the candidate characters or words in the candidate area according to the position of the initial touch position in the second area.
9. The method of claim 8, wherein the second region comprises a first sub-region, and wherein if the initial touch location is located in the first sub-region, the number in the candidate word is displayed at a default location in the candidate region;
or, the second region includes a second sub-region, and if the initial touch position is located in the second sub-region, the punctuation mark in the candidate word is displayed at a default position in the candidate region.
10. An apparatus, comprising a processor and a memory;
the memory is for storing a computer program or instructions;
the processor is configured to execute the computer program or instructions to cause the input method of any one of claims 1 to 9 to be performed.
11. An apparatus, comprising a memory;
the memory is for storing a computer program or instructions;
the computer program or instructions, after being downloaded over a network to a computer or processor, executes the input method of any one of claims 1 to 9 on the computer or processor.
12. A computer program product comprising instructions which, when run on a computer or processor, cause the computer or processor to perform the input method of any one of claims 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910661973.2A CN110362214A (en) | 2019-07-22 | 2019-07-22 | A kind of input method, equipment and program product |
PCT/CN2020/102027 WO2021013002A1 (en) | 2019-07-22 | 2020-07-15 | Input method, apparatus, and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910661973.2A CN110362214A (en) | 2019-07-22 | 2019-07-22 | A kind of input method, equipment and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110362214A true CN110362214A (en) | 2019-10-22 |
Family
ID=68221496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910661973.2A Pending CN110362214A (en) | 2019-07-22 | 2019-07-22 | A kind of input method, equipment and program product |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110362214A (en) |
WO (1) | WO2021013002A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021013002A1 (en) * | 2019-07-22 | 2021-01-28 | 江苏观复科技信息咨询有限公司 | Input method, apparatus, and program product |
CN112328160A (en) * | 2020-10-26 | 2021-02-05 | 歌尔智能科技有限公司 | Input control method of terminal equipment, terminal equipment and readable storage medium |
CN112506390A (en) * | 2020-12-10 | 2021-03-16 | 北京华宇信息技术有限公司 | Multi-party text input method and device |
CN114489350A (en) * | 2021-12-27 | 2022-05-13 | 荣耀终端有限公司 | An input method calling method and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515211A (en) * | 2008-02-22 | 2009-08-26 | 汉王科技股份有限公司 | Handwriting input method, device and user terminal |
CN102419645A (en) * | 2011-10-28 | 2012-04-18 | 汉王科技股份有限公司 | Method and device for inputting Chinese characters in combination and palm terminal |
CN102629158A (en) * | 2012-02-29 | 2012-08-08 | 广东威创视讯科技股份有限公司 | Character input method and device on basis of touch screen system |
CN102981633A (en) * | 2011-09-06 | 2013-03-20 | 雅虎公司 | Method and system for inputting Chinese characters with unknown pronunciations by means of Pinyin input method |
CN102981767A (en) * | 2012-11-28 | 2013-03-20 | 中国地质大学(武汉) | HWR (Handwriting Recognition) method and HWR system of single Chinese character |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101978687B1 (en) * | 2011-11-15 | 2019-05-16 | 삼성전자주식회사 | Method for inputting a character in touch screen terminal and apparatus thereof |
CN106940619A (en) * | 2016-01-05 | 2017-07-11 | 阿里巴巴集团控股有限公司 | A kind of inputting interface transfers method and device, user equipment |
CN108227948A (en) * | 2016-12-12 | 2018-06-29 | 苏州乐聚堂电子科技有限公司 | A kind of input method |
CN110362214A (en) * | 2019-07-22 | 2019-10-22 | 江苏观复科技信息咨询有限公司 | A kind of input method, equipment and program product |
-
2019
- 2019-07-22 CN CN201910661973.2A patent/CN110362214A/en active Pending
-
2020
- 2020-07-15 WO PCT/CN2020/102027 patent/WO2021013002A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101515211A (en) * | 2008-02-22 | 2009-08-26 | 汉王科技股份有限公司 | Handwriting input method, device and user terminal |
CN102981633A (en) * | 2011-09-06 | 2013-03-20 | 雅虎公司 | Method and system for inputting Chinese characters with unknown pronunciations by means of Pinyin input method |
CN102419645A (en) * | 2011-10-28 | 2012-04-18 | 汉王科技股份有限公司 | Method and device for inputting Chinese characters in combination and palm terminal |
CN102629158A (en) * | 2012-02-29 | 2012-08-08 | 广东威创视讯科技股份有限公司 | Character input method and device on basis of touch screen system |
CN102981767A (en) * | 2012-11-28 | 2013-03-20 | 中国地质大学(武汉) | HWR (Handwriting Recognition) method and HWR system of single Chinese character |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021013002A1 (en) * | 2019-07-22 | 2021-01-28 | 江苏观复科技信息咨询有限公司 | Input method, apparatus, and program product |
CN112328160A (en) * | 2020-10-26 | 2021-02-05 | 歌尔智能科技有限公司 | Input control method of terminal equipment, terminal equipment and readable storage medium |
CN112506390A (en) * | 2020-12-10 | 2021-03-16 | 北京华宇信息技术有限公司 | Multi-party text input method and device |
CN114489350A (en) * | 2021-12-27 | 2022-05-13 | 荣耀终端有限公司 | An input method calling method and related equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2021013002A1 (en) | 2021-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100550036C (en) | Chinese character handwritten form recognition system | |
CN105573503B (en) | For receiving the method and system of the text input on touch-sensitive display device | |
CN110362214A (en) | A kind of input method, equipment and program product | |
US20150234938A1 (en) | Method and electronic terminal for searching for contact in directory | |
KR101846238B1 (en) | Chinese character input apparatus and controlling method thereof | |
CN110992112B (en) | Advertisement information processing method and device | |
CN106980457A (en) | Operating method of touch panel and touch screen terminal | |
CN104808807A (en) | Method and device for Chinese phonetic input | |
CN104679278A (en) | Character input method and device | |
EP1421696A2 (en) | Component-based, adaptive stroke-order system | |
CN104412204A (en) | Method, controller and device for assembling words | |
CN111880668A (en) | Input display method and device and electronic equipment | |
CN108227947A (en) | Square keyboard and the input method based on the square keyboard | |
US9524035B2 (en) | Method and device for character input by direction key | |
US20210026527A1 (en) | Method for interaction between at least one user and/or a first electronic device and a second electronic device | |
US20110022956A1 (en) | Chinese Character Input Device and Method Thereof | |
EP3267301A1 (en) | High-efficiency touch screen text input system and method | |
CN106354276A (en) | Hybrid input method and device suitable for multiple input methods and electronic equipment | |
JP2010517159A (en) | Method for increasing button efficiency of electrical and electronic equipment | |
CN111124200A (en) | Touch key response method and device, electronic equipment and storage medium | |
JP2003005902A (en) | Character input device, information processing device, control method of character input device, and storage medium | |
RU2525748C2 (en) | Text input using two alphabets and key selection function | |
CN208506700U (en) | Square keyboard | |
CN111984133A (en) | Input method and device and electronic equipment | |
RU2477878C1 (en) | Method for adaptive input of text information using touch screens |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191022 |