Embodiments of the present invention relate to information processing technologies, and in particular, to an information processing method and a terminal device.
With the development of the communications technology, more and more application functions have been integrated into a terminal device, and in the foregoing application functions, a requirement for inputting a character in an input box may be involved. Generally speaking, after receiving an input character input by a user, the terminal device may display, according to the input character and in stripe structure order, candidate characters corresponding to the input character. After receiving selection information triggered by a function key or screen touching by the user on the terminal device, the terminal device may acquire a candidate character, selected in the selection information, as a to-be-processed character according to the selection information, so as to process the to-be-processed character.
In the prior art, because the terminal device displays, in the stripe structure order, the candidate characters corresponding to the received input character, a visual error of the user may be easily caused, so that the position of each candidate character in the strip structure may be easily misread, which leads to decreased display efficiency and display accuracy.
Embodiments of the present invention provide an information processing method and a terminal device, for improving display efficiency and display accuracy.
An embodiment of the present invention provides an information processing method, including:
An embodiment of the present invention further provides a terminal device, including:
It can be known from the foregoing technical solutions that, after receiving an input character input by a user, in the embodiments of the present invention, candidate characters corresponding to the input character are displayed in a ring structure according to the input character, so that a candidate character in a position corresponding to received selection information as a to-be-processed character can be acquired according to correspondence between the selection information and the candidate character position so as to process the to-be-processed character. Because a terminal device displays the candidate characters corresponding to the received input character in a ring structure, a user's visual error can be avoided, so that a position of each candidate character in the ring structure will not be misread, thereby improving display efficiency and display accuracy.
To illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. 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 these accompanying drawings without creative efforts.
To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clearly, 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 of the present invention without creative efforts shall fall within the protection scope of the present invention.
It should be noted that: a terminal device involved in the embodiments of the present invention includes but is not limited to a mobile phone, a personal digital assistant (Personal Digital Assistant, PDA for short), a wireless handheld device, a personal computer, a wireless netbook, a portable computer, an MP3 player, and an MP4 player.
Step 101: Receive an input character input by a user.
Step 102: Display, according to the input character and in a ring arrangement around the input character, candidate characters corresponding to the input character.
Specifically, a terminal device may display, according to the input character and around the input character, the candidate characters corresponding to the input character, and as shown in
Step 103: Receive selection information, for selecting one candidate character as a to-be-processed character.
Specifically, for the selection information, a control sensor may be used for receiving the selection information. For instance: by a gravity sensor or a displacement sensor, receive the selection information triggered by performing an action on the terminal device by the user.
Step 104: Acquire, according to correspondence between the selection information and a candidate character position, a candidate character in the position corresponding to the selection information as the to-be-processed character.
Before this step, the terminal device in the embodiment of the present invention may also further establish correspondence between selection information and a candidate character position, as shown in table 1.
Step 105: Process the to-be-processed character.
Specifically, the terminal device may display the to-be-processed character in an input box; or the terminal device may further display the to-be-processed character in an input box and display the associated characters related to the to-be-processed character around the to-be-processed character, as shown in
In the embodiment of the present invention, after receiving an input character input by a user, candidate characters corresponding to the input character are displayed in a ring structure according to the input character, so that a candidate character in a position corresponding to received selection information can be acquired as a to-be-processed character according to correspondence between the selection information and the candidate character position so as to process the to-be-processed character. Because a terminal device displays, in a ring structure, the candidate characters corresponding to the received input character, a visual error of the user can be avoided, so that a position of each candidate character in the ring structure will not be misread, thereby improving display efficiency and display accuracy.
Step 201: Receive the selection information through a control sensor.
Specifically, a terminal device may identify, through a control sensor, such as a gravity sensor or a displacement sensor, different actions performed by a user on the terminal device, and according to preset correspondence between an action performed by a user on a terminal device and selection information, receive selection information corresponding to an identified action performed by the user on the terminal device, where the correspondence between the action performed by the user on the terminal device and the selection information may be as shown in
In this embodiment, selection information triggered by an action performed by a user on a terminal device is received through a control sensor, which can avoid a problem of long operation duration or low reliability resulting from that in the prior art the terminal device receives selection information triggered by the user through a function key on the terminal device, thereby improving selection efficiency and selection reliability of candidate characters.
It should be noted that: for brevity, the foregoing method embodiments are described as a series of actions. However, a person skilled in the art should understand that the present invention is not limited to the order of the described actions, because according to the present invention, some steps may adopt other order or occur simultaneously. It should be further understood by a person skilled in the art that the described embodiments are all exemplary embodiments, and the involved actions and modules are not necessarily required by the present invention.
In the foregoing embodiments, description of each embodiment has respective focuses. For a part that is not described in detail in a certain embodiment, reference may be made to related descriptions in other embodiments.
The methods in the first and second embodiments of the present invention may both be implemented by the terminal device provided in the embodiment of the present invention.
Specifically, the displaying module 32 in this embodiment, specifically, may display, according to the input character and around the input character, the candidate characters corresponding to the input character.
Specifically, the processing module 35 in this embodiment, specifically, may display the to-be-processed character in an input box; or may also display the to-be-processed character in an input box and display, around the to-be-processed character, associated characters related to the to-be-processed character.
In this embodiment, after a first receiving module receives an input character input by a user, a terminal device displays, through a displaying module, according to the input character and in a ring structure, candidate characters corresponding to the input character, so that an acquisition module can acquire, according to correspondence between selection information and a candidate character position, a candidate character in the position corresponding to the selection information received by the second receiving module as a to-be-processed character, and the to-be-processed character is processed by a processing module. Because the displaying module of the terminal device displays, in the ring structure, the candidate characters corresponding to the received input character, a visual error of the user can be avoided, so that a position of each candidate character in the ring structure will not be misread, thereby improving display efficiency and display accuracy.
Specifically, the second receiving module 33, specifically, may receive the selection information through a control sensor. For instance, an action performed by the user on the terminal device may specifically be identified through a gravity sensor or a displacement sensor, and selection information corresponding to the identified action performed by the user on the terminal device is received according to preset correspondence between the action performed by the user on the terminal device and the selection information. by using the second receiving module to receive, through the control sensor, the selection information triggered by the action performed by the user on the terminal device, the terminal device can avoid a problem of long operation duration or low reliability resulting from that in the prior art the terminal device receives selection information triggered by the user through a function key on the terminal device, thereby improving the selection efficiency and selection reliability of candidate characters.
A person of ordinary skill in the art can understand that, all or part of the steps of the foregoing method embodiments may be implemented by a program instructing relevant hardware. The foregoing program may be stored in a computer readable storage medium. When the program runs, the preceding steps included in the method embodiments are performed. The foregoing storage medium may be various media capable of storing program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present invention other than limiting the present invention. Although the present invention is described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that they may still make modifications to the technical solution described in the foregoing embodiments or make equivalent replacements to some technical features thereof; such modifications or replacements do not make essence of corresponding technical solutions depart from the scope of the technical solution of the embodiments of the present invention.
This application is a continuation of International Application No. PCT/CN2011/072607, filed on Apr. 11, 2011, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2011/072607 | Apr 2011 | US |
Child | 14051637 | US |