CN111046210B - Information recommendation method and device and electronic equipment - Google Patents

Information recommendation method and device and electronic equipment Download PDF

Info

Publication number
CN111046210B
CN111046210B CN201811184678.4A CN201811184678A CN111046210B CN 111046210 B CN111046210 B CN 111046210B CN 201811184678 A CN201811184678 A CN 201811184678A CN 111046210 B CN111046210 B CN 111046210B
Authority
CN
China
Prior art keywords
expression
keyword
keywords
screen
pictures
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
CN201811184678.4A
Other languages
Chinese (zh)
Other versions
CN111046210A (en
Inventor
黄海兵
庞帅
张扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201811184678.4A priority Critical patent/CN111046210B/en
Publication of CN111046210A publication Critical patent/CN111046210A/en
Application granted granted Critical
Publication of CN111046210B publication Critical patent/CN111046210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an information recommendation method, an information recommendation device and electronic equipment, wherein the method comprises the following steps: acquiring input content, and extracting at least one keyword corresponding to the input content; searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; displaying the expression picture; and the corresponding expression pictures can be respectively recommended for the keywords in the input content, so that the input efficiency is improved.

Description

Information recommendation method and device and electronic equipment
Technical Field
The present invention relates to the field of input methods, and in particular, to an information recommendation method, an information recommendation device, and an electronic device.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are becoming more popular, and great convenience is brought to life, study and work of people. These electronic devices are typically installed with an input method application (input method for short) so that a user can input information using the input method.
The input method not only provides text input, but also provides the input of the expression picture, namely after the user inputs the expression keyword, the input method can output the corresponding expression picture for the user to select. The input method can be matched with the corresponding expression picture only when the information input by the user is a single expression keyword, and if the information input by the user comprises other text information except the single expression keyword, the input method cannot be matched with the corresponding expression picture if the input information comprises a plurality of expression keywords. For example, "good" and "people's voice" are both expression keywords, and after the user inputs "people's voice", the user can recommend the corresponding expression picture, while the user inputs "people's voice" can not recommend the expression picture; the user needs to delete part of the content to acquire the required expression picture or search the expression picture by himself or herself, thereby affecting the input efficiency.
Disclosure of Invention
The embodiment of the invention provides an information recommendation method for improving input efficiency.
Correspondingly, the embodiment of the invention also provides an information recommending device and electronic equipment, which are used for guaranteeing the implementation and application of the method.
In order to solve the above problems, an embodiment of the present invention discloses an information recommendation method, which specifically includes: acquiring input content, and extracting at least one keyword corresponding to the input content; searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; and displaying the expression picture.
Optionally, the extracting at least one keyword corresponding to the input content includes: performing word segmentation processing on the input content to obtain word segmentation fragments; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
Optionally, the searching for more than one expression picture corresponding to the keyword includes: and searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
Optionally, the mapping information includes a mapping relationship between an expression keyword and an expression picture, and the determining at least one expression picture corresponding to the keyword based on the mapping information by searching for the keyword includes: matching the keywords with expression keywords, and determining expression keywords matched with the keywords; and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
Optionally, the method further comprises the step of screening the expression pictures: acquiring associated information, wherein the associated information comprises context information and/or user behavior data; and screening the expression pictures according to the association information.
Optionally, the displaying the expression picture includes: displaying the expression picture in a display area of an input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
Optionally, the keyword is more than one, and the method further includes: acquiring an on-screen instruction based on the display area, and on-screen the expression picture corresponding to the on-screen instruction; and determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display area, and updating the display area.
Optionally, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression pictures on the screen belong.
Optionally, the method further comprises: and acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
The embodiment of the invention also discloses an information recommending device, which specifically comprises: the extraction module is used for acquiring the input content and extracting at least one keyword corresponding to the input content; the searching module is used for searching the expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; and the display module is used for displaying the expression picture.
Optionally, the extracting module is specifically configured to perform word segmentation processing on the input content to obtain a word segmentation segment; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
Optionally, the number of the keywords is more than one, and the searching module is used for searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
Optionally, the mapping information includes a mapping relationship between the expression keyword and the expression picture, and the search module includes: the matching sub-module is used for matching the keywords with the expression keywords and determining the expression keywords matched with the keywords; and the picture searching sub-module is used for searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
Optionally, the apparatus further comprises: the screening module is used for acquiring the associated information, wherein the associated information comprises context information and/or user behavior data; and screening the expression pictures according to the association information.
Optionally, the display module is specifically configured to display the expression picture in a display area of the input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
Optionally, the keyword is more than one, and the apparatus further includes: the first screen-on module is used for acquiring a screen-on instruction based on the display area and screening the expression picture corresponding to the screen-on instruction; and the region updating module is used for determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display region and updating the display region.
Optionally, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression pictures on the screen belong.
Optionally, the apparatus further comprises: and the second screen-on module is used for acquiring a screen-on instruction based on the updated display area and screen-on the expression picture corresponding to the screen-on instruction.
The embodiment of the invention also discloses a readable storage medium, which enables the electronic equipment to execute the information recommendation method according to any one of the embodiments of the invention when the instructions in the storage medium are executed by the processor of the electronic equipment.
The embodiment of the invention also discloses an electronic device, which comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, and the one or more programs comprise instructions for: acquiring input content, and extracting at least one keyword corresponding to the input content; searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; and displaying the expression picture.
Optionally, the extracting at least one keyword corresponding to the input content includes: performing word segmentation processing on the input content to obtain word segmentation fragments; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
Optionally, the searching for more than one expression picture corresponding to the keyword includes: and searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
Optionally, the mapping information includes a mapping relationship between an expression keyword and an expression picture, and the determining at least one expression picture corresponding to the keyword based on the mapping information by searching for the keyword includes: matching the keywords with expression keywords, and determining expression keywords matched with the keywords; and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
Optionally, the method further comprises the following operation of screening the expression picture: acquiring associated information, wherein the associated information comprises context information and/or user behavior data; and screening the expression pictures according to the association information.
Optionally, the displaying the expression picture includes: displaying the expression picture in a display area of an input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
Optionally, the keywords are more than one, further comprising instructions for: acquiring an on-screen instruction based on the display area, and on-screen the expression picture corresponding to the on-screen instruction; and determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display area, and updating the display area.
Optionally, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression pictures on the screen belong.
Optionally, further comprising instructions for: and acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
The embodiment of the invention has the following advantages:
In the embodiment of the invention, after the input content is acquired, at least one keyword corresponding to the input content can be extracted, and then the expression picture corresponding to the keyword is searched and displayed; and the corresponding expression pictures can be respectively recommended for the keywords in the input content, so that the input efficiency is improved.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of an information recommendation method of the present invention;
FIG. 2 is a schematic diagram of an emoticon display interface according to an embodiment of the invention;
FIG. 3 is a schematic diagram of another emoticon display interface according to an embodiment of the invention;
FIG. 4a is a flowchart illustrating steps of an alternative embodiment of an information recommendation method of the present invention;
FIG. 4b is a schematic diagram of a display interface for displaying regional emoticons according to an embodiment of the present invention;
FIG. 4c is a schematic diagram of a display area emoticon viewing interface according to an embodiment of the invention;
FIG. 4d is a schematic diagram of another display area emoticon display interface according to an embodiment of the invention;
FIG. 4e is a schematic diagram of another display area emoticon viewing interface according to an embodiment of the invention;
FIG. 4f is a schematic diagram of yet another display area emoticon viewing interface according to an embodiment of the invention;
FIG. 5 is a flowchart illustrating steps of an embodiment of an emoticon on-screen method according to the present invention;
FIG. 6a is a schematic diagram of an emoticon interface according to an embodiment of the invention;
FIG. 6b is a schematic diagram of an emoticon on-screen interface according to an embodiment of the invention;
FIG. 6c is a schematic diagram of another emoticon on-screen interface according to an embodiment of the invention;
FIG. 7 is a block diagram showing an embodiment of an information recommending apparatus according to the present invention;
FIG. 8 is a block diagram of an alternative embodiment of an information recommendation device of the present invention;
FIG. 9 illustrates a block diagram of an electronic device for information recommendation, according to an exemplary embodiment;
Fig. 10 is a schematic structural view of an electronic device for information recommendation according to another exemplary embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
One of the core concepts of the embodiment of the invention is that keywords are extracted from the input content, and corresponding expression pictures are matched and displayed for each keyword respectively, so that the corresponding expression pictures can be recommended for each keyword in the input content respectively, and the input efficiency is improved.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an information recommendation method according to the present invention may specifically include the following steps:
step 102, acquiring inputted content, and extracting at least one keyword corresponding to the inputted content.
According to the embodiment of the invention, the input content can be obtained, after the keywords are extracted from the input content, the corresponding expression pictures are matched and recommended for the keywords, and further the corresponding expression pictures are recommended for each keyword in the input content. The input content may be information that has been input into an application corresponding editing box, for example, the candidate item selected by the on-screen instruction corresponds to the input content, and for example, the input content is input by the user through an editing operation such as a pasting operation, which is not limited in the invention; wherein the names of the edit boxes may be different in different applications, e.g. the edit box in a chat application is an information input box, the information edit box in a browser is a search box, etc. The inputted content may also refer to candidate information determined from the input sequence, such as candidates determined from the input sequence. Wherein, the input content can be subjected to analysis processing such as word segmentation processing, and at least one corresponding keyword is extracted from the input content; for example, after the analysis of the inputted content "good" is performed, two keywords "good" and "strong" can be extracted, and for example, the inputted content "good in the morning, what is ready to eat in the morning today? After the analysis, 5 keywords "morning good", "today", "morning", "ready" and "what to eat" can be extracted.
Step 104, searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture.
And 106, displaying the expression picture.
In the embodiment of the invention, after the keywords are extracted from the input content, the expression picture corresponding to the matching can be searched for according to each keyword based on the keywords; the method comprises the steps that expression pictures corresponding to each keyword can be searched from an expression picture library, and the expression picture library can be stored locally or in a server; the expression pictures corresponding to the keywords can also be searched from the network, and the embodiment of the invention is not limited to the above. In the embodiment of the invention, the keywords corresponding to the expression pictures are the same, and the keywords corresponding to one expression picture are different from the keywords corresponding to other expression pictures; therefore, the expression pictures searched for each keyword can be one or a plurality of expression pictures. In the embodiment of the invention, corresponding expression pictures possibly exist in some keywords, and corresponding expression pictures do not exist in some keywords, so that the searched expression pictures can be displayed; the display area of the expression picture can be set as a candidate area, an association area, etc. of the input method according to the requirement, and of course, the display area can also be set by the application, which is not limited in the embodiment of the invention.
In one example of the present invention, the obtained inputted content is "one having a good" user's person, and the user can find the expression picture corresponding to the keyword "one having a good" user's person and the expression corresponding to the keyword "one having a good" user's person from the two keywords "one having a good" user's person of the inputted content; the expression pictures of the two keywords can be found, and further the expression pictures of the two keywords can be displayed, as shown in fig. 2.
In another example of the present invention, the obtained inputted content is "first picture is good looking", three keywords "first picture", "picture" and "good looking" can be extracted from the inputted content, then the expression pictures corresponding to the keywords "first picture" are searched for, the expression pictures corresponding to the keywords "picture" are searched for, and the expression pictures corresponding to the keywords "good looking" are searched for; wherein, the expression picture corresponding to the keyword 'good looking' can be found, and the corresponding expression picture can not be found by the other two keywords, so that the expression picture of the keyword 'good looking' can be displayed, as shown in fig. 3.
In the embodiment of the invention, after the input content is acquired, at least one keyword corresponding to the input content can be extracted, and then the expression picture corresponding to the keyword is searched and displayed; and the corresponding expression pictures can be respectively recommended for the keywords in the input content, so that the input efficiency is improved.
In another embodiment of the present invention, mapping information may be pre-established, where the mapping information may be used to characterize a mapping relationship between an expression picture and a corresponding keyword, and further when searching for an expression picture corresponding to the keyword, the mapping information may be searched for according to the keyword, so as to determine the expression picture corresponding to the keyword.
Referring to fig. 4a, a flowchart illustrating steps of an alternative embodiment of an information recommendation method of the present invention may specifically include the following steps:
step 402, the input content is acquired.
In the embodiment of the invention, the information in the editing box of the application can be acquired, and the information is determined to be the input content, wherein the information in the editing box can be input in the editing box of the application by a user through editing operation, such as input of pre-copied information by pasting operation; the input method can also be adopted to input in an applied edit box, for example, after a user inputs an input sequence, the input method can convert the input sequence to obtain corresponding candidate items and display the candidate items in a candidate area, and then the user can execute the screen-on operation to select the candidate items meeting the requirements; after the user executes the screen operation, the input method can generate a screen instruction corresponding to the screen operation, and then screen candidates corresponding to the screen instruction into an editing frame of the application. Of course, when the user inputs by using the input method, candidate information obtained by converting the input sequence input by the user by the input method can also be obtained, and the obtained candidate information is determined as the input content. And extracting at least one corresponding keyword from the input content, and recommending corresponding expression pictures for each keyword.
Step 404, performing word segmentation processing on the input content to obtain word segmentation fragments.
Step 406, determining at least one keyword corresponding to the input content based on the word segmentation segment.
In the embodiment of the invention, in the process of extracting the keywords corresponding to the input content, word segmentation processing can be carried out on the input content to obtain corresponding word segmentation fragments; and then determining at least one keyword corresponding to the input content based on the word segmentation segment. For example, the word segmentation processing is performed on the inputted content 'the movie is good horror', so as to obtain word segmentation fragments: the keywords "this", "movie", "good" and "horror" can be obtained; for example, the word segmentation process is performed on the input content 'tomorrow and autumn game' to obtain word segmentation fragments 'tomorrow' and 'autumn game', and the corresponding keywords can be the same as the word segmentation fragments, namely, the keywords can also be 'tomorrow' and 'autumn game'.
Step 408, searching mapping information based on the keywords, and determining at least one expression picture corresponding to the keywords.
In the embodiment of the invention, after a plurality of keywords are extracted from the input content, for each keyword, predetermined mapping information is searched according to the keyword, and then the expression picture corresponding to the keyword is determined according to the searched mapping information.
In an alternative embodiment of the present invention, keywords corresponding to each of the expression pictures may be predetermined, where in order to distinguish the keywords corresponding to the expression pictures from the keywords corresponding to the inputted content, the keywords corresponding to the expression pictures may be referred to as expression keywords. Then, establishing a mapping relation between each expression picture and a corresponding expression keyword, such as a mapping relation between the expression keyword and picture information of the expression picture, and determining mapping information according to the mapping relation, for example, taking the mapping relation as mapping information; further, the mapping information may include a mapping relationship between the expression picture and the corresponding expression keyword, so that determining at least one expression picture corresponding to the keyword may be implemented in the following substeps 81-82:
And 81, matching the keywords with the expression keywords, and determining the expression keywords matched with the keywords.
And a sub-step 82 of searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
In the embodiment of the invention, the keywords can be matched with all expression keywords in the mapping relation, and the expression keywords matched with the keywords can be searched; then determining a mapping relation corresponding to the matched expression keywords, and determining picture information corresponding to the matched expression keywords according to the mapping relation; and searching a corresponding expression picture according to the picture information.
Step 410, obtaining association information, wherein the association information comprises context information and/or user behavior data.
And step 412, screening the expression pictures according to the association information.
In the embodiment of the invention, the types of the expression pictures selected by the user in different scenes can be different, for example, the user is a young person, so that when chatting with the ancestor in the chatting application, the expression pictures which are more suitable for the middle-aged person are likely to be selected, and when chatting with the ancestor, the expression pictures which are more suitable for the young person are likely to be selected. And different users like different styles of used expressions, for example, some users like that the expression pictures of the users are the expression pictures of movie characters, some users like the expression pictures of cartoon characters, some users like the expression pictures popular at present, some users like the expression pictures of animals, and the like. Therefore, the embodiment of the invention can acquire the associated information such as the context information, the user behavior data and the like, and then screen the expression pictures according to the associated information so that the recommended expression pictures more meet the requirements of the user.
Step 414, displaying the expression picture in a display area of the input method.
In the embodiment of the invention, after the expression pictures are screened, the screened expression pictures can be displayed in the display area of the input method, wherein the display area comprises at least one of the following: a candidate area, an association area, and a keyboard area; of course, the expression picture can also be displayed in the setting area of the application. When the keywords comprise a plurality of the expression pictures corresponding to the keywords, the expression pictures corresponding to the keywords can be displayed, and the mode of displaying the expression pictures corresponding to the keywords can be set according to requirements.
In one example of the present invention, for the case that one keyword corresponds to a plurality of expression pictures, the plurality of expression pictures corresponding to each keyword may be displayed in a plurality of columns of the display area, and at this time, the user may view the plurality of expression pictures corresponding to each keyword by sliding left and right. In one example of the present invention, the content "good and no questions" of a person's voice, three keywords "good and no questions" are extracted, wherein the keyword "good and no questions" corresponds to one expression picture, the keyword "good and no questions" corresponds to four expression pictures, and the keyword "no questions" corresponds to two expression pictures; as shown in fig. 4b, the display area in fig. 4b does not show one expression picture corresponding to the keyword "good click" and one expression picture corresponding to the keyword "no problem". After the user slides leftwards, the user can see the expression picture corresponding to the keyword "good click" which is not shown in fig. 4b, and fig. 4c can be referred to.
In another example of the present invention, for the case that one keyword corresponds to a plurality of emoticons, the plurality of emoticons corresponding to each keyword may be displayed in a column of the display area in a rolling manner; on the basis of the above example, refer to fig. 4d (scroll display effect is not shown in the figure). The user may check through triggering a check instruction, for example, check through up sliding in the column, for example, the user slides in the column corresponding to the keyword "good click" in fig. 4d, and may check another expression keyword corresponding to the keyword "good click", and fig. 4e may be referred to.
In still another example of the present invention, when the user stays at a certain expression picture of a certain keyword, expression pictures corresponding to other keywords presented in the presentation area may be related series pictures of a series to which the expression picture belongs. Wherein two series having an association relationship (e.g., subject, object identical or related, author identical, etc.) may be referred to as related series. For example, any two of the little yellow duck series-1, little yellow duck series-2, and little yellow duck series-3 may be referred to as related series; for example, any two of the daily series of Fu Xiao Miao, the spring festival series of Fu Xiao Miao and the red packet series of Fu Xiao Miao can also be called related series; for example, if the user stays in the emoticon corresponding to the keyword "good" as shown in fig. 4e, the emoticon corresponding to the keyword "no problem" in the display area may be shown in fig. 4 f. In an embodiment of the present invention, the related series may include the same series.
In the embodiment of the invention, after the input content is acquired, at least one keyword corresponding to the input content can be extracted, and then the expression picture corresponding to the keyword is searched and displayed; and the corresponding expression pictures can be respectively recommended for the keywords in the input content, so that the input efficiency is improved.
Secondly, in the embodiment of the invention, after determining the expression picture corresponding to the keyword, the expression picture can be screened, wherein the associated information can be acquired, the expression picture is screened according to the associated information, and the associated information comprises context information and/or user behavior data; and further, the personalized requirements of the user can be met, and the user experience is improved.
In another embodiment of the present invention, when the number of the keywords is more than one, the display area corresponds to a plurality of expression pictures corresponding to the keywords; and then the user can select one or more expression pictures corresponding to the keywords to perform the screen-on operation in the display area, and the expression pictures are displayed or sent.
Referring to fig. 5, a flowchart illustrating steps of an embodiment of an expression picture on-screen method according to the present invention may specifically include the following steps:
Step 502, obtaining an on-screen instruction based on the display area, and on-screen the expression picture corresponding to the on-screen instruction.
In the embodiment of the invention, a user can execute the screen-on operation in the display area, and the expression pictures meeting the requirements are selected from the display area; and after the user executes the screen operation in the display area, the input method can determine a screen instruction based on the display area according to the screen operation, and then screen the expression picture corresponding to the screen instruction. If the expression pictures of the keywords are determined, the expression pictures of the keywords can be displayed in the display area, and then the user can select the expression picture of one keyword every time the user performs the screen operation; the input method can screen the expression picture corresponding to the screen-on instruction after receiving the screen-on instruction once, namely, the user can select the expression picture of a keyword for screen-on every time. Of course, the input method can also screen the expression pictures corresponding to the screen-on instructions after receiving the screen-on instructions corresponding to the screen-on operations for a plurality of times, namely, the user can select the expression pictures of the keywords for screen-on each time.
Step 504, determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display area, and updating the display area.
In the embodiment of the invention, when more than one keyword is displayed, after the expression picture of at least one keyword is displayed according to the display instruction, the expression picture corresponding to the keywords can be deleted in the display area, and the display area is updated. Therefore, the keyword corresponding to the expression picture on the upper screen can be determined, and the expression picture corresponding to the keyword is deleted from the display area; when the expression picture corresponding to the keyword is one, deleting the expression picture on the screen from the display area, wherein the corresponding expression picture is the expression picture on the screen; and deleting a plurality of expression pictures corresponding to the keywords from the display area when more than one expression picture corresponding to the keywords is displayed.
In an optional embodiment of the present invention, the updated expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression picture on the upper screen belongs. Here, similar to the above-mentioned expression picture corresponding to other keywords presented in the display area when the user stays at a certain expression picture of a certain keyword, the related series pictures of the series to which the expression picture belongs may be similar, and will not be described herein.
And 506, acquiring a screen-on instruction based on the updated display area, and screen-on the expression picture corresponding to the screen-on instruction.
When the updated display area also contains the expression picture required by the user, the user can execute the screen-on operation again in the updated display area; and then the input method can determine the screen-on instruction based on the updated display area according to the screen-on operation, then screen the expression picture corresponding to the screen-on instruction, and then update the display area again according to the method described in the step 504.
In one example of the present invention, three keywords "good" and "ok" are extracted, wherein the keyword "good" corresponds to two emoticons and the other two keywords correspond to one emoticon; the display area displays three expression pictures of the keywords, namely an expression 1, an expression 2, an expression 3 and an expression 4, wherein the expression 1 and the expression 2 are expression pictures corresponding to a keyword 'kadeth', the expression 3 is an expression picture corresponding to a keyword 'good', and the expression 4 is an expression picture corresponding to a keyword 'can'; as shown in fig. 6 a. After receiving the screen-on instruction once, the input method is capable of screen-on the expression picture corresponding to the screen-on instruction, and then the user can screen one expression picture at a time; for example, the user may select the expression picture corresponding to "one, where after the user performs the screen-up operation on the expression 1 in fig. 6a, the input method obtains the corresponding screen-up instruction, determines that the expression picture corresponding to the screen-up instruction is the expression 1, and screens the expression 1 into the edit box. Then, the keyword corresponding to the expression 1 is determined as "people's words", and people's words "can be deleted in the display area: expression 1 and expression 2, update the presentation area, as shown in fig. 6 b. The user can also select the expression picture corresponding to the keyword "good", wherein the user performs the screen-on operation on the expression 3 in fig. 6b, the input method obtains the corresponding screen-on instruction, determines that the expression picture corresponding to the screen-on instruction is expression 3, and screens the expression 3 into the editing frame. Then determining that the keyword corresponding to the expression 3 is 'good', and deleting the 'good' corresponding expression picture in the display area: expression 3, update the display area, as shown in fig. 6 c. The following user can also select the expression picture corresponding to the keyword "ok", which is not described here again.
In another example of the present invention, the input method may also screen the expression pictures corresponding to the plurality of screen-on instructions after receiving the screen-on instructions corresponding to the plurality of screen-on operations; as shown in fig. 6a, when the user selects the expression picture corresponding to the keyword "kadeth", the user performs the on-screen operation for expression 1, and then when the user selects the expression picture corresponding to the keyword "good", the user performs the on-screen operation for expression 3; the method comprises the steps of determining that expression pictures corresponding to screen-on instructions in two screen-on operations are expression 1 and expression 3 respectively, then simultaneously screening the expression 1 and the expression 3, deleting expression pictures (expression 1 and expression 2) corresponding to a keyword ' in a display area, deleting expression pictures (expression 3) corresponding to a keyword ' good ', and updating the display area; as shown in fig. 6 c. The following user can also select the expression picture corresponding to the keyword "ok", which is not described here again.
In an optional embodiment of the invention, after acquiring the on-screen instruction based on the display area, the method can also send the expression picture corresponding to the on-screen instruction, then determine the keyword corresponding to the on-screen expression picture, delete the expression picture corresponding to the keyword from the display area and update the display area; and acquiring an on-screen instruction based on the updated display area, and sending an expression picture corresponding to the on-screen instruction.
In an optional embodiment of the present invention, if the input method does not acquire the instruction to get on the screen within a set time after the expression pictures are displayed, all the expression pictures can be deleted; if the input method does not acquire the screen instruction again within the set time after acquiring the screen instruction, all expression pictures can be deleted.
In the embodiment of the invention, after the expression picture is displayed, if more than one keyword is displayed, a screen-on instruction based on the display area can be obtained, and the expression picture corresponding to the screen-on instruction is displayed; determining a keyword corresponding to the expression picture on the screen, deleting the expression picture corresponding to the keyword from the display area and updating the display area; then acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction; and the user can select the expression pictures of the keywords through multiple screen-on operations, so that the efficiency of selecting the expression pictures corresponding to the keywords is improved.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to FIG. 7, there is shown a block diagram of an embodiment of a data processing apparatus of the present invention, which may include the following modules: extraction module 702, lookup module 704, and presentation module 706, wherein,
An extracting module 702, configured to obtain an inputted content, and extract at least one keyword corresponding to the inputted content;
A searching module 704, configured to search for an expression picture corresponding to the keyword, where each keyword corresponds to at least one expression picture;
And the display module 706 is configured to display the expression picture.
Referring to FIG. 8, a block diagram of an alternative embodiment of a data processing apparatus of the present invention is shown. The device also comprises the following modules:
A filtering module 708, configured to obtain association information, where the association information includes context information and/or user behavior data; and screening the expression pictures according to the association information.
The first screen-on module 710 is configured to obtain a screen-on instruction based on the display area, and screen the expression picture corresponding to the screen-on instruction;
And the region updating module 712 is configured to determine a keyword corresponding to the on-screen expression picture, delete the expression picture corresponding to the keyword from the display region, and update the display region.
And the second screen-on module 714 is configured to obtain a screen-on instruction based on the updated display area, and screen the expression picture corresponding to the screen-on instruction.
In an optional embodiment of the present invention, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression picture on the upper screen belongs.
In an optional embodiment of the present invention, the extracting module 702 is specifically configured to perform word segmentation on the input content to obtain a word segmentation segment; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
In an optional embodiment of the present invention, the searching module 704 is configured to search mapping information for each keyword based on the keyword, and determine at least one expression picture corresponding to the keyword.
In an optional embodiment of the present invention, the mapping information includes a mapping relationship between an expression keyword and an expression picture, and the searching module 704 includes:
A matching sub-module 7042, configured to match the keyword with an expression keyword, and determine an expression keyword matched with the keyword;
and the picture searching sub-module 7044 is configured to search at least one expression picture corresponding to the matched expression keyword according to the mapping relationship.
In an optional embodiment of the present invention, the display module 706 is specifically configured to display the expression picture in a display area of an input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
In the embodiment of the invention, after the input content is acquired, at least one keyword corresponding to the input content can be extracted, and then the expression picture corresponding to the keyword is searched and displayed; and the corresponding expression pictures can be respectively recommended for the keywords in the input content, so that the input efficiency is improved.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
FIG. 9 is a block diagram illustrating an electronic device 900 for information recommendation, according to an example embodiment. For example, electronic device 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, and the like.
Referring to fig. 9, an electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 916.
The processing component 902 generally controls overall operation of the electronic device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 902 can include one or more modules that facilitate interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operations at the device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 904 may be implemented by any type of volatile or nonvolatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 906 provides power to the various components of the electronic device 900. Power components 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 900.
The multimedia component 908 comprises a screen between the electronic device 900 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front-facing camera and/or a rear-facing camera. When the electronic device 900 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 914 includes one or more sensors for providing status assessment of various aspects of the electronic device 900. For example, the sensor assembly 914 may detect the on/off state of the device 900, the relative positioning of the components, such as the display and keypad of the electronic device 900, the sensor assembly 914 may also detect the change in position of the electronic device 900 or a component of the electronic device 900, the presence or absence of a user's contact with the electronic device 900, the orientation or acceleration/deceleration of the electronic device 900, and the change in temperature of the electronic device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communication between the electronic device 900 and other devices, either wired or wireless. The electronic device 900 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication part 914 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 914 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as a memory 904 including instructions executable by the processor 920 of the electronic device 900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform an information recommendation method, the method comprising: acquiring input content, and extracting at least one keyword corresponding to the input content; searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; and displaying the expression picture.
Optionally, the extracting at least one keyword corresponding to the input content includes: performing word segmentation processing on the input content to obtain word segmentation fragments; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
Optionally, the searching for more than one expression picture corresponding to the keyword includes: and searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
Optionally, the mapping information includes a mapping relationship between an expression keyword and an expression picture, and the determining at least one expression picture corresponding to the keyword based on the mapping information by searching for the keyword includes: matching the keywords with expression keywords, and determining expression keywords matched with the keywords; and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
Optionally, the method further comprises the step of screening the expression pictures: acquiring associated information, wherein the associated information comprises context information and/or user behavior data; and screening the expression pictures according to the association information.
Optionally, the displaying the expression picture includes: displaying the expression picture in a display area of an input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
Optionally, the keyword is more than one, and the method further includes: acquiring an on-screen instruction based on the display area, and on-screen the expression picture corresponding to the on-screen instruction; and determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display area, and updating the display area.
Optionally, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression pictures on the screen belong.
Optionally, the method further comprises: and acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
Fig. 10 is a schematic structural view of an electronic device 1000 for information recommendation according to another exemplary embodiment of the present invention. The electronic device 1000 can be a server that can vary widely in configuration or performance and can include one or more central processing units (central processing units, CPUs) 1022 (e.g., one or more processors) and memory 1032, one or more storage mediums 1030 (e.g., one or more mass storage devices) that store applications 1042 or data 1044. Wherein memory 1032 and storage medium 1030 may be transitory or persistent. The program stored on the storage medium 1030 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Further, central processor 1022 may be configured to communicate with storage medium 1030 and execute a series of instruction operations in storage medium 1030 on a server.
The servers may also include one or more power supplies 1026, one or more wired or wireless network interfaces 1050, one or more input/output interfaces 1058, one or more keyboards 1056, and/or one or more operating systems 1041, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for: acquiring input content, and extracting at least one keyword corresponding to the input content; searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture; and displaying the expression picture.
Optionally, the extracting at least one keyword corresponding to the input content includes: performing word segmentation processing on the input content to obtain word segmentation fragments; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
Optionally, the searching for more than one expression picture corresponding to the keyword includes: and searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
Optionally, the mapping information includes a mapping relationship between an expression keyword and an expression picture, and the determining at least one expression picture corresponding to the keyword based on the mapping information by searching for the keyword includes: matching the keywords with expression keywords, and determining expression keywords matched with the keywords; and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
Optionally, the method further comprises the following operation of screening the expression picture: acquiring associated information, wherein the associated information comprises context information and/or user behavior data; and screening the expression pictures according to the association information.
Optionally, the displaying the expression picture includes: displaying the expression picture in a display area of an input method; wherein the display area comprises at least one of: candidate area, association area, keyboard area.
Optionally, the keywords are more than one, further comprising instructions for: acquiring an on-screen instruction based on the display area, and on-screen the expression picture corresponding to the on-screen instruction; and determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display area, and updating the display area.
Optionally, after updating, the expression pictures corresponding to other keywords in the display area include related series pictures of the series to which the expression pictures on the screen belong.
Optionally, further comprising instructions for: and acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The above description of an information recommendation method, an information recommendation device and an electronic device provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the examples is only used to help understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (22)

1. An information recommendation method, comprising:
acquiring input content, and extracting at least one keyword corresponding to the input content;
searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture;
displaying the expression picture;
the method further comprises the step of screening the expression pictures:
acquiring associated information, wherein the associated information comprises context information and/or user behavior data;
Screening the expression pictures according to the associated information;
The displaying the expression picture comprises the following steps: displaying the expression picture in a display area of an input method; when the keyword corresponds to a plurality of expression pictures, the expression pictures corresponding to the keyword are displayed in a column of the display area in a rolling mode;
When more than one keyword is displayed, acquiring a screen-on instruction based on the display area, and screen-on the expression picture corresponding to the screen-on instruction; if the input method does not acquire the on-screen instruction within a set time after the expression picture is displayed, deleting the expression picture;
Determining a keyword corresponding to the expression picture on the screen, deleting the expression picture corresponding to the keyword from the display area and updating the display area; and if the screen-on instruction is not acquired again within the set time after the screen-on instruction is acquired by the input method, deleting the expression picture.
2. The method of claim 1, wherein the extracting at least one keyword corresponding to the inputted content comprises:
Performing word segmentation processing on the input content to obtain word segmentation fragments;
and determining at least one keyword corresponding to the input content based on the word segmentation segment.
3. The method according to claim 1, wherein the number of the keywords is more than one, and the searching for the emoticons corresponding to the keywords includes:
And searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
4. The method of claim 3, wherein the mapping information includes a mapping relationship between the emotion keywords and the emotion picture,
The step of searching mapping information based on the keywords and determining at least one expression picture corresponding to the keywords comprises the following steps:
matching the keywords with expression keywords, and determining expression keywords matched with the keywords;
and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
5. The method of claim 1, wherein the display area comprises at least one of: candidate area, association area, keyboard area.
6. The method of claim 1, wherein the updated emoji pictures corresponding to other keywords in the display area include related series pictures of the series to which the onscreen emoji picture belongs.
7. The method according to claim 1 or 6, further comprising:
And acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
8. An information recommendation device, characterized by comprising:
The extraction module is used for acquiring the input content and extracting at least one keyword corresponding to the input content;
the searching module is used for searching the expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture;
the display module is used for displaying the expression pictures;
The apparatus further comprises:
The screening module is used for acquiring the associated information, wherein the associated information comprises context information and/or user behavior data; screening the expression pictures according to the associated information;
The display module is specifically used for displaying the expression picture in a display area of the input method; when the keyword corresponds to a plurality of expression pictures, the expression pictures corresponding to the keyword are displayed in a column of the display area in a rolling mode;
more than one keyword, the device further comprises:
The first screen-on module is used for acquiring a screen-on instruction based on the display area and screening the expression picture corresponding to the screen-on instruction; if the input method does not acquire the on-screen instruction within a set time after the expression picture is displayed, deleting the expression picture;
The region updating module is used for determining keywords corresponding to the expression pictures on the screen, deleting the expression pictures corresponding to the keywords from the display region and updating the display region; and if the screen-on instruction is not acquired again within the set time after the screen-on instruction is acquired by the input method, deleting the expression picture.
9. The apparatus of claim 8, wherein the device comprises a plurality of sensors,
The extraction module is specifically used for performing word segmentation on the input content to obtain word segmentation fragments; and determining at least one keyword corresponding to the input content based on the word segmentation segment.
10. The apparatus of claim 8, wherein more than one keyword,
The searching module is used for searching mapping information for each keyword based on the keywords and determining at least one expression picture corresponding to the keywords.
11. The apparatus of claim 10, wherein the mapping information comprises a mapping relationship between an expression keyword and an expression picture, and wherein the search module comprises:
The matching sub-module is used for matching the keywords with the expression keywords and determining the expression keywords matched with the keywords;
And the picture searching sub-module is used for searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
12. The device of claim 8, wherein the display area comprises at least one of: candidate area, association area, keyboard area.
13. The device of claim 8, wherein the updated emoji pictures corresponding to other keywords in the display area include related series pictures of the series to which the onscreen emoji picture belongs.
14. The apparatus according to claim 8 or 13, wherein the apparatus further comprises:
And the second screen-on module is used for acquiring a screen-on instruction based on the updated display area and screen-on the expression picture corresponding to the screen-on instruction.
15. A readable storage medium, characterized in that instructions in said storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method according to any of the method claims 1-7.
16. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for:
acquiring input content, and extracting at least one keyword corresponding to the input content;
searching expression pictures corresponding to the keywords, wherein each keyword corresponds to at least one expression picture;
displaying the expression picture;
The instructions further include the step of screening the emoticons:
acquiring associated information, wherein the associated information comprises context information and/or user behavior data;
Screening the expression pictures according to the associated information;
The displaying the expression picture comprises the following steps: displaying the expression picture in a display area of an input method; when the keyword corresponds to a plurality of expression pictures, the expression pictures corresponding to the keyword are displayed in a column of the display area in a rolling mode;
When more than one keyword is displayed, acquiring a screen-on instruction based on the display area, and screen-on the expression picture corresponding to the screen-on instruction; if the input method does not acquire the on-screen instruction within a set time after the expression picture is displayed, deleting the expression picture;
Determining a keyword corresponding to the expression picture on the screen, deleting the expression picture corresponding to the keyword from the display area and updating the display area; and if the screen-on instruction is not acquired again within the set time after the screen-on instruction is acquired by the input method, deleting the expression picture.
17. The electronic device of claim 16, wherein the extracting at least one keyword corresponding to the entered content comprises:
Performing word segmentation processing on the input content to obtain word segmentation fragments;
and determining at least one keyword corresponding to the input content based on the word segmentation segment.
18. The electronic device of claim 16, wherein the keyword is more than one, and the searching for the emoticon corresponding to the keyword comprises:
And searching mapping information for each keyword based on the keywords, and determining at least one expression picture corresponding to the keywords.
19. The electronic device of claim 18, wherein the mapping information comprises a mapping relationship between an expressive keyword and an expressive picture,
The step of searching mapping information based on the keywords and determining at least one expression picture corresponding to the keywords comprises the following steps:
matching the keywords with expression keywords, and determining expression keywords matched with the keywords;
and searching at least one expression picture corresponding to the matched expression keyword according to the mapping relation.
20. The electronic device of claim 16, wherein the presentation area comprises at least one of: candidate area, association area, keyboard area.
21. The electronic device of claim 16, wherein the updated emoji pictures corresponding to other keywords in the display area include related series pictures of the series to which the onscreen emoji picture belongs.
22. The electronic device of claim 16 or 21, further comprising instructions for:
And acquiring an on-screen instruction based on the updated display area, and on-screen the expression picture corresponding to the on-screen instruction.
CN201811184678.4A 2018-10-11 2018-10-11 Information recommendation method and device and electronic equipment Active CN111046210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811184678.4A CN111046210B (en) 2018-10-11 2018-10-11 Information recommendation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811184678.4A CN111046210B (en) 2018-10-11 2018-10-11 Information recommendation method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111046210A CN111046210A (en) 2020-04-21
CN111046210B true CN111046210B (en) 2024-08-09

Family

ID=70229245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811184678.4A Active CN111046210B (en) 2018-10-11 2018-10-11 Information recommendation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111046210B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199032A (en) * 2020-09-30 2021-01-08 北京搜狗科技发展有限公司 Expression recommendation method and device and electronic equipment
CN112308172B (en) * 2020-12-24 2022-04-01 北京达佳互联信息技术有限公司 Identification method and device and electronic equipment
CN113297359B (en) * 2021-04-23 2023-11-28 阿里巴巴新加坡控股有限公司 Method and device for information interaction
CN115190366B (en) * 2022-07-07 2024-03-29 北京字跳网络技术有限公司 Information display method, device, electronic equipment and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106570106A (en) * 2016-11-01 2017-04-19 北京百度网讯科技有限公司 Method and device for converting voice information into expression in input process
CN106648130A (en) * 2015-11-02 2017-05-10 天脉聚源(北京)科技有限公司 Emoticon input method and system
CN107070779A (en) * 2015-05-29 2017-08-18 北京搜狗科技发展有限公司 A kind of information processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102009049833A1 (en) * 2009-10-16 2011-04-21 Deutsche Telekom Ag Deletion of words or word components on a screen
CN104077035B (en) * 2013-03-25 2018-06-05 北京搜狗科技发展有限公司 The delet method and device of screen content are treated in a kind of input method
CN104834677A (en) * 2015-04-13 2015-08-12 苏州天趣信息科技有限公司 Facial expression image displaying method and apparatus based on attribute category, and terminal
US10846475B2 (en) * 2015-12-23 2020-11-24 Beijing Xinmei Hutong Technology Co., Ltd. Emoji input method and device thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070779A (en) * 2015-05-29 2017-08-18 北京搜狗科技发展有限公司 A kind of information processing method and device
CN106648130A (en) * 2015-11-02 2017-05-10 天脉聚源(北京)科技有限公司 Emoticon input method and system
CN106570106A (en) * 2016-11-01 2017-04-19 北京百度网讯科技有限公司 Method and device for converting voice information into expression in input process

Also Published As

Publication number Publication date
CN111046210A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN111046210B (en) Information recommendation method and device and electronic equipment
WO2018000585A1 (en) Interface theme recommendation method, apparatus, terminal and server
CN108038102B (en) Method and device for recommending expression image, terminal and storage medium
CN108227950B (en) Input method and device
CN108073606B (en) News recommendation method and device for news recommendation
CN109144285B (en) Input method and device
CN110147467A (en) A kind of generation method, device, mobile terminal and the storage medium of text description
CN111198620B (en) Method, device and equipment for presenting input candidate items
CN106815291B (en) Search result item display method and device and search result item display device
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN104268151B (en) contact person grouping method and device
CN107402767A (en) The method and apparatus for showing PUSH message
CN111831132A (en) Information recommendation method and device and electronic equipment
CN103970831B (en) Recommend the method and apparatus of icon
CN108241438B (en) Input method, input device and input device
CN106886541B (en) Data searching method and device for data searching
CN111796690B (en) Data processing method and device and electronic equipment
CN111240497A (en) Method and device for inputting through input method and electronic equipment
CN111984767A (en) Information recommendation method and device and electronic equipment
CN114239531A (en) Template recommendation method and device, electronic equipment and storage medium
CN112068793B (en) Voice input method and device
CN109144336B (en) Data processing method, device and equipment and readable storage medium
CN109558017B (en) Input method and device and electronic equipment
CN112036247A (en) Expression package character generation method and device and storage medium
CN113946228A (en) Statement recommendation method and device, electronic equipment and readable storage 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