The present invention relates to the field of terminal technologies, and in particular, to a text input method and apparatus.
With the development of digital technologies, more and more functions and applications run on terminal equipments (Terminal Equipment), where the text input function is widely used in a vast variety of terminal equipments and applications as an important auxiliary function. However, to improve performance and simplify keys of a terminal equipment, usually only the arrow keys and a few other keys such as the enter key and the power key are provided on the input apparatus of the terminal equipment. Therefore, the input of texts on the terminal equipment is implemented through mainly the arrow keys.
Currently, a frequently used text input method based on arrow keys is to select characters, letters, or numbers by moving the cursor. Specifically, the method includes: presenting a soft keyboard that includes multiple characters, letters, and/or numbers on the display screen and providing a cursor in a default position to identify the currently selected character, letter, or number in the soft keyboard; moving the cursor according to the trigger of the up, down, left, and right arrow keys; when receiving the trigger of the enter key, inputting the character, letter, or number in the cursor position to a text.
During the implementation of the above arrow key based text input, at least the following problem is found: Because characters are selected through a cursor moved by arrow keys, when the cursor is moved, repeated switching between the arrow keys is required and the moving of the cursor is repeated. As a result, the text input operation is complicated, the input efficiency is low, and user experience is weakened.
Embodiments of the present invention provide a text input method and apparatus, which can improve the input efficiency.
In one aspect, a text input method is provided, including: presenting a text input interface on a display apparatus; detecting a first input of an input apparatus, where the first input is used to trigger a query of a text database; presenting, according to the first input, a text set image corresponding to the text database on the text input interface and displaying a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate a current selected text; detecting a second input of the input apparatus, where the second input is used to select a text in the text set image; and presenting, according to the second input of the input apparatus, an input set that matches the text selected in the text set image on the text input interface for inputting of the input apparatus.
In another aspect, a text input device is provided, including: a presenting unit, an input apparatus, and a detecting unit, where: the presenting unit is configured to present a text input interface on a display apparatus; the detecting unit is configured to detect a first input of the input apparatus, where the first input is used to trigger a query of a text database; the presenting unit is further configured to present, according to the first input detected by the detecting unit, a text set image corresponding to the text database on the text input interface and display a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate a current selected text; the detecting unit is further configured to detect a second input of the input apparatus, where the second input is used to select a text in the text set image; and the presenting unit is further configured to present, according to the second input of the input apparatus, an input set that matches the text selected in the text set image on the text input interface for inputting of the input apparatus.
In the foregoing technical solutions, through an input of the input apparatus of a terminal equipment, a text set associated with the input position is presented on the display apparatus. By arranging and presenting the text set along a circle, it is only necessary to move the cursor in one direction to select a text without the need of repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments of the present invention. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from the accompanying drawings without creative efforts.
The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention.
The term “and/or” in this document is only an association relationship for describing the associated objects, and represents that three relationships may exist, for example, A and/or B may represent the following three cases: A exists separately, and both A and B exist, and B exists separately. In addition, the character “/” in this document usually represents that the former and later associated objects are in an “or” relationship.
The display apparatus 21 may be a suitable apparatus configured to present graphic user interfaces, such as a cathode ray tube (CRT, Cathode Ray Tube) display or a liquid crystal display (LCD, Liquid Crystal Display).
The input apparatus 22 may include any suitable apparatus like a keyboard, a mouse, a track recognizer, and a speech recognizing interface, configured to receive an user input and send the input to the processor.
The memory 24 may include a RAM and a ROM, or any fixed storage medium, or a removable storage medium, configured to store a program that can execute an embodiment of the present invention or to store an application database of the embodiment of the present invention.
The processor 23 is configured to execute the program of the embodiment of the present invention stored by the memory 24 and communicate with other apparatuses bi-directionally through buses.
The memory 24 and the processor 23 may be integrated into a physical module where the embodiment of the present invention is applied. The physical module stores and runs the program that implements the embodiment of the present invention.
The embodiment of the present invention may be applied to the above terminal equipment 20, and the input apparatus 22 includes but not limited to a television remote input apparatus, a handset, computer and the like. Any equipment that includes arrow keys and an enter key or that can use other keys such as volume keys, a central control key, and an “OK” key to replace the arrow keys and the enter key can adopt the method of the embodiment of the present invention.
S31. Present a text input interface on a display apparatus.
S32. Detect a first input of an input apparatus, where the first input is used to trigger a query of a text database.
S33. According to the first input, present a text set image corresponding to the text database on the text input interface and display a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate a current selected text.
S34. Detect a second input of the input apparatus, where the second input is used to select a text in the text set image.
S35. According to the second input of the input apparatus, present an input set that matches the text selected in the text set image on the text input interface for inputting of the input apparatus.
In the embodiment of the present invention, through the input of the input apparatus of the terminal equipment, a text set associated with the input position is presented on the display apparatus. By arranging and presenting the text set along a circle, it is only necessary to move the cursor in one direction to select a text without the need of repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
Optionally, an input of any arrow key of the input apparatus is detected, the position of the cursor in the text set image is determined according to the physical position of the input, and a portion of the text set is highlighted and presented in a corresponding position of the text set image on the text input interface.
Optionally, when arrow keys of the input apparatus include an up arrow key, an input of the up arrow key is detected, that the cursor is moved to right above the text set image is determined according to the physical position of the input, and the portion of the text set right above the text set image is highlighted and presented; when the arrow keys of the input apparatus include a down arrow key, an input of the down arrow key is detected, that the cursor is moved to right below the text set image is determined according to the physical position of the input, and the portion of the text set right below the text set image is highlighted and presented; when the arrow keys of the input apparatus include a left arrow key, an input of the left arrow key is detected, that the cursor is moved to the left of the text set image is determined according to the physical position of the input, and the portion of the text set on the left of the text set image is highlighted and presented; when the arrow keys of the input apparatus include a right arrow key, an input of the right arrow key is detected, that the cursor is moved to the right of the text set image is determined according to the physical position of the input, and the portion of the text set on the right of the text set image is highlighted and presented.
Optionally, when another input of the same arrow key is detected within a time threshold, that the cursor moves along the circle from the current position to a next text sequentially arranged in the text set image is presented.
Optionally, when the arrow keys of the input apparatus include an omni-directional key, a rotating track of the omni-directional key of the input apparatus is detected, the moving direction of the cursor is determined according to the rotating track, that the cursor moves along the circle in the text set image is presented accordingly on the text input interface, and the text in the position where the cursor is located is highlighted and presented.
Optionally, when another rotating track of the omni-directional key is detected within the time threshold, the moving direction of the cursor is determined according to the rotating track. When the moving direction of the cursor is the same as the arranging sequence of texts in the text set image, that the cursor moves along the circle from the current position to a next text sequentially arranged in the text set image is presented; or when the moving direction of the cursor is reverse to the arranging sequence of texts in the text set image, that the cursor moves along the circle from the current position to a previous text sequentially arranged in the text set image is presented.
Optionally, when no input of the same arrow key is detected within the time threshold, or when no input of the same arrow key is detected within the time threshold and another input of the same arrow key is detected after the time threshold expires, or when an input of an enter key in the input apparatus is detected, the text database is queried to obtain an input set that matches the text currently selected by the cursor in the text set image and the input set is presented on the text input interface for inputting of the input apparatus.
Optionally, the input apparatus of the apparatus is a shuttle remote that includes an omni-directional key used to move clockwise or counter-clockwise along a circle and allow an input in any position along the circle.
Optionally, when the text database includes a letter database, a text set image corresponding to the letter database is presented on the text input interface and the cursor is displayed in a default position of the text set image, where the text set image includes letters arranged along a circle and the cursor is used to indicate the current selected letter; or, when the text database includes a number database, a text set image corresponding to the number database is presented on the text input interface and the cursor is displayed in a default position of the text set image, where the text set image includes numbers arranged along a circle and the cursor is used to indicate the current selected number; or when the text database includes a character database, a text set image corresponding to the character database is presented on the text input interface and the cursor is displayed in a default position of the text set image, where the text set image includes characters arranged along a circle and the cursor is used to indicate the current selected character.
S41. Present a text input interface on a display apparatus, as shown by 51 in
S42. Detect a first input of an input apparatus, where the first input is used to trigger a query of a text database.
The user may press any arrow key of the input apparatus.
S43. According to the first input, present a text set image corresponding to the text database on the text input interface and display a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate a current selected text.
The text database may include a letter database, a character database, and/or a number database, and texts made up thereof such as words and phrases. The corresponding text sets are respectively a letter set, a character set, and/or a number set. In this case, the text set image presented on the display apparatus is, for example, 1-26 English letters, as shown by 53 in
Then, the selection of a corresponding text is triggered through the cursor position moved quickly clockwise or counter-clockwise by arrow keys. Compared with the prior art where texts are mixed and displayed on the screen, this reduces the moving of the cursor.
S44. Detect an input of any arrow key of the input apparatus, determine a position of the cursor in the text set image according to a physical position of the input, and highlight a portion of the text set in a corresponding position of the text set image on the text input interface.
For clear description, the embodiments hereinafter are described by using the input of letters, which is not limited by the embodiments of the present invention. For example, when the user presses the right arrow key of the input apparatus, on the display apparatus, the cursor moves to the position of the text “H” corresponding to the physical position of the right arrow key, in the text set image, and a portion of the text set is highlighted and presented in a corresponding position of the text set image. As shown in
S45. Determine whether another input of the same arrow key is detected within a time threshold. If “yes”, execute step S46. If “no”, execute step S47.
S46. When another input of the same arrow key is detected within a time threshold, present that the cursor moves along the circle from the current position to a next text sequentially arranged in the text set image.
Within the time threshold, if the user presses the right arrow key of the input apparatus again, the cursor moves in the clockwise direction of letter arrangement from letter “H” to the next letter “I” on the display apparatus, as shown in
By arranging and displaying the text set in a circle, the selection of letters only needs cursor moving in one direction and does not need repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
Optionally, if the arrow keys of the input apparatus of a shuttle remote, for example, include an omni-directional key, when the rotating track of the omni-directional key is clockwise shown by the arrow in
S47. When no input of the same arrow key is detected within a time threshold, input the text in the cursor position to a text input box automatically, and optionally, when no input of the same arrow key is detected within the time threshold and another input of the same arrow key is detected after the time threshold expires, or when no input of the same arrow key is detected within the time threshold and an input of the enter key of the input apparatus is detected after the time threshold expires, input the text in the cursor position to the text input box, and query the text database to obtain an input set that matches the text currently selected by the cursor in the text set image.
As shown in
S48. Detect an input of the input apparatus, delete the letters in the text input box on the display apparatus, and present, according to the input, the input selected from the input set in the text input box.
The user may move the arrow keys and press the enter key to input the selected one from the obtained set of Chinese characters to the text input box and delete the pinyin used for matching in the text input box, and optionally, hide the display bar of the input set. Taking
In the embodiment of the present invention, through the input of the input apparatus of the terminal equipment, a text set associated with the input position is presented on the display apparatus. By arranging and presenting the text set along a circle, it is only necessary to move the cursor in one direction to select a text without the need of repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
The presenting unit 61 is configured to present a text input interface on a display apparatus 65.
The detecting unit 63 is configured to detect a first input of the input apparatus 62, where the first input is used to trigger a query of a text database.
The presenting unit 61 is further configured to present, according to the first input detected by the detecting unit 63, a text set image corresponding to the text database on the text input interface and display a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate the current selected text.
The detecting unit 63 is further configured to detect a second input of the input apparatus 62, where the second input is used to select a text in the text set image.
The presenting unit 61 is further configured to present, according to the second input of the input apparatus 62, an input set that matches the text selected in the text set image on the text input interface for inputting of the input apparatus.
In the embodiment of the present invention, through the input of the input apparatus of the terminal equipment, a text set associated with the input position is presented on the display apparatus. By arranging and presenting the text set along a circle, it is only necessary to move the cursor in one direction to select a text without the need of repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
In addition, optionally, the detecting unit detects an input of any arrow key of the input apparatus, and the presenting unit determines the position of the cursor in the text set image according to the physical position of the input and highlights a portion of the text set in a corresponding position of the text set image on the text input interface.
Optionally, when arrow keys of the input apparatus include an up arrow key, the detecting unit detects an input of the up arrow key, and the presenting unit determines, according to the physical position of the input, that the cursor moves to right above the text set image and highlights the portion of the text set right above the text set image.
Optionally, when the arrow keys of the input apparatus include a down arrow key, the detecting unit detects an input of the down arrow key, and the presenting unit determines, according to the physical position of the input, that the cursor moves to right below the text set image and highlights the portion of the text set right below the text set image.
Optionally, when the arrow keys of the input apparatus include a left arrow key, the detecting unit detects an input of the left arrow key, and the presenting unit determines, according to the physical position of the input, that the cursor moves to the left of the text set image and highlights the portion of the text set on the left of the text set image.
Optionally, when the arrow keys of the input apparatus include a right arrow key, the detecting unit detects an input of the right arrow key, and the presenting unit determines, according to the physical position of the input, that the cursor moves to the right of the text set image and highlights the portion of the text set on the right of the text set image.
Optionally, when the detecting unit detects another input of the same arrow key within a time threshold, the presenting unit presents that the cursor moves along the circle from the current position to a next text sequentially arranged in the text set image.
Optionally, when the arrow keys of the input apparatus include an omni-directional key, the detecting unit detects a rotating track of the omni-directional key of the input apparatus, and the presenting unit determines the moving direction of the cursor according to the rotating track, presents accordingly that the cursor moves along the circle in the text set image on the text input interface, and highlights a text in the position where the cursor is located.
Optionally, when the detecting unit detects another rotating track of the omni-directional key within the time threshold, the presenting unit determines the moving direction of the cursor according to the rotating track. When the moving direction of the cursor is the same as the arranging sequence of texts in the text set image, the presenting unit presents that the cursor moves along the circle from the current position to a next text sequentially arranged in the text set image; or when the moving direction of the cursor is reverse to the arranging sequence of texts in the text set image, the presenting unit presents that the cursor moves along the circle from the current position to a previous text sequentially arranged in the text set image.
Optionally, when the detecting unit detects no input of the same arrow key within the time threshold, or when the detecting unit detects no input of the same arrow key within the time threshold and detects another input of the same arrow key after the time threshold expires, or detects an input of an enter key in the input apparatus, the obtaining unit queries the text database to obtain an input set that matches the text currently selected by the cursor in the text set image and the presenting unit presents the input set obtained by the obtaining unit on the text input interface for inputting of the input apparatus.
Optionally, the input apparatus of the apparatus is a shuttle remote that includes an omni-directional key used to move clockwise or counter-clockwise along a circle and allow an input in any position along the circle.
Optionally, when the text database includes a letter database, the presenting unit presents a text set image corresponding to the letter database on the text input interface and displays a cursor in a default position of the text set image, where the text set image includes letters arranged along a circle and the cursor is used to indicate a current selected letter.
Optionally, when the text database includes a number database, the presenting unit presents a text set image corresponding to the number database on the text input interface and displays a cursor in a default position of the text set image, where the text set image includes numbers arranged along a circle and the cursor is used to indicate a current selected number.
Optionally, when the text database includes a character database, the presenting unit presents a text set image corresponding to the character database on the text input interface and displays a cursor in a default position of the text set image, where the text set image includes characters arranged along a circle and the cursor is used to indicate a current selected character.
The apparatus 60 in the foregoing embodiment implements the method 30 and the method 40, and for brevity, details are not described herein again.
The presenting unit 61, the detecting unit 63, and the obtaining unit 64 in the apparatus 60 may be the same as or similar to the processor 23 in the terminal equipment 20, and the input apparatus 62 may be the same as or similar to the input apparatus 22. The memory 24 in the terminal equipment 20 can store a program that executes the method 30 or 40, and store a text database and data to be processed including the input set obtained by the obtaining unit 64 of the apparatus 60. The apparatus 60 may include a display apparatus 65 which is the same as or similar to the display apparatus 21 of the terminal equipment 20, or the method in the embodiment of the present invention may be implemented through other approaches by connecting an external display apparatus.
When the terminal equipment 20 implements the method 30, in S31, the processor 23 presents a text input interface on the display apparatus 21; in S32, the processor 23 detects a first input of the input apparatus 22, where the first input is used to trigger a query of a text database stored by the memory 24; in S34, the processor 23 presents, according to the first input, a text set image corresponding to the text database on the text input interface of the display apparatus 21 and displays a cursor in a default position of the text set image, where the text set image includes texts arranged along a circle and the cursor is used to indicate a current selected text; in S35, the processor 23 detects a second input of the input apparatus 22, where the second input is used to select a text in the text set image; in S36, the processor 23 presents, according to the second input of the input apparatus, an input set that matches the text selected in the text set image on the text input interface presented by the display apparatus for inputting of the input apparatus 22.
In the embodiment of the present invention, through the input of the input apparatus of the terminal equipment, a text set associated with the input position is presented on the display apparatus. By arranging and presenting the text set along a circle, it is only necessary to move the cursor in one direction to select a text without the need of repeated switching between multiple arrow keys or repeated moving of the cursor in a two-dimensional soft keyboard. This simplifies the text input operation, improves the input efficiency, and enhances user experience.
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, units and algorithm steps may be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary. For example, the unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be implemented through some interfaces. The indirect couplings or communication connections between the apparatuses or units may be implemented in electronic, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. A part or all of the units may be selected according to an actual need to achieve the objectives of the solutions of the embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units are integrated into one unit.
When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such an understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art, or part of the technical solutions may be implemented in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for instructing a computer equipment (which may be a personal computer, a server, a network equipment, and the like) to perform all or part of the steps of the method described in the embodiment of the present invention. The storage medium includes any medium that can store program codes, such as a USB flash disk, a removable hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk.
The foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201210172692.9 | May 2012 | CN | national |
This application is a continuation of International Application No. PCT/CN2012/084304, filed on Nov. 8, 2012, which claims priority to Chinese Patent Application No. 201210172692.9, filed on May 30, 2012, both of which are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2012/084304 | Nov 2012 | US |
Child | 13886937 | US |