CN108062168B - Candidate word screen-on method and device and candidate word screen-on device - Google Patents

Candidate word screen-on method and device and candidate word screen-on device Download PDF

Info

Publication number
CN108062168B
CN108062168B CN201610987414.7A CN201610987414A CN108062168B CN 108062168 B CN108062168 B CN 108062168B CN 201610987414 A CN201610987414 A CN 201610987414A CN 108062168 B CN108062168 B CN 108062168B
Authority
CN
China
Prior art keywords
determining
line segment
mapping information
mapping
candidate word
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.)
Active
Application number
CN201610987414.7A
Other languages
Chinese (zh)
Other versions
CN108062168A (en
Inventor
陈小帅
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201610987414.7A priority Critical patent/CN108062168B/en
Publication of CN108062168A publication Critical patent/CN108062168A/en
Application granted granted Critical
Publication of CN108062168B publication Critical patent/CN108062168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction 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

Abstract

The embodiment of the application provides a candidate word screen-on method, which comprises the following steps: obtaining one or more candidate words corresponding to the current input characters; determining mapping information formed between the input characters and each candidate word respectively; and when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen. In the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining mapping information formed before the input character and each candidate word. The mapping information may be presented near a virtual key clicked by the user, and the user may select the mapping information to screen the corresponding candidate word. The user can select the candidate words to be displayed on the screen by reducing the moving distance of the fingers, the word selecting and displaying speed of the user is improved, and the complicated operation that the user needs to move the fingers to the candidate frames on the upper portion of the input method greatly every time the user displays the screen is avoided.

Description

Candidate word screen-on method and device and candidate word screen-on device
Technical Field
The present application relates to the field of input methods, and in particular, to a candidate word on-screen method, a candidate word on-screen device, and a device for on-screen of a candidate word.
Background
In recent years, with the rapid growth of mobile terminals having touch screens, input methods have also been rapidly developed. Since a user can quickly perform input by operating a virtual keyboard on a touch panel with a finger using an input method, the importance of the input method to a touch panel terminal or a terminal application is self-evident.
At present, when a user inputs a certain character string by using an input method, the user needs to move a finger to a candidate box for selection. The process needs the fingers of the user to move remotely, causes inconvenience to the user with small fingers and large screen, reduces the screen-loading speed of the user to influence the input speed, and needs the fingers of the user to accurately position the corresponding positions of the candidate frames, otherwise, the user can mistakenly load the screen, and the user experience is poor.
Disclosure of Invention
In view of the above, embodiments of the present application are proposed to provide a candidate word screen-on method, a candidate word screen-on device and a device for candidate word screen-on that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a candidate word on-screen method, including:
obtaining one or more candidate words corresponding to the current input characters;
determining mapping information formed between the input characters and each candidate word respectively;
and when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen.
Preferably, the method further comprises the following steps:
when the mapping information moving operation is obtained, removing the mapping information formed between the input character and each candidate word;
and determining mapping information formed between the position of the mapping information moving operation and each candidate word respectively.
Preferably, the mapping information is a mapping area;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining areas between the key positions of the input characters and the positions of the candidate words as mapping areas.
Preferably, the step of determining mapping information formed between the position of the mapping information moving operation and each candidate word includes:
and determining mapping areas formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
Preferably, when a certain mapping information is selected, the step of displaying the candidate word corresponding to the mapping information on the screen includes:
and when the area selection operation is detected in a certain mapping area, displaying a candidate word corresponding to the mapping area on a screen.
Preferably, the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value larger than or equal to the preset threshold.
Preferably, the region selection operation is a push operation.
Preferably, the mapping information is a mapping line segment;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
Preferably, the step of determining mapping information formed between the position of the mapping information moving operation and each candidate word includes:
and determining mapping line segments formed between the positions of the mapping information movement operation and the positions of the candidate words respectively.
Preferably, when a certain mapping information is selected, the step of displaying the candidate word corresponding to the mapping information on the screen includes:
when the line segment selection operation is detected, determining a line segment indicated by the line segment selection operation;
determining the coincidence degree of the line segment indicated by the line segment selection operation and each mapping line segment;
and (4) displaying the candidate word corresponding to the mapping line segment with the maximum contact ratio on a screen.
Preferably, the line segment selection operation is a sliding operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
determining a trajectory of the sliding operation.
Preferably, the line segment selection operation is a push operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
and determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
Preferably, when a certain mapping information is selected, the step of displaying the candidate word corresponding to the mapping information on the screen includes:
when a direction selection operation is detected, determining the direction indicated by the direction selection operation;
determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and (4) displaying the candidate word corresponding to the mapping line segment with the minimum included angle.
Preferably, the direction selection operation is a sliding operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
determining a sliding direction of the sliding operation.
Preferably, the direction selection operation is a push operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
and determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
Simultaneously, this application embodiment still discloses a candidate word device of going up screen, includes:
the candidate word obtaining module is used for obtaining one or more candidate words corresponding to the current input characters;
the mapping information determining module is used for determining mapping information formed between the input characters and each candidate word respectively;
and the screen-up module is used for displaying the candidate words corresponding to the mapping information on the screen when a certain mapping information is selected.
Preferably, the method further comprises the following steps:
the removing module is used for removing the mapping information formed between the input characters and each candidate word when the mapping information moving operation is obtained;
and the mapping moving module is used for determining mapping information formed between the position of the mapping information moving operation and each candidate word.
Preferably, the mapping information is a mapping area;
the mapping information determination module includes:
and the mapping area determining submodule is used for determining areas between the positions of the keys of the input characters and the positions of the candidate words as mapping areas.
Preferably, the mapping moving module includes:
and the region moving submodule is used for determining a mapping region formed between the position of the mapping information moving operation and the position of each candidate word.
Preferably, the screen-up module includes:
and the area screen-loading sub-module is used for loading the candidate words corresponding to a certain mapping area on the screen when the area selection operation is detected in the mapping area.
Preferably, the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value larger than or equal to the preset threshold.
Preferably, the region selection operation is a push operation.
Preferably, the mapping information is a mapping line segment;
the mapping information determination module includes:
and the mapping line segment determining submodule is used for determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
Preferably, the mapping moving module includes:
and the line segment moving submodule is used for determining mapping line segments formed between the positions of the mapping information moving operation and the positions of the candidate words respectively.
Preferably, the screen-up module includes:
an operation line segment determination submodule for determining a line segment indicated by the line segment selection operation when the line segment selection operation is detected;
the coincidence degree determining submodule is used for determining the coincidence degree of the line segment indicated by the line segment selecting operation and each mapping line segment;
and the coincidence degree screen-loading sub-module is used for loading the candidate word corresponding to the mapping line segment with the maximum coincidence degree.
Preferably, the line segment selection operation is a sliding operation;
the operation line segment determination submodule includes:
a trajectory determination unit for determining a trajectory of the sliding operation.
Preferably, the line segment selection operation is a push operation;
the operation line segment determination submodule includes:
and the re-pressing line segment determining unit is used for determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
Preferably, the screen-up module includes:
an operation direction determination submodule. The direction selection device is used for determining the direction indicated by the direction selection operation when the direction selection operation is detected;
the included angle calculation submodule is used for determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and the included angle screen-loading module is used for loading the candidate words corresponding to the mapping line segment with the minimum included angle.
Preferably, the direction selection operation is a sliding operation;
the operation direction determination submodule includes:
a sliding direction determination unit for determining a sliding direction of the sliding operation.
Preferably, the direction selection operation is a push operation;
the operation direction determination submodule includes:
and the re-pressing direction determining unit is used for determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
The embodiment of the application also discloses a device for screening candidate words, which comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs comprise instructions for:
obtaining one or more candidate words corresponding to the current input characters;
determining mapping information formed between the input characters and each candidate word respectively;
and when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen.
The embodiment of the application has the following advantages:
in the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining mapping information formed before the input character and each candidate word. The mapping information may be presented near a virtual key clicked by the user, and the user may select the mapping information to screen the corresponding candidate word. The method has the advantages that the user can select the candidate words to be displayed on the screen by reducing the distance of the finger movement, the speed of selecting the candidate words to be displayed on the screen by the user is improved, the complex operation that the user needs to move the finger to the candidate frame on the upper portion of the input method greatly during each screen displaying process is avoided, the problems that other keys are mistakenly touched and the candidate frame is inaccurate in positioning due to the fact that the finger moves in the screen displaying candidate process can be solved, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of steps of an embodiment 1 of a candidate word on-screen method according to the present application;
fig. 2 is a flowchart of steps of embodiment 2 of a candidate word on-screen method according to the present application;
FIG. 3 is a schematic diagram of a mapping region in an embodiment of the present application;
fig. 4 is a flowchart of steps of an embodiment 3 of a candidate word on-screen method according to the present application;
FIG. 5 is a schematic diagram of mapping line segments in an embodiment of the present application;
FIG. 6 is a flowchart of steps of embodiment 4 of a candidate word on-screen method of the present application;
FIG. 7 is a block diagram of an embodiment of a candidate word on-screen device according to the present application;
FIG. 8 is a block diagram illustrating an apparatus for candidate word on-screen in accordance with an example embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
One of the core concepts of the embodiment of the application is that mapping information of candidate words is generated near the position where a user finger clicks a virtual key, and when the mapping information is selected, the corresponding candidate words are displayed on the screen, so that the user can reduce the distance of finger movement and select the candidate words on the screen.
Referring to fig. 1, a flowchart of steps of an embodiment 1 of a candidate word on-screen method according to the present application is shown, which may specifically include the following steps:
step 101, obtaining one or more candidate words corresponding to a current input character;
when a user uses a terminal such as a mobile phone and a tablet personal computer, the input method can be input on the touch screen through the virtual keyboard. The virtual keyboard includes a plurality of virtual keys that are clicked by a user to generate an input character.
The input method carries out processing such as system word stock query, error correction, frequency modulation sequencing and the like on input character strings of a user to generate corresponding candidate words and displays the candidate words in a candidate box.
However, as the terminal screen becomes larger, the user needs to move the finger a longer distance to select when selecting a candidate word on the screen. For some users with smaller hands, it is more difficult to complete candidate word selection with one hand. Meanwhile, the screen-on speed of the user is reduced, the input speed is influenced, the corresponding position of the candidate frame needs to be accurately positioned by the finger of the user, otherwise, screen-on error is caused, and the user experience is poor. When a user performs input operation on a bus or a subway, the user cannot accurately select candidate words to be displayed due to shaking of the bus or the subway or collision of other passengers. When the user walks on a rugged road to perform input operation, the user cannot accurately select candidate words to be displayed on the screen due to the bumpy road.
Step 102, determining mapping information formed between the input characters and each candidate word respectively;
and the user clicks the virtual key to generate an input character, and mapping information is formed between the input character and the candidate words. Specifically, after the user clicks the virtual key to generate the input character, mapping information is formed between the position of the virtual key corresponding to the input character and the position of each candidate word in the candidate box.
Step 103, when a certain mapping information is selected, the candidate word corresponding to the mapping information is displayed on the screen.
The user may select certain mapping information in the vicinity of the clicked virtual key to complete the selection of the candidate word.
In the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining mapping information formed before the input character and each candidate word. The mapping information may be presented near a virtual key clicked by the user, and the user may select the mapping information to screen the corresponding candidate word. The method has the advantages that the user can select the candidate words to be displayed on the screen by reducing the distance of the finger movement, the word selecting and displaying speed of the user is improved, the complex operation that the user needs to move the finger to the candidate frame on the upper portion of the input method greatly in each screen displaying process is avoided, the problems that other keys are touched by mistake and the candidate frame is not accurately positioned due to the finger movement in the screen displaying candidate process are solved, and the use experience of the user is improved.
In this embodiment, the method may further include:
when the mapping information moving operation is obtained, removing the mapping information formed between the input character and each candidate word;
and determining mapping information formed between the position of the mapping information moving operation and each candidate word respectively.
In the embodiment of the application, when a user clicks a certain key on the input virtual keyboard to generate an input character, the user moves the finger to other positions. Since the mapping information between the input character and the candidate word is still near the position of the virtual key corresponding to the input character, it is inconvenient for the user to select.
Therefore, when the finger of the user moves, the user can trigger the mapping information moving operation at the moved position. And removing the mapping information between the input character and each candidate word determined before when the mapping information moving operation is detected. Then, mapping information formed between the position of the current mapping information moving operation and each candidate word is generated, and a user can select certain mapping information near the position of the current mapping information moving operation, so that the corresponding candidate word is displayed on the screen.
Referring to fig. 2, a flowchart of steps of embodiment 2 of a candidate word on-screen method according to the present application is shown, which may specifically include the following steps:
step 201, obtaining one or more candidate words corresponding to a current input character;
step 202, determining areas between the key positions of the input characters and the positions of the candidate words as mapping areas;
in the embodiment of the present application, mapping information formed between an input character and each candidate word is a mapping region.
Specifically, a mapping area is determined between the key position of the virtual key corresponding to the input character and each candidate word position in the candidate frame.
The mapping region may be a sector, a rectangle, or any other arbitrary shape. And the shape and area size of each mapping region may be different from each other. The mapping regions may not completely overlap, and when the region selection operation triggered by the user is in the overlapping region, the mapping region to be selected may be determined according to the difference of the region selection operation. The mapping region to be selected is determined according to the difference of the pressing gesture of the region selection operation.
Step 203, when a region selection operation is detected in a certain mapping region, displaying a candidate word corresponding to the mapping region on a screen;
when a user clicks a screen trigger area selection operation in a certain mapping area of a screen, a candidate word corresponding to the mapping area is displayed on the screen.
In the embodiment of the present application, the region selection operation is a re-pressing operation; the input character is triggered by a tap operation.
In order to distinguish the character input operation and the screen-up operation of the user, the embodiment of the application adopts the Touch strength recognition technology such as 3d-Touch, and the like, and can set the character input operation of the user as a soft press and the area selection operation of the mapping area selected by the user as a hard press.
Fig. 3 is a schematic diagram of a mapping region in the embodiment of the present application. In this example, the user inputs "us" and performs the screen-up through the mapping area.
Specifically, the method comprises the following steps:
(1) the user inputs 'w', 'o','m', 'e', 'n', respectively; the candidate words presented at this time include: "women", "we", "I will do nothing" … …
(2) And determining a mapping area formed between the position of the virtual key of the 'n' and the position of each candidate word, and drawing a corresponding candidate frame in the screen corresponding to the mapping area.
(3) If the user needs to screen "us", the corresponding mapping area can be selected by pressing the corresponding candidate box again, so that the corresponding candidate word is screened.
Step 204, when the mapping information moving operation is obtained, removing the mapping information formed between the input characters and each candidate word;
step 205, determining mapping areas formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
And when the finger of the user moves from the key position of the input character to other positions and triggers the mapping information moving operation at other positions, removing the mapping area formed between the input character and each candidate word. And determining a mapping area between the position of the current mapping information moving operation and the position of each candidate word, and redrawing a corresponding candidate frame for the mapping area in the screen. And (4) triggering area selection operation (re-pressing) in the candidate frame by the user to select the corresponding candidate word to be displayed on the screen.
In the embodiment of the present application, the mapping information movement operation and the operation of inputting the character may be distinguished by the pressed pressure value. The input character may be triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation may be a pressing operation with a pressure value larger than or equal to the preset threshold.
Specifically, the mapping information moving operation includes a push operation, a slide operation after the push operation, and a lift operation after the slide operation.
For example, when the finger of the user moves from the key position for inputting the character to the position a, the mapping information moving operation may be triggered at the position a. The user can trigger the re-pressing operation at the position A, then the sliding operation is carried out, and when the user lifts the finger to trigger the lifting operation, the mapping information moving operation is judged to be received. Then, a new mapping region is formed between position a and each candidate word of the candidate box.
Further, a determination condition may be set for the slide operation. For example, when the trajectory of the sliding operation matches the preset trajectory, the pressing operation, the sliding operation, and the lifting operation are determined as the mapping information moving operation. Otherwise, the operation of adjusting the mapping region is not triggered.
In the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining a mapping area formed by the input character and each candidate word, and clicking the mapping area by a user to screen the corresponding candidate word. The method has the advantages that the user can select the candidate words to be displayed on the screen by reducing the distance of the finger movement, the word selecting and displaying speed of the user is improved, the complex operation that the user needs to move the finger to the candidate frame area of the input method greatly every time the user displays the screen is avoided, the problems that other keys are touched by mistake and the candidate frame is not accurately positioned due to the finger movement in the screen displaying candidate process can be solved, and the use experience of the user is improved.
Referring to fig. 4, a flowchart of steps of embodiment 3 of a candidate word on-screen method according to the present application is shown, which may specifically include the following steps:
step 301, obtaining one or more candidate words corresponding to a current input character;
step 302, determining connecting lines formed between the key positions of the input characters and the candidate words as mapping line segments;
in the embodiment of the present application, the mapping information formed between the input character and each candidate word is a mapping line segment.
Specifically, a connecting line between the key position of the virtual key corresponding to the input character and each candidate word position in the candidate frame is used as a mapping line segment.
Step 303, when detecting a line segment selection operation, determining a line segment indicated by the line segment selection operation;
when a user triggers a line segment selection operation on a screen, a line segment indicated by the line segment selection operation is determined.
Step 304, determining the coincidence degree of the line segment indicated by the line segment selection operation and each mapping line segment;
and calculating the coincidence degree of the line segment indicated by the line segment selection operation and the mapping line segment corresponding to each candidate word.
The greater the degree of coincidence, the more the overlapping areas of the line segment indicating the line segment selection operation indication and the mapped line segment corresponding to the candidate word.
And 305, displaying the candidate word corresponding to the mapping line segment with the maximum contact ratio on a screen.
And (4) displaying the candidate word corresponding to the mapping line segment with the maximum coincidence degree with the line segment indicated by the line segment selection operation.
In an example of the own embodiment, the line segment selecting operation is a sliding operation;
the step 303 may include:
determining a trajectory of the sliding operation.
After the user clicks the virtual key to generate the input character, the user may start sliding directly at the position of the virtual key. When a user triggers a sliding operation on a screen, determining the track of the sliding operation.
And calculating the contact ratio of the track of the sliding operation and the mapping line segment of each candidate word, and displaying the candidate word corresponding to the mapping line segment with the maximum contact ratio on a screen.
In another example of its embodiment, the line segment selection operation is a re-press operation;
the step 303 may include:
and determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
And taking a connecting line segment between the position of the re-pressing operation and the key position of the input character as a line segment indicated by the re-pressing operation.
Fig. 5 is a schematic diagram of mapping line segments in the embodiment of the present application. In this example, the user inputs "us" and performs the screen-up through the mapping area.
Specifically, the method comprises the following steps:
(1) the user inputs 'w', 'o','m', 'e', 'n', respectively; the candidate words presented at this time include: "women", "we", "I will do nothing" … …
(2) And determining mapping line segments formed between the positions of the virtual keys of the 'n' and the positions of the candidate words, and drawing corresponding line segments for the mapping line segments in the screen.
(3) If the user needs to screen "us", the user can slide on the ray segment corresponding to the candidate word "us" in the screen, so as to screen the candidate word "us" corresponding to the mapping line segment. Or, the candidate word "us" corresponding to the mapping line segment is displayed on the screen by pressing again at a certain point on the mapping line segment corresponding to the candidate word "us".
Step 306, removing mapping line segments formed between the input characters and the candidate words respectively when the mapping information movement operation is obtained;
step 307, determining mapping line segments formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
In order to distinguish various operations, in the embodiment of the present application, an input character is triggered by a tap operation.
In the embodiment of the application, the user generates the input characters by lightly pressing the virtual keys.
After the user clicks the virtual key to generate the input character, the user may directly start sliding at the position of the virtual key, thereby selecting a certain mapping line segment.
And when the finger of the user moves from the key position of the input character to other positions and triggers the mapping information movement operation at other positions, removing the mapping line segment formed between the input character and each candidate word. And determining a mapping line segment between the position of the current mapping information moving operation and the position of each candidate word, and redrawing the corresponding line segment for the mapping line segment in the screen. The user performs a line segment selection operation (sliding operation or pressing operation) on a certain mapping line segment, and then the corresponding candidate word is selected to be displayed on the screen.
In the embodiment of the present application, the mapping information movement operation and the operation of inputting the character may be distinguished by the pressed pressure value. The input character may be triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation may be a pressing operation with a pressure value larger than or equal to the preset threshold.
Specifically, the mapping information moving operation includes a push operation, a slide operation after the push operation, and a lift operation after the slide operation.
For example, when the finger of the user moves from the key position for inputting the character to the position a, the mapping information moving operation may be triggered at the position a. The user can trigger the re-pressing operation at the position A, then the sliding operation is carried out, and when the user lifts the finger to trigger the lifting operation, the mapping information moving operation is judged to be received. Then, a new mapping line segment is formed between position a and each candidate word of the candidate box.
Further, a determination condition may be set for the slide operation. For example, when the trajectory of the sliding operation matches the preset trajectory, the pressing operation, the sliding operation, and the lifting operation are determined as the mapping information moving operation. Otherwise, the operation of adjusting the mapping line segment is not triggered.
In the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining a mapping line segment formed between the input character and each candidate word, and enabling a user to screen the corresponding candidate word by performing sliding operation or re-pressing operation on the mapping line segment. The method has the advantages that the user can select the candidate words to be displayed on the screen by reducing the distance of the finger movement, the speed of selecting the candidate words to be displayed on the screen by the user is improved, the complex operation that the user needs to move the finger to the candidate frame on the upper portion of the input method greatly during each screen displaying process is avoided, the problems that other keys are mistakenly touched and the candidate frame is inaccurate in positioning due to the fact that the finger moves in the screen displaying candidate process can be solved, and the use experience of the user is improved.
Referring to fig. 6, a flowchart of steps of an embodiment 4 of a candidate word on-screen method according to the present application is shown, which may specifically include the following steps:
step 401, obtaining one or more candidate words corresponding to a current input character;
step 402, determining connecting lines formed between the key positions of the input characters and the candidate words as mapping line segments;
in the embodiment of the present application, the mapping information formed between the input character and each candidate word is a mapping line segment.
Specifically, a connecting line between the key position of the virtual key corresponding to the input character and each candidate word position in the candidate frame is used as a mapping line segment.
Step 403, when a direction selection operation is detected, determining the direction indicated by the direction selection operation;
when the user triggers a direction selection operation on the screen, the direction indicated by the direction selection operation is determined.
Step 404, determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and calculating the included angle between the direction selection operation indication method and the direction of each mapping line segment.
And step 405, displaying the candidate word corresponding to the mapping line segment with the minimum included angle on a screen.
And (4) displaying the candidate word corresponding to the mapping line segment with the minimum included angle with the direction indicated by the direction selection operation.
In one example of an embodiment of the present application, the direction selection operation is a sliding operation;
the step 403 may include:
determining a sliding direction of the sliding operation.
After the user clicks the virtual key to generate the input character, the user may start sliding directly at the position of the virtual key. When a user triggers a sliding operation on a screen, the sliding direction of the sliding operation is determined.
And calculating an included angle between the sliding direction of the sliding operation and the direction of the mapping line segment of each candidate word, and displaying the candidate word corresponding to the mapping line segment with the minimum included angle on a screen.
In another example of an embodiment of the present application, the direction selecting operation is a re-press operation;
the step 403 may include:
and determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
The direction of the line between the position of the re-pressing operation and the key position of the input character is set as the direction indicated by the re-pressing operation.
Step 406, when the mapping information movement operation is obtained, removing the mapping line segments formed between the input characters and the candidate words respectively;
step 407, determining mapping line segments formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
In order to distinguish various operations, in the embodiment of the present application, an input character is triggered by a tap operation.
In the embodiment of the application, the user generates the input characters by lightly pressing the virtual keys.
After the user clicks the virtual key to generate the input character, the user may directly start sliding at the position of the virtual key, thereby selecting a certain mapping line segment.
And when the finger of the user moves from the key position of the input character to other positions and triggers the mapping information movement operation at other positions, removing the mapping line segment formed between the input character and each candidate word. And determining a mapping line segment between the position of the current mapping information moving operation and the position of each candidate word, and redrawing the corresponding line segment for the mapping line segment in the screen. The user can select the corresponding candidate word to be displayed on the screen by performing direction selection operation (sliding operation or pressing operation) on a certain mapping line segment.
In the embodiment of the present application, the mapping information movement operation and the operation of inputting the character may be distinguished by the pressed pressure value. The input character may be triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation may be a pressing operation with a pressure value larger than or equal to the preset threshold.
Specifically, the mapping information moving operation includes a push operation, a slide operation after the push operation, and a lift operation after the slide operation.
For example, when the finger of the user moves from the key position for inputting the character to the position a, the mapping information moving operation may be triggered at the position a. The user can trigger the re-pressing operation at the position A, then the sliding operation is carried out, and when the user lifts the finger to trigger the lifting operation, the mapping information moving operation is judged to be received. Then, a new mapping line segment is formed between position a and each candidate word of the candidate box.
Further, a determination condition may be set for the slide operation. For example, when the trajectory of the sliding operation matches the preset trajectory, the pressing operation, the sliding operation, and the lifting operation are determined as the mapping information moving operation. Otherwise, the operation of adjusting the mapping line segment is not triggered.
In the embodiment of the application, after the user inputs the characters by clicking the virtual keys, the candidate words corresponding to the input characters are obtained. And determining a mapping line segment formed between the input character and each candidate word, and enabling a user to screen the corresponding candidate word by performing sliding operation or re-pressing operation on the mapping line segment. The method has the advantages that the user can select the candidate words to be displayed on the screen by reducing the distance of the finger movement, the speed of selecting the candidate words to be displayed on the screen by the user is improved, the complex operation that the user needs to move the finger to the candidate frame on the upper portion of the input method greatly during each screen displaying process is avoided, the problems that other keys are mistakenly touched and the candidate frame is inaccurate in positioning due to the fact that the finger moves in the screen displaying candidate process can be solved, and the use experience of the user is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 7, a block diagram of a candidate word on-screen device according to an embodiment of the present application is shown, and specifically, the block diagram may include the following modules:
a candidate word obtaining module 501, configured to obtain one or more candidate words corresponding to a current input character;
a mapping information determining module 502, configured to determine mapping information formed between the input character and each candidate word;
the screen-up module 503 is configured to, when a certain mapping information is selected, screen up a candidate word corresponding to the mapping information.
In this embodiment, the apparatus may further include:
the removing module is used for removing the mapping information formed between the input characters and each candidate word when the mapping information moving operation is obtained;
and the mapping moving module is used for determining mapping information formed between the position of the mapping information moving operation and each candidate word.
In the embodiment of the present application, the mapping information is a mapping area;
the mapping information determining module 502 may include:
and the mapping area determining submodule is used for determining areas between the positions of the keys of the input characters and the positions of the candidate words as mapping areas.
In an embodiment of the present application, the mapping moving module may include:
and the region moving submodule is used for determining a mapping region formed between the position of the mapping information moving operation and the position of each candidate word.
In this embodiment of the present application, the upper screen module 503 may include:
and the area screen-loading sub-module is used for loading the candidate words corresponding to a certain mapping area on the screen when the area selection operation is detected in the mapping area.
In this embodiment of the application, the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value larger than the preset threshold.
In the embodiment of the present application, the region selection operation may be a push operation.
In this embodiment of the present application, the mapping information may be a mapping line segment;
the mapping information determining module 502 may include:
and the mapping line segment determining submodule is used for determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
In an embodiment of the present application, the mapping moving module may include:
and the line segment moving submodule is used for determining mapping line segments formed between the positions of the mapping information moving operation and the positions of the candidate words respectively.
In this embodiment of the present application, the upper screen module 503 may include:
an operation line segment determination submodule for determining a line segment indicated by the line segment selection operation when the line segment selection operation is detected;
the coincidence degree determining submodule is used for determining the coincidence degree of the line segment indicated by the line segment selecting operation and each mapping line segment;
and the coincidence degree screen-loading sub-module is used for loading the candidate word corresponding to the mapping line segment with the maximum coincidence degree.
In the embodiment of the present application, the line segment selection operation may be a sliding operation;
the operation line segment determination submodule may include:
a trajectory determination unit for determining a trajectory of the sliding operation.
In the embodiment of the present application, the line segment selection operation may be a pressing operation;
the operation line segment determination submodule may include:
and the re-pressing line segment determining unit is used for determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
In this embodiment of the present application, the upper screen module 503 may include:
an operation direction determination submodule. The direction selection device is used for determining the direction indicated by the direction selection operation when the direction selection operation is detected;
the included angle calculation submodule is used for determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and the included angle screen-loading module is used for loading the candidate words corresponding to the mapping line segment with the minimum included angle.
In the embodiment of the present application, the direction selection operation may be a sliding operation;
the operation direction determination submodule may include:
a sliding direction determination unit for determining a sliding direction of the sliding operation.
In the embodiment of the present application, the direction selecting operation may be a pressing operation;
the operation direction determination submodule may include:
and the re-pressing direction determining unit is used for determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
Fig. 8 is a block diagram illustrating an apparatus 800 for candidate word on-screen in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of candidate word on-screen, the method comprising:
obtaining one or more candidate words corresponding to the current input characters;
determining mapping information formed between the input characters and each candidate word respectively;
and when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
Detailed descriptions are given above to a candidate word screen-on method, a candidate word screen-on device, and a candidate word screen-on device provided by the present application, and specific examples are applied herein to explain the principle and the implementation of the present application, and the descriptions of the above embodiments are only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (42)

1. A candidate word screen-on method is characterized by comprising the following steps:
obtaining one or more candidate words corresponding to the current input characters;
determining mapping information formed between the input characters and each candidate word respectively;
when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen;
the method further comprises the following steps:
when the mapping information moving operation is obtained, removing the mapping information formed between the input character and each candidate word;
determining mapping information formed between the position of the mapping information moving operation and each candidate word respectively;
the mapping information moving operation is an operation triggered by moving a finger to other positions after the input character is generated.
2. The method of claim 1, wherein the mapping information is a mapping region;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining areas between the key positions of the input characters and the positions of the candidate words as mapping areas.
3. The method according to claim 2, wherein the step of determining the mapping information formed between the position of the mapping information moving operation and each candidate word respectively comprises:
and determining mapping areas formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
4. The method according to claim 2, wherein the step of displaying the candidate word corresponding to the mapping information on the screen when a certain mapping information is selected comprises:
and when the area selection operation is detected in a certain mapping area, displaying a candidate word corresponding to the mapping area on a screen.
5. The method according to claim 1, wherein the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value greater than or equal to the preset threshold.
6. The method of claim 4, wherein the region selection operation is a re-press operation.
7. The method of claim 1, wherein the mapping information is a mapping line segment;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
8. The method according to claim 7, wherein the step of determining mapping information formed between the position of the mapping information moving operation and each candidate word respectively comprises:
and determining mapping line segments formed between the positions of the mapping information movement operation and the positions of the candidate words respectively.
9. The method according to claim 8, wherein the step of displaying the candidate word corresponding to the mapping information on the screen when a certain mapping information is selected comprises:
when the line segment selection operation is detected, determining a line segment indicated by the line segment selection operation;
determining the coincidence degree of the line segment indicated by the line segment selection operation and each mapping line segment;
and (4) displaying the candidate word corresponding to the mapping line segment with the maximum contact ratio on a screen.
10. The method of claim 9, wherein the line segment selection operation is a slide operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
determining a trajectory of the sliding operation.
11. The method of claim 9, wherein the line segment selection operation is a re-press operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
and determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
12. The method according to claim 8, wherein the step of displaying the candidate word corresponding to the mapping information on the screen when a certain mapping information is selected comprises:
when a direction selection operation is detected, determining the direction indicated by the direction selection operation;
determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and (4) displaying the candidate word corresponding to the mapping line segment with the minimum included angle.
13. The method of claim 12, wherein the direction selection operation is a sliding operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
determining a sliding direction of the sliding operation.
14. The method of claim 13, wherein the direction selection operation is a re-press operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
and determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
15. A candidate word on-screen device, comprising:
the candidate word obtaining module is used for obtaining one or more candidate words corresponding to the current input characters;
the mapping information determining module is used for determining mapping information formed between the input characters and each candidate word respectively;
the screen-on module is used for displaying a candidate word corresponding to a certain mapping information on a screen when the mapping information is selected;
the device further comprises:
the removing module is used for removing the mapping information formed between the input characters and each candidate word when the mapping information moving operation is obtained;
the mapping moving module is used for determining mapping information formed between the position of the mapping information moving operation and each candidate word;
the mapping information moving operation is an operation triggered by moving a finger to other positions after the input character is generated.
16. The apparatus of claim 15, wherein the mapping information is a mapping region;
the mapping information determination module includes:
and the mapping area determining submodule is used for determining areas between the positions of the keys of the input characters and the positions of the candidate words as mapping areas.
17. The apparatus of claim 16, wherein the map move module comprises:
and the region moving submodule is used for determining a mapping region formed between the position of the mapping information moving operation and the position of each candidate word.
18. The apparatus of claim 16, wherein the screen-up module comprises:
and the area screen-loading sub-module is used for loading the candidate words corresponding to a certain mapping area on the screen when the area selection operation is detected in the mapping area.
19. The apparatus according to claim 15, wherein the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value greater than or equal to the preset threshold.
20. The apparatus of claim 18, wherein the region selection operation is a re-press operation.
21. The apparatus of claim 15, wherein the mapping information is a mapping line segment;
the mapping information determination module includes:
and the mapping line segment determining submodule is used for determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
22. The apparatus of claim 21, wherein the map move module comprises:
and the line segment moving submodule is used for determining mapping line segments formed between the positions of the mapping information moving operation and the positions of the candidate words respectively.
23. The apparatus of claim 21, wherein the screen-up module comprises:
an operation line segment determination submodule for determining a line segment indicated by the line segment selection operation when the line segment selection operation is detected;
the coincidence degree determining submodule is used for determining the coincidence degree of the line segment indicated by the line segment selecting operation and each mapping line segment;
and the coincidence degree screen-loading sub-module is used for loading the candidate word corresponding to the mapping line segment with the maximum coincidence degree.
24. The apparatus of claim 23, wherein the line segment selection operation is a sliding operation, and wherein the operation line segment determination submodule comprises:
a trajectory determination unit for determining a trajectory of the sliding operation.
25. The apparatus of claim 23, wherein the line segment selection operation is a re-press operation;
the operation line segment determination submodule includes:
and the re-pressing line segment determining unit is used for determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
26. The apparatus of claim 21, wherein the screen-up module comprises:
an operation direction determination submodule for determining a direction indicated by the direction selection operation when the direction selection operation is detected;
the included angle calculation submodule is used for determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and the included angle screen-loading module is used for loading the candidate words corresponding to the mapping line segment with the minimum included angle.
27. The apparatus of claim 26, wherein the direction selection operation is a sliding operation;
the operation direction determination submodule includes:
a sliding direction determination unit for determining a sliding direction of the sliding operation.
28. The apparatus of claim 27, wherein the direction selection operation is a re-press operation;
the operation direction determination submodule includes:
and the re-pressing direction determining unit is used for determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
29. An apparatus for candidate word on-screen comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for:
obtaining one or more candidate words corresponding to the current input characters;
determining mapping information formed between the input characters and each candidate word respectively;
when a certain mapping information is selected, the candidate words corresponding to the mapping information are displayed on the screen;
the apparatus further comprising instructions for:
when the mapping information moving operation is obtained, removing the mapping information formed between the input character and each candidate word;
determining mapping information formed between the position of the mapping information moving operation and each candidate word respectively;
the mapping information moving operation is an operation triggered by moving a finger to other positions after the input character is generated.
30. The apparatus of claim 29, wherein the mapping information is a mapping region;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining areas between the key positions of the input characters and the positions of the candidate words as mapping areas.
31. The apparatus of claim 30, wherein the step of determining mapping information formed between the positions of the mapping information moving operations and the respective candidate words comprises:
and determining mapping areas formed between the positions of the mapping information movement operations and the positions of the candidate words respectively.
32. The apparatus of claim 30, wherein the step of displaying the candidate word corresponding to the mapping information on the screen when a certain mapping information is selected comprises:
and when the area selection operation is detected in a certain mapping area, displaying a candidate word corresponding to the mapping area on a screen.
33. The apparatus according to claim 29, wherein the input character is triggered by a pressing operation with a pressure value smaller than a preset threshold, and the mapping information moving operation is a pressing operation with a pressure value greater than or equal to the preset threshold.
34. The apparatus of claim 32, wherein the region selection operation is a re-press operation.
35. The apparatus of claim 29, wherein the mapping information is a mapping line segment;
the step of determining mapping information formed between the input characters and each candidate word respectively comprises:
and determining a connecting line formed between the key position of the input character and each candidate word as a mapping line segment.
36. The apparatus of claim 35, wherein the step of determining mapping information formed between the positions of the mapping information moving operations and the respective candidate words comprises:
and determining mapping line segments formed between the positions of the mapping information movement operation and the positions of the candidate words respectively.
37. The apparatus of claim 36, wherein the step of displaying the candidate word corresponding to the mapping information on a screen when a certain mapping information is selected comprises:
when the line segment selection operation is detected, determining a line segment indicated by the line segment selection operation;
determining the coincidence degree of the line segment indicated by the line segment selection operation and each mapping line segment; and (4) displaying the candidate word corresponding to the mapping line segment with the maximum contact ratio on a screen.
38. The apparatus of claim 37, wherein the line segment selection operation is a slide operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
determining a trajectory of the sliding operation.
39. The apparatus of claim 37, wherein the line segment selection operation is a re-press operation;
when the line segment selection operation is detected, the step of determining the line segment indicated by the line segment selection operation comprises the following steps:
and determining a line segment formed between the position of the re-pressing operation and the key position of the input character.
40. The apparatus of claim 36, wherein the step of displaying the candidate word corresponding to the mapping information on a screen when a certain mapping information is selected comprises:
when a direction selection operation is detected, determining the direction indicated by the direction selection operation;
determining the direction of the direction selection operation instruction and the included angle between the direction of each mapping line segment;
and (4) displaying the candidate word corresponding to the mapping line segment with the minimum included angle.
41. The apparatus of claim 40, wherein the direction selection operation is a sliding operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
determining a sliding direction of the sliding operation.
42. The apparatus of claim 41, wherein the direction selection operation is a re-press operation;
the step of determining the direction indicated by the direction selection operation when the direction selection operation is detected includes:
and determining the direction of a connecting line formed between the position of the re-pressing operation and the key position of the input character.
CN201610987414.7A 2016-11-09 2016-11-09 Candidate word screen-on method and device and candidate word screen-on device Active CN108062168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610987414.7A CN108062168B (en) 2016-11-09 2016-11-09 Candidate word screen-on method and device and candidate word screen-on device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610987414.7A CN108062168B (en) 2016-11-09 2016-11-09 Candidate word screen-on method and device and candidate word screen-on device

Publications (2)

Publication Number Publication Date
CN108062168A CN108062168A (en) 2018-05-22
CN108062168B true CN108062168B (en) 2021-10-15

Family

ID=62137370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610987414.7A Active CN108062168B (en) 2016-11-09 2016-11-09 Candidate word screen-on method and device and candidate word screen-on device

Country Status (1)

Country Link
CN (1) CN108062168B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032378B (en) * 2018-07-13 2020-10-16 汉王科技股份有限公司 Sliding input method and device
CN111984767A (en) * 2019-05-23 2020-11-24 北京搜狗科技发展有限公司 Information recommendation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266533A (en) * 2008-04-24 2008-09-17 广东国笔科技股份有限公司 Input method for touch screen
CN101546246A (en) * 2009-05-07 2009-09-30 北京搜狗科技发展有限公司 Method and device for paddling selection
CN103279267A (en) * 2013-05-23 2013-09-04 北京小米科技有限责任公司 Candidate word selecting method, candidate word selecting device and candidate word selecting electronic equipment
CN104718544A (en) * 2012-10-16 2015-06-17 谷歌公司 Partial gesture text entry
CN105117159A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Character processing method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615261A (en) * 2013-11-01 2015-05-13 中兴通讯股份有限公司 Associating inputting method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266533A (en) * 2008-04-24 2008-09-17 广东国笔科技股份有限公司 Input method for touch screen
CN101546246A (en) * 2009-05-07 2009-09-30 北京搜狗科技发展有限公司 Method and device for paddling selection
CN104718544A (en) * 2012-10-16 2015-06-17 谷歌公司 Partial gesture text entry
CN103279267A (en) * 2013-05-23 2013-09-04 北京小米科技有限责任公司 Candidate word selecting method, candidate word selecting device and candidate word selecting electronic equipment
CN105117159A (en) * 2015-08-27 2015-12-02 广东欧珀移动通信有限公司 Character processing method and terminal

Also Published As

Publication number Publication date
CN108062168A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
WO2021051650A1 (en) Method and apparatus for association detection for human face and human hand, electronic device and storage medium
US10282586B2 (en) Method and apparatus for realizing touch button and fingerprint identification, and terminal device using same
EP3070659A1 (en) Method, device and terminal for displaying application messages
EP3121701A1 (en) Method and apparatus for single-hand operation on full screen
US20170205962A1 (en) Method and apparatus for recognizing gesture
US20160196463A1 (en) Method and apparatus for implementing touch key and fingerprint identification, and terminal device
EP3109772A1 (en) Text input method and device
EP2983081B1 (en) Method and device for list updating
EP3043246A1 (en) Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device
US20150113475A1 (en) Method and device for providing an image preview
EP3109741B1 (en) Method and device for determining character
US20170300190A1 (en) Method and device for processing operation
RU2609033C1 (en) Input method and input system
CN105487805B (en) Object operation method and device
US11243660B2 (en) Method and device for displaying application, and storage medium
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN108803892B (en) Method and device for calling third party application program in input method
CN108062168B (en) Candidate word screen-on method and device and candidate word screen-on device
CN111596832B (en) Page switching method and device
CN106020694B (en) Electronic equipment, and method and device for dynamically adjusting selected area
CN107168631B (en) Application program closing method and device and terminal electronic equipment
CN114051157A (en) Input method and device
CN108037875B (en) Method, device and storage medium for switching input modes
CN107765884B (en) Sliding input method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant