CN109164922B - Character string input method and device, computer equipment and readable storage medium - Google Patents

Character string input method and device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN109164922B
CN109164922B CN201810843008.2A CN201810843008A CN109164922B CN 109164922 B CN109164922 B CN 109164922B CN 201810843008 A CN201810843008 A CN 201810843008A CN 109164922 B CN109164922 B CN 109164922B
Authority
CN
China
Prior art keywords
input
character
characters
user
character string
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
CN201810843008.2A
Other languages
Chinese (zh)
Other versions
CN109164922A (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201810843008.2A priority Critical patent/CN109164922B/en
Publication of CN109164922A publication Critical patent/CN109164922A/en
Application granted granted Critical
Publication of CN109164922B publication Critical patent/CN109164922B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a character string input method, which comprises the following steps: when detecting that a user inputs characters, acquiring the position of an input cursor; and under the condition that the input cursor is positioned on the left side of the character, based on a preset character series ideal rule, one or more character strings ending with the character are presented through a setting display interface, so that a user can select the character strings needing to be input. The invention also discloses a character string input device, computer equipment and a computer readable storage medium, by implementing the scheme, the accurate character string option is generated according to the position of the input cursor relative to the input character, the precision and the speed of inputting the character string by the user are effectively improved, and the character string input efficiency of the user is improved.

Description

Character string input method and device, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for inputting a character string, a computer device, and a computer-readable storage medium.
Background
With the rapid development of computer devices (e.g., mobile terminals), application programs (apps) installed in the computer devices have also become rapidly popular. When characters are input in the application program, the application program can only input association rules based on preset vocabularies, associate the characters according to the input characters and display the associated vocabularies at the beginning of the input characters; for example, when a fire shadow is input, an association rule is input based on a preset vocabulary, association is performed based on the input fire shadow, and an association vocabulary at the head of the fire shadow is displayed: fire shadow person and fire shadow warrior. However, the above-mentioned vocabulary input method can only obtain the vocabulary at the beginning of the input character, and cannot obtain the vocabulary at the end of the input character, or the vocabulary at the beginning and end of the input character; for example, when the user wants to input vocabulary flow filtering gas, because the user cannot input flow filtering, if the user inputs gas, based on the preset vocabulary input association rule, associating according to the input gas, displaying an associated vocabulary at the beginning of the gas: vocabulary such as a new vehicle and a general public cannot obtain vocabulary filtering that the user needs to input. Therefore, the vocabulary precision obtained by the existing character association input method is difficult to meet the requirement of a user.
Disclosure of Invention
The invention provides a character string input method, a character string input device, computer equipment and a computer readable storage medium, which are used for solving the problem of poor vocabulary precision obtained by vocabulary association according to characters input by a user in the prior art.
The technical scheme adopted by the invention is to provide a character string input method, which comprises the following steps:
when detecting that a user inputs characters, acquiring the position of an input cursor;
and under the condition that the input cursor is positioned on the left side of the character, based on a preset character series connection ideal rule, one or more character strings ending with the character are presented through a setting display interface, so that a user can select the character strings needing to be input.
Optionally, when the input cursor is located on the left side of the character, based on a preset rule of character series connection, one or more character strings ending with the character are presented through a setting display interface, so that a user may select a character string that needs to be input, including:
under the condition that the input cursor is positioned on the left side of the character, the character is sent to a server so that the server can generate one or more character strings ending by the character based on a preset character string association rule;
and presenting one or more character strings ending with the characters fed back by the server on a setting display interface so that a user can select the character strings needing to be input.
Optionally, the number of the characters is two or more; the method further comprises the following steps:
and under the condition that the input cursor is positioned between any two adjacent characters in the characters, based on a preset character series connection ideal rule, one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor are displayed through a setting display interface, so that a user can select the character string needing to be input.
Optionally, when the input cursor is located between any two adjacent characters in the characters, based on a preset character series ideal rule, one or more character strings beginning with a character on the left side of the input cursor and ending with a character on the right side of the input cursor are presented through a setting display interface, so that a user may select a desired character string, where the method includes:
under the condition that the input cursor is positioned between any two adjacent characters in the characters, the characters on the left side of the input cursor and the characters on the right side of the input cursor are sent to a server, so that the server can generate one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on a preset character string association rule;
and presenting one or more character strings fed back by the server, starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor on a setting display interface, so that the user can select the character strings needing to be input.
Optionally, the number of the characters is two or more; the method further comprises the following steps:
and under the condition that the input cursor is positioned between any two adjacent characters in the characters, based on a preset character series connection ideal rule, one or more character strings containing the characters are presented through a setting display interface so that a user can select the character strings needing to be input.
Optionally, when the input cursor is located between any two adjacent characters in the characters, based on a preset rule of character series connection, one or more character strings including the characters are presented through a setting display interface, so that a user can select a character string to be input, including:
under the condition that the input cursor is positioned between any two adjacent characters in the characters, the characters are sent to a server, so that the server can generate one or more character strings containing the characters based on a preset character string association rule;
and presenting one or more character strings containing the characters fed back by the server on a setting display interface so that a user can select the character strings needing to be input.
The present invention also provides a character string input device, comprising:
the acquisition module is used for acquiring the position of an input cursor when detecting that a user inputs characters;
and the first association module is used for presenting one or more character strings ending with the characters through a setting display interface based on a preset character series association rule under the condition that the input cursor is positioned on the left side of the characters, so that a user can select the character strings needing to be input.
Optionally, the first association module includes:
a first generating module, configured to send the character to a server when the input cursor is located on the left side of the character, so that the server generates one or more character strings ending with the character based on a preset character string association rule;
and the first presentation module is used for presenting one or more character strings ending with the characters fed back by the server on a setting display interface so as to allow a user to select the character strings needing to be input.
Optionally, the number of the characters is two or more; the device further comprises:
and the second association module is used for presenting one or more character strings starting from the character on the left side of the input cursor and ending with the character on the right side of the input cursor through a setting display interface based on a preset character series association rule under the condition that the input cursor is positioned between any two adjacent characters in the characters, so that a user can select the character string needing to be input.
Optionally, the second association module includes:
a second generation module, configured to send, when the input cursor is located between any two adjacent characters in the characters, the character on the left side of the input cursor and the character on the right side of the input cursor to a server, so that the server generates, based on a preset character string association rule, one or more character strings that start with the character on the left side of the input cursor and end with the character on the right side of the input cursor;
and the second presentation module is used for presenting one or more character strings which are fed back by the server and begin with the characters on the left side of the input cursor and end with the characters on the right side of the input cursor on a setting display interface, so that a user can select the character string which needs to be input.
Optionally, the number of the characters is two or more; the device further comprises:
and the third association module is used for presenting one or more character strings containing the characters through a set display interface based on a preset character series association rule under the condition that the input cursor is positioned between any two adjacent characters in the characters, so that the user can select the character strings needing to be input.
Optionally, the third association module is specifically configured to:
a third generating module, configured to send the character to a server when the input cursor is located between any two adjacent characters in the character, so that the server generates one or more character strings including the character based on a preset character string association rule;
and the third presentation module is used for presenting one or more character strings containing the characters fed back by the server on a setting display interface so as to allow a user to select the character strings needing to be input.
The invention also provides a computer device comprising a processor and a memory; the processor is used for executing the character string input program stored in the memory so as to realize the steps of the character string input method.
The present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the above-described character string input method.
By adopting the technical scheme, the invention at least has the following advantages:
the character string input method, the character string input device, the computer equipment and the computer readable storage medium realize the generation of accurate character string options according to the position of the input cursor relative to the input character, effectively improve the precision and the speed of inputting the character string by a user, and improve the character string input efficiency of the user.
Drawings
FIG. 1 is a flow chart of a character string input method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a character string input method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for inputting a character string according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for inputting a character string according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for inputting a character string according to a fifth embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for inputting a string according to a sixth embodiment of the present invention;
FIG. 7 is a schematic diagram of a character string input device according to a seventh embodiment of the present invention;
FIG. 8 is a schematic diagram of a character string input device according to an eighth embodiment of the present invention;
FIG. 9 is a schematic diagram of a character string input device according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a character string input device according to a tenth embodiment of the present invention;
FIG. 11 is a schematic diagram of a character string input device according to an eleventh embodiment of the present invention;
fig. 12 is a schematic structural diagram of a character string input device according to a twelfth embodiment of the present invention;
fig. 13 is a schematic diagram of a computer apparatus according to a thirteenth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a character string input method, as shown in fig. 1, including the following specific steps:
step S101, when detecting that the user inputs characters, acquiring the position of an input cursor.
In this embodiment, the characters input by the user are not specifically limited, and may be chinese characters, alphabetic characters (including but not limited to english letters, french letters, latin letters, russian letters, and the like), numeric characters, symbolic characters, japanese characters, korean characters, arabic characters, mongolian characters, and the like.
And step S102, under the condition that the input cursor is positioned at the left side of the character input by the user, based on a preset character series connection ideal rule, one or more character strings ending with the character input by the user are presented through a setting display interface, so that the user can select the character strings needing to be input.
In this embodiment, the string association rule is not specifically limited, and the characters input by the user may be matched according to the frequency of the character string input by the user, so as to determine one or more character strings with the input frequency from high to low at the end of the character input by the user; or matching the characters input by the user according to the frequency of all the character strings input by the user to determine one or more character strings with the high-to-low input frequency at the end of the characters.
In this embodiment, based on the preset character string association rule, the manner of presenting one or more character strings ending with the character input by the user through the setting display interface includes, but is not limited to, the following manners:
the method I comprises the steps of generating one or more character strings ending with characters input by a user based on preset character string association rules; displaying one or more character strings with the input frequency from high to low at the end of the character input by the user through a setting display interface according to the frequency of all the character strings input by the user and ending with the character input by the user;
generating one or more character strings ending with characters input by all users based on preset character string association rules; and displaying one or more character strings with the input frequency from high to low at the end of the character input by the user through a setting display interface according to the frequency of all character strings which are input by all users and end of the character input by the user.
For example, step S102 specifically includes: when the input cursor is positioned on the left side of the character (qi) input by the user, based on a preset rule of calculating the series of characters, a plurality of character strings (qi, qi exhaustion and qi) ending with the character (qi) input by the user are presented on the setting display interface, so that the user can select the character string to be input (qi).
When the user controls the movement of the input cursor to the left position of the character input by the user, the preset character series connection rule is realized, one or more character strings ending with the character input by the user are presented through the setting display interface so that the user can select the character string to be input, the precision and the speed of inputting the character string by the user are improved, and the character string input efficiency of the user is improved.
The character string input method according to the first embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an input character, effectively improves precision and speed of inputting a character string by a user, and improves character string input efficiency of the user.
A second embodiment of the present invention, a character string input method, as shown in fig. 2, includes the following specific steps:
in step S201, when it is detected that the user inputs a character, a position of an input cursor is acquired.
In this embodiment, the number of characters input by the user is not particularly limited, and may be one or more.
Step S202, under the condition that the input cursor is positioned at the left side of the character input by the user, the character input by the user is sent to the server, so that the server can generate one or more character strings ending with the character input by the user based on a preset character series connection ideal rule.
In this embodiment, the server generates one or more character strings ending with the character input by the user based on the preset character string association rule, including but not limited to the following ways:
firstly, the server generates one or more character strings ending with the input characters of the user based on preset character string association rules; the server sorts one or more generated character strings from high input frequency to low input frequency according to the frequency of all character strings input by the user and ending with the input characters of the user;
the server generates one or more character strings ending with all the user input characters based on preset character string association rules; and the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings input by all users and ending with the input characters of the users.
By sending the characters input by the user to the server, the server generates one or more character strings ending with the characters input by the user based on the preset character series ideal rule, and the accuracy of generating the one or more character strings ending with the characters input by the user is effectively improved.
For example, step S202 includes: when the input cursor is positioned on the left side of the character (qi) input by the user, the character (qi) input by the user is sent to the server, so that the server generates a plurality of character strings ending with the character (qi) input by the user based on preset rules for character series calculation (qi taking, qi serial communication and qi circulation).
Step S203, one or more character strings ending with the characters input by the user and fed back by the server are presented on the setting display interface, so that the user can select the character strings needing to be input.
In this embodiment, step S203 specifically includes:
and presenting one or more character strings with the input frequency from high to low at the end of the character input by the user, which is fed back by the server, on the setting display interface so that the user can select the character string to be input.
For example, in step S203, the plurality of character strings ending with the character input by the user (flow taking gas, all-through gas and all-through gas) fed back by the setting display interface presentation server are used by the user to select the character string that needs to be input (flow taking gas).
The character string input method according to the second embodiment of the present invention realizes generating an accurate character string option according to the position of the input cursor relative to the input character, effectively improves the precision and speed of inputting the character string by the user, and improves the character string input efficiency of the user.
A third embodiment of the present invention provides a character string input method, as shown in fig. 3, including the following specific steps:
in step S301, when it is detected that the user inputs a character, the position of the input cursor is acquired.
Step S302, under the condition that the input cursor is positioned at the left side of the character input by the user, the character input by the user is sent to the server, so that the server can generate one or more character strings ending with the character input by the user based on a preset character series connection ideal rule.
Step S303, one or more character strings ending with the characters input by the user and fed back by the server are presented on the setting display interface, so that the user can select the character strings needing to be input.
Step S304, when the number of the characters input by the user is two or more and the input cursor is positioned between any two adjacent characters in the characters input by the user, based on a preset character series connection ideal rule, one or more character strings beginning with the character on the left side of the input cursor and ending with the character on the right side of the input cursor are displayed through the setting display interface so that the user can select the character string needing to be input.
In this embodiment, based on a preset rule of character string connection, one or more character strings beginning with a character on the left side of the input cursor and ending with a character on the right side of the input cursor are presented through the setting display interface for the user to select a character string to be input, including but not limited to the following ways:
generating one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on preset character string association rules; according to the frequency of all character strings input by the user, displaying one or more character strings with the input frequency from high to low beginning with the characters on the left side of an input cursor and ending with the characters on the right side of the input cursor through a setting display interface;
generating one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on a preset character string association rule; and according to the frequency of all character strings input by all users, displaying one or more character strings of which the input frequency is from high to low, starting with the character on the left side of the input cursor, and ending with the character on the right side of the input cursor through the setting display interface.
For example, step S304 includes: in the case that the input cursor is located in the middle of characters (penxib) input by the user, based on a preset character series connection rule, a character string (penxib) beginning with the character (penxib) on the left side of the input cursor and ending with the character (penxib) on the right side of the input cursor is displayed through the setting display interface, so that the user can select the character string (penxib) needing to be input.
For another example, step S304 includes: in the case that the input cursor is located between two adjacent characters (e.g. xib) in the characters (e.g. xib) input by the user, based on a preset character series association rule, the display interface is set to present a character string (e.g. xib) beginning with the character (e.g. on the left side of the input cursor) and ending with the character (e.g. xib) on the right side of the input cursor, so that the user can select the character string (e.g. xib) needing to be input.
The character string input method according to the third embodiment of the present invention realizes generation of an accurate character string option according to the position of the input cursor relative to the input character, effectively improves the precision and speed of inputting a character string by a user, and improves the character string input efficiency of the user.
A fourth embodiment of the present invention provides a character string input method, as shown in fig. 4, including the following specific steps:
in step S401, when it is detected that the user inputs a character, a position of an input cursor is acquired.
Step S402, under the condition that the input cursor is positioned at the left side of the character input by the user, the character input by the user is sent to the server, so that the server can generate one or more character strings ending with the character input by the user based on a preset character series connection rule.
And step S403, presenting one or more character strings ending with the characters input by the user and fed back by the server on the setting display interface, so that the user can select the character strings needing to be input.
Step S404, in the case that the number of the characters input by the user is two or more and the input cursor is located between any two adjacent characters in the characters input by the user, the characters on the left side of the input cursor and the characters on the right side of the input cursor are sent to the server, so that the server generates one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on a preset character string association rule.
In this embodiment, the server generates one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor based on the preset character string association rule, including but not limited to the following ways:
firstly, the server generates one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on a preset character string association rule; the server sorts the generated one or more character strings from high to low according to the frequency of all character strings of which the characters on the left side of the input cursor are input by the user and the frequency of all character strings of which the characters on the right side of the input cursor are ended;
the server generates one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor based on a preset character string association rule; the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings which are input by all users and begin with the character on the left side of the input cursor and end with the character on the right side of the input cursor.
For example, step S404 includes: in the case that the input cursor is positioned in the middle of the characters (Xib) input by the user, the characters (I) on the left side of the input cursor and the characters (Xib) on the right side of the input cursor are sent to the server, so that the server generates a character string (such as Xib) starting with the characters (I) on the left side of the input cursor and ending with the characters (Xib) on the right side of the input cursor based on a preset character string association rule.
As another example, step S404 includes: in the case that the input cursor is positioned between two adjacent characters (e.g. xib) in the characters (e.g. xib) input by the user, the characters (e.g. at the left side of the input cursor) and the characters (e.g. at the right side of the input cursor) are sent to the server, so that the server generates a character string (e.g. xib) starting with the characters (e.g. at the left side of the input cursor) and ending with the characters at the right side (xib) of the input cursor based on preset character string association rules.
Step S405, displaying one or more character strings which are fed back by the server on the setting display interface and begin with characters on the left side of the input cursor and end with characters on the right side of the input cursor, so that the user can select the character strings needing to be input.
In this embodiment, step S405 specifically includes:
and displaying one or more character strings with the input frequency fed back by the server on the setting display interface from the high to low beginning with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor, so that the user can select the character string needing to be input.
By sending the characters input by the user to the server, the server generates one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on the preset character string association rule, and the accuracy of generating one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor is effectively improved.
The character string input method according to the fourth embodiment of the present invention realizes generating an accurate character string option according to the position of the input cursor relative to the input character, effectively improves the precision and speed of inputting the character string by the user, and improves the character string input efficiency of the user.
A fifth embodiment of the present invention provides a character string input method, as shown in fig. 5, including the following specific steps:
in step S501, when it is detected that the user inputs a character, a position of an input cursor is acquired.
Step S502, under the condition that the input cursor is positioned at the left side of the character input by the user, the character input by the user is sent to the server, so that the server generates one or more character strings ending with the character input by the user based on a preset character series connection ideal rule.
Step S503, presenting one or more character strings ending with the characters input by the user and fed back by the server on the setting display interface, so that the user can select the character strings needing to be input.
Step S504, under the condition that the number of the characters input by the user is two or more and the input cursor is positioned between any two adjacent characters in the characters input by the user, based on a preset character series connection ideal rule, one or more character strings containing the characters input by the user are presented through a setting display interface so that the user can select the character strings needing to be input.
In this embodiment, based on a preset rule of character string connection, one or more character strings including characters input by a user are presented through a setting display interface, so that the user can select a mode of character string to be input, including but not limited to the following modes:
the method comprises the steps that in the first mode, one or more character strings containing characters input by a user are generated on the basis of preset character string association rules; displaying one or more character strings with low input frequency and containing characters input by the user through a setting display interface according to the frequency of all the character strings which are input by the user and contain the characters input by the user;
generating one or more character strings containing characters input by a user based on a preset character string association rule; and displaying one or more character strings containing the characters input by the user with the input frequency from high to low through a setting display interface according to the frequency of all the character strings containing the characters input by the user and input by all the users.
For example, step S504 includes: and under the condition that the input cursor is positioned in the middle of the characters (such as the Xixi) input by the user, displaying a character string (such as the Xixi) containing the characters (such as the Xixi) input by the user through a set display interface based on a preset character series connection ideal rule, so that the user can select the character string (such as the Xixi) needing to be input.
As another example, step S504 includes: and in the case that the input cursor is positioned in the middle of the characters (Madang) input by the user, based on a preset character series connection ideal rule, presenting a character string (Madang) containing the characters (Madang) input by the user through a setting display interface, so that the user can select the character string (Madang) needing to be input.
As another example, step S504 includes: under the condition that an input cursor is positioned in the middle of the character input by the user (night tan), based on a preset character series connection ideal rule, a character string (Tianfang night tan) containing the character input by the user is displayed through a set display interface so that the user can select the character string needing to be input (Tianfang night tan).
When the user controls the movement of the input cursor to the middle of any two adjacent characters in the characters input by the user, the preset character series connection rule is realized, one or more character strings containing the characters are displayed through the setting display interface so that the user can select the character string to be input, the precision and the speed of inputting the character string by the user are improved, and the character string input efficiency of the user is improved.
The character string input method according to the fifth embodiment of the present invention realizes generation of an accurate character string option according to the position of the input cursor relative to the input character, effectively improves the precision and speed of inputting a character string by a user, and improves the character string input efficiency of the user.
A sixth embodiment of the present invention provides a character string input method, as shown in fig. 6, including the following specific steps:
in step S601, when it is detected that the user inputs a character, a position of an input cursor is acquired.
Step S602, in a case that the input cursor is located on the left side of the user input character, sending the character input by the user to the server, so that the server generates one or more character strings ending with the character input by the user based on a preset character series connection rule.
Step S603, presenting one or more character strings ending with the character input by the user, which are fed back by the server, on the setting display interface, so that the user can select the character string to be input.
Step S604, under the condition that the number of the characters input by the user is two or more and the input cursor is positioned between any two adjacent characters in the characters input by the user, the characters input by the user are sent to the server so that the server can generate one or more character strings containing the characters input by the user based on a preset character series connection ideal rule.
In this embodiment, the method for sending the characters input by the user to the server for the server to generate one or more character strings containing the characters input by the user based on the preset character series association rule includes, but is not limited to, the following methods:
the method comprises the steps that firstly, a server generates one or more character strings containing characters input by a user based on a preset character series connection ideal rule; the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all the character strings which are input by the user and contain the characters input by the user;
the server generates one or more character strings containing characters input by the user based on a preset character series connection ideal rule; and the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings which are input by all users and contain the characters input by the users.
For example, step S604 includes: in the case that the input cursor is positioned in the middle of the characters (such as Xib) input by the user, the characters (such as Xib) input by the user are sent to the server, so that the server generates a character string (such as a bag Xib) containing the characters (such as Xib) input by the user based on a preset character series connection ideal rule.
For another example, step S604 includes: in the case that the input cursor is positioned in the middle of the characters (Madang) input by the user, the characters (Madang) input by the user are sent to the server so that the server can generate a character string (Madang) containing the characters (Madang) input by the user based on a preset character series connection ideal rule.
As another example, step S604 includes: under the condition that the input cursor is located in the middle of the characters (night Tan) input by the user, the characters (night Tan) input by the user are sent to the server, so that the server generates a character string (Tianfang night Tan) containing the characters (night Tan) input by the user based on a preset character series connection ideal rule.
Step S605, presenting one or more character strings including characters input by the user, which are fed back by the server, on the setting display interface, so that the user can select the character string to be input.
In this embodiment, step S605 specifically includes:
and presenting one or more character strings containing characters input by the user, with the input frequency fed back by the server from high to low, on the setting display interface so that the user can select the character string to be input.
The character input by the user is sent to the server, so that the server generates one or more character strings containing the character input by the user based on the preset character series connection ideal rule, and the accuracy of generating the one or more character strings containing the character input by the user is effectively improved.
The character string input method according to the sixth embodiment of the present invention realizes generation of an accurate character string option according to the position of the input cursor relative to the input character, effectively improves the precision and speed of inputting a character string by a user, and improves the character string input efficiency of the user.
A seventh embodiment of the present invention is a character string input device, as shown in fig. 7, including the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
In this embodiment, the characters input by the user are not specifically limited, and may be chinese characters, letters (including but not limited to english letters, french letters, latin letters, russian letters, and the like), numeric characters, symbolic characters, japanese characters, korean characters, arabic characters, mongolian characters, and the like.
The first association module 200 is used for presenting one or more character strings ending with the characters input by the user through the setting display interface based on a preset character series association rule under the condition that the input cursor is positioned at the left side of the characters input by the user, so that the user can select the character strings needing to be input.
In this embodiment, the string association rule is not specifically limited, and the characters input by the user may be matched according to the frequency of the character string input by the user, so as to determine one or more character strings with the input frequency from high to low at the end of the character input by the user; or matching the characters input by the user according to the frequency of all the character strings input by the user to determine one or more character strings with the high-to-low input frequency at the end of the characters.
In the present embodiment, based on the preset rule of the string connection, the manner of presenting one or more character strings ending with the character input by the user through the setting display interface includes, but is not limited to, the following manners:
firstly, generating one or more character strings ending with the characters input by the user based on preset character string association rules; displaying one or more character strings with the input frequency from high to low at the end of the character input by the user through a setting display interface according to the frequency of all the character strings input by the user and ending with the character input by the user;
generating one or more character strings ending with all characters input by the user based on preset character string association rules; and displaying one or more character strings with the input frequency from high to low at the end of the character input by the user through a setting display interface according to the frequency of all character strings which are input by all users and end of the character input by the user.
For example, the first association module 200 is specifically configured to: when the input cursor is positioned on the left side of the character (qi) input by the user, based on a preset rule of calculating the series of characters, a plurality of character strings (qi, qi exhaustion and qi) ending with the character (qi) input by the user are presented on the setting display interface, so that the user can select the character string to be input (qi).
When the user controls the movement of the input cursor to the left position of the character input by the user, the preset character series connection rule is realized, one or more character strings ending with the character input by the user are presented through the setting display interface so that the user can select the character string to be input, the precision and the speed of inputting the character string by the user are improved, and the character string input efficiency of the user is improved.
The character string input device according to the seventh embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an inputted character, effectively improves precision and speed of inputting a character string by a user, and improves character string input efficiency of the user.
An eighth embodiment of the present invention provides a character string input device, as shown in fig. 8, including the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
In this embodiment, the number of characters input by the user is not particularly limited, and may be one or more.
The first generation module 201 is used for sending the characters input by the user to the server under the condition that the input cursor is positioned at the left side of the characters input by the user, so that the server generates one or more character strings ending with the characters input by the user based on a preset character series connection rule;
in this embodiment, the server generates one or more character strings ending with the character input by the user based on the preset character string association rule, including but not limited to the following ways:
firstly, the server generates one or more character strings ending with the input characters of the user based on preset character string association rules; the server sorts one or more generated character strings from high input frequency to low input frequency according to the frequency of all character strings input by the user and ending with the input characters of the user;
in the second mode, the server generates one or more character strings ending by all the user input characters based on a preset character string association rule; and the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings input by all users and ending with the input characters of the users.
The character input by the user is sent to the server, so that the server generates one or more character strings ending with the character input by the user based on the preset character series connection ideal rule, and the accuracy of generating the one or more character strings ending with the character input by the user is effectively improved.
For example, a first generating module 201 for: when the input cursor is positioned on the left side of the character (qi) input by the user, the character (qi) input by the user is sent to the server, so that the server generates a plurality of character strings ending with the character (qi) input by the user based on preset rules for character series calculation (qi taking, qi serial communication and qi circulation).
The first presentation module 202 is configured to present, in the setting display interface, one or more character strings ending with a character input by a user, which are fed back by the server, so that the user can select a character string that needs to be input.
In this embodiment, the first presenting module 202 is specifically configured to:
and displaying one or more character strings with the input frequency from high to low at the end of the character input by the user, which is fed back by the server, on the setting display interface so that the user can select the character string to be input.
For example, the first presentation module 202 may present a plurality of character strings ending with a character input by the user (flow taking gas, qi exhaustion and qi exhaustion) fed back by the server on the setting display interface, so that the user may select the character strings to be input (flow taking gas).
The character string input device according to the eighth embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an input character, thereby effectively improving precision and speed of inputting a character string by a user, and improving character string input efficiency of the user.
A ninth embodiment of the present invention, a character string input apparatus, as shown in fig. 9, includes the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
The first generating module 201 is used for sending the characters input by the user to the server under the condition that the input cursor is positioned at the left side of the characters input by the user, so that the server generates one or more character strings ending with the characters input by the user based on preset character series connection rules.
The first presentation module 202 is configured to present, in the setting display interface, one or more character strings ending with the character input by the user, which are fed back by the server, so that the user can select the character string to be input.
And a second association module 300, configured to, based on a preset character series association rule, present, through the setting display interface, one or more character strings beginning with a character on the left side of the input cursor and ending with a character on the right side of the input cursor, in a case where the number of characters input by the user is two or more and the input cursor is located between any two adjacent characters in the characters input by the user, so that the user can select a character string to be input.
In this embodiment, based on a preset rule of character string connection, one or more character strings beginning with a character on the left side of the input cursor and ending with a character on the right side of the input cursor are presented through the setting display interface for the user to select a character string to be input, including but not limited to the following ways:
generating one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on preset character string association rules; according to the frequency of all character strings input by the user, displaying one or more character strings of which the input frequency is from high to low and which start with the character on the left side of an input cursor and end with the character on the right side of the input cursor through a setting display interface;
generating one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on a preset character string association rule; and according to the frequency of all character strings input by all users, displaying one or more character strings with the input frequency from high to low beginning with the character on the left side of the input cursor and ending with the character on the right side of the input cursor through the setting display interface.
For example, the second association module 300 is configured to: in the case that the input cursor is located in the middle of characters (penxib) input by the user, based on a preset character series connection rule, a character string (penxib) beginning with the character (penxib) on the left side of the input cursor and ending with the character (penxib) on the right side of the input cursor is displayed through the setting display interface, so that the user can select the character string (penxib) needing to be input.
As another example, the second association module 300 is configured to: in the case that the input cursor is located between two adjacent characters (e.g. xib) in the characters (e.g. xib) input by the user, based on a preset character series association rule, the display interface is set to present a character string (e.g. xib) beginning with the character (e.g. on the left side of the input cursor) and ending with the character (e.g. xib) on the right side of the input cursor, so that the user can select the character string (e.g. xib) needing to be input.
The character string input device according to the ninth embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an input character, effectively improves precision and speed of inputting a character string by a user, and improves character string input efficiency of the user.
A tenth embodiment of the present invention provides a character string input device, as shown in fig. 10, including the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
The first generation module 201 is configured to send the character input by the user to the server in a case that the input cursor is located on the left side of the character input by the user, so that the server generates one or more character strings ending with the character input by the user based on a preset character series association rule.
The first presentation module 202 is configured to present, in the setting display interface, one or more character strings ending with a character input by a user, which are fed back by the server, so that the user can select a character string that needs to be input.
The second generating module 301 is configured to, when the number of characters input by the user is two or more and the input cursor is located between any two adjacent characters in the characters input by the user, send the characters on the left side of the input cursor and the characters on the right side of the input cursor to the server, so that the server generates one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on a preset character string association rule.
In this embodiment, the server generates one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor based on a preset character string association rule, including but not limited to the following ways:
firstly, the server generates one or more character strings starting with characters on the left side of an input cursor and ending with characters on the right side of the input cursor based on a preset character string association rule; the server sorts the generated one or more character strings from high to low according to the frequency of all character strings of which the characters on the left side of the input cursor are input by the user and the frequency of all character strings of which the characters on the right side of the input cursor are ended;
the server generates one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor based on a preset character string association rule; the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings which are input by all users and begin with the character on the left side of the input cursor and end with the character on the right side of the input cursor.
For example, the second generating module 301 is configured to: in the case that the input cursor is located in the middle of the characters (xib) input by the user, the character (one) on the left side of the input cursor and the character (xib) on the right side of the input cursor are sent to the server, so that the server can generate a character string (such as xib) starting with the character (one) on the left side of the input cursor and ending with the character(s) on the right side (xib) of the input cursor based on preset character string association rules.
For another example, the second generating module 301 is configured to: in the case that the input cursor is positioned between two adjacent characters (e.g. xib) in the characters (e.g. xib) input by the user, the characters (e.g. at the left side of the input cursor) and the characters (e.g. at the right side of the input cursor) are sent to the server, so that the server generates a character string (e.g. xib) starting with the characters (e.g. at the left side of the input cursor) and ending with the characters at the right side (xib) of the input cursor based on preset character string association rules.
And a second presentation module 302, configured to present, in the setting display interface, one or more character strings that are fed back by the server and start with a character on the left side of the input cursor and end with a character on the right side of the input cursor, so that the user can select a character string that needs to be input.
In this embodiment, the second presenting module 302 is specifically configured to:
and displaying one or more character strings with the input frequency fed back by the server on the setting display interface from high to low beginning with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor, so that the user can select the character strings needing to be input.
By sending the characters input by the user to the server, the server generates one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on the preset character string association rule, and the accuracy of generating one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor is effectively improved.
The character string input device according to the tenth embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an inputted character, effectively improves precision and speed of inputting a character string by a user, and improves character string input efficiency of the user.
An eleventh embodiment of the present invention, a character string input device, as shown in fig. 11, includes the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
The first generating module 201 is used for sending the characters input by the user to the server under the condition that the input cursor is positioned at the left side of the characters input by the user, so that the server generates one or more character strings ending with the characters input by the user based on preset character series connection rules.
The first presentation module 202 is configured to present, in the setting display interface, one or more character strings ending with the character input by the user, which are fed back by the server, so that the user can select the character string to be input.
And a third association module 400, configured to, based on a preset character association rule, present one or more character strings including the characters input by the user through a setting display interface, so that the user may select a character string that needs to be input, when the number of the characters input by the user is two or more and an input cursor is located between any two adjacent characters in the characters input by the user.
In this embodiment, based on a preset rule of character string connection, one or more character strings including characters input by a user are presented through a setting display interface, so that the user can select a mode of character string to be input, including but not limited to the following modes:
the method comprises the steps that in the first mode, one or more character strings containing characters input by a user are generated on the basis of preset character string association rules; displaying one or more character strings with high input frequency from low to high, wherein the character strings comprise characters input by the user, through a setting display interface according to the frequency of all character strings which comprise characters input by the user and are input by the user;
generating one or more character strings containing characters input by a user based on a preset character string association rule; and displaying one or more character strings containing the characters input by the user with the input frequency from high to low through a setting display interface according to the frequency of all the character strings containing the characters input by the user and input by all the users.
For example, a third association module 400 to: and under the condition that the input cursor is positioned in the middle of the characters (such as the Xixi) input by the user, displaying a character string (such as the Xixi) containing the characters (such as the Xixi) input by the user through a set display interface based on a preset character series connection ideal rule, so that the user can select the character string (such as the Xixi) needing to be input.
As another example, the third association module 400 is configured to: and in the case that the input cursor is positioned in the middle of the characters (Madang) input by the user, based on a preset character series connection ideal rule, presenting a character string (Madang) containing the characters (Madang) input by the user through a setting display interface, so that the user can select the character string (Madang) needing to be input.
As another example, the third association module 400 is configured to: and under the condition that the input cursor is positioned in the middle of the characters (night Tan) input by the user, displaying a character string (Tian Fang night Tan) containing the characters (night Tan) input by the user through a set display interface based on a preset character series connection ideal rule so as to allow the user to select the character string (Tian Fang night Tan) required to be input.
When the user controls the movement of the input cursor to the middle of any two adjacent characters in the characters input by the user, the preset character series connection ideal rule is realized, one or more character strings containing the characters are displayed through the setting display interface so that the user can select the character string to be input, the precision and the speed of inputting the character string by the user are improved, and the character string input efficiency of the user is improved.
The character string input device according to the eleventh embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an inputted character, thereby effectively improving precision and speed of inputting a character string by a user, and improving character string input efficiency of the user.
A twelfth embodiment of the present invention, a character string input apparatus, as shown in fig. 12, includes the following components:
the obtaining module 100 is configured to obtain a position of an input cursor when detecting that a user inputs a character.
The first generating module 201 is used for sending the characters input by the user to the server under the condition that the input cursor is positioned at the left side of the characters input by the user, so that the server generates one or more character strings ending with the characters input by the user based on preset character series connection rules.
The first presentation module 202 is configured to present, in the setting display interface, one or more character strings ending with the character input by the user, which are fed back by the server, so that the user can select the character string to be input.
A third generating module 401, configured to send the characters input by the user to the server when the number of the characters input by the user is two or more and the input cursor is located between any two adjacent characters in the characters input by the user, so that the server generates one or more character strings including the characters input by the user based on a preset character series connection rule.
In this embodiment, the method for sending the characters input by the user to the server to generate one or more character strings containing the characters input by the user based on the preset character string association rule includes, but is not limited to, the following methods:
the method comprises the steps that firstly, a server generates one or more character strings containing characters input by a user based on a preset character series connection ideal rule; the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all the character strings which are input by the user and contain the characters input by the user;
the server generates one or more character strings containing characters input by the user based on a preset character series connection ideal rule; and the server sorts the generated one or more character strings from high input frequency to low input frequency according to the frequency of all character strings which are input by all users and contain the characters input by the users.
For example, the third generating module 401 is configured to: in the case that the input cursor is positioned in the middle of the characters (such as Xib) input by the user, the characters (such as Xib) input by the user are sent to the server, so that the server generates a character string (such as a bag Xib) containing the characters (such as Xib) input by the user based on a preset character series connection ideal rule.
As another example, the third generating module 401 is configured to: in the case that the input cursor is positioned in the middle of the characters (Madang) input by the user, the characters (Madang) input by the user are sent to the server so that the server can generate a character string (Madang) containing the characters (Madang) input by the user based on a preset character series connection ideal rule.
As another example, the third generating module 401 is configured to: under the condition that an input cursor is located in the middle of a character (tan night) input by a user, the character (tan night) input by the user is sent to a server, so that the server generates a character string (tan night) containing the character (tan night) input by the user based on a preset character series connection ideal rule.
And a third presenting module 402, configured to present, in the setting display interface, one or more character strings including characters input by the user, where the character strings are fed back by the server, so that the user may select a character string that needs to be input.
In this embodiment, the third presenting module 402 is specifically configured to:
and presenting one or more character strings containing characters input by the user, with the input frequency fed back by the server from high to low, on the setting display interface so that the user can select the character string to be input.
The character input by the user is sent to the server, so that the server generates one or more character strings containing the character input by the user based on the preset character series connection ideal rule, and the accuracy of generating the one or more character strings containing the character input by the user is effectively improved.
The character string input device according to the twelfth embodiment of the present invention realizes generation of an accurate character string option according to a position of an input cursor relative to an inputted character, thereby effectively improving precision and speed of inputting a character string by a user, and improving character string input efficiency of the user.
A thirteenth embodiment of the present invention, a computer apparatus, as shown in fig. 13, includes the following components:
a processor 501 and a memory 502. In some embodiments of the invention, the processor 501 and the memory 502 may be connected by a bus or other means.
Processor 501 may be a general-purpose Processor such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein, the memory 502 is used for storing executable instructions of the processor 501;
a memory 502 for storing program code and transferring the program code to the processor 501. Memory 502 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 502 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk Drive (HDD), or a Solid-State Drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The processor 501 is configured to call the program code management code stored in the memory 502, and perform some or all of the steps in any of the first embodiment to the sixth embodiment of the present invention.
The computer device according to the thirteenth embodiment of the present invention generates an accurate character string option according to the position of the input cursor relative to the input character, thereby effectively improving the precision and speed of inputting a character string by a user, and improving the character string input efficiency of the user.
A fourteenth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs, which are executable by one or more processors, to implement some or all of the steps in any of the first to sixth embodiments of the present invention.
The computer-readable storage medium according to the fourteenth embodiment of the present invention stores one or more programs, and the one or more programs are executable by one or more processors, so as to enable generation of an accurate character string option according to a position of an input cursor relative to an input character, effectively improve precision and speed of inputting a character string by a user, and improve efficiency of inputting a character string by a user.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. A character string input method, comprising:
when detecting that a user inputs characters, acquiring the position of an input cursor;
under the condition that the input cursor is positioned on the left side of the character, based on a preset character series connection ideal rule, one or more character strings ending with the character are displayed through a set display interface, so that a user can select the character strings needing to be input;
the number of the characters is two or more; the method further comprises the following steps:
under the condition that the input cursor is positioned between any two adjacent characters in the characters, based on a preset character series connection ideal rule, one or more character strings containing the characters are presented through a set display interface so that a user can select the character strings needing to be input; the character string which is used for the user to select and input comprises the following steps: the character string of which the entered character is located at the end of the character string to be selected for entry.
2. The method according to claim 1, wherein the presenting one or more character strings ending with the character through a setting display interface based on a preset character series connection rule in the case that the input cursor is located at the left side of the character, for a user to select the character string needing to be input, comprises:
under the condition that the input cursor is positioned on the left side of the character, the character is sent to a server so that the server can generate one or more character strings ending with the character based on a preset character string association rule;
and presenting one or more character strings ending with the characters fed back by the server on a setting display interface so that a user can select the character strings needing to be input.
3. The method according to claim 1, wherein the number of the characters is two or more; the method further comprises the following steps:
and under the condition that the input cursor is positioned between any two adjacent characters in the characters, based on a preset character series connection ideal rule, one or more character strings which start with the character on the left side of the input cursor and end with the character on the right side of the input cursor are displayed through a setting display interface, so that a user can select the character string needing to be input.
4. The method according to claim 3, wherein in a case that the input cursor is located between any two adjacent characters in the characters, based on a preset character series rule, one or more character strings starting with the character on the left side of the input cursor and ending with the character on the right side of the input cursor are presented through a setting display interface for a user to select a required character string, including:
under the condition that the input cursor is positioned between any two adjacent characters in the characters, the characters on the left side of the input cursor and the characters on the right side of the input cursor are sent to a server, so that the server generates one or more character strings starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor based on a preset character string association rule;
and presenting one or more character strings fed back by the server, starting with the characters on the left side of the input cursor and ending with the characters on the right side of the input cursor on a setting display interface, so that the user can select the character strings needing to be input.
5. The method according to claim 1, wherein in a case that the input cursor is located between any two adjacent characters in the characters, based on a preset character series ideogram rule, one or more character strings including the characters are presented through a setting display interface for a user to select a character string needing to be input, including:
under the condition that the input cursor is positioned between any two adjacent characters in the characters, the characters are sent to a server, so that the server can generate one or more character strings containing the characters based on a preset character string association rule;
and presenting one or more character strings containing the characters fed back by the server on a setting display interface so that a user can select the character strings needing to be input.
6. A character string input device, comprising:
the acquisition module is used for acquiring the position of an input cursor when detecting that a user inputs characters;
the first association module is used for presenting one or more character strings ending with the characters through a set display interface based on a preset character series association rule under the condition that the input cursor is positioned on the left side of the characters, so that a user can select the character strings needing to be input;
the number of the characters is two or more; the device further comprises:
the third association module is used for presenting one or more character strings containing the characters through a set display interface based on a preset character series association rule under the condition that the input cursor is positioned between any two adjacent characters in the characters, so that a user can select the character strings needing to be input; the character string which needs to be input by the user comprises the following steps: the character string of which the entered character is located at the end of the character string to be selected for entry.
7. The apparatus of claim 6, wherein the first association module comprises:
the first generation module is used for sending the characters to a server under the condition that the input cursor is positioned on the left side of the characters, so that the server generates one or more character strings ending with the characters based on a preset character string association rule;
and the first presentation module is used for presenting one or more character strings ending with the characters fed back by the server on a setting display interface so as to allow a user to select the character strings needing to be input.
8. The apparatus according to claim 7, wherein the number of the characters is two or more; the device further comprises:
and the second association module is used for presenting one or more character strings starting from the character on the left side of the input cursor and ending with the character on the right side of the input cursor through a setting display interface based on a preset character series association rule under the condition that the input cursor is positioned between any two adjacent characters in the characters, so that a user can select the character string needing to be input.
9. The apparatus of claim 8, wherein the second association module comprises:
a second generation module, configured to send, when the input cursor is located between any two adjacent characters in the characters, the character on the left side of the input cursor and the character on the right side of the input cursor to a server, so that the server generates, based on a preset character string association rule, one or more character strings that start with the character on the left side of the input cursor and end with the character on the right side of the input cursor;
and the second presentation module is used for presenting one or more character strings which are fed back by the server and begin with the characters on the left side of the input cursor and end with the characters on the right side of the input cursor on a setting display interface, so that a user can select the character string which needs to be input.
10. The apparatus of claim 6, wherein the third association module is specifically configured to:
the third generation module is used for sending the characters to a server under the condition that the input cursor is positioned between any two adjacent characters in the characters, so that the server generates one or more character strings containing the characters based on a preset character string association rule;
and the third presentation module is used for presenting one or more character strings containing the characters fed back by the server on a setting display interface so as to allow a user to select the character strings needing to be input.
11. A computer device, wherein the computer device comprises a processor and a memory; the processor is configured to execute a character string input program stored in the memory to implement the steps of the character string input method according to any one of claims 1 to 5.
12. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the character string input method according to any one of claims 1 to 5.
CN201810843008.2A 2018-07-27 2018-07-27 Character string input method and device, computer equipment and readable storage medium Active CN109164922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810843008.2A CN109164922B (en) 2018-07-27 2018-07-27 Character string input method and device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810843008.2A CN109164922B (en) 2018-07-27 2018-07-27 Character string input method and device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109164922A CN109164922A (en) 2019-01-08
CN109164922B true CN109164922B (en) 2023-01-13

Family

ID=64898447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810843008.2A Active CN109164922B (en) 2018-07-27 2018-07-27 Character string input method and device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109164922B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1042784A (en) * 1988-11-22 1990-06-06 李贾达 Supper-intelligent associative Chinese character system and input keyboard thereof
CN101196792A (en) * 2007-12-28 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Automatic correction method and device for document file
CN101246396A (en) * 2008-03-10 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Input controller and its recognizing association input method
CN101379489A (en) * 2006-01-17 2009-03-04 卡西欧计算机株式会社 Electronic dictionary apparatus and recording medium on which search control program is recorded
CN101727199A (en) * 2009-12-21 2010-06-09 中兴通讯股份有限公司 Input method and input equipment
CN101727271A (en) * 2008-10-22 2010-06-09 北京搜狗科技发展有限公司 Method and device for providing error correcting prompt and input method system
WO2012098544A2 (en) * 2011-01-19 2012-07-26 Keyless Systems, Ltd. Improved data entry systems
CN102629160A (en) * 2012-03-16 2012-08-08 华为终端有限公司 Input method, input device and terminal
CN103838458A (en) * 2012-11-26 2014-06-04 北京三星通信技术研究有限公司 Mobile terminal and control method of input method of mobile terminal
CN104142925A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Association method and device for input contents in address bar of browser
CN105468234A (en) * 2015-11-18 2016-04-06 中科创达软件股份有限公司 Information processing method and mobile terminal
CN106446186A (en) * 2016-09-28 2017-02-22 北京金山安全软件有限公司 Associative word searching method and device and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526878A (en) * 2009-04-10 2009-09-09 无敌科技(西安)有限公司 Association word input system and method thereof
CN101794398A (en) * 2010-04-02 2010-08-04 华为终端有限公司 Method, system and device for recognizing handwriting input characters
CN103164165A (en) * 2013-03-07 2013-06-19 东莞宇龙通信科技有限公司 Method and device for achieving character prompt
CN104298457A (en) * 2013-07-18 2015-01-21 广州三星通信技术研究有限公司 Character input method and device
CN107219932A (en) * 2016-03-21 2017-09-29 阿里巴巴集团控股有限公司 A kind of input method, device and intelligent terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1042784A (en) * 1988-11-22 1990-06-06 李贾达 Supper-intelligent associative Chinese character system and input keyboard thereof
CN101379489A (en) * 2006-01-17 2009-03-04 卡西欧计算机株式会社 Electronic dictionary apparatus and recording medium on which search control program is recorded
CN101196792A (en) * 2007-12-28 2008-06-11 宇龙计算机通信科技(深圳)有限公司 Automatic correction method and device for document file
CN101246396A (en) * 2008-03-10 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Input controller and its recognizing association input method
CN101727271A (en) * 2008-10-22 2010-06-09 北京搜狗科技发展有限公司 Method and device for providing error correcting prompt and input method system
CN101727199A (en) * 2009-12-21 2010-06-09 中兴通讯股份有限公司 Input method and input equipment
WO2012098544A2 (en) * 2011-01-19 2012-07-26 Keyless Systems, Ltd. Improved data entry systems
CN102629160A (en) * 2012-03-16 2012-08-08 华为终端有限公司 Input method, input device and terminal
CN103838458A (en) * 2012-11-26 2014-06-04 北京三星通信技术研究有限公司 Mobile terminal and control method of input method of mobile terminal
CN104142925A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Association method and device for input contents in address bar of browser
CN105468234A (en) * 2015-11-18 2016-04-06 中科创达软件股份有限公司 Information processing method and mobile terminal
CN106446186A (en) * 2016-09-28 2017-02-22 北京金山安全软件有限公司 Associative word searching method and device and terminal

Also Published As

Publication number Publication date
CN109164922A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
US10698604B2 (en) Typing assistance for editing
US20170315983A1 (en) Input method editor having a secondary language mode
US8831929B2 (en) Multi-mode input method editor
JP6526608B2 (en) Dictionary update device and program
US20140281944A1 (en) Automatic supplementation of word correction dictionaries
JP2015528162A (en) Generate localized user interface
US20140323101A1 (en) Phone Number Format Suggestion
WO2014190795A1 (en) Method and device for searching for contact object, and storage medium
CN109614622A (en) Valid data extracting method, device, storage medium and terminal
CN111352782A (en) Interface testing method and device, computer equipment and storage medium
US20180349580A1 (en) Information processing method and device, and electronic equipment
CN111198936A (en) Voice search method and device, electronic equipment and storage medium
CN111179904A (en) Mixed text-to-speech conversion method and device, terminal and computer readable storage medium
JP2010140475A (en) Method, apparatus and computer program for providing input order independent character input mechanism
CN109164922B (en) Character string input method and device, computer equipment and readable storage medium
CN108227953B (en) Character input method and related product
CN109815235B (en) Method and device for generating data source, storage medium and electronic equipment
US20160266698A1 (en) Method and apparatus for generating a personalized input panel
CN108108356B (en) Character translation method, device and equipment
WO2014194718A1 (en) Method and system for storing user information cross reference
WO2016107611A1 (en) Method and device for text search for mobile terminal
CN109684437B (en) Content alignment method, device, storage medium and equipment for file comparison
CN108509057B (en) Input method and related equipment
CN109992121B (en) Input method, input device and input device
EP2894547B1 (en) Character input device, character input method of character input device, and non-transitory computer-readable medium

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