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

Information recommendation method and device and electronic equipment Download PDF

Info

Publication number
CN111984767A
CN111984767A CN201910436506.XA CN201910436506A CN111984767A CN 111984767 A CN111984767 A CN 111984767A CN 201910436506 A CN201910436506 A CN 201910436506A CN 111984767 A CN111984767 A CN 111984767A
Authority
CN
China
Prior art keywords
information
interesting
reply information
expression style
general
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.)
Pending
Application number
CN201910436506.XA
Other languages
Chinese (zh)
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 CN201910436506.XA priority Critical patent/CN111984767A/en
Publication of CN111984767A publication Critical patent/CN111984767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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

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 interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user; carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; displaying the interesting reply information; because the interesting reply information is converted based on the expression style of the user, the requirement of the user for reply can be better met, and the user does not need to input word by word and worry about the information for reply; furthermore, the embodiment of the invention can improve the input efficiency.

Description

Information recommendation method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an information recommendation method and apparatus, and an electronic device.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are more and 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 (abbreviated as input method) so that a user can input information using the input method.
Along with the continuous perfection and intellectualization of the conventional functions of the input method, the user increasingly pays more attention to the expression diversification in the process of using the input method, so that the function of providing reply contents of different scenes for the user by the input method also comes up; such as the following scenarios are provided: "as star play call", "black powder", "tear play essence", "tear rumor", "love star", etc., wherein each scene includes a plurality of sentences (e.g. "as star play call" this scene includes sentences: every work expected "," gold star king, distant voyage "," military horse accompany you together | ", etc.) but not shown. When a user selects one scene, the input method randomly selects one sentence from all sentences corresponding to the scene to be displayed on the screen, but if the displayed information is not the information which the user wants to reply, the user needs to manually delete the displayed information and input the displayed information again, so that the input efficiency is low.
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 recommendation device and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problem, an embodiment of the present invention discloses an information recommendation method, which specifically includes: acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user; carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; and displaying the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: performing word segmentation processing on the general reply information, and determining a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: if the expression style accords with a set expression style, performing emotion analysis on the general reply information; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
Optionally, the expression style corresponding to the home terminal user is obtained through at least one of the following modes: determining an expression style corresponding to the home terminal user according to the input content; determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user; and determining the expression style corresponding to the home terminal user according to the current expression style mode.
Optionally, the expression style of the home terminal user includes one, the general reply information includes a plurality of information, and one general reply information corresponds to one interesting reply information; the displaying the interesting reply information comprises: and displaying the interesting reply information according to the candidate value of the interesting reply information.
Optionally, the displaying the interesting reply message includes: and displaying a plurality of interesting reply messages corresponding to the same general reply message on the same screen of the candidate bar.
Optionally, the determining the matched general reply information includes: generating a session request based on the interaction information, sending the session request to a server, and receiving general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
Optionally, the expression style of the home terminal user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
The embodiment of the invention also discloses an information recommendation device, which specifically comprises: the information determining module is used for acquiring interactive information of an opposite-end user, determining matched general reply information and acquiring an expression style corresponding to a local-end user; the information conversion module is used for carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; and the information display module is used for displaying the interesting reply information.
Optionally, the information conversion module includes: the first style conversion submodule is used for searching first mapping information based on the general reply information and the expression style and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
Optionally, the information conversion module includes: the second style conversion sub-module is used for performing word segmentation processing on the general reply information and determining a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
Optionally, the information conversion module includes: the third style conversion submodule is used for carrying out emotion analysis on the general reply information if the expression style accords with a set expression style; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
Optionally, the information determining module includes: the style determining submodule is used for determining an expression style corresponding to the home terminal user according to the input content; and/or determining the expression style corresponding to the local end user according to the associated information of the local end user; and/or determining the expression style corresponding to the home terminal user according to the current expression style mode.
Optionally, the expression style of the home terminal user includes one, the general reply information includes a plurality of information, one general reply information corresponds to one interesting reply information, and the information display module includes: and the first reply information display submodule is used for displaying the interesting reply information according to the candidate score of the interesting reply information.
Optionally, the information display module includes: and the second reply information display sub-module is used for displaying a plurality of interesting reply information corresponding to the same general reply information on the same screen of the candidate bar.
Optionally, the information determining module includes: the reply information determining submodule is used for generating a session request based on the interactive information, sending the session request to the server and receiving general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
Optionally, the expression style of the home terminal user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
The embodiment of the invention also discloses a readable storage medium, and when instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the information recommendation method in any one of the embodiments of the invention.
An embodiment of the present invention also discloses an electronic device, including a memory, and one or more programs, where 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 include instructions for: acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user; carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; and displaying the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: performing word segmentation processing on the general reply information, and determining a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: if the expression style accords with a set expression style, performing emotion analysis on the general reply information; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
Optionally, the expression style corresponding to the home terminal user is obtained through at least one of the following modes: determining an expression style corresponding to the home terminal user according to the input content; determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user; and determining the expression style corresponding to the home terminal user according to the current expression style mode.
Optionally, the expression style of the home terminal user includes one, the general reply information includes a plurality of information, and one general reply information corresponds to one interesting reply information; the displaying the interesting reply information comprises: and displaying the interesting reply information according to the candidate value of the interesting reply information.
Optionally, the displaying the interesting reply message includes: and displaying a plurality of interesting reply messages corresponding to the same general reply message on the same screen of the candidate bar.
Optionally, the determining the matched general reply information includes: generating a session request based on the interaction information, sending the session request to a server, and receiving general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
Optionally, the expression style of the home terminal user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, interactive information of an opposite-end user can be acquired, matched general reply information is determined, an expression style corresponding to a local-end user is acquired, expression style conversion is carried out on the general reply information according to the expression style to obtain interesting reply information, and then the interesting reply information is displayed; compared with the prior art, on one hand, in the process of selecting interesting reply information by a subsequent user, the interesting reply information can be selected according to the requirement of the user for screen-up, so that the problem that the user needs to manually delete the information because the random on-screen information does not meet the requirement of the user is avoided, on the other hand, the interesting reply information is converted based on the expression style of the user, the requirement of the user for reply can be better met, and the user does not need to input word by word and worry about the information for reply; furthermore, the embodiment of the invention can improve the input efficiency.
Drawings
FIG. 1 is a flow chart of the steps of an embodiment of a method for information recommendation of the present invention;
FIG. 2 is a flow chart of the steps of an alternative embodiment of an information recommendation method of the present invention;
FIG. 3 is a block diagram of an embodiment of an information recommendation device according to the present invention;
FIG. 4 is a block diagram of an alternative embodiment of an information recommendation device of the present invention;
FIG. 5 illustrates a block diagram of an electronic device for information recommendation, according to an example embodiment;
fig. 6 is a schematic structural diagram of an electronic device for information recommendation according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is that after the general reply information matched with the opposite-end information is generated, the expression style of the general reply information can be converted into the expression style corresponding to the local-end user, and interesting reply information is obtained and displayed; the subsequent user can reply the interesting reply information with the screen meeting the self requirement from the displayed interesting reply information, so that the complication that the user needs to manually delete the information because the random information on the screen does not meet the requirement of the user is avoided; the interesting reply information is converted based on the general reply information, so that the requirement of reply of a user can be met, and the information for reply does not need to be input word by word and carelessly carved by the user; thereby improving input efficiency.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of an information recommendation method according to the present invention is shown, which may specifically include the following steps:
and 102, acquiring interaction information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user.
And 104, converting the expression style of the general reply information according to the expression style to obtain interesting reply information.
And 106, displaying the interesting reply information.
In the embodiment of the invention, a user can enter a communication interface corresponding to a communication application according to the self requirement to communicate with other users, wherein the communication application can be an instant communication application such as social software or a short message application; correspondingly, the communication interface can be a chat window of an instant messaging application, and can also be an editing interface of a short message application. After entering a communication interface in the terminal device, the user can communicate with the opposite-end user, for example, the user can receive the opposite-end information and send back the reply information. In order to facilitate quick response of a user, after the input method acquires the interactive information of the opposite-end user, the input method can determine the general response information matched with the interactive information; the general reply information corresponding to the interaction information may be matched based on a pre-generated popular session model, where the general reply information may be determined by a client of an input method, or the general reply information may be determined by a server of the input method, which is not limited in this embodiment of the present invention.
Because the general reply information is matched based on a popular model and cannot meet the individual requirements of the user on the expression style, the embodiment of the invention can obtain the expression style corresponding to the home terminal user; the expression styles may include various types, such as dialects, e.g., tetrakawa dialect, northeast dialect, and the like, and also such as movies, e.g., conutus, and the like. In the embodiment of the present invention, the input method may obtain the expression style corresponding to the local user according to an expression style mode preset by the local user, and may also obtain the expression style corresponding to the local user according to information, associated information, and the like input by the local user, which is not limited in this embodiment of the present invention.
Then, according to the expression style corresponding to the home terminal user, carrying out expression style conversion on the general reply information to generate corresponding interesting reply information; the interesting reply information and the general reply information have the same expression content and different expression forms. For example, if the general reply information is 'just eaten', the expression style of the home terminal user is 'lovely sister', the expression style of the general reply information 'just eaten' is converted according to the expression style of 'lovely sister', and the generated corresponding interesting reply information is 'just finished'; for example, if the expression style of the home terminal user is "conutus", the general reply information "just eaten" is converted according to the expression style of "conutus", and the generated corresponding interesting reply information is "just eaten".
In the embodiment of the present invention, the obtained interesting reply information may be displayed, where the interesting reply information may be displayed in a display area of an input method, or the interesting reply information may be displayed in a display area specified by an application program, which is not limited in this embodiment of the present invention. And then the subsequent user can select interesting reply information from the display area to be displayed on the screen according to the requirement, and then sends the interesting reply information on the screen to reply the opposite end information sent by the opposite end user.
In an example of the present invention, during the process of the user a chatting with the user B in the communication application, the user a may obtain the interactive information with the user B, for example, the information sent by the user B: "is there available on weekends? "; then, the general reply information corresponding to the interactive information may be matched, for example, the two general reply information respectively include: "empty" and "empty"; and acquiring an expression style of the local user, such as 'cantonese', performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information, performing style conversion on the general reply information 'available' according to the expression style 'cantonese' to obtain interesting reply information 'free', and performing style conversion on the general reply information 'not available' according to the expression style 'cantonese' to obtain interesting reply information and 'oh free'. And then showing the interesting reply information such as 'free' and 'oh free', and the user A can select the interesting reply information to reply according to the requirement.
In another example of the present invention, during the process of the user C chatting with the user D in the communication application, the user C may obtain the interactive information with the user D, for example, the information sent by the user D: "if you want to say with me a message is a good message or a bad message". Then, the general reply information corresponding to the opposite-end information, such as 'good message' can be matched; and obtaining the expression style of the end user, such as Coconutus conutus and 'literary expression', then performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information, and performing expression style conversion on the general reply information 'good message' according to the expression style 'Coconutus' to obtain interesting reply information 'natural good message', and performing expression style conversion on the general reply information 'good message' according to the expression style 'literary expression' to obtain interesting reply information and 'good message'. Then, the interesting reply information such as 'natural excellent message' and 'good news' is displayed, and the user C can select the interesting reply information to reply according to the requirement.
In summary, in the embodiment of the present invention, interactive information with an opposite-end user may be obtained, matched general reply information may be determined, an expression style corresponding to a home-end user may be obtained, expression style conversion may be performed on the general reply information according to the expression style to obtain interesting reply information, and then the interesting reply information may be displayed; compared with the prior art, on one hand, in the process of selecting interesting reply information by a subsequent user, the interesting reply information can be selected according to the requirement of the user to be displayed on the screen, so that the problem that the user needs to manually delete the information because the random displayed information does not meet the requirement of the user is avoided, on the other hand, the interesting reply information is converted based on the expression style of the user, the requirement of the user for reply can be better met, and the user does not need to input word by word and worry about the information for reply; furthermore, the embodiment of the invention can improve the input efficiency.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of the information recommendation method of the present invention is shown, which may specifically include the following steps:
step 202, obtaining the interaction information with the opposite-end user and determining the matched general reply information.
In the embodiment of the invention, a user can adopt instant messaging application and short message application to carry out information interaction, and in the interaction process, terminal equipment can acquire the interaction information with an opposite-end user, wherein the exchange information can comprise opposite-end information and home-end information of the opposite-end user. If the chat scene is a single user chat scene, the information to be replied in the message of the opposite-end user can be called as opposite-end information; if the chat scene is a group chat scene, the information to be replied related to the user in the message of the opposite-end user can be called as opposite-end information, and the opposite-end user can be other users except the local-end user in the group.
In an example of the present invention, a manner of determining the general reply information may be that a server of the input method performs matching, so that a client of the input method may generate a session request based on the interaction information, send the session request to the server, and receive the general reply information returned by the server. The client may generate a corresponding session request according to the interaction information, or may generate a corresponding session request according to the interaction information, the association information of the local information, and the like, which is not limited in the embodiment of the present invention; and the session request is used for indicating the server to determine the general reply information. And then the client side can send the session request to the server side, after receiving the session request, the server side can match at least one piece of general reply information for the interaction information in the session request according to the session model and return the information to the client side, and then the client side can obtain the general reply information corresponding to the opposite-end information.
In another example of the present invention, another way of determining the general reply information may be that the client of the input method performs matching, so that the client of the input method may match the corresponding general reply information for the interactive information based on the session model; the session model may be obtained by the client from the server in advance.
And 204, acquiring an expression style corresponding to the home terminal user.
In an example of the present invention, the input method may provide a plurality of expression style modes, such as a hot sentence type mode, e.g., "soft lovely sister mode", "half of month mode", etc., a mixed language type mode, e.g., "chinese-english mixed mode", "chinese-japanese mixed mode", etc., a dialect type mode, e.g., "tetragon mode", "northeast dialect mode", "cantonese mode", etc., and a movie and television type mode, e.g., "conquer and conquer type mode", "langer type mode", "movie translator mode", etc.; there are, of course, other types of modes, such as the modes of the literature class, and the like, which are not limited in this respect by the embodiments of the present invention. The home terminal user can preset corresponding expression style modes according to own requirements, wherein the user can set the same expression style modes for all opposite terminal users and can also set different expression style modes for different opposite terminal users; in addition, the user can set one expression style mode at a time, can also set multiple expression style modes, and can specifically set according to requirements. Correspondingly, the expression style of the local end user can also comprise at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class; of course, other categories such as literature categories may also be included, and the embodiments of the present invention are not limited thereto. Therefore, in an example of the present invention, a manner of obtaining the expression style corresponding to the home terminal user may be to determine the expression style corresponding to the home terminal user according to the current expression style mode. Each expression style mode has a corresponding expression style, such as an expression style mode of 'soft sister mode', a corresponding expression style of 'soft sister', a corresponding expression style of 'Sichuan dialect mode', a corresponding expression style of 'Sichuan dialect', and the like.
Certainly, the home terminal user does not need to set an expression mode in advance, and the input method can acquire information related to the home terminal user, such as input content, associated information of the home terminal user and the like, and determine an expression style corresponding to the home terminal user; wherein:
in another example of the present invention, one way to obtain the expression style corresponding to the home terminal user may be to determine the expression style corresponding to the home terminal user according to the input content. The input content may include the interaction information acquired this time and the interaction information acquired historically, and then the input content may be analyzed to determine the expression style corresponding to the home terminal user; for example, the input content includes "aie", i do not like this "," i like meat "," i is afraid of o ", and it can be determined that the expression style corresponding to the home terminal user is" soft lovely sister ".
In another example of the present invention, a manner of obtaining the flavor expression style corresponding to the home terminal user may be to determine the expression style corresponding to the home terminal user according to the associated information of the home terminal user. The method includes obtaining relevant information of a home terminal user from other application programs, for example, obtaining a drama frequently watched by the home terminal user from a video application, for example, the user frequently watches a drama "conutleaf biography", determining that the type of the expression style corresponding to the home terminal user is a movie and the corresponding expression style is a conutleaf, obtaining the type of the public number concerned by the home terminal user from a social platform, for example, the type of the public number concerned by the home terminal user is a hum, determining that the type of the expression style of the home terminal user is a hotspot period, and the corresponding expression style is a hotspot period, and the like.
In addition, the expression styles adopted by the local end user for different users may be different, for example, the opposite end user is a friend of the local end user, the local end user may adopt an expression style of a hotspot formula, the opposite end user is a relative of the local end user, the local end user may adopt an expression style of a dialect formula, and the like. Therefore, in an example of the present invention, the association relationship between the peer user and the home user may also be obtained from the current communication application, and the association relationship is used as the association information. The association relationship between the home terminal user and the opposite terminal user can be determined according to the chat records of the home terminal user and the opposite terminal user, remarks of the home terminal user to the opposite terminal user, grouping and the like.
In the embodiment of the present invention, the implementation manner of converting the expression style of the general reply information according to the expression style to obtain the interesting reply information may include multiple manners, wherein one implementation manner may refer to step 206:
step 206, searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
In an example of the present invention, information with interesting expression styles may be obtained from the input content of the users in the whole network and from various platforms, such as social platforms, forums, and the like in advance, and these information with interesting expression styles may be referred to as interesting reply information; then, general reply information can be obtained from a session model, interesting reply information with the same content as the general reply information is determined for each general reply information, first mapping information is established according to the relationship among the general reply information, the corresponding interesting reply information and the expression style corresponding to the interesting reply information, and the first mapping information and the interesting reply information are stored in a database. And then after acquiring the expression style and the general reply information corresponding to the home terminal user, acquiring first mapping information from a database, searching the first mapping information based on the general reply information and the expression style of the home terminal user, and determining corresponding interesting reply information.
In another example of the present invention, another implementation manner of converting the expression style of the general reply information according to the expression style to obtain the interesting reply information may include steps 208 to 212:
And 208, performing word segmentation processing on the general reply information, and determining a corresponding general keyword.
Step 210, searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords.
And 212, replacing the general keywords in the general reply information with corresponding interesting keywords to obtain interesting reply information.
In an example of the present invention, after determining interesting reply information expressing the same content as the general reply information for each general reply information, word segmentation processing may be performed for the general reply information and the interesting reply information, respectively, to determine corresponding general keywords and interesting keywords; second mapping information among the general keywords, the interesting keywords and the expression styles corresponding to the interesting keywords can be established, and the second mapping information and the interesting reply information are stored in a database. After the general reply information is determined, natural language processing can be carried out on the general reply information, for example, word segmentation processing can be carried out on the general reply information, so that corresponding word segmentation fragments can be obtained, and then the keywords of the general reply information can be determined according to the word segmentation fragments; and then searching a second mapping relation according to the expression style of the home terminal user and the general keywords, determining corresponding interesting keywords, and replacing the keywords in the general reply information with the interesting keywords to obtain interesting reply information. For example, the general reply information is 'just eaten', the expression style of the local end user is 'soft younger sister', natural language processing is carried out on 'just eaten' to obtain general keywords 'eaten', then interesting keywords such as 'times' matched with the expression style 'soft younger sister' of the local end user are searched based on 'eaten', then 'times' are adopted to replace 'eaten', and interesting reply information 'just finished' is obtained; for another example, if the expression style of the home terminal user is "Chinese-English mixing", an interesting keyword such as "eat" matched with the expression style of the home terminal user "Chinese-English mixing" is searched based on "eat", then "eat" is used to replace "eat", and an interesting reply message "just eat completed" is obtained, and the like.
In another example of the present invention, another implementation manner of converting the expression style of the general reply message according to the expression style to obtain the interesting reply message may include steps 214 to 216:
and 214, if the expression style accords with a set expression style, performing emotion analysis on the general reply information.
And step 216, adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
In an example of the present invention, if it is determined that the expression style corresponding to the local user meets the set expression style, emotion analysis may be performed on the general reply information, and then the general reply information is adjusted according to an emotion analysis result to obtain interesting reply information, for example, corresponding emotion information is added to the general reply information, where the emotion information may be information for expressing the emotion of the user, such as words, characters, and pictures. The set expression style can be set according to the requirements of users, such as a 'soft lovely sister' expression style; for example, if the general reply information is "no fun", the expression style of the home subscriber is "soft budding sister", the emotional analysis can be performed on the general reply information "no fun", the result of the emotional analysis is "difficult", at this time, the corresponding characters "difficult" へ "can be added after the general reply information, and the interesting reply information is" no fun "へ".
Of course, the obtaining of the interesting reply information by performing expression style conversion on the general reply information according to the expression style may also include other implementation manners, which is not limited in the embodiment of the present invention.
In an optional embodiment of the present invention, the expression style of the general reply information may be converted into an expression style corresponding to a home terminal user to obtain interesting reply information, or the expression style of the general reply information may be converted into another expression style similar to the expression style corresponding to the home terminal user to obtain corresponding interesting reply information, which is not limited in this embodiment of the present invention.
And step 218, displaying the interesting reply information.
In the embodiment of the present invention, the expression style of the home terminal user may include one, and the plurality of corresponding general reply messages may be one, and one corresponding general reply message may correspond to one interesting reply message; therefore, in the process of showing the interesting reply information, the interesting reply information can be shown according to the candidate score of the interesting reply information (namely the candidate score corresponding to the general reply information), for example, the interesting reply information can be shown from high to low according to the candidate score. For example, the expression style of the local user is 'soft lovely sister', and the general reply information comprises 'just eaten', 'eating now' and 'eaten early'; wherein the general reply information 'just eaten' corresponds to one interesting reply information 'just eaten', the general reply information 'eating' corresponds to one interesting reply information 'eating (| v |)', and the general reply information 'eaten' corresponds to one interesting reply information 'early eaten and stuttered'; wherein, the candidate scores corresponding to the three interesting reply messages are respectively: 0.8, 0.3, 0.5; thus, "just finished", "stuttered", "eating (|) in turn may be shown in the candidate columns.
Certainly, in the embodiment of the present invention, the expression style of the home terminal user may include a plurality of expression styles, and the general reply information may include a plurality of expression styles, and correspondingly, one general reply information corresponds to a plurality of interesting reply information; therefore, in the process of displaying the interesting reply information, a plurality of interesting reply information corresponding to the same general reply information can be displayed on the same screen of the candidate bar. For example, the expression styles of the home terminal user include "soft lovely sister", "chinese english-chinese hybrid" and "conutus", and the general reply information includes "just eaten", "eating" and "eaten early"; wherein, converting the general reply information 'just eaten' into the interesting reply information corresponding to the expression style 'soft budding sister', converting the general reply information 'just eaten' into the interesting reply information corresponding to the expression style 'Chinese-English mixed', which can be 'just eaten', converting the general reply information 'just eaten' into the interesting reply information corresponding to the expression style 'Coconga', which can be 'just eaten'; then, the interesting reply information 'just finished', 'just eat finished' and 'just finished eating' corresponding to the general reply information 'just eaten' can be displayed on the first screen of the candidate bar, then the interesting reply information corresponding to the general reply information 'eating' is displayed on the next screen of the candidate bar, and the like. And determining to display a plurality of interesting reply messages corresponding to the general reply message on a screen according to the candidate scores corresponding to the general reply message.
Of course, each general reply information may be converted into interesting reply information corresponding to different expression styles, for example, the expression styles include "soft young sister", "chinese-english mixed" and "coconut", the general reply information includes "just eaten", "eating" and "early eaten", the general reply information "just eaten" is converted into interesting reply information corresponding to the expression style "soft young sister", such as "just end", the general reply information "eating" is converted into interesting reply information corresponding to the expression style "chinese-english mixed", such as "eating", and the general reply information "early eaten" is converted into interesting reply information corresponding to the expression style "coconut transmission", such as "early eaten"; the embodiment of the present invention does not limit this, and in addition, which general reply message is converted into which interesting reply message corresponding to which expression style can be set as required.
In an optional embodiment of the invention, after the interesting reply information is displayed, the user can select the corresponding interesting reply information from the displayed interesting reply information according to the requirement of the user to reply; after a user executes the screen-up operation, a screen-up instruction corresponding to the screen-up operation can be received, and interesting reply information corresponding to the screen-up instruction is displayed.
In summary, in the embodiment of the present invention, interactive information of an opposite-end user can be obtained, matched general reply information can be determined, an expression style corresponding to a home-end user can be obtained, expression style conversion is performed on the general reply information according to the expression style to obtain interesting reply information, and then the interesting reply information is displayed; compared with the prior art, on one hand, in the process of selecting interesting reply information by a subsequent user, the interesting reply information can be selected according to the requirement of the user for screen-up, so that the problem that the user needs to manually delete the information because the random on-screen information does not meet the requirement of the user is avoided, on the other hand, the interesting reply information is converted based on the expression style of the user, the requirement of the user for reply can be better met, and the user does not need to input word by word and carelessly cut the information for reply; furthermore, the embodiment of the invention can improve the input efficiency.
Secondly, mapping information can be obtained in the embodiment of the invention, wherein the mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information; searching mapping information according to the general reply information and the expression style, and determining corresponding interesting reply information; and then can confirm the interest reply information fast, further raised the input efficiency.
Thirdly, in the embodiment of the present invention, the expression style corresponding to the home terminal user may be obtained through at least one of the following manners: determining an expression style corresponding to the home terminal user according to the input content; determining an expression style corresponding to a home terminal user according to the incidence relation between an opposite terminal user and the home terminal user; determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user; and determining the expression style corresponding to the home terminal user according to the current expression style mode. And then the expression style corresponding to the home terminal user can be accurately determined, so that the generated interesting reply information can better meet the user requirements, the possibility of re-output of the user is reduced, and the input efficiency is further improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of an embodiment of an information recommendation apparatus according to the present invention is shown, which may specifically include the following modules:
the information determining module 302 is configured to obtain interaction information of an opposite-end user, determine matched general reply information, and obtain an expression style corresponding to a home-end user;
the information conversion module 304 is configured to perform expression style conversion on the general reply information according to the expression style to obtain interesting reply information;
and an information display module 306, configured to display the interesting reply information.
Referring to fig. 4, a block diagram of an alternative embodiment of an information recommendation device of the present invention is shown.
In an optional embodiment of the present invention, the information conversion module 304 includes:
a first style conversion sub-module 3042, configured to search for first mapping information based on the general reply information and the expression style, and determine corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
In an optional embodiment of the present invention, the information conversion module 304 includes:
a second style conversion sub-module 3044, configured to perform word segmentation processing on the general reply information, and determine a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
In an optional embodiment of the present invention, the information conversion module 304 includes:
a third style conversion submodule 3046, configured to perform emotion analysis on the general reply information if the expression style meets a set expression style; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
In an optional embodiment of the present invention, the information determining module 302 includes:
a style determining submodule 3022, configured to determine an expression style corresponding to the home terminal user according to the input content; and/or determining the expression style corresponding to the local end user according to the associated information of the local end user; and/or determining the expression style corresponding to the home terminal user according to the current expression style mode.
In an optional embodiment of the present invention, the expression style of the local user includes one, the general reply information includes a plurality of general reply information, one general reply information corresponds to one interesting reply information, and the information displaying module 306 includes:
the first reply information displaying sub-module 3062 is configured to display the interesting reply information according to the candidate score of the interesting reply information.
In an optional embodiment of the present invention, the information displaying module 306 includes:
the second reply information displaying sub-module 3064 is configured to display a plurality of interesting reply information corresponding to the same general reply information on the same screen of the candidate bar.
In an optional embodiment of the present invention, the information determining module 302 includes:
the reply information determining submodule 3024 is configured to generate a session request based on the interaction information, send the session request to the server, and receive general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
In an optional embodiment of the present invention, the expression style of the local user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
In summary, in the embodiment of the present invention, interactive information with an opposite-end user may be obtained, matched general reply information may be determined, an expression style corresponding to a home-end user may be obtained, expression style conversion may be performed on the general reply information according to the expression style to obtain interesting reply information, and then the interesting reply information may be displayed; compared with the prior art, on one hand, in the process of selecting interesting reply information by a subsequent user, the interesting reply information can be selected according to the requirement of the user for screen-up, so that the problem that the user needs to manually delete the information because the random on-screen information does not meet the requirement of the user is avoided, on the other hand, the interesting reply information is converted based on the expression style of the user, the requirement of the user for reply can be better met, and the user does not need to input word by word and worry about the information for reply; furthermore, the embodiment of the invention can improve the input efficiency.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Fig. 5 is a block diagram illustrating an electronic device 500 for information recommendation according to an example embodiment. For example, the electronic device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, electronic device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the electronic device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 506 provides power to the various components of the electronic device 500. Power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 500.
The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of components, such as a display and keypad of the electronic device 500, the sensor assembly 514 may detect a change in the position of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, orientation or acceleration/deceleration of the electronic device 500, and a change in the temperature of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 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 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication section 514 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 514 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 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the electronic device 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a method of information recommendation, the method comprising: acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user; carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; and displaying the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: performing word segmentation processing on the general reply information, and determining a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: if the expression style accords with a set expression style, performing emotion analysis on the general reply information; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
Optionally, the expression style corresponding to the home terminal user is obtained through at least one of the following modes: determining an expression style corresponding to the home terminal user according to the input content; determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user; and determining the expression style corresponding to the home terminal user according to the current expression style mode.
Optionally, the expression style of the home terminal user includes one, the general reply information includes a plurality of information, and one general reply information corresponds to one interesting reply information; the displaying the interesting reply information comprises: and displaying the interesting reply information according to the candidate value of the interesting reply information.
Optionally, the displaying the interesting reply message includes: and displaying a plurality of interesting reply messages corresponding to the same general reply message on the same screen of the candidate bar.
Optionally, the determining the matched general reply information includes: generating a session request based on the interaction information, sending the session request to a server, and receiving general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
Optionally, the expression style of the home terminal user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
Fig. 6 is a schematic structural diagram of an electronic device 600 for information recommendation according to another exemplary embodiment of the present invention. The electronic device 600 may be a server, which may vary greatly due to different configurations or capabilities, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 to execute a series of instruction operations in the storage medium 630 on the server.
The server may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
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 including instructions for: acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user; carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information; and displaying the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: performing word segmentation processing on the general reply information, and determining a corresponding general keyword; searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords; and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
Optionally, the performing expression style conversion on the general reply information according to the expression style to obtain interesting reply information includes: if the expression style accords with a set expression style, performing emotion analysis on the general reply information; and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
Optionally, the expression style corresponding to the home terminal user is obtained through at least one of the following modes: determining an expression style corresponding to the home terminal user according to the input content; determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user; and determining the expression style corresponding to the home terminal user according to the current expression style mode.
Optionally, the expression style of the home terminal user includes one, the general reply information includes a plurality of information, and one general reply information corresponds to one interesting reply information; the displaying the interesting reply information comprises: and displaying the interesting reply information according to the candidate value of the interesting reply information.
Optionally, the displaying the interesting reply message includes: and displaying a plurality of interesting reply messages corresponding to the same general reply message on the same screen of the candidate bar.
Optionally, the determining the matched general reply information includes: generating a session request based on the interaction information, sending the session request to a server, and receiving general reply information returned by the server; and/or matching corresponding general reply information for the interaction information based on a session model.
Optionally, the expression style of the home terminal user includes at least one of the following types: dialect class, movie and television class, language mixed class and hot spot sentence pattern class.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The information recommendation method, the information recommendation device and the electronic device provided by the invention are described in detail, and specific examples are applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An information recommendation method, comprising:
acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user;
carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information;
and displaying the interesting reply information.
2. The method of claim 1, wherein the converting the expression style of the general reply message according to the expression style to obtain an interesting reply message comprises:
searching first mapping information based on the general reply information and the expression style, and determining corresponding interesting reply information; the first mapping information comprises the relationship among the expression style, the general reply information and the interesting reply information.
3. The method of claim 1, wherein the converting the expression style of the general reply message according to the expression style to obtain an interesting reply message comprises:
performing word segmentation processing on the general reply information, and determining a corresponding general keyword;
searching a second mapping relation based on the expression style and the general keywords, and determining corresponding interesting keywords, wherein the second mapping information comprises the relations among the expression style, the general keywords and the interesting keywords;
and replacing the general keywords in the general reply information with the corresponding interesting keywords to obtain interesting reply information.
4. The method of claim 1, wherein the converting the expression style of the general reply message according to the expression style to obtain an interesting reply message comprises:
if the expression style accords with a set expression style, performing emotion analysis on the general reply information;
and adding corresponding emotion information in the general reply information according to the emotion analysis result to obtain interesting reply information.
5. The method according to claim 1, wherein the expression style corresponding to the home terminal user is obtained by at least one of the following methods:
Determining an expression style corresponding to the home terminal user according to the input content;
determining an expression style corresponding to the home terminal user according to the associated information of the home terminal user;
and determining the expression style corresponding to the home terminal user according to the current expression style mode.
6. The method according to claim 1, wherein the expression style of the local user includes one, the universal reply message includes a plurality of messages, and one universal reply message corresponds to one interesting reply message;
the displaying the interesting reply information comprises:
and displaying the interesting reply information according to the candidate value of the interesting reply information.
7. The method of claim 1, wherein said presenting said interesting reply message comprises:
and displaying a plurality of interesting reply messages corresponding to the same general reply message on the same screen of the candidate bar.
8. An information recommendation apparatus, comprising:
the information determining module is used for acquiring interactive information of an opposite-end user, determining matched general reply information and acquiring an expression style corresponding to a local-end user;
the information conversion module is used for carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information;
And the information display module is used for displaying the interesting reply information.
9. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method of any of method claims 1-7.
10. 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 including instructions for:
acquiring interactive information of an opposite-end user, determining matched general reply information, and acquiring an expression style corresponding to a local-end user;
carrying out expression style conversion on the general reply information according to the expression style to obtain interesting reply information;
and displaying the interesting reply information.
CN201910436506.XA 2019-05-23 2019-05-23 Information recommendation method and device and electronic equipment Pending CN111984767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910436506.XA CN111984767A (en) 2019-05-23 2019-05-23 Information recommendation method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910436506.XA CN111984767A (en) 2019-05-23 2019-05-23 Information recommendation method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111984767A true CN111984767A (en) 2020-11-24

Family

ID=73437182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910436506.XA Pending CN111984767A (en) 2019-05-23 2019-05-23 Information recommendation method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111984767A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818108A (en) * 2021-02-24 2021-05-18 中国人民大学 Text semantic misinterpretation chat robot based on form-word and proximity-word and data processing method thereof
CN114117034A (en) * 2021-11-08 2022-03-01 北京博瑞彤芸科技股份有限公司 Method and device for pushing texts of different styles based on intelligent model

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750705A (en) * 2013-12-27 2015-07-01 华为技术有限公司 Information returning method and device
WO2015102125A1 (en) * 2013-12-31 2015-07-09 엘지전자 주식회사 Text message conversation system and method
CN107784045A (en) * 2016-08-31 2018-03-09 北京搜狗科技发展有限公司 A kind of quickly revert method and apparatus, a kind of device for quickly revert
CN107807734A (en) * 2017-09-27 2018-03-16 北京光年无限科技有限公司 A kind of interaction output intent and system for intelligent robot
CN107861961A (en) * 2016-11-14 2018-03-30 平安科技(深圳)有限公司 Dialog information generation method and device
CN108021572A (en) * 2016-11-02 2018-05-11 腾讯科技(深圳)有限公司 Return information recommends method and apparatus
CN108062168A (en) * 2016-11-09 2018-05-22 北京搜狗科技发展有限公司 Shield method, apparatus and the device shielded in candidate word in a kind of candidate word
CN108121799A (en) * 2017-12-21 2018-06-05 广东欧珀移动通信有限公司 Recommendation method, apparatus, storage medium and the mobile terminal of revert statement
CN108664336A (en) * 2017-04-01 2018-10-16 北京搜狗科技发展有限公司 Recommend method and apparatus, the device for recommendation

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750705A (en) * 2013-12-27 2015-07-01 华为技术有限公司 Information returning method and device
WO2015102125A1 (en) * 2013-12-31 2015-07-09 엘지전자 주식회사 Text message conversation system and method
CN107784045A (en) * 2016-08-31 2018-03-09 北京搜狗科技发展有限公司 A kind of quickly revert method and apparatus, a kind of device for quickly revert
CN108021572A (en) * 2016-11-02 2018-05-11 腾讯科技(深圳)有限公司 Return information recommends method and apparatus
CN108062168A (en) * 2016-11-09 2018-05-22 北京搜狗科技发展有限公司 Shield method, apparatus and the device shielded in candidate word in a kind of candidate word
CN107861961A (en) * 2016-11-14 2018-03-30 平安科技(深圳)有限公司 Dialog information generation method and device
CN108664336A (en) * 2017-04-01 2018-10-16 北京搜狗科技发展有限公司 Recommend method and apparatus, the device for recommendation
CN107807734A (en) * 2017-09-27 2018-03-16 北京光年无限科技有限公司 A kind of interaction output intent and system for intelligent robot
CN108121799A (en) * 2017-12-21 2018-06-05 广东欧珀移动通信有限公司 Recommendation method, apparatus, storage medium and the mobile terminal of revert statement

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818108A (en) * 2021-02-24 2021-05-18 中国人民大学 Text semantic misinterpretation chat robot based on form-word and proximity-word and data processing method thereof
CN112818108B (en) * 2021-02-24 2023-10-13 中国人民大学 Text semantic misinterpretation chat robot based on shape and near words and data processing method thereof
CN114117034A (en) * 2021-11-08 2022-03-01 北京博瑞彤芸科技股份有限公司 Method and device for pushing texts of different styles based on intelligent model
CN114117034B (en) * 2021-11-08 2022-08-26 北京博瑞彤芸科技股份有限公司 Method and device for pushing texts of different styles based on intelligent model

Similar Documents

Publication Publication Date Title
US20210314639A1 (en) Method and apparatus for recommending live streaming room
CN108668176B (en) Bullet screen display method and device
CN107644646B (en) Voice processing method and device for voice processing
CN108038102B (en) Method and device for recommending expression image, terminal and storage medium
CN107784045B (en) Quick reply method and device for quick reply
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN112291614A (en) Video generation method and device
CN113010698A (en) Multimedia interaction method, information interaction method, device, equipment and medium
CN111046210A (en) Information recommendation method and device and electronic equipment
CN112532931A (en) Video processing method and device and electronic equipment
CN111797262A (en) Poetry generation method and device, electronic equipment and storage medium
CN111984767A (en) Information recommendation method and device and electronic equipment
CN112445906A (en) Method and device for generating reply message
CN106447747B (en) Image processing method and device
CN110633391A (en) Information searching method and device
CN112631435A (en) Input method, device, equipment and storage medium
CN110895558B (en) Dialogue reply method and related device
CN111831132A (en) Information recommendation method and device and electronic equipment
CN112988956A (en) Method and device for automatically generating conversation and method and device for detecting information recommendation effect
CN107330016B (en) Method, apparatus and storage medium for setting user information
CN111158838B (en) Information processing method and device
CN111339263A (en) Information recommendation method and device and electronic equipment
CN113778301A (en) Emotion interaction method based on content service and electronic equipment
CN109144336B (en) Data processing method, device and equipment and readable storage medium
CN111178086A (en) Data processing method, apparatus and 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