CN111162994B - Information prompting method, electronic equipment and storage medium - Google Patents

Information prompting method, electronic equipment and storage medium Download PDF

Info

Publication number
CN111162994B
CN111162994B CN201911365873.1A CN201911365873A CN111162994B CN 111162994 B CN111162994 B CN 111162994B CN 201911365873 A CN201911365873 A CN 201911365873A CN 111162994 B CN111162994 B CN 111162994B
Authority
CN
China
Prior art keywords
information
chat
implicit
user
database
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
CN201911365873.1A
Other languages
Chinese (zh)
Other versions
CN111162994A (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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201911365873.1A priority Critical patent/CN111162994B/en
Publication of CN111162994A publication Critical patent/CN111162994A/en
Application granted granted Critical
Publication of CN111162994B publication Critical patent/CN111162994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • G10L25/63Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for estimating an emotional state
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Abstract

The application provides an information prompting method, electronic equipment and a storage medium, wherein the method comprises the following steps: and acquiring first information of the chat content, judging hidden information of the first information according to preset rules, and outputting prompt information of the first information according to the hidden information. According to the embodiment of the application, through judging the implicit information of the first information in the chat content according to the preset rule and outputting the prompt information of the first information according to the implicit information, the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.

Description

Information prompting method, electronic equipment and storage medium
Technical Field
The present invention relates to the field of intelligent devices, and in particular, to an information prompting method, an electronic device, and a storage medium.
Background
With the development of science and technology, networks have become a part of life of people, and especially online chatting has become a normal state in life. For example, chat is performed using chat Applications (APP) in various mobile phones and computers. However, the chat content of the various chat APP is the content input by the user or input by the receiving party, and the two users communicating with each other may have misunderstanding on the true meaning expressed by the party due to factors such as language, thinking mode, living environment and the like.
Existing translation techniques translate only literally between different languages, such as: translation among Chinese, english, japanese, chinese and the like realizes smooth communication among users using different languages.
However, in the prior art, other information hidden behind literal meaning cannot be translated for the same language.
Disclosure of Invention
The application provides an information prompting method, electronic equipment and a storage medium, which are used for realizing intelligent translation of implicit meanings in chat contents and enhancing user experience.
In a first aspect, an embodiment of the present application provides an information prompting method, including:
Acquiring first information of chat content;
judging implicit information of the first information according to a preset rule;
and outputting prompt information of the first information according to the implicit information.
According to the embodiment of the application, through judging the implicit information of the first information in the chat content according to the preset rule and outputting the prompt information of the first information according to the implicit information, the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.
In one possible implementation manner, determining the implicit information of the first information according to the preset rule includes:
extracting keywords in the first information; and determining implicit information of the first information according to the keywords.
According to the embodiment of the application, the keyword of the first information is extracted, and the hidden information of the first information is determined according to the keyword, so that the determination efficiency of the hidden information of the first information can be improved.
In one possible embodiment, the keywords include at least one of the following:
Behavior, location, dining, news, shopping, traffic;
the prompt information comprises at least one of the following:
text, links, push messages, voice, vibration, pictures, video.
In one possible implementation manner, determining the implicit information of the first information according to the preset rule includes:
Obtaining a commonly used term database of chat objects;
And determining implicit information of the first information according to the first information and a common term database of the chat object.
In the embodiment of the application, the implicit information of the first information can be determined through the commonly used term database of the chat object, so that the accuracy of determining the implicit information of the first information is improved.
In one possible implementation, determining implicit information of the first information according to the first information and a commonly used term database of chat objects includes:
determining at least one implicit information of the first information in a commonly used term database of the chat object;
determining identity relation among chat objects and current emotion of the chat objects through the first information;
and determining implicit information of the first information in the at least one implicit information through the identity relation and the current emotion.
In a possible implementation manner, the information prompting method provided by the embodiment of the application further includes:
performing character test on the chat object to determine character test results of the chat object;
And matching the idiomatic database of the chat object in at least one idiomatic database according to the idiomatic test result of the chat object.
Optionally, after the character test result of the chat object is passed, matching the idiomatic database of the chat object in the at least one idiomatic database, the method further includes:
the commonly used phrase database of the chat object is tested to update the commonly used phrase database of the chat object.
In a possible implementation manner, the information prompting method provided by the embodiment of the application further includes:
The prompt information of the chat content is displayed in a font and/or color different from that of the chat content.
In a possible implementation manner, the information prompting method provided by the embodiment of the present application further includes, before determining the implicit information of the first information according to the preset rule:
And receiving user operation, wherein the user operation is used for indicating to start the intelligent translation mode.
Optionally, before receiving the user operation, the method further includes:
pushing a selection message, wherein the selection message is used for prompting whether to start the intelligent translation mode.
In a second aspect, an embodiment of the present application provides an information prompting method, including:
Acquiring first information of chat content;
determining prompt information of the first information according to the first information;
Presenting the prompt information of the first information.
In the embodiment of the application, the information prompt of the chat object is realized by acquiring the first information of the chat content, determining the prompt information of the first information according to the first information and then presenting the prompt information of the first information.
In one possible implementation, presenting the prompt for the first information includes:
displaying prompt information of the first information on a chat interface of the first information by adopting fonts and/or colors different from those of the first information;
Or alternatively, the first and second heat exchangers may be,
And (3) pushing the message, and/or vibrating, and/or voice broadcasting, and/or changing the temperature to present the prompt information of the first information.
The information presenting apparatus, the electronic device, the computer readable storage medium, and the computer program product provided by the embodiments of the present application are described below, and the content and effects thereof may refer to the first aspect or the optional manner of the first aspect, or the second aspect or the optional manner of the second aspect, which are not described herein.
In a third aspect, an embodiment of the present application provides an information presentation apparatus, including:
the first acquisition module is used for acquiring first information of chat content;
the first processing module is used for judging the implicit information of the first information according to preset rules and outputting prompt information of the first information according to the implicit information.
Optionally, the first processing module is specifically configured to:
extracting keywords in the first information;
And determining implicit information of the first information according to the keywords.
Optionally, the keywords include at least one of:
Behavior, location, dining, news, shopping, traffic;
the prompt information comprises at least one of the following:
text, links, push messages, voice, vibration, pictures, video.
Optionally, the first processing module is specifically configured to:
Obtaining a commonly used term database of chat objects;
And determining implicit information of the first information according to the first information and a common term database of the chat object.
Optionally, the first processing module is specifically configured to include:
determining at least one implicit information of the first information in a commonly used term database of the chat object;
determining identity relation among chat objects and current emotion of the chat objects through the first information;
and determining implicit information of the first information in the at least one implicit information through the identity relation and the current emotion.
Optionally, the first processing module is further configured to:
performing character test on the chat object to determine character test results of the chat object;
And matching the idiomatic database of the chat object in at least one idiomatic database according to the idiomatic test result of the chat object.
In a fourth aspect, an embodiment of the present application provides an information presentation apparatus, including:
The second acquisition module is used for acquiring the first information of the chat content;
The second processing module is used for determining prompt information of the first information according to the first information; presenting the prompt information of the first information.
Optionally, the second determining module is specifically configured to:
displaying prompt information of the first information on a chat interface of the first information by adopting fonts and/or colors different from those of the first information;
Or alternatively, the first and second heat exchangers may be,
And (3) pushing the message, and/or vibrating, and/or voice broadcasting, and/or changing the temperature to present the prompt information of the first information.
In a fifth aspect, an embodiment of the present invention provides a server, including:
A processor;
a memory; and
A computer program;
Wherein the computer program is stored in a memory and configured to be executed by a processor, the computer program comprising instructions for performing the alternative information prompting method as the first aspect and the alternatives of the first aspect, or for performing the alternative information prompting method as the second aspect and the alternatives of the second aspect.
In a sixth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program, where the computer program causes a server to execute the information prompting method according to the first aspect and the optional manner of the first aspect, or instructions for executing the optional information prompting method according to the second aspect and the optional manner of the second aspect.
In a fifth aspect, embodiments of the present invention provide a computer program product comprising: executable instructions for implementing the information prompting method as in the first aspect or the alternative of the first aspect or for executing the alternative information prompting method as in the second aspect and the alternative of the second aspect.
According to the information prompting method, the electronic device and the storage medium, the first information of the chat content is obtained, then the hidden information of the first information is judged according to the preset rule, and finally the prompting information of the first information is output according to the hidden information. According to the embodiment of the application, through judging the implicit information of the first information in the chat content according to the preset rule and outputting the prompt information of the first information according to the implicit information, the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is an exemplary application scenario diagram provided by an embodiment of the present application;
FIG. 2 is a flowchart of an information prompting method according to an embodiment of the present application;
FIG. 3 is a flowchart of an information prompting method according to another embodiment of the present application;
FIG. 4 is a flowchart of an information prompting method according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a chat interface provided by embodiments of the present application;
FIG. 6 is a schematic diagram of an information presentation device according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an information presentation device according to another embodiment of the present application;
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, the character "/" indicates that the front and rear associated objects are an "or" relationship.
With the development of science and technology, networks have become a part of life of people, and especially online chatting has become a normal state in life. For example, chat is performed using application APP in various mobile phones and computers. However, the chat content of the various chat APP is the content input by the user or input by the receiving party, and the two users communicating with each other may have misunderstanding on the true meaning expressed by the party due to factors such as language, thinking mode, living environment and the like. Existing translation techniques translate only literally between different languages, such as: the translation among Chinese, english, japanese, chinese and the like realizes the smooth communication among users using different languages, and other information hidden behind literal meaning cannot be translated among the same languages. In order to solve the above problems, embodiments of the present application provide an information prompting method, an electronic device, and a storage medium.
According to the embodiment of the application, through judging the implicit information of the first information in the chat content according to the preset rule and outputting the prompt information of the first information according to the implicit information, the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.
In the following, an exemplary application scenario of an embodiment of the present application is described.
In a possible implementation manner, the information prompting method provided by the embodiment of the present application may be executed by the information prompting device provided by the embodiment of the present application, where the information prompting device provided by the embodiment of the present application may be part or all of a terminal device, fig. 1 is an exemplary application scenario diagram provided by the embodiment of the present application, as shown in fig. 1, the information prompting method provided by the embodiment of the present application may be applied to a terminal device, the embodiment of the present application does not limit a specific type of a terminal device, for example, may be a smart phone, a tablet computer, a medical device, a wearable device, a vehicle-mounted device, etc., fig. 1 uses a terminal device as an example of a smart phone, as shown in interface 11, and the terminal device includes a chat APP. The user opens the chat software by clicking the APP, as shown in the interface 12, the terminal device may display a chat interface of the first user and the second user, where the second user may be a user using the terminal device, and the first user is a chat object of the second user.
Fig. 2 is a flow chart of an information prompting method according to an embodiment of the present application, where the method may be performed by an information prompting apparatus, and the apparatus may be implemented by software and/or hardware, for example: the device may be a client or a terminal device, the terminal device may be a personal computer, a smart phone, a user terminal, a tablet computer, a wearable device, etc., and the data processing method based on rock granularity is described below by using the terminal device as an execution main body, as shown in fig. 2, the information prompting method provided by the embodiment of the present application may include:
step S101: first information of chat content is obtained.
In the embodiment of the present application, the terminal device is described by taking the terminal device used by the second user as an example. The terminal equipment acquires chat contents of the first user and the second user, wherein the chat contents can comprise at least one first message sent by the first user and at least one second message sent by the second user, and the embodiment of the application does not limit the specific implementation manner of acquiring the chat contents of the first user and the second user, for example, the chat contents can be acquired through a storage space in an APP; in addition, the embodiment of the application does not limit the form of the first message and the second message, for example, the first message and the second message can be in the forms of text, expression, voice, video, moving pictures and the like. The first information may be information in the first message or information in the second message, which is not limited in this embodiment of the present application.
Step S102: judging implicit information of the first information according to a preset rule.
After the first information in the chat content of the first user and the second user is obtained, judging the implicit information of the first information according to the preset rule.
In one possible implementation manner, determining the implicit information of the first information according to the preset rule includes: extracting keywords in the first information; and determining implicit information of the first information according to the keywords.
For example, if the keyword in the first information includes "barbecue", the implicit information of the first information may be "the chat object may have a need to find a barbecue store"; for another example, if the keyword of the first information includes "travel going", the implicit information of the first information may be "the chat object may need to schedule or select a tourist attraction, traffic, etc"; taking this as an example only, the embodiment of the present application does not limit specific vocabulary of the keywords, vocabulary classification, hidden information corresponding to the keywords, and the like, and in one possible implementation manner, the keywords include at least one of the following: behavior, location, dining, news, shopping, traffic. For example: ball playing, skiing, beijing, shanghai, chafing dish, zhejiang vegetable, buying clothes, cosmetics, train tickets, etc., and embodiments of the application are not limited thereto.
In another possible implementation manner, determining the implicit information of the first information according to the preset rule includes: obtaining a commonly used term database of chat objects; and determining implicit information of the first information according to the first information and a common term database of the chat object.
The embodiment of the application has different specific implementation modes on the commonly used term databases for acquiring chat objects, and different corresponding commonly used term databases are set for users with different characters. The embodiment of the application does not limit the implementation manner of acquiring the commonly used term database of the first user, and can be acquired from personal detailed information of the first user in the APP. If the general term database of the first user is required to be acquired, the general term database of the first user is required to be established, the first user establishes the general term database of the first user through the arrangement of the terminal equipment by the first user, the general term database of the first user is established in a consistent manner with the general term database of the second user, and the general term database of the second user is established for introduction.
In one possible implementation manner, performing character test on the second user, and determining character test results of the second user; and matching the idiomatic test result of the second user with the idiomatic database of the second user in at least one idiomatic database.
The second user may perform the character test, for example, may randomly obtain a plurality of character test questions, and the embodiment of the application does not limit the number of character test questions, for example, may perform the test by setting 100 questions and performing 5 rounds, which is not limited in the embodiment of the application. After determining the character test result of the second user, matching the idiomatic database of the second user in at least one idiomatic database through the character test result of the second user, wherein the at least one idiomatic database can comprise idiomatic databases corresponding to users with various characters. And selecting the idiomatic database with the character matching of the second user from the at least one idiomatic database as the idiomatic database of the second user.
In order to improve the reliability of the idiomatic database of the second user, in one possible implementation manner, after the idiomatic test result of the second user is passed, matching the idiomatic database of the second user in the idiomatic database further includes: and testing the common term database of the second user to update the common term database of the second user. For example, the second user may verify the idiom database of the second user by performing a simulated chat on the second user, and if the verification is not passed, the idiom database of the second user is updated. The embodiments of the present application are not limited in this regard.
In addition, the embodiment of the application does not limit the specific implementation manner of determining the implicit information of the first information according to the common term database of the first information and the chat object, for example, the common term database of the first user is matched with the first information, at least one translation content corresponding to the message content with the highest matching degree is selected as the translation content of the first information, if the at least one translation content is a plurality of translation contents, the relationship between the first user and the second user can be judged, the translation content with higher possibility can be selected as the translation content of the first information, and if the number of the translation contents included in the at least one translation content is smaller than the preset threshold, the at least one translation content can be determined as the translation content of the first information.
For another example, determining implicit information of the first information according to the first information and a commonly used term database of the chat object includes:
Determining at least one translation content corresponding to the first information in a commonly used term database of the first user; determining the identity relationship between the first user and the second user and the current emotion of the first user through chat contents; and determining the translation content of the first information in at least one translation content corresponding to the first information through the identity relation and the current emotion of the first user.
In the idioms database of the first user, at least one translation content corresponding to the first information is determined, for example, the first information is "at does", "at why", "praise", and then the translation content corresponding to the first information may be "he has you to find you" or "he does not want you" or "he has you to find you or does not want you", etc. For another example, if the first information is smiling expression, the translation content corresponding to the first information may be "can be said nothing", "you get happy", "happy", etc., which is not limited in the embodiment of the present application, and in particular, the general term database may be obtained by obtaining the general term or the network term in different chat APPs through big data, which is not limited in the embodiment of the present application.
After determining at least one translation content corresponding to the first information, determining an identity relation between the first user and the second user and a current emotion of the first user through the chat content, wherein the identity relation comprises any one of the following: lover relationship, teacher-student relationship, friend relationship, client relationship, father-son relationship and mother-woman relationship, and the current emotion comprises any one of the following: happy, vital energy, sadness, agitation, etc.
The identity relationship between the first user and the second user is determined through the chat content, for example, information about the call appears in the chat content, and the identity relationship between the first user and the second user can be determined through the call, for example: information such as a teacher, a classmate and the like appears in the call of the chat content, and the identity relationship of the first user and the second user can be judged to be a teacher-student relationship. For another example, by judging the identity relationship between the first user and the second user through the specific chat content, for example, if chat topics between lovers appear in the chat content, the identity relationship between the first user and the second user can be judged as lovers, and the embodiment of the application is not limited in this respect. The current emotion of the first user is determined through the chat content, and the determination can be performed by combining the context content, the interval time between the first message and the second message, the identity relationship between the first user and the second user, and the like, which is not limited by the embodiment of the application.
After determining the identity relationship between the first user and the second user and the current emotion of the first user, determining the translated content of the first information in at least one translated content corresponding to the first information. For example, the relationship between the first user and the second user is a teacher-student relationship, the first information is an expression "smile", and the emotion of the first user is happy, the translated content of the first information may be determined to be "happy"; for another example, if the relationship between the first user and the second user is a lover relationship, the first information is the expression "smile", and the emotion of the first user is angry, it may be determined that the translated content of the first information is "can be said to be" or "you happy".
In the embodiment of the application, the identity relation between the first user and the second user and the current emotion of the first user are determined through the chat content, and the translation content of the first information is determined through the identity relation and the current emotion of the first user, so that the accuracy of the translation content of the first information can be improved.
Step S103: and outputting prompt information of the first information according to the implicit information.
After determining the implicit information, outputting the prompt information of the first information, wherein the embodiment of the application does not limit the specific implementation mode of outputting the prompt information of the first information according to the implicit information and does not limit the specific form of the prompt information. In one possible implementation, the prompt information includes at least one of: text, links, push messages, voice, vibration, pictures, video.
For example, if the implicit information of the first information may be "the chat object may have a need to find a barbecue store", the prompt may be a barbecue store link; for another example, if the implicit information of the first information may be "the chat object may need to schedule or select a tourist attraction, traffic, etc., the prompt information may be a travel APP, and if the implicit information of the first information is" the girlfriend is angry ", the prompt information may be vibration, etc., which is only an example, but the embodiment of the application is not limited thereto. The information prompting method provided by the embodiment of the application further comprises the following steps: the chat content prompt message is displayed in a different font and/or color than the chat content, which is not limited in this embodiment of the application.
According to the embodiment of the application, through judging the implicit information of the first information in the chat content according to the preset rule and outputting the prompt information of the first information according to the implicit information, the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.
In a possible implementation manner, fig. 3 is a schematic flow chart of an information prompting method according to another embodiment of the present application, where the method may be performed by an information prompting apparatus, and the apparatus may be implemented by software and/or hardware, for example: the device may be a client or a terminal device, where the terminal device may be a personal computer, a smart phone, a user terminal, a tablet computer, a wearable device, etc., and the information prompting method is described below with the terminal device as an execution body, as shown in fig. 3, in step S101, that is, before judging the implicit information of the first information according to the preset rule, the method for prompting information provided in the embodiment of the present application may further include:
Step S201: and receiving user operation, wherein the user operation is used for indicating to start the intelligent translation mode.
Before judging the implicit information of the first information according to the preset rule, user operation of the second user can be received, wherein the user operation is used for indicating to start the intelligent translation mode. The user operation of the second user may be clicking, touching, sliding, long pressing, etc. on the terminal device to start the intelligent translation mode. The embodiment of the application also does not limit the implementation manner of the instruction for starting the intelligent translation mode, for example, the implementation manner can be set through the setting content in the APP, or a virtual button for starting or stopping the intelligent translation mode is displayed in the chat interface of the APP so as to instruct the starting of the intelligent translation mode. In one possible embodiment, before receiving the user operation, the method further includes:
Pushing a selection message to the second user, wherein the selection message is used for prompting whether the second user selects to start the intelligent translation mode.
The terminal device pushes the selection message to the second user, and the selection message can include whether to start the intelligent translation mode or not and whether to start the website or the mode of the intelligent translation mode.
In a possible implementation manner, fig. 4 is a schematic flow chart of an information prompting method according to another embodiment of the present application, where the method may be performed by an information prompting apparatus, and the apparatus may be implemented by software and/or hardware, for example: the device may be a client or a terminal device, and the terminal device may be a personal computer, a smart phone, a user terminal, a tablet computer, a wearable device, etc., and the information prompting method is described below by using the terminal device as an execution body, as shown in fig. 4, the information prompting method provided by the embodiment of the present application may include:
step S301: first information of chat content is obtained.
The embodiment of the present application is not limited thereto, and the description in step S101 in the embodiment of the present application may be referred to specifically, and will not be repeated.
Step S302: and determining prompt information of the first information according to the first information.
The embodiment of the application does not limit the specific implementation manner of determining the prompt information of the first information according to the first information, and can refer to the introduction contents in the steps S102-S103 specifically, and is not repeated.
Step S303: presenting the prompt information of the first information.
The embodiment of the application does not limit the specific implementation manner of presenting the prompt information of the first information, and in a possible implementation manner, the presenting the prompt information of the first information may include:
Displaying prompt information of the first information on a chat interface of the first information by adopting fonts and/or colors different from those of the first information; or, the temperature is changed to present the prompt information of the first information by pushing the message and/or vibrating and/or voice broadcasting. The embodiments of the present application are not limited thereto.
The text box may be disposed under the first message, and the prompt information may be displayed in the text box, and the prompt information may be displayed in a font and/or color different from the first message. For example, if the first message is a black body, the prompt message may be a font of a color other than black, a font of a type other than black, or a font of a color and a type other than black. Embodiments of the present application are not limited thereto, and for example, the size of the word size may be changed.
Fig. 5 is a schematic diagram of a chat interface provided by the embodiment of the present application, as shown in fig. 5, a first message of a first user adopts Song Ti, and a prompting message adopts a regular script, so as to distinguish the first message from the prompting message.
According to the embodiment of the application, the first information of the chat content is acquired through the root, the prompt information of the first information is determined according to the first information, and finally the prompt information of the first information is presented, so that the intelligent translation of the implicit meaning in the chat content is realized, and the user experience is enhanced.
The information prompting method, apparatus, device, computer readable storage medium and computer program product provided by the embodiments of the present application are described below, and the content and effects thereof may refer to the information prompting method provided by the foregoing embodiments, which are not described herein again.
Fig. 6 is a schematic structural diagram of an information prompting apparatus according to an embodiment of the present application, where the apparatus may be implemented in software and/or hardware, for example: the device may be a client or a terminal device, and the terminal device may be a personal computer, a smart phone, a user terminal, a tablet computer, a wearable device, etc., as shown in fig. 6, the information prompting device provided by the embodiment of the present application may include:
The first obtaining module 41 is configured to obtain first information of chat content.
The first processing module 42 is configured to determine implicit information of the first information according to a preset rule, and output a prompt message of the first information according to the implicit information.
Optionally, the first processing module 42 is specifically configured to:
extracting keywords in the first information; and determining implicit information of the first information according to the keywords.
Optionally, the keywords include at least one of: behavior, location, dining, news, shopping, traffic; the prompt information comprises at least one of the following: text, links, push messages, voice, vibration, pictures, video.
Optionally, the first processing module 42 is specifically configured to:
obtaining a commonly used term database of chat objects; and determining implicit information of the first information according to the first information and a common term database of the chat object.
Optionally, the first processing module 42 is specifically configured to include:
Determining at least one implicit information of the first information in a commonly used term database of the chat object; determining identity relation among chat objects and current emotion of the chat objects through the first information; and determining implicit information of the first information in the at least one implicit information through the identity relation and the current emotion.
Optionally, the first processing module 42 is further configured to:
performing character test on the chat object to determine character test results of the chat object; and matching the idiomatic database of the chat object in at least one idiomatic database according to the idiomatic test result of the chat object.
Fig. 7 is a schematic structural diagram of an information prompting apparatus according to another embodiment of the present application, where the apparatus may be implemented in software and/or hardware, for example: the device may be a client or a terminal device, and the terminal device may be a personal computer, a smart phone, a user terminal, a tablet computer, a wearable device, etc., as shown in fig. 7, the information prompting device provided by the embodiment of the present application may include:
the second obtaining module 51 is configured to obtain first information of chat content.
The second processing module 52 is configured to determine, according to the first information, a prompt message of the first information; presenting the prompt information of the first information.
Optionally, the second processing module 52 is specifically configured to:
Displaying prompt information of the first information on a chat interface of the first information by adopting fonts and/or colors different from those of the first information; or, the temperature is changed to present the prompt information of the first information by pushing the message and/or vibrating and/or voice broadcasting.
The embodiment of the apparatus provided in the present application is merely illustrative, and the module division in fig. 6 and fig. 7 is merely a logic function division, and there may be another division manner in actual implementation. For example, multiple modules may be combined or may be integrated into another system. The coupling of the individual modules to each other may be achieved by means of interfaces which are typically electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces. Thus, the modules illustrated as separate components may or may not be physically separate, may be located in one place, or may be distributed in different locations on the same or different devices.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 8, where the electronic device includes:
A processor 61, a memory 62, a transceiver 63, and a computer program; wherein the transceiver 63 enables data transmission with other devices, a computer program is stored in the memory 62 and configured to be executed by the processor 61, the computer program comprising instructions for executing the information prompting method described above, the content and effects of which refer to the method embodiments.
In addition, the embodiment of the application further provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment executes the various possible methods.
Among them, computer-readable media include computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a user device. The processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (5)

1. An information prompting method, comprising:
Acquiring first information of chat content;
Judging implicit information of the first information according to a preset rule; the implicit information is other information implicit behind the literal meaning of the first information;
Outputting prompt information of the first information according to the implicit information;
The judging the implicit information of the first information according to the preset rule includes:
Obtaining a commonly used term database of chat objects;
determining at least one implicit information of the first information in a commonly used term database of the chat object;
Determining identity relation with the chat object and current emotion of the chat object through the chat content;
Determining implicit information of the first information from the at least one implicit information by the identity relationship and the current emotion.
2. The method as recited in claim 1, further comprising:
performing character test on the chat object to determine character test results of the chat object;
and matching the idiomatic database of the chat object in at least one idiomatic database according to the idiomatic test result of the chat object.
3. The method of claim 1, wherein outputting the hint information of the first information comprises:
Displaying prompt information of the first information on a chat interface of the first information by adopting fonts and/or colors different from those of the first information;
Or alternatively, the first and second heat exchangers may be,
And (3) pushing a message, and/or vibrating, and/or voice broadcasting, and/or changing the temperature to present the prompt information of the first information.
4. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
5. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-3.
CN201911365873.1A 2019-12-26 2019-12-26 Information prompting method, electronic equipment and storage medium Active CN111162994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911365873.1A CN111162994B (en) 2019-12-26 2019-12-26 Information prompting method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911365873.1A CN111162994B (en) 2019-12-26 2019-12-26 Information prompting method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111162994A CN111162994A (en) 2020-05-15
CN111162994B true CN111162994B (en) 2024-05-03

Family

ID=70558275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911365873.1A Active CN111162994B (en) 2019-12-26 2019-12-26 Information prompting method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111162994B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531408A (en) * 2022-02-16 2022-05-24 维沃移动通信有限公司 Method and device for annotating message, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983271A (en) * 2005-12-16 2007-06-20 国际商业机器公司 System and method for defining and translating chat abbreviations
CN102780651A (en) * 2012-07-21 2012-11-14 上海量明科技发展有限公司 Method for inserting emotion data in instant messaging messages, client and system
CN104639420A (en) * 2013-11-15 2015-05-20 腾讯科技(深圳)有限公司 Instant messaging information processing method and system
CN104836720A (en) * 2014-02-12 2015-08-12 北京三星通信技术研究有限公司 Method for performing information recommendation in interactive communication, and device
CN105100435A (en) * 2015-06-15 2015-11-25 百度在线网络技术(北京)有限公司 Application method and device of mobile communication
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium
CN109302338A (en) * 2018-08-31 2019-02-01 南昌努比亚技术有限公司 Intelligent indicating risk method, mobile terminal and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9282076B2 (en) * 2013-05-30 2016-03-08 International Business Machines Corporation Aligning content and social network audience using analytics and/or visualization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983271A (en) * 2005-12-16 2007-06-20 国际商业机器公司 System and method for defining and translating chat abbreviations
CN102780651A (en) * 2012-07-21 2012-11-14 上海量明科技发展有限公司 Method for inserting emotion data in instant messaging messages, client and system
CN104639420A (en) * 2013-11-15 2015-05-20 腾讯科技(深圳)有限公司 Instant messaging information processing method and system
CN104836720A (en) * 2014-02-12 2015-08-12 北京三星通信技术研究有限公司 Method for performing information recommendation in interactive communication, and device
CN105100435A (en) * 2015-06-15 2015-11-25 百度在线网络技术(北京)有限公司 Application method and device of mobile communication
CN108306814A (en) * 2017-08-11 2018-07-20 腾讯科技(深圳)有限公司 Information-pushing method, device, terminal based on instant messaging and storage medium
CN109302338A (en) * 2018-08-31 2019-02-01 南昌努比亚技术有限公司 Intelligent indicating risk method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN111162994A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
Herring et al. “Nice picture comment!” Graphicons in Facebook comment threads
CN110162670B (en) Method and device for generating expression package
CN108877782B (en) Speech recognition method and device
CN109034907A (en) Ad data put-on method and device, electronic equipment, storage medium
CN109635094B (en) Method and device for generating answer
US9230035B2 (en) Pushing specific content to a predetermined webpage
US20120278253A1 (en) Determining sentiment for commercial entities
US9202142B1 (en) Automatic assessment of books to determine suitability for audio book conversion
CN107592255B (en) Information display method and equipment
CN105183787A (en) Information input method and apparatus
CN110149265B (en) Message display method and device and computer equipment
Leung et al. Using emoji effectively in marketing: An empirical study
CN112929253B (en) Virtual image interaction method and device
CN109978139B (en) Method, system, electronic device and storage medium for automatically generating description of picture
CN109684497B (en) Image-text matching information sending method and device and electronic equipment
CN110232920B (en) Voice processing method and device
CN112188232A (en) Video generation method, video display method and device
CN111162994B (en) Information prompting method, electronic equipment and storage medium
CN111787042B (en) Method and device for pushing information
CN112447073A (en) Explanation video generation method, explanation video display method and device
KR101628956B1 (en) Method of generating emotion expressing text and apparatus thereof
CN111045836B (en) Search method, search device, electronic equipment and computer readable storage medium
CN113761147A (en) Logic editor-based questionnaire question display method and device and electronic equipment
KR102230055B1 (en) Method for advertising service based on keyword detecting in keyboard region
CN112487164A (en) Artificial intelligence interaction method

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