CN106020503B - Input method and device - Google Patents

Input method and device Download PDF

Info

Publication number
CN106020503B
CN106020503B CN201610320013.6A CN201610320013A CN106020503B CN 106020503 B CN106020503 B CN 106020503B CN 201610320013 A CN201610320013 A CN 201610320013A CN 106020503 B CN106020503 B CN 106020503B
Authority
CN
China
Prior art keywords
user
text
color
input
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610320013.6A
Other languages
Chinese (zh)
Other versions
CN106020503A (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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201610320013.6A priority Critical patent/CN106020503B/en
Publication of CN106020503A publication Critical patent/CN106020503A/en
Application granted granted Critical
Publication of CN106020503B publication Critical patent/CN106020503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

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 aims to provide an input method and device. Wherein, after a user's input text is on screen, one or more words corresponding to the input text and an entry of a word panel are presented to the user in an input method panel for selection by the user; if the user clicks the entrance, the color word panel is presented to the user, and at least the color word corresponding to the classification to which the selected color word belongs when the user inputs the input text last time is presented in the color word panel currently for the user to select; and displaying the characters selected by the user on a screen. Compared with the prior art, the invention provides a function of 'associating' the characters. After the user selects the input text which the user wants to input, and the input text is displayed on the screen, the input process aiming at the input text is not terminated, and the user further associates the corresponding characters, so that the input experience of the user is improved.

Description

Input method and device
Technical Field
The invention relates to the technical field of input methods.
Background
In the existing various input method systems, in the input process of a user, a character corresponding to an input character can be provided for the user.
For example, the pop input method provides the user with the text corresponding to the currently input character as a candidate entry in the candidate area. Specifically, for example, the user inputs the character "hh" in the character input area, and the candidate area provides a plurality of candidate entries, such as "haha", "session", "O (# _ n) O".
For another example, the dog search input method may provide a text corresponding to the currently entered character on the right side of the character input area. Specifically, for example, the user inputs the character "hh" in the character input area, and the character "hh" is usually displayed on the left side of the character input area, and the corresponding character "O (# _ n) O" is displayed on the right side of the character input area.
It is clear that the above-described prior art input method systems can only provide one color word, and that the color word is still determined based on the prediction. Because the user has not selected the candidate entry at this time, these input method systems determine the most likely candidate entry corresponding to the character that the user has input, and present the text corresponding to the most likely candidate entry to the user. Therefore, these input method systems are not limited to the number of available text entries, but rather to the candidate entries for which text entries can be provided. In other words, these input method systems provide the text by predicting the most likely candidate entry, so that the provided text may not meet the user's needs, when the user wishes to input the candidate entry that may be ranked slightly later; moreover, due to the setting of the presenting position of the text, these input method systems cannot provide more text to the user without affecting the normal input process of the user.
And for the input method systems, starting from the character input by the user, until the user selects a candidate entry corresponding to the input character or selects the character provided by the input method system, the selected candidate entry or character is displayed on the screen, and one input process is finished.
Disclosure of Invention
The invention aims to provide an input method and device.
According to an aspect of the present invention, there is provided an input method, wherein the method comprises the steps of:
-after a user's input text is on-screen, presenting to the user in an input method panel one or more text words corresponding to the input text and an entry to a text word panel for selection by the user;
-if the user clicks on the entry, presenting the user with the face-word panel in which at least the face-word corresponding to the category to which the selected face-word belongs when the user last entered the input text is currently presented for selection by the user;
-displaying the text thus selected by the user on the screen.
According to another aspect of the present invention, there is also provided an input apparatus, wherein the apparatus includes:
-means for presenting to a user, after an input text of the user is on-screen, one or more text words corresponding to the input text and an entry to a text word panel in an input method panel for selection by the user;
-means for presenting to said user, if said user clicks on said entry, said face-word panel in which at least the face-word corresponding to the category to which the selected face-word belongs when said user last entered said input text is currently presented for selection by said user;
-means for displaying the text thus selected by the user.
Compared with the prior art, the invention provides the user with the characters and the color corresponding to the input text after the input text of the user is displayed on the screen, which is similar to an 'association' function. That is, after the user selects the input text that the user wishes to input, and the input text is displayed on the screen, the input process for the input text is not terminated, and the user further associates the corresponding text with the input text, so as to improve the input experience of the user.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 shows a flow diagram of an input method according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of an input device according to one embodiment of the invention.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "computer device" or "computer" in this context refers to an intelligent electronic device that can execute predetermined processes such as numerical calculation and/or logic calculation by running predetermined programs or instructions, and may include a processor and a memory, wherein the predetermined processes are executed by the processor by executing program instructions prestored in the memory, or the predetermined processes are executed by hardware such as ASIC, FPGA, DSP, or a combination thereof. Computer devices include, but are not limited to, servers, personal computers, laptops, tablets, smart phones, and the like.
The computer devices include, for example, user devices and network devices. The user equipment comprises but is not limited to a computer and a mobile terminal, and the mobile terminal comprises but is not limited to a smart phone, a PDA and the like; the network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of computers or network servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers. Wherein the computer device can be operated alone to implement the invention, or can be accessed to a network and implement the invention through interoperation with other computer devices in the network. The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
It should be noted that the user equipment, the network device, the network, etc. are only examples, and other existing or future computer devices or networks may also be included in the scope of the present invention, and are included by reference.
The methodologies discussed hereinafter, some of which are illustrated by flow diagrams, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium such as a storage medium. The processor(s) may perform the necessary tasks.
Specific structural and functional details disclosed herein are merely representative and are provided for purposes of describing example embodiments of the present invention. The present invention may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present. Other words used to describe the relationship between elements (e.g., "between" versus "directly between", "adjacent" versus "directly adjacent to", etc.) should be interpreted in a similar manner.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
The invention may be implemented in a user equipment and more preferably in a mobile terminal. Preferably, the solution of the present invention can be implemented by an APP installed and running in the mobile terminal, such as an input method APP. Further, the scheme of the invention can be integrated in an input method APP as a functional module.
For convenience of illustration, the present specification in the following description of the embodiments, which mainly uses the input method APP to implement the input scheme of the present invention, will understand that these examples are for the purpose of illustrating the present invention only, and should not be construed as limiting the present invention in any way.
FIG. 1 shows a flow diagram of a method according to one embodiment of the invention.
As shown in fig. 1, in step S101, after a user inputs text on a screen, an input method APP presents the user with one or more color words corresponding to the input text and an entry of a color word panel in an input method panel for selection by the user. In step S103, the input method APP screens the characters thus selected by the user.
In the present invention, "color word" is intended to mean various patterns formed by combining characters, which may be regarded as "character drawings" to some extent, and is not distinguished from "expressions" in many scenarios, and therefore, the present invention does not describe or define the "color word" in terms of expression or category, but rather intends to explain it from a technical level, for example, the "color word" claimed in the present invention is formed by combining various characters, which may be from any existing or future character set based on any language/language, such as ASCII code, and the "color word" claimed in the present invention may be displayed and/or transmitted via an application that only supports plain text.
In more usage scenarios, the process further includes step S102 between steps S101 and S103 to consider the case where the user clicks the entry of the above-mentioned color word panel to enter the color word panel. Specifically, in step S102, if the user clicks the entry of the color word panel presented on the input method panel in step S101, the input method APP presents the color word panel to the user, and at least the color word corresponding to the category to which the selected color word belongs when the user last inputs the input text is currently presented in the color word panel for the user to select. Accordingly, if the user selects a color letter in the color letter panel, then in step S103, the input method APP screens the color letter selected by the user.
Specifically, in step S101, after the user inputs text on the screen, the input method APP presents the user with one or more color words corresponding to the input text and an entry of a color word panel in an input method panel for the user to select.
Here, the present invention is different from the prior art in that the present invention provides the user with the text corresponding to the input text after the user inputs the text on the screen, which is similar to a "association" function. That is, after the user selects the input text that the user wishes to input, and the input text is displayed on the screen, the input process for the input text is not terminated, and the user further associates the corresponding text with the input text, so as to improve the input experience of the user.
However, other existing input methods provide the user with the text during the input process. For example, after a user enters a character, these input methods typically provide a color word in a character input area or a candidate area, where the provided color word is determined based on a prediction. Specifically, for example, the user inputs the character "haha", and these input methods may present the color word "O (# _ n) O" corresponding to "haha" on the right side of the character input area, or provide the color word "O (# _ n) O" corresponding to "haha" as a candidate entry to the user in the candidate area. At this time, the input method cannot determine the real input intention of the user, and only the maximum possibility of "predicting the" haha "of the entry corresponding to the" character "haha" is obtained, which can be determined by the highest word frequency of "haha" in the entry corresponding to the character "haha". Accordingly, these input methods provide the user with the color word "O (# _) O" corresponding to the entry "haha". Moreover, due to the limitation of the selected text-character presenting area in these input methods, for example, the character input area needs to present the input characters of the user and the predicted text characters at the same time, or the predicted text characters will occupy the position of one candidate entry, these input methods can generally provide only one text character. Therefore, if the actual input intention of the user at this time is other terms arranged at the later frequency, the user cannot obtain the characters corresponding to the later terms.
However, the bigger problem is that after the user selects the predicted color characters, the input method will directly display the color characters on the screen without displaying the corresponding entries, and because of the particularity of the expression form of the color characters, such as most patterns formed by splicing various characters have certain abstraction, other users may not necessarily understand the meaning of the expression accurately when seeing the color characters. Compared with the prior art, the invention provides the corresponding color characters for the on-screen text of the user in an associated manner, and can provide a plurality of color characters for the user to select, thereby obviously better meeting the input requirements of the user. The method and the device have the advantages that the input intention of the user is truly and completely reflected by the upper screen text, in addition, in order to realize visualization and interestingness of communication, the color words corresponding to the actual input intention are further provided for the user, so that other audiences of the upper screen text can also accurately understand the content which the user wants to express, and the communication quality and efficiency are improved under the condition of combining the text and the color words.
In order to provide more color characters corresponding to texts displayed on the screen of the user on the premise of ensuring the convenience of the user for inputting, the input method APP provides entries of the color characters and a color character panel at the same time in step S101, so that the user can directly select from the provided color characters, or the user can click the entry to enter the color character panel to select from more color characters under the condition that the currently presented color characters cannot meet the requirements of the user. This triggers optional step S102 of the present invention.
In step S102, if the user clicks the entry of the color word panel presented on the input method panel in step S101, the input method APP presents the color word panel to the user, and at least the color word corresponding to the category to which the selected color word belongs when the user last inputs the input text is currently presented in the color word panel for the user to select.
Here, since the behavior of the user clicking the entry of the color text panel means that the color text previously presented in the input method panel cannot satisfy the user's requirement, therefore, in order to adapt to the user requirement to a greater extent, after the user enters the face text panel from the view point of face text classification, the user is presented with the color word corresponding to the category to which the selected color word belongs when he last entered the input text on the first screen of the color word panel, e.g., the input text currently on the screen is "haha", the color word "O (n _ &) O" selected by the user when the user last input "haha" belongs to the category "happy", the input method APP now provides the user with the color word corresponding to the "happy" category on the first screen of the color word panel, that is, the current text presented to the user in the text panel includes all text that is used to express "happy". Of course, the color word panel at this time may also include the color word corresponding to "haha". For example, 2 color characters corresponding to "haha" have been provided to the user in the input method panel before, and after entering the color character panel, the color character panel can currently provide other color characters corresponding to "haha" to the user, and can also provide all color characters corresponding to "haha".
Preferably, the color words corresponding to the input text in the classification to which the selected color word belongs when the user input the input text last time are currently presented in the color word panel. To provide a more accurate text word to the user, the text word presented to the user in the text word panel is not only the text word corresponding to the current on-screen text, but the currently presented text word should also belong to the category to which the selected text word belongs when the user last entered the on-screen text. Still taking the current screen-up text "haha" as an example, the color word selected when the user last inputs "haha" belongs to the category "happy", and the color word currently presented to the user in the color word panel is the color word with "haha" in the category "happy".
In addition, it should be noted that, although the above screen text is exemplified by the word "haha", those skilled in the art should understand that, if the screen text includes a plurality of words and each word corresponds to a color word, the present invention may also present the color words of at least some words in the screen text to the user through the input method panel and the color word panel, and the selection or number limitation of these "some words" depends on the setting of the specific application, and the present invention is not limited.
According to a preferred embodiment of the present invention, the present invention provides a different implementation for the presentation of the text and the text panel than the prior art. After the input text is displayed on the screen, one or more characters corresponding to the input text and the entries of the character panel are presented in the character input area of the input method panel. For example, an input method panel may generally be roughly divided into a character input region, a candidate entry region, and a key region. After the text is input on the screen, the character input area is vacant, and the invention effectively utilizes the vacant area, and continuously provides the user with the color words which are corresponding to the text on the screen and the entrance of the color word panel through 'association'.
Preferably, if the user clicks on the entry of the color-text panel, the color-text panel is expanded above the input method panel in a floating layer below the character input area. In order to reasonably utilize the whole input area, namely the area occupied by the input method panel, the invention expands the color and character panel on the upper layer of the input method panel in a floating layer mode, and simultaneously, the color and character panel can be connected below the character input area so as to ensure the continuous feeling of the use of a user. Moreover, the user can click on the non-occluded part of the input method panel at any time to return to the character input without a specific "return" or "exit" button to exit the text panel.
According to a preferred embodiment of the present invention, for step S102, a special situation may also occur, for example, none of the color words provided in the color word panel can meet the requirements of the user, and a more extreme situation may be that the color word corresponding to the text on the screen is not yet displayed in the input method APP, and at this time, the color word input by the user may be received to establish the corresponding relationship between the current text on the screen and the color word. Here, "user input" is to be understood in a broad sense, and includes, but is not limited to, the characters obtained by the user from each emoticon library or character library, and the characters input by the user via a keyboard or other input device; the expression library or the color word library in the former may be a local library of an input method APP or various network databases, and the input in the latter is a narrow input, for example, a user clicks letters and/or symbols represented by each key to splice and combine to obtain a color word. After the newly added characters are obtained, the input method APP can identify the newly added characters according to the existing rules of the newly added characters and establish a corresponding relationship with the current on-screen text.
Accordingly, after the user is presented with the color word panel, the input method APP saves the setting of the corresponding relationship between the currently-displayed input text and one or more color words in the color word panel by the user, so that the color word set by the user is used as the color word selected by the user. For example, after "haha" is displayed on the screen, a user downloads a color word "o (╯ □ ╰) o" from a network expression library by himself through a "new" button provided by a color word panel, and the input method APP establishes a corresponding relationship between the color word "o (╯ □ ╰) o" and the text "haha" according to the user operation.
Next, in step S103, the input method APP screens the characters selected by the user.
For example, the user may directly select from the color characters provided in the input method panel of step S101, and the input method APP skips step S102 and directly executes step S103 to screen the color characters selected by the user.
For another example, in step S102, the user clicks an entry of the color text panel, and selects one color text from the color texts presented on the color text panel, then the input method APP executes step S103, and displays the color text selected by the user on the screen.
For another example, in step S102, the user clicks the entry of the color word panel to enter the color word panel, and no color word meeting the requirement is found, and then a new color word is created by the color word panel, and the input method APP executes step S103, and uses the new color word created by the user as the color word selected by the user to be displayed on the screen.
In addition, for the whole color word input scheme of the present invention, those skilled in the art should understand that the corresponding relationship between the text and the color word needs to be set in advance. That is, the present invention also includes a sub-process for creating a color word library.
Specifically, the process comprises the steps of: step S100, the input method APP establishes and updates the corresponding relation between one or more texts and a plurality of color characters, wherein each color character belongs to one or more categories. In the initial stage, the input method APP can pre-establish the corresponding relation between texts and the color characters, wherein one text corresponds to a plurality of color characters; in the using process of the user, the input method APP can update the corresponding relationship between the text and the color words according to the creation of the user, the update from other color word libraries, and the like, where the update includes the corresponding relationship between the new text and the color words, and the corresponding relationship between the existing text and the new color words. Each word may be further classified, such as based on mood, such as "happy," "angry," etc., or based on behavior, such as "apology," "quit," etc. Each of the text characters may be divided into a plurality of categories due to their ideographic complexity. The present invention is not limited to the classification of the text and the text, and can be set by a specific application.
Preferably, the input method APP further records the number of times each color word is selected by the user to update the word frequency of the corresponding color word, and the word frequency is used for sorting or screening the corresponding color word when matching the input text of the user. For example, when recording the correspondence between the text and the color word, the input method APP also records the word frequency of each color word, where the word frequency is used to represent the number of times that the corresponding color word is used by the user, and is used to sort or filter each matched color word when determining the color word corresponding to the on-screen text. The color word library of the input method APP may be a local database or a network database, wherein the word frequency of each color word is set to an initial value when the color word is added to the color word library, and is updated with the use of the user, for example, the word frequency of the color word is +5 at a time of user selection. Further, word frequency update of each word may be performed based on a specific user, such as word frequency statistics for a current user; the word frequency updating of each word can be performed based on all users of the input method APP, for example, all users selecting a word will cause the word frequency to be updated, for example, every time the word frequency is selected, the word frequency is + 5.
Fig. 2 shows a schematic view of an apparatus according to an embodiment of the invention.
As shown in fig. 2, the input device 200 includes a text presentation device 201, a panel presentation device 202, and a text on-screen device 203. Typically, the input device 200 is installed in an input method APP, which is installed in a mobile terminal of a user.
After the user's input text is on-screen, the color word presenting means 201 presents the user with one or more color words corresponding to the input text and an entry of the color word panel in the input method panel for selection by the user. Subsequently, the color letter screen-up device 203 screens the color letter thus selected by the user.
In the present invention, "color word" is intended to mean various patterns formed by combining characters, which may be regarded as "character drawings" to some extent, and is not distinguished from "expressions" in many scenarios, and therefore, the present invention does not describe or define the "color word" in terms of expression or category, but rather intends to explain it from a technical level, for example, the "color word" claimed in the present invention is formed by combining various characters, which may be from any existing or future character set based on any language/language, such as ASCII code, and the "color word" claimed in the present invention may be displayed and/or transmitted via an application that only supports plain text.
In more usage scenarios, the user's input process may also trigger the panel presentation device 202 to consider the case where the user clicks the entry of the text panel to enter the text panel. Specifically, if the user clicks the entry of the color word panel presented on the middle input method panel provided by the color word presenting device 201, the panel presenting device 202 presents the color word panel to the user, in which at least the color word corresponding to the category to which the selected color word belongs when the user last inputs the input text is currently presented for the user to select. Accordingly, if the user selects a color letter in the color letter panel, then the color letter on-screen device 203 screens the color letter selected by the user.
Specifically, after the user's input text is on the screen, the color word presenting device 201 presents the user with one or more color words corresponding to the input text and an entry of the color word panel in the input method panel for the user to select.
Here, the present invention is different from the prior art in that the present invention provides the user with the text corresponding to the input text after the user inputs the text on the screen, which is similar to a "association" function. That is, after the user selects the input text that the user wishes to input, and the input text is displayed on the screen, the input process for the input text is not terminated, and the user further associates the corresponding text with the input text, so as to improve the input experience of the user.
However, other existing input methods provide the user with the text during the input process. For example, after a user enters a character, these input methods typically provide a color word in a character input area or a candidate area, where the provided color word is determined based on a prediction. Specifically, for example, the user inputs the character "haha", and these input methods may present the color word "O (# _ n) O" corresponding to "haha" on the right side of the character input area, or provide the color word "O (# _ n) O" corresponding to "haha" as a candidate entry to the user in the candidate area. At this time, the input method cannot determine the real input intention of the user, and only the maximum possibility of "predicting the" haha "of the entry corresponding to the" character "haha" is obtained, which can be determined by the highest word frequency of "haha" in the entry corresponding to the character "haha". Accordingly, these input methods provide the user with the color word "O (# _) O" corresponding to the entry "haha". Moreover, due to the limitation of the selected text-character presenting area in these input methods, for example, the character input area needs to present the input characters of the user and the predicted text characters at the same time, or the predicted text characters will occupy the position of one candidate entry, these input methods can generally provide only one text character. Therefore, if the actual input intention of the user at this time is other terms arranged at the later frequency, the user cannot obtain the characters corresponding to the later terms.
However, the bigger problem is that after the user selects the predicted color characters, the input method will directly display the color characters on the screen without displaying the corresponding entries, and because of the particularity of the expression form of the color characters, such as most patterns formed by splicing various characters have certain abstraction, other users may not necessarily understand the meaning of the expression accurately when seeing the color characters. Compared with the prior art, the invention provides the corresponding color characters for the on-screen text of the user in an associated manner, and can provide a plurality of color characters for the user to select, thereby obviously better meeting the input requirements of the user. The method and the device have the advantages that the input intention of the user is truly and completely reflected by the upper screen text, in addition, in order to realize visualization and interestingness of communication, the color words corresponding to the actual input intention are further provided for the user, so that other audiences of the upper screen text can also accurately understand the content which the user wants to express, and the communication quality and efficiency are improved under the condition of combining the text and the color words.
In order to provide more color characters corresponding to the text on the screen of the user on the premise of ensuring the convenience of the input of the user, the color character presenting device 201 provides entries of the color characters and a color character panel at the same time, so that the user can directly select from the provided color characters, or the user can click the entry to enter the color character panel to select from more color characters under the condition that the currently presented color characters cannot meet the requirements of the user. This triggers the panel rendering device 202 of the present invention.
If the user clicks the entry of the color word panel presented on the input method panel, the panel presentation device 202 presents the color word panel to the user, and at least the color word corresponding to the category to which the selected color word belongs when the user last inputs the input text is currently presented in the color word panel for the user to select.
Here, since the behavior of the user clicking the entry of the color text panel means that the color text previously presented in the input method panel cannot satisfy the user's requirement, therefore, in order to adapt to the user requirement to a greater extent, after the user enters the face text panel from the view point of face text classification, the user is presented with the color word corresponding to the category to which the selected color word belongs when he last entered the input text on the first screen of the color word panel, e.g., the input text currently on the screen is "haha", the color word "O (n _) O" selected by the user when the user last input "haha" belongs to the category "happy", the panel presentation device 202 now provides the user with the color word corresponding to the "happy" category on the first screen of the color word panel, that is, the current text presented to the user in the text panel includes all text that is used to express "happy". Of course, the color word panel at this time may also include the color word corresponding to "haha". For example, 2 color characters corresponding to "haha" have been provided to the user in the input method panel before, and after entering the color character panel, the color character panel can currently provide other color characters corresponding to "haha" to the user, and can also provide all color characters corresponding to "haha".
Preferably, the color words corresponding to the input text in the classification to which the selected color word belongs when the user input the input text last time are currently presented in the color word panel. To provide a more accurate text word to the user, the text word presented to the user in the text word panel is not only the text word corresponding to the current on-screen text, but the currently presented text word should also belong to the category to which the selected text word belongs when the user last entered the on-screen text. Still taking the current screen-up text "haha" as an example, the color word selected when the user last inputs "haha" belongs to the category "happy", and the color word currently presented to the user in the color word panel is the color word with "haha" in the category "happy".
In addition, it should be noted that, although the above screen text is exemplified by the word "haha", those skilled in the art should understand that, if the screen text includes a plurality of words and each word corresponds to a color word, the present invention may also present the color words of at least some words in the screen text to the user through the input method panel and the color word panel, and the selection or number limitation of these "some words" depends on the setting of the specific application, and the present invention is not limited.
According to a preferred embodiment of the present invention, the present invention provides a different implementation for the presentation of the text and the text panel than the prior art. After the input text is displayed on the screen, one or more characters corresponding to the input text and the entries of the character panel are presented in the character input area of the input method panel. For example, an input method panel may generally be roughly divided into a character input region, a candidate entry region, and a key region. After the text is input on the screen, the character input area is vacant, and the invention effectively utilizes the vacant area, and continuously provides the user with the color words which are corresponding to the text on the screen and the entrance of the color word panel through 'association'.
Preferably, if the user clicks on the entry of the color-text panel, the color-text panel is expanded above the input method panel in a floating layer below the character input area. In order to reasonably utilize the whole input area, namely the area occupied by the input method panel, the invention expands the color and character panel on the upper layer of the input method panel in a floating layer mode, and simultaneously, the color and character panel can be connected below the character input area so as to ensure the continuous feeling of the use of a user. Moreover, the user can click on the non-occluded part of the input method panel at any time to return to the character input without a specific "return" or "exit" button to exit the text panel.
According to a preferred embodiment of the present invention, after the panel presenting device 202 presents the color text panel, a special situation may also occur, for example, none of the color text provided in the color text panel can meet the user's requirement, and more extreme situation may be that there is no color text corresponding to the on-screen text in the color text panel, and at this time, the color text input by the user may be received to establish the corresponding relationship between the current on-screen text and the color text. Here, "user input" is to be understood in a broad sense, and includes, but is not limited to, the characters obtained by the user from each emoticon library or character library, and the characters input by the user via a keyboard or other input device; the expression library or the color word library in the former may be a local library of an input method APP or various network databases, and the input in the latter is a narrow input, for example, a user clicks letters and/or symbols represented by each key to splice and combine to obtain a color word. After the newly added characters are obtained, the input method APP can identify the newly added characters according to the existing rules of the newly added characters and establish a corresponding relationship with the current on-screen text.
Accordingly, after the user is presented with the color word panel, the input device 200 may further include a specific device, such as a corresponding setting device (not shown in fig. 2), for saving the user's setting of the corresponding relationship between the currently displayed input text and one or more color words in the color word panel, so as to use the color words set by the user as the color words selected by the user. For example, after "haha" is displayed on the screen, a user downloads a color word "o (╯ □ ╰) o" from a network expression library by himself through a "new" button provided by a color word panel, and the corresponding setting device establishes a corresponding relationship between the color word "o (╯ □ ╰) o" and the text "haha" according to the user operation.
Next, the color letter screen-on device 203 screens the color letter selected by the user.
For example, the user may directly select from the color characters provided in the input method panel, and the color character on-screen device 203 directly screens the color character selected by the user.
For another example, when the user clicks the entry of the color text panel and selects one color text from the color texts presented on the color text panel, the color text on-screen device 203 screens the color text selected by the user.
If the user clicks the entry of the color word panel to enter the color word panel, the color word meeting the requirement is not found, and a new color word is automatically created through the color word panel, and the new color word created by the user is used as the color word selected by the user to be displayed on the screen by the color word display device 203.
In addition, for the whole color word input scheme of the present invention, those skilled in the art should understand that the corresponding relationship between the text and the color word needs to be set in advance. That is, the input device 200 further includes a device (not shown in FIG. 2) for creating a library of characters.
Specifically, the apparatus for creating a color word library performs the following operations: and establishing and updating corresponding relations between one or more texts and a plurality of color words respectively, wherein each color word belongs to one or more categories. In the initial stage, the device for establishing the color character library can establish the corresponding relation between texts and color characters in advance, wherein one text corresponds to a plurality of color characters; during the use process of the user, the device for establishing the color and character library can update the corresponding relation between the text and the color and character according to the creation of the user, the update from other color and character libraries and the like, wherein the update comprises the corresponding relation between the new text and the color and character thereof and the corresponding relation between the existing text and the new color and character. Each word may be further classified, such as based on mood, such as "happy," "angry," etc., or based on behavior, such as "apology," "quit," etc. Each of the text characters may be divided into a plurality of categories due to their ideographic complexity. The present invention is not limited to the classification of the text and the text, and can be set by a specific application.
Preferably, the apparatus for creating a color word library further records the number of times each color word is selected by the user to update the word frequency of the corresponding color word, wherein the word frequency is used for sorting or screening the corresponding color word when matching the input text of the user. For example, when the device for establishing the color word library records the corresponding relationship between the text and the color words, the device also records the word frequency of each color word, the word frequency is used for representing the number of times that the corresponding color word is used by the user, and is used for sequencing or screening each matched color word when determining the color word corresponding to the text on the screen. The established color word library can be a local database or a network database, wherein the word frequency of each color word is set to an initial value when the color word library is added, and is updated along with the use of a user, for example, the word frequency of the color word is +5 at a time of user selection. Further, word frequency update of each word may be performed based on a specific user, such as word frequency statistics for a current user; the word frequency updating of each word can be performed based on all users of the input method APP, for example, all users selecting a word will cause the word frequency to be updated, for example, every time the word frequency is selected, the word frequency is + 5.
It is noted that the present invention may be implemented in software and/or in a combination of software and hardware, for example, the various means of the invention may be implemented using Application Specific Integrated Circuits (ASICs) or any other similar hardware devices. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Also, the software programs (including associated data structures) of the present invention can be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present invention may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (14)

1. An input method, wherein the method comprises the steps of:
-after a user's input text is on-screen, presenting to the user in an input method panel one or more text words corresponding to the input text and an entry to a text word panel for selection by the user;
-if the user clicks on the entry, presenting the user with the face-word panel in which at least the face-word corresponding to the category to which the selected face-word belongs when the user last entered the input text is currently presented for selection by the user;
-displaying the text thus selected by the user on the screen.
2. The method of claim 1, wherein a color word corresponding to the input text is currently presented in the color word panel to which the classification to which the selected color word belongs when the user last entered the input text.
3. The method of claim 1, wherein the method further comprises:
-after presenting the face text panel to the user, saving the user's settings of the correspondence of the input text to one or more face text in the face text panel to treat the user-set face text as the user-selected face text.
4. The method of claim 1, wherein the method further comprises:
-establishing and updating a correspondence of one or more texts with a plurality of color words, respectively, wherein each color word belongs to one or more categories.
5. The method of claim 4, wherein the method further comprises:
-recording the number of times each color word is selected by the user to update the word frequency of the respective color word, which is used for sorting or filtering the respective color word when matching the input text of the user.
6. The method of any of claims 1-5, wherein, after the input text is on-screen, one or more color words corresponding to the input text and an entry for the color word panel are presented in a character input area of the input method panel.
7. The method of claim 6, wherein if the user clicks on the entry, the text panel expands above the input method panel in a floating layer below the character entry area.
8. An input device, wherein the device comprises:
-means for presenting to a user, after an input text of the user is on-screen, one or more text words corresponding to the input text and an entry to a text word panel in an input method panel for selection by the user;
-means for presenting to said user, if said user clicks on said entry, said face-word panel in which at least the face-word corresponding to the category to which the selected face-word belongs when said user last entered said input text is currently presented for selection by said user;
-means for displaying the text thus selected by the user.
9. The apparatus of claim 8, wherein a color word corresponding to the input text is currently presented in the color word panel to which the classification to which the selected color word belongs when the user last entered the input text.
10. The apparatus of claim 8, wherein the apparatus further comprises:
-means for saving the user's settings of the correspondence of the input text to one or more color words in the color word panel after presenting the color word panel to the user, to have the user-set color word as the user-selected color word.
11. The apparatus of claim 8, wherein the apparatus further comprises:
-means for establishing and updating a correspondence of one or more texts with a plurality of color words, respectively, wherein each color word belongs to one or more categories.
12. The apparatus of claim 11, wherein the apparatus further comprises:
-means for recording the number of times each color word is selected by said user to update the word frequency of the respective color word for sorting or filtering the respective color word when matching the input text of said user.
13. The apparatus of any of claims 8-12, wherein, after the input text is on-screen, one or more color words corresponding to the input text and an entry of the color word panel are presented in a character input area of the input method panel.
14. The apparatus of claim 13, wherein if the user clicks on the entry, the text panel expands above the input method panel in a floating layer below the character entry area.
CN201610320013.6A 2016-05-13 2016-05-13 Input method and device Active CN106020503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610320013.6A CN106020503B (en) 2016-05-13 2016-05-13 Input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610320013.6A CN106020503B (en) 2016-05-13 2016-05-13 Input method and device

Publications (2)

Publication Number Publication Date
CN106020503A CN106020503A (en) 2016-10-12
CN106020503B true CN106020503B (en) 2021-09-21

Family

ID=57096845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610320013.6A Active CN106020503B (en) 2016-05-13 2016-05-13 Input method and device

Country Status (1)

Country Link
CN (1) CN106020503B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733666B (en) * 2017-04-13 2022-03-08 腾讯科技(深圳)有限公司 Server information pushing method, terminal information sending method, device and system
CN111722726B (en) * 2019-03-20 2024-06-07 北京搜狗科技发展有限公司 Method and device for determining pigment and text

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983128A (en) * 2005-12-12 2007-06-20 北京优耐数码科技有限公司 Method for intelligent inputting Arabic in digital keyboard
JP2007199908A (en) * 2006-01-25 2007-08-09 Fujifilm Corp Emoticon input apparatus
CN101281430A (en) * 2007-04-06 2008-10-08 北京三星通信技术研究有限公司 Apparatus with expression symbol associating input function and associating input method
CN104049831A (en) * 2013-03-12 2014-09-17 百度国际科技(深圳)有限公司 Method and device for inputting emotion icon
CN105260345A (en) * 2015-10-09 2016-01-20 北京金山安全软件有限公司 Method and device for constructing facial characters and electronic equipment
CN105389021A (en) * 2015-11-09 2016-03-09 百度在线网络技术(北京)有限公司 Input box information display method and display apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100377936B1 (en) * 2000-12-16 2003-03-29 삼성전자주식회사 Method for inputting emotion icon in mobile telecommunication terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983128A (en) * 2005-12-12 2007-06-20 北京优耐数码科技有限公司 Method for intelligent inputting Arabic in digital keyboard
JP2007199908A (en) * 2006-01-25 2007-08-09 Fujifilm Corp Emoticon input apparatus
CN101281430A (en) * 2007-04-06 2008-10-08 北京三星通信技术研究有限公司 Apparatus with expression symbol associating input function and associating input method
CN104049831A (en) * 2013-03-12 2014-09-17 百度国际科技(深圳)有限公司 Method and device for inputting emotion icon
CN105260345A (en) * 2015-10-09 2016-01-20 北京金山安全软件有限公司 Method and device for constructing facial characters and electronic equipment
CN105389021A (en) * 2015-11-09 2016-03-09 百度在线网络技术(北京)有限公司 Input box information display method and display apparatus

Also Published As

Publication number Publication date
CN106020503A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
US9360992B2 (en) Three dimensional conditional formatting
EP2990940B1 (en) Icon display method and apparatus
CN108279931A (en) Context pastes target prediction
CN108762611B (en) Application icon management method and device and readable storage medium
CN102567010A (en) System and method for personalized content layout
CN113014476B (en) Group creation method and device
CN111240543A (en) Comment method and device, computer equipment and storage medium
CN112925520A (en) Method and device for building visual page and computer equipment
US10951486B2 (en) Terminal device, UI expansion method, and UI expansion program
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
CN106020503B (en) Input method and device
CN113448573A (en) Click interaction method and device based on picture pixel fence
CN114239524A (en) Questionnaire generation method, questionnaire generation device, computer equipment and storage medium
CN112148135A (en) Input method processing method and device and electronic equipment
CN112764633A (en) Information processing method and device and electronic equipment
EP3065032A1 (en) Word prediction input method and terminal
CN105868322A (en) Input method and terminal
CN114237795B (en) Terminal interface display method and device, electronic equipment and readable storage medium
US11687591B2 (en) Systems, methods, computing platforms, and storage media for comparing non-adjacent data subsets
CN112433723B (en) Personalized list development method and device
CN111796736B (en) Application sharing method and device and electronic equipment
CN111510376B (en) Image processing method and device and electronic equipment
CN110659828B (en) Software feature evaluation method based on comment data
CN113805708A (en) Information display method and device, electronic equipment and storage medium
CN113589983A (en) Graphic identifier display method and electronic equipment

Legal Events

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