CN110213062B - Method and device for processing message - Google Patents

Method and device for processing message Download PDF

Info

Publication number
CN110213062B
CN110213062B CN201910439634.XA CN201910439634A CN110213062B CN 110213062 B CN110213062 B CN 110213062B CN 201910439634 A CN201910439634 A CN 201910439634A CN 110213062 B CN110213062 B CN 110213062B
Authority
CN
China
Prior art keywords
message
group
content
chat
history
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
CN201910439634.XA
Other languages
Chinese (zh)
Other versions
CN110213062A (en
Inventor
谷晨冰
王熙
叶星瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910439634.XA priority Critical patent/CN110213062B/en
Publication of CN110213062A publication Critical patent/CN110213062A/en
Application granted granted Critical
Publication of CN110213062B publication Critical patent/CN110213062B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/34Browsing; Visualisation therefor
    • G06F16/345Summarisation for human users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • 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
    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure provides a method and apparatus for processing a message. The method is applied to a chat group, and comprises the following steps: the current group message is received, the feedback message related to the content of the current group message is acquired according to the content of the historical chat record of the chat group, and the feedback message is output, so that the feedback message related to the content of the current group message is quickly acquired and output according to the content of the historical chat record, and convenience is brought to a user for checking the information related to the content of the current group message in the historical chat record of the chat group.

Description

Method and device for processing message
Technical Field
The present disclosure relates to the field of computer communications technologies, and in particular, to a method and an apparatus for processing a message.
Background
Instant chat software is widely used because it has the function of instant interactive information. Users can establish chat groups on the instant chat software, and a plurality of users can chat through the chat groups.
The number of users in the chat group is large, the number of interactive chat messages is large, and effective information can be extracted only after the users need to check a large number of chat messages in the chat group. The operation of extracting the effective information from the chat group has the defects of long time consumption, complicated user operation and the like, and the extraction efficiency of the effective information is low.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for processing a message, which are capable of facilitating a user to view information associated with content of a current group message in a history chat log of a chat group by quickly acquiring and outputting a feedback message associated with the content of the current group message according to the content of the history chat log after receiving the current group message.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for processing a message, which is applied to a chat group, the method including:
receiving a current group message;
obtaining a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
and outputting the feedback message.
Optionally, the obtaining, according to the content of the historical chat record of the chat group, the feedback message associated with the content of the current group message includes:
acquiring a first history group message associated with the content of the current group message from the history chatting record;
taking the first history group message as the feedback message.
Optionally, the obtaining, according to the content of the historical chat record of the chat group, the feedback message associated with the content of the current group message includes:
obtaining a second history group message associated with the content of the current group message from the history chatting record;
performing content identification on the second history group message to obtain content summary information;
and taking the content summary information as the feedback message.
Optionally, before the obtaining the feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group, the method further includes:
dividing the contents of the history group messages in the history chatting record to obtain history group messages with different contents;
the obtaining of the feedback message associated with the content of the current group message according to the content of the history chat record of the chat group includes:
acquiring a target history group message matched with the content of the current group message;
and acquiring the feedback message according to the content of the target history group message.
Optionally, the obtaining, according to the content of the historical chat record of the chat group, the feedback message associated with the content of the current group message includes:
detecting whether the chat group meets a preset message feedback condition, wherein the preset message feedback condition comprises at least one of the following items: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
and when the chat group meets the preset message feedback condition, acquiring a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group.
Optionally, the outputting the feedback message includes at least one of:
displaying the feedback message within a dialog box of the chat group;
displaying the feedback message in a floating window;
and playing the feedback message by voice.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a message, including:
a receiving module configured to receive a current group message;
the obtaining module is configured to obtain a feedback message related to the content of the current group message according to the content of the historical chat record of the chat group;
an output module configured to output the feedback message.
Optionally, the obtaining module includes:
a first obtaining sub-module configured to obtain a first history group message associated with the content of the current group message from the history chat record;
a first as submodule configured to treat the first history group message as the feedback message.
Optionally, the obtaining module includes:
a second obtaining sub-module configured to obtain a second history group message associated with the content of the current group message from the history chat record;
the obtaining submodule is configured to perform content identification on the second history group message to obtain content summary information;
a second as sub-module configured to treat the content summary information as the feedback message.
Optionally, the apparatus further comprises:
an obtaining module configured to perform content division on the history group messages in the history chat records to obtain history group messages with different contents before obtaining the feedback message associated with the content of the current group message according to the content of the history chat records of the chat group;
the acquisition module includes:
a third obtaining sub-module configured to obtain a target history group message matched with the content of the current group message;
a fourth obtaining sub-module configured to obtain the feedback message according to the content of the target history group message.
Optionally, the obtaining module includes:
a detection submodule configured to detect whether the chat group satisfies a preset message feedback condition, where the preset message feedback condition includes at least one of: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
and the fifth obtaining sub-module is configured to obtain a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group when the chat group meets the preset message feedback condition.
Optionally, the output module includes at least one of:
a first display sub-module configured to display the feedback message within a dialog box of the chat group;
a second display submodule configured to display the feedback message in a floating window;
a play sub-module configured to play the feedback message in voice.
According to a third aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the above first aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for processing a message, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a current group message;
obtaining a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
and outputting the feedback message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device, after the chat group receives the current group message, the feedback message related to the content of the current group message is obtained according to the content of the historical chat record of the chat group, and the feedback message is output, so that the feedback message related to the content of the current group message is quickly obtained and output according to the content of the historical chat record, and convenience is brought to a user for checking the information related to the content of the current group message in the historical chat record of the chat group.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow diagram illustrating a method of processing a message in accordance with an exemplary embodiment;
FIG. 2 is a flow diagram illustrating another method of processing a message in accordance with an exemplary embodiment;
FIG. 3 is a flow diagram illustrating another method of processing a message in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating another method of processing a message in accordance with an exemplary embodiment;
FIG. 5 is a flow diagram illustrating another method of processing a message in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an apparatus for processing messages in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating another apparatus for processing messages in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating another apparatus for processing messages in accordance with an illustrative embodiment;
FIG. 9 is a block diagram illustrating another apparatus for processing messages in accordance with an illustrative embodiment;
FIG. 10 is a block diagram illustrating another apparatus for processing messages in accordance with an illustrative embodiment;
FIG. 11 is a block diagram illustrating a structure for processing messages in accordance with an exemplary embodiment;
fig. 12 is a block diagram illustrating another apparatus for processing a message according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The present disclosure provides a method for sending a message, which can be applied to a terminal having a function of sending information, wherein the terminal can be a mobile phone, a tablet computer, a personal digital assistant, etc.
Fig. 1 is a flowchart illustrating a method for processing a message according to an exemplary embodiment, where the method illustrated in fig. 1 is applied to a chat group, and the method for processing a message illustrated in fig. 1 includes the following steps:
in step 101, a current group message is received.
In the embodiment of the disclosure, the chat group is arranged in the chat software, and usually, a plurality of friends are added in the chat group, and all the friends can send messages to a dialog box of the chat group, so that information interaction of the friends is realized. The terminal can download the chat software to the local or access the webpage version of the chat software. Terminals are various, such as mobile phones, tablet computers, personal digital assistants, etc.
In the process of using the chat group, whether the current group message is received or not is detected, and the subsequent steps are executed after the current group message is detected to be received. The current group message may be the most recently sent group message in the dialog box of the chat group.
In step 102, a feedback message associated with the content of the current group message is obtained according to the content of the historical chat record of the chat group.
After receiving the current group message, the chat group acquires the historical chat record of the chat group, acquires the content of the historical chat record, and acquires the feedback message associated with the content of the current group message according to the content of the historical chat record.
The chat group can obtain the feedback message only according to the content of the text message in the history chat record. When the history chat records include voice messages, the chat groups can recognize the voice messages firstly, then convert the voice messages into text messages, and acquire feedback messages according to the original text messages and the contents of the text messages obtained through conversion. When the history chat records include messages in other forms such as pictures, the chat groups can identify the contents of the messages in other forms such as pictures, and the feedback messages are acquired by combining the identified contents.
In an alternative embodiment, step 102 may be implemented in various ways, for example, referring to another flow chart of a method for processing a message shown in fig. 2 according to an exemplary embodiment, step 102 may be implemented by: at step 1021, obtaining a first history group message associated with the content of the current group message from the history chat records; in step 1022, the first history group message is used as a feedback message.
With respect to step 1021, the first history group message is a message directly recorded in the history chat log, and the first history group message may be one or more messages. The chat group determines the content of the current group message, analyzes the content of the historical group message in the historical chat records, and acquires a first historical group message related to the content of the current group message from the historical chat records.
For example, the content of the current group message is "this weekend meeting place", and the chat group acquires a first history group message "meeting in park on this weekend" associated with "this weekend meeting place" from the history chat records.
It may be determined whether the content of the historical group message in the chat log matches the content of the current group message according to related algorithms in the prior art. There are various related algorithms, such as a feature clustering algorithm, a word vectorization algorithm, etc., and the embodiments of the present disclosure are not limited herein with respect to the type of algorithm used.
With respect to step 1022, the first history group message obtained from the history chat log is used as a feedback message.
Based on the settings of step 1021 and step 1022, the chat component has the function of acquiring the first history group message associated with the content of the current group message from the history chat records, and using the first history group message as a feedback message, so that the function of the chat component is enriched.
As another example, referring to fig. 3, which is a flow chart of another method for processing a message according to an example embodiment, step 102 may be implemented by: in step 1023, a second history group message associated with the content of the current group message is obtained from the history chat records; in step 1024, performing content identification on the second history group message to obtain content summary information; in step 1025, the content summary information is used as a feedback message.
With respect to step 1023, the second history group message is a message directly recorded in the history chat log, and the second history group message may be one or more messages. The chat group determines the content of the current group message, analyzes the content of the historical group message in the historical chat records, and acquires a second historical group message related to the content of the current group message from the historical chat records.
When the algorithm used when the second history group message and the first history group message are obtained is the same, the second history group message is the same as the first history group message; when the algorithm used when obtaining the second history group message is different from the algorithm used when obtaining the first history group message, the second history group message is different from the first history group message.
In step 1024, after the chat component obtains the second history group message, the chat component identifies the content of the second history group message, and summarizes the identified content to obtain the content summary information of the second history group message.
Content summary information of the second history group message is used as feedback information for step 1025.
Based on the settings of steps 1023 to 1025, the chat component has the functions of acquiring a second history group message associated with the content of the current group message from the history chat records, refining the content of the second history group message, and taking the content summary information of the acquired second history group message as a feedback message, so that the functions of the chat component are further enriched.
In an alternative embodiment, referring to fig. 4, which is a flow chart of another method for processing messages according to an exemplary embodiment, before the chat component obtains the feedback message associated with the content of the current group message according to the content of the history chat record of the chat group, the following steps may be further performed: in step 104, the history group messages in the history chat records are divided into contents to obtain history group messages with different contents.
Specifically, after content division is performed on the history group messages in the history chat records, history group messages with different contents are obtained, and the number of the history group messages belonging to the same content is one or more. For example, the historical chat messages of the same content may be at least one historical chat message related to food, and the historical group messages of the same content may be at least one historical group message related to travel.
Content keywords of the history group messages belonging to the same content can be acquired, and the corresponding relation between the history group messages belonging to the same content and the content keywords is established. For example, correspondence between gourmet and historical group messages is established, correspondence between travel and historical group messages is established, and the like.
Alternatively, the number of history group messages belonging to the same content is plural, the history group messages belonging to the same content include a question-sentence history group message and another history group message replied to the history group message, a correspondence relationship between the history group message belonging to the same content and the question-sentence history group message included therein may be established, or a correspondence relationship between the question-sentence history group message and the another history group message replied thereto may be established, for example, "where is the weekend on the present week? "and" meeting in park at the end of the week ".
On the basis of step 104, step 102 may be implemented by: in step 1026, a target historical group message matching the content of the current group message is obtained; in step 1027, a feedback message is obtained according to the content of the target history group message.
For step 1026, when the correspondence between the history group message and the content keyword belonging to the same content is established in step 104, the content of the current group message is matched with each content keyword in the correspondence, and if it is determined that the content of the current group message is matched with the target content keyword, the target history group message corresponding to the target content keyword is obtained.
When the corresponding relationship between the history group message of the question sentence pattern and the other history group messages is established in step 104, and the other history group messages are the group messages replied for the history group message of the question sentence pattern, the other history group messages corresponding to the current group message of the question sentence pattern are searched from the corresponding relationship, and the searched other history group messages are used as the target history group messages.
Based on the settings of step 104, step 1026, and step 1027, the chat group first performs content division on the history group messages in the history chat record to obtain history group messages with different contents, and then obtains the target history group message matched with the content of the current group message, so as to reduce the data range of the history group chat messages used for determining the feedback message, and finally, according to the content of the target history group message with a small data range, the feedback message is quickly obtained, thereby shortening the time for obtaining the feedback message, improving the efficiency for obtaining the feedback message, and improving the intelligence of the chat group.
In an optional embodiment, after receiving the current group message, the chat group may determine whether to acquire feedback information associated with the content of the current group message according to a preset mechanism. The preset mechanism has various types, for example, whether the preset message feedback function of the chat group is started is judged, and the feedback information is acquired after the preset message feedback function of the chat group is judged to be started.
As another example, the preset mechanism may be: and when the chat group meets the preset message feedback condition, acquiring feedback information associated with the content of the current group message. Specifically, referring to fig. 5, which is a flow chart of another method for processing a message according to an exemplary embodiment, step 102 may be implemented by: in step 1028, it is detected whether the chat group meets a preset message feedback condition, where the preset message feedback condition may include at least one of the following: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message; in step 1029, when the chat group satisfies the predetermined message feedback condition, a feedback message associated with the content of the current group message is obtained according to the content of the history chat record of the chat group.
In step 1028, after receiving the current group message, the chat group may perform semantic analysis on the current group message, determine whether the statement form of the current group message is a question statement, and obtain the feedback message after determining that the statement form of the current group message is a question statement.
The chat group can preset a white list, after receiving the current group message, the chat group judges whether the user sending the current group message is in the preset white list, and if the user sending the current group message is in the preset white list, the feedback message is acquired.
When a user sends a message by using a chat group, if the user wants the chat group to output a feedback message associated with the content of the message, a preset identifier can be added to the message to obtain a current group message. The preset mark has a function of indicating the chat group to acquire the feedback message, and the preset mark has various types, such as a question mark, an exclamation mark, @and #, and the like. And after the chat group detects that the current group message comprises the preset identification, acquiring the feedback message.
Based on the settings of step 1028 and step 1029, the chat group has the function of determining to acquire or not acquire feedback information according to a preset mechanism after receiving the current group message, so that the function of the chat group is enriched.
In step 103, a feedback message is output.
After the chat group acquires the feedback message associated with the content of the current group message, the feedback message is output, so that the feedback message associated with the content of the current group message is quickly acquired and output according to the content of the historical chat record, and the user can conveniently check the information associated with the content of the current group message in the historical chat record of the chat group.
There are various ways to output the feedback message, for example, the way to output the feedback message may include at least one of the following: displaying the feedback message within a dialog box of the chat group, displaying the feedback message in a floating window, voice playing the feedback message, etc.
In an optional embodiment, the chat group may further receive an information set input by the user, where the information set may include correspondence between information and keywords, and the keywords in each correspondence may reflect key content of the information, after the chat group receives the current group message, while step 102 is executed, a target keyword matching content of the current group message may be searched for from the information set, and then target information corresponding to the target keyword is determined, and when step 103 is executed, the determined target information is output together, so that output information content is enriched.
The user may analyze and summarize the historical chat history of the chat group and obtain the information set based on the analysis and summarization results, or may obtain the information set based on other information besides the historical chat history.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Fig. 6 is a block diagram illustrating an apparatus for processing a message according to an exemplary embodiment, which is applied to a terminal, and includes: a receiving module 21, an obtaining module 22 and an output module 23; wherein,
the receiving module 21 is configured to receive a current group message;
the obtaining module 22 is configured to obtain a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
the output module 23 is configured to output the feedback message.
In an alternative embodiment, on the basis of the embodiment of the apparatus shown in fig. 6, referring to fig. 7, which is a block diagram of another apparatus for processing a message according to an exemplary embodiment, the obtaining module 22 may include: a first obtaining sub-module 221 and a first serving sub-module 222; wherein,
the first obtaining sub-module 221, configured to obtain, from the historical chat records, a first historical group message associated with the content of the current group message;
the first acting submodule 222 is configured to act on the first history group message as the feedback message.
In an alternative embodiment, on the basis of the embodiment of the apparatus shown in fig. 6, referring to fig. 8, which is a block diagram of another apparatus for processing a message according to an exemplary embodiment, the obtaining module 22 may include: a second obtaining submodule 223, an obtaining submodule 224 and a second serving submodule 225; wherein,
the second obtaining sub-module 223 is configured to obtain a second history group message associated with the content of the current group message from the history chat records;
the obtaining sub-module 224 is configured to perform content identification on the second history group message to obtain content summary information;
the second acting submodule 225 is configured to act on the content summary information as the feedback message.
In an alternative embodiment, on the basis of the embodiment of the apparatus shown in fig. 6, referring to fig. 9, a block diagram of another apparatus for processing a message is shown according to an exemplary embodiment, where the apparatus may further include: obtaining a module 24;
the obtaining module 24 is configured to, before the feedback message associated with the content of the current group message is obtained according to the content of the historical chat record of the chat group, perform content division on the historical group message in the historical chat record to obtain historical group messages with different contents;
the obtaining module 22 may include: a third acquisition submodule 226 and a fourth acquisition submodule 227; wherein,
the third obtaining sub-module 226 is configured to obtain a target history group message matching the content of the current group message;
the fourth obtaining sub-module 227 is configured to obtain the feedback message according to the content of the target history group message.
In an alternative embodiment, on the basis of the embodiment of the apparatus shown in fig. 6, referring to fig. 10, which is a block diagram of another apparatus for processing a message according to an exemplary embodiment, the obtaining module 22 may include: a detection submodule 228, a fifth acquisition submodule 229; wherein,
the detecting sub-module 228 is configured to detect whether the chat group meets a preset message feedback condition, where the preset message feedback condition includes at least one of: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
the fifth obtaining sub-module 229 is configured to, when the chat group meets the preset message feedback condition, obtain a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group.
In an alternative embodiment, based on the embodiment of the apparatus shown in fig. 6, the output module 23 may include at least one of the following: the first display submodule, the second display submodule and the play submodule; wherein,
the first display sub-module configured to display the feedback message within a dialog box of the chat group;
the second display submodule configured to display the feedback message in a floating window;
the playing submodule is configured to play the feedback message in voice.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides an apparatus for processing a message, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
receiving a current group message;
obtaining a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
and outputting the feedback message.
Fig. 11 is a block diagram illustrating an apparatus 1600 for processing a message according to an example embodiment. For example, apparatus 1600 may be a user device, which may be embodied as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device such as a smart watch, smart glasses, a smart bracelet, a smart running shoe, and the like.
Referring to fig. 11, apparatus 1600 may include one or more of the following components: processing component 1602, memory 1604, power component 1606, multimedia component 1608, audio component 1610, input/output (I/O) interface 1612, sensor component 1614, and communications component 1616.
The processing component 1602 generally controls overall operation of the device 1600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1602 may include one or more processors 1620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1602 can include one or more modules that facilitate interaction between the processing component 1602 and other components. For example, the processing component 1602 can include a multimedia module to facilitate interaction between the multimedia component 1608 and the processing component 1602.
The memory 1604 is configured to store various types of data to support operation at the device 1600. Examples of such data include instructions for any application or method operating on device 1600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1604 may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
A power supply component 1606 provides power to the various components of the device 1600. The power components 1606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1600.
The multimedia component 1608 includes a screen that provides an output interface between the apparatus 1600 and a user as described above. 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 the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1608 comprises a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the back-facing camera may receive external multimedia data when device 1600 is in an operational mode, such as a capture 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 1610 is configured to output and/or input an audio signal. For example, audio component 1610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1600 is in an operational mode, such as a call mode, recording mode, and voice recognition mode. The received audio signal may further be stored in the memory 1604 or transmitted via the communications component 1616. In some embodiments, audio component 1610 further includes a speaker for outputting audio signals.
The I/O interface 1612 provides an interface between the processing component 1602 and peripheral interface modules, such as keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1614 includes one or more sensors for providing status assessment of various aspects to device 1600. For example, sensor assembly 1614 can detect an open/closed state of device 1600, the relative positioning of components, such as a display and keypad of device 1600, a change in position of device 1600 or a component of device 1600, the presence or absence of user contact with device 1600, orientation or acceleration/deceleration of device 1600, and a change in temperature of device 1600. The sensor assembly 1614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1614 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 1614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1616 is configured to facilitate communications between the apparatus 1600 and other devices in a wired or wireless manner. The device 1600 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 component 1616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the aforementioned communication component 1616 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 apparatus 1600 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, there is also provided a non-transitory computer readable storage medium, such as the memory 1604 comprising instructions which, when executed by the processor 1620 of the apparatus 1600, enable the apparatus 1600 to perform a method of processing a message, the method comprising:
receiving a current group message;
obtaining a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
and outputting the feedback message.
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.
As shown in fig. 12, fig. 12 is a schematic structural diagram illustrating another apparatus 1700 for processing a message according to an example embodiment. For example, the apparatus 1700 may be provided as an application server. Referring to fig. 12, the apparatus 1700 includes a processing component 1722 that further includes one or more processors and memory resources, represented by memory 1716, for storing instructions, such as applications, that are executable by the processing component 1722. The application programs stored in the memory 1716 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1722 is configured to execute instructions to perform the above-described method of processing messages.
The apparatus 1700 may also include a power component 1726 configured to perform power management of the apparatus 1700, a wired or wireless network interface 1750 configured to connect the apparatus 1700 to a network, and an input output (I/O) interface 1758. The apparatus 1700 may operate based on an operating system stored in the memory 1716, such as Android, iOS, Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 1716 including instructions, executable by the processing component 1722 of the apparatus 1700 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.
Wherein the instructions in the memory 1716, when executed by the processing component 1722, enable the apparatus 1700 to perform a method of processing messages comprising:
receiving a current group message;
obtaining a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group;
and outputting the feedback message.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for processing messages, applied to a chat group, the method comprising:
receiving a current group message, wherein the current group message is a group message which is sent recently in a dialog box of the chat group;
if the chat group meets the preset message feedback condition, acquiring a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group; the preset message feedback condition comprises at least one of the following items: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
and outputting the feedback message.
2. The method of claim 1, wherein the obtaining the feedback message associated with the content of the current group message according to the content of the historical chat log of the chat group comprises:
acquiring a first history group message associated with the content of the current group message from the history chatting record;
taking the first history group message as the feedback message.
3. The method of claim 1, wherein the obtaining the feedback message associated with the content of the current group message according to the content of the historical chat log of the chat group comprises:
obtaining a second history group message associated with the content of the current group message from the history chatting record;
performing content identification on the second history group message to obtain content summary information;
and taking the content summary information as the feedback message.
4. The method of claim 1, wherein before the obtaining the feedback message associated with the content of the current group message according to the content of the historical chat log of the chat group, the method further comprises:
dividing the contents of the history group messages in the history chatting record to obtain history group messages with different contents;
the obtaining of the feedback message associated with the content of the current group message according to the content of the history chat record of the chat group includes:
acquiring a target history group message matched with the content of the current group message;
and acquiring the feedback message according to the content of the target history group message.
5. The method of claim 1, wherein outputting the feedback message comprises at least one of:
displaying the feedback message within a dialog box of the chat group;
displaying the feedback message in a floating window;
and playing the feedback message by voice.
6. An apparatus for processing messages, comprising:
a receiving module configured to receive a current group message, the current group message being a group message most recently sent in a dialog box of a chat group;
the obtaining module is configured to obtain a feedback message related to the content of the current group message according to the content of the historical chat record of the chat group;
an output module configured to output the feedback message;
the acquisition module includes:
a detection submodule configured to detect whether the chat group satisfies a preset message feedback condition, where the preset message feedback condition includes at least one of: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
and the fifth obtaining sub-module is configured to obtain a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group when the chat group meets the preset message feedback condition.
7. The apparatus of claim 6, wherein the obtaining module comprises:
a first obtaining sub-module configured to obtain a first history group message associated with the content of the current group message from the history chat record;
a first as submodule configured to treat the first history group message as the feedback message.
8. The apparatus of claim 6, wherein the obtaining module comprises:
a second obtaining sub-module configured to obtain a second history group message associated with the content of the current group message from the history chat record;
the obtaining submodule is configured to perform content identification on the second history group message to obtain content summary information;
a second as sub-module configured to treat the content summary information as the feedback message.
9. The apparatus of claim 6, further comprising:
an obtaining module configured to perform content division on the history group messages in the history chat records to obtain history group messages with different contents before obtaining the feedback message associated with the content of the current group message according to the content of the history chat records of the chat group;
the acquisition module includes:
a third obtaining sub-module configured to obtain a target history group message matched with the content of the current group message;
a fourth obtaining sub-module configured to obtain the feedback message according to the content of the target history group message.
10. The apparatus of claim 6, wherein the output module comprises at least one of:
a first display sub-module configured to display the feedback message within a dialog box of the chat group;
a second display submodule configured to display the feedback message in a floating window;
a play sub-module configured to play the feedback message in voice.
11. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program when executed by a processor implements the steps of the method of any of claims 1 to 5.
12. An apparatus for processing messages, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a current group message, wherein the current group message is a group message which is sent recently in a dialog box of a chat group;
if the chat group meets the preset message feedback condition, acquiring a feedback message associated with the content of the current group message according to the content of the historical chat record of the chat group; the preset message feedback condition comprises at least one of the following items: the statement form of the current group message is a question statement, the user sending the current group message is a preset user, the current group message comprises a preset identifier, and the preset identifier indicates the chat group to acquire the feedback message;
and outputting the feedback message.
CN201910439634.XA 2019-05-24 2019-05-24 Method and device for processing message Active CN110213062B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910439634.XA CN110213062B (en) 2019-05-24 2019-05-24 Method and device for processing message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910439634.XA CN110213062B (en) 2019-05-24 2019-05-24 Method and device for processing message

Publications (2)

Publication Number Publication Date
CN110213062A CN110213062A (en) 2019-09-06
CN110213062B true CN110213062B (en) 2022-03-11

Family

ID=67788588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910439634.XA Active CN110213062B (en) 2019-05-24 2019-05-24 Method and device for processing message

Country Status (1)

Country Link
CN (1) CN110213062B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761877B (en) * 2020-05-29 2024-06-18 北京沃东天骏信息技术有限公司 Data processing method, device, electronic equipment and medium
CN115086267B (en) * 2022-06-13 2023-08-15 重庆回形针信息技术有限公司 Group message-based topic exchange system, method and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287040A (en) * 2006-11-29 2008-10-15 Sap股份公司 Action prediction based on interactive history and context between sender and recipient
CN106126514A (en) * 2015-05-06 2016-11-16 可可株式会社 The message server relevant with search provides method and server and user terminal
CN108228033A (en) * 2018-01-29 2018-06-29 维沃移动通信有限公司 A kind of message display method and mobile terminal
WO2018188936A1 (en) * 2017-04-11 2018-10-18 Yack Technology Limited Electronic communication platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808047A (en) * 2010-02-10 2010-08-18 深圳先进技术研究院 Instant messaging partner robot and instant messaging method with messaging partner
CN108494665B (en) * 2018-03-27 2021-03-23 维沃移动通信有限公司 Group message display method and mobile terminal
CN108833260A (en) * 2018-06-15 2018-11-16 奇酷互联网络科技(深圳)有限公司 Group's message highlighting method, system, readable storage medium storing program for executing and intelligent terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287040A (en) * 2006-11-29 2008-10-15 Sap股份公司 Action prediction based on interactive history and context between sender and recipient
CN106126514A (en) * 2015-05-06 2016-11-16 可可株式会社 The message server relevant with search provides method and server and user terminal
WO2018188936A1 (en) * 2017-04-11 2018-10-18 Yack Technology Limited Electronic communication platform
CN108228033A (en) * 2018-01-29 2018-06-29 维沃移动通信有限公司 A kind of message display method and mobile terminal

Also Published As

Publication number Publication date
CN110213062A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN105843615B (en) Notification message processing method and device
CN104615655B (en) Information recommendation method and device
US20170150290A1 (en) Method and device for information push
CN106372204A (en) Push message processing method and device
CN105404401A (en) Input processing method, apparatus and device
CN105447109A (en) Key word searching method and apparatus
CN106331328B (en) Information prompting method and device
CN106547850B (en) Expression annotation method and device
CN105095366A (en) Method and device for processing character messages
CN107402767B (en) Method and device for displaying push message
CN113259226A (en) Information synchronization method and device, electronic equipment and storage medium
CN108270661B (en) Information reply method, device and equipment
CN110213062B (en) Method and device for processing message
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN105101121B (en) A kind of method and device that information is sent
CN106960026B (en) Search method, search engine and electronic equipment
CN110928425A (en) Information monitoring method and device
CN106506808B (en) Method and device for prompting communication message
CN109842688B (en) Content recommendation method and device, electronic equipment and storage medium
CN103970831A (en) Icon recommending method and device
CN112667852B (en) Video-based searching method and device, electronic equipment and storage medium
CN104933107A (en) Searching method of push message and searching device of push message
CN113127613B (en) Chat information processing method and device
CN109408245A (en) A kind of recognition methods of multi-medium data, device and electronic equipment
CN110502714B (en) Information detection method and device, electronic equipment and storage medium

Legal Events

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