CN110149265B - Message display method and device and computer equipment - Google Patents

Message display method and device and computer equipment Download PDF

Info

Publication number
CN110149265B
CN110149265B CN201810207901.6A CN201810207901A CN110149265B CN 110149265 B CN110149265 B CN 110149265B CN 201810207901 A CN201810207901 A CN 201810207901A CN 110149265 B CN110149265 B CN 110149265B
Authority
CN
China
Prior art keywords
message
group
topic
group message
merged
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
CN201810207901.6A
Other languages
Chinese (zh)
Other versions
CN110149265A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810207901.6A priority Critical patent/CN110149265B/en
Publication of CN110149265A publication Critical patent/CN110149265A/en
Application granted granted Critical
Publication of CN110149265B publication Critical patent/CN110149265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • 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
    • H04L12/1831Tracking arrangements for later retrieval, e.g. recording contents, participants activities or behavior, network status
    • 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)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message display method, a message display device and computer equipment, wherein the message display method comprises the following steps: receiving a group message; analyzing the group message to obtain the semantic meaning of the group message; according to the semantics of the group message, obtaining a topic corresponding to the group message; merging the group message with historical messages for the topic in the group; and displaying the combined message and the topic corresponding to the combined message. According to the method and the device, the group messages can be combined according to the topics, confusion of the group messages of different topics is avoided, the message reading efficiency of the user is improved, and the user experience is improved.

Description

Message display method and device and computer equipment
Technical Field
The present application relates to the field of instant messaging technologies, and in particular, to a message display method and apparatus, and a computer device.
Background
In the prior art, in an instant chat application, the following situations are often encountered in a situation of multi-person chat:
(1) the group messages are too many to be easily refreshed by messages such as 'know', 'received' and 'good', so that important messages are easily refreshed; for example: in the group of the child class, the teacher issues the operation, and the parents successively send messages such as 'received', 'good' and 'known', so that the messages issued by the teacher are easy to flush;
(2) problem-like messages, where intermediate messages are interrupted by other messages, cannot accurately obtain coherent message content; for example: in the group, A and B discuss a problem, C and D discuss a problem, so that in the group message, the messages sent by A, B, C and D4 persons are mixed together, thus easily confusing the problems discussed by A and B, and C and D respectively;
however, in the related art, no corresponding solution is provided for the above situation, so that the user needs to continuously review the message record to find the message concerned by the user, and the user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides a message display method, a message display device and computer equipment.
The embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a message display method, including: receiving a group message; analyzing the group message to obtain the semantic meaning of the group message; according to the semantics of the group message, obtaining a topic corresponding to the group message; merging the group message with historical messages for the topic in the group; and displaying the combined message and the topic corresponding to the combined message.
In the message showing method, after the group message is received, the group message is analyzed to obtain the semantics of the group message, then the topic corresponding to the group message is obtained according to the semantics of the group message, the group message is combined with the historical message aiming at the topic in the group, and finally the combined message and the topic corresponding to the combined message are shown, so that the group message can be combined according to the topic, the confusion of the group message of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
In a second aspect, an embodiment of the present application provides a message display method, including: receiving a combined message sent by a server and a topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by acquiring the topic corresponding to the group message according to the semantic of the group message after the group message is received by the server and combining the group message and the historical message aiming at the topic in the group; and displaying the combined message and the topic corresponding to the combined message.
In the message showing method, after receiving the combined message sent by the server and the topic corresponding to the combined message, showing the combined message and the topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by obtaining the topic corresponding to the group message according to the semantics of the group message after the server receives the group message and combining the group message and the history message aiming at the topic in the group, so that the group message can be combined according to the topic, the confusion of the group messages of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
In a third aspect, an embodiment of the present application provides a message presentation apparatus, including: a receiving module, configured to receive a group message; the analysis module is used for analyzing the group message received by the receiving module to obtain the semanteme of the group message; the acquisition module is used for acquiring topics corresponding to the group messages according to the semantics of the group messages acquired by the analysis module; a merging module, configured to merge the group message with a history message for the topic in the group; and the display module is used for displaying the combined message and the topic corresponding to the combined message.
In the message display device, after the receiving module receives the group message, the analyzing module analyzes the group message to obtain the semantics of the group message, then the acquiring module acquires the topic corresponding to the group message according to the semantics of the group message, the merging module merges the group message and the history message of the group corresponding to the topic, and finally the displaying module displays the merged message and the topic corresponding to the merged message, so that the group message can be merged according to the topic, the confusion of the group message of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
In a fourth aspect, an embodiment of the present application provides a message presentation apparatus, including: a receiving module, configured to receive a combined message sent by a server and a topic corresponding to the combined message, where the topic corresponding to the combined message and the combined message is obtained by obtaining a topic corresponding to a group message according to semantics of the group message after the group message is received by the server, and combining the group message with a history message for the topic in the group; and the display module is used for displaying the combined message and the topic corresponding to the combined message.
In the message display device, after the receiving module receives the combined message sent by the server and the topic corresponding to the combined message, the display module displays the combined message and the topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by obtaining the topic corresponding to the group message according to the semantics of the group message after the server receives the group message and combining the group message and the history message of the topic in the group, so that the group message can be combined according to the topic, the confusion of the group messages of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
In a fifth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method provided in the first aspect.
In a sixth aspect, the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method provided in the first aspect.
In a seventh aspect, the present application provides a computer program product, and when the instructions in the computer program product are executed by a processor, the method provided in the first aspect is performed.
In an eighth aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method provided in the second aspect.
In a ninth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method provided by the second aspect.
In a tenth aspect, the present application provides a computer program product, and when the instructions in the computer program product are executed by a processor, the method provided in the second aspect is performed.
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 application.
Drawings
Fig. 1 is a schematic view of an implementation scenario of the message display method of the present application;
FIG. 2 is a flow chart of one embodiment of a message display method of the present application;
FIG. 3(a) is a diagram illustrating an embodiment of an application scenario of the message display method according to the present application;
FIG. 3(b) is a diagram illustrating another embodiment of an application scenario of the message display method of the present application;
FIG. 4 is a flow chart of another embodiment of a message display method of the present application;
FIG. 5 is a flow chart of yet another embodiment of a message display method of the present application;
FIG. 6 is a flow chart of yet another embodiment of a message display method of the present application;
FIG. 7 is a flow chart of yet another embodiment of a message display method of the present application;
FIG. 8 is a flow chart of yet another embodiment of a message display method of the present application;
FIG. 9 is a flow chart of yet another embodiment of a message rendering method of the present application;
FIG. 10 is a flow chart of yet another embodiment of a message rendering method of the present application;
FIG. 11 is a flow chart of yet another embodiment of a message rendering method of the present application;
FIG. 12 is a flow chart of yet another embodiment of a message rendering method of the present application;
FIG. 13 is a block diagram of an embodiment of a message display apparatus according to the present application;
FIG. 14 is a schematic structural diagram of another embodiment of a message display apparatus according to the present application;
FIG. 15 is a schematic structural diagram of a message display apparatus according to still another embodiment of the present application;
FIG. 16 is a schematic structural diagram of a message display apparatus according to still another embodiment of the present application;
FIG. 17 is a schematic structural diagram of an embodiment of a computer apparatus according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings.
Fig. 1 is a schematic view of an implementation scenario of the message presentation method, and as shown in fig. 1, the message presentation method provided in the embodiment of the present application is implemented based on Artificial Intelligence (AI), which is a branch of computer science and is intended to understand the essence of Intelligence and produce a new intelligent machine that can react in a manner similar to human Intelligence, and research in this field includes robots, speech recognition, image recognition, natural language processing, expert systems, and the like. Since the birth of AI, theories and technologies are becoming mature day by day, and application fields are expanding continuously, so that scientific and technological products brought by artificial intelligence in the future can be assumed to be 'containers' of human intelligence. AI can simulate the information process of human consciousness, thinking. The AI is not human intelligence, but can think like a human, and may exceed human intelligence.
Fig. 2 is a flowchart of an embodiment of a message presentation method according to the present application, and as shown in fig. 2, the message presentation method may include:
step 201, receiving a group message.
The group message may be a message sent to the server by a group in which users using the same instant messaging application are located.
As shown in fig. 1, assume that the user using native a and the user using client B use the same instant messaging application (e.g., QQ or wechat) and that the user using native a and the user using buddy B are in the same group. If the user using client B sends a message in the group, the server receives the group message. The server may be the server in fig. 1.
Step 202, analyzing the group message to obtain the semantics of the group message.
In this embodiment, after receiving the group message, the server parses the group message to obtain the semantics of the group message.
Specifically, the parsing the group message to obtain the semantics of the group message may be:
(1) if the group message is an expression message, obtaining the semantics of the group message according to the original expression attribute of the group message; during specific implementation, the server can perform AI similarity matching according to the original expression attributes;
(2) if the group message is a picture message, extracting a text of the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message; in concrete implementation, the server can extract the text of the group message by means of AI in combination with the character extraction technology of the picture to obtain the text corresponding to the group message;
(3) if the group message is a voice message, performing voice recognition on the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message; in a specific implementation, the server may perform voice recognition on the group message by combining a voice recognition technology, obtain a text corresponding to the group message through voice translation, and obtain a semantic meaning of the group message through AI recognition of the text obtained through translation.
The semantic of obtaining the group message may be: and according to the character grammar, performing intelligent semantic conversion on the text corresponding to the group message to obtain the semantics of the group message.
Step 203, obtaining the topic corresponding to the group message according to the semantic meaning of the group message.
Step 204, merging the group message with the history message for the topic in the group.
In this embodiment, the server may perform statistics and analysis on the historical messages in the group according to the topic to which the server is directed, the association degree between the message publisher and the local user, the attention degree and/or the browsing frequency of the local user, and the like based on the AI basis, so that when the group message is combined with the historical messages for the topic in the group, the historical messages for the same topic as the group message in the group can be obtained.
In addition, the server side can also perform deviation maintenance on the data related to the existing habits of the user of the local computer through a general message classification algorithm.
The local user uses a user of a client, and the account number of the local user in the group is the login account number of the client.
Step 205, showing the merged message and the topic corresponding to the merged message.
Specifically, the topics showing the combined message and the combined message may be: and sending the combined message and the topic corresponding to the combined message to a client so that the client can display the combined message and the topic corresponding to the combined message.
In this embodiment, the client may be the native a and/or the client B in fig. 1. With reference to fig. 1, it can be seen that, in the message presentation method, after receiving a group message, a server analyzes the group message in combination with AI analysis to obtain semantics of the group message, then obtains a topic corresponding to the group message according to the semantics of the group message, merges the group message with a history message for the topic in the group, and finally presents the merged message and the topic corresponding to the merged message, so that the group message can be merged according to the topic, confusion of group messages of different topics is avoided, message reading efficiency of a user is improved, and user experience is improved.
In the embodiment shown in fig. 2 of the present application, step 201 to step 205 are described as an example executed by a server, but it is conceivable that step 201 to step 205 may also be executed by a client, and the present application is not limited thereto.
Referring to fig. 3(a) and fig. 3(b), fig. 3(a) is a schematic diagram of an embodiment of an application scenario of the application message presentation method, fig. 3(b) is a schematic diagram of another embodiment of an application scenario of the application message presentation method, fig. 3(a) illustrates that before the application message presentation method is used, after a user in a group sends a message containing a question to be discussed, other users respectively reply to the question to be discussed, so that the message containing the question to be discussed is easily flushed by the replies of the other users, and if the user in the group does not check the message containing the question at the first time, the message record needs to be searched to find the message containing the question, which is time-consuming and labor-consuming, the efficiency of reading the message by the user is low, and the experience is poor.
With the message presentation method provided in this embodiment of the present application, after receiving a group message, a server analyzes the group message in combination with AI analysis to obtain semantics of the group message, then obtains a topic corresponding to the group message according to the semantics of the group message, merges the group message with a history message for the topic in the group, and finally sends the merged message and the topic corresponding to the merged message to a client, so that the client can present the merged message and the topic corresponding to the merged message, as shown in fig. 3 (b). In fig. 3(b), what is shown in block 32 is the merged message, and the server further performs statistical analysis on the group message, such as statistics of merging 14 messages, similarity 13 messages, difference 1 message, and statistics of the number of users who do not reply, etc.
In fig. 3(b), when the group message is merged with the history message for the topic in the group, multi-level intelligent matching is performed, for example: when the text of "good" is matched, the primary matching result may include "good drip, good", and the secondary extended matching result may include "OK, yes, no question", in fig. 3(b), for "agree", "no question", "OK", "i see line", "good" and some emoticon messages, through multi-level intelligent matching, it can be obtained that these messages are all positive responses to the question to be discussed, and for "so bad bar", through multi-level intelligent matching, it can be obtained that this message is negative responses to the question to be discussed.
In addition, fig. 3(b) realizes topic differentiation for the merged messages, and a topic "shift 100 yuan, whether to agree" corresponding to the message merged this time is indicated by 32 in fig. 3 (b).
Fig. 4 is a flowchart of another embodiment of the message presentation method of the present application, as shown in fig. 4, in the embodiment shown in fig. 2 of the present application, step 203 may include:
step 401, if the group message includes the question to be discussed, matching the question to be discussed with the existing topic of the group.
Step 402, if the topic matched with the question to be discussed exists in the existing topics, determining that the topic matched with the question to be discussed in the existing topics is the topic corresponding to the group message; and if the topic matched with the problem to be discussed does not exist in the existing topics, establishing the topic corresponding to the group message.
For example, in fig. 3(a), "parents: our child … … ″ is a group message including a question to be discussed, so that when the topic corresponding to the group message is obtained, the question to be discussed needs to be matched with the existing topic of the group, and if the topic matched with the question to be discussed exists, the topic matched with the question to be discussed is determined to be the topic corresponding to the group message; if there is no topic matching with the question to be discussed in the existing topics, the topic corresponding to the group message needs to be established, as shown in fig. 3(b), there is no topic matching with "each parent: our child … … "topic matched with this group message, and then establishes the topic" shift 100 yuan, agree "corresponding to the above group message.
Fig. 5 is a flowchart of yet another embodiment of the message presentation method of the present application, as shown in fig. 5, in the embodiment shown in fig. 2 of the present application, step 203 may include:
step 501, if the receiving time of the group message is after the message including the question to be discussed and the group message includes a reply to the question to be discussed, determining that the topic corresponding to the group message is the topic corresponding to the question to be discussed.
For example, in fig. 3(a), the group message of "agree" or "good" is the group message including the reply to the question to be discussed, and for this group message, it is first determined whether the receiving time of this group message is after the message including the question to be discussed, and if so, the topic corresponding to this group message is determined to be the topic corresponding to the question to be discussed. Referring to fig. 3(b), for the group message of "agree" or "good", the corresponding topics are "parents: … … "the topic" shift 100 yuan corresponding to this group message, if you agree ".
In the embodiment shown in fig. 2, in step 204, in the process of merging the group message with the history message for the topic in the group, the group message sent by a white list account in the group needs to be separated, and the group message sent by an account in the group other than the white list account is merged, where the white list account is a white list account corresponding to the login account of the client in the group.
Further, before separating the group message sent by the white list account in the group, the white list account corresponding to the login account of the client in the group may be extracted according to the attention degree of the login account of the client to each account in the group.
That is to say, in this embodiment, the instant messaging relationship chain may be calculated, and the white list account may be extracted according to the degree of interest of the login account of the client to each account in the group, such as the frequency of account reminder (@) and/or the details of the content of the reminder.
After extracting the white list account corresponding to the login account of the client in the group, in the process of merging the group message with the history message for the topic in the group, the group message sent by the white list account needs to be separated, that is, the group message sent by the white list account is not merged, and only the group messages sent by the accounts other than the white list account in the group are merged.
Referring to fig. 3(b), "parental committee group leader" is a white list account of the login accounts of the native machine a, and thus, the group message transmitted by the "parental committee group leader" may not be merged.
Fig. 6 is a flowchart of yet another embodiment of the message presentation method of the present application, as shown in fig. 6, in the embodiment shown in fig. 2 of the present application, after step 205, the method may further include:
step 601, receiving the indication sent by the client to determine to merge the newly received group message.
Step 602, according to the above instructions, merging the newly received group message with the historical messages belonging to the same topic in the group.
Step 603, sending the merged message to the client, so that the client can display the merged message.
That is to say, for a real-time message newly received by the client, a prompt indicating whether to merge or not may be displayed to the user by the client, and then after the client receives an instruction that the user determines to merge, an instruction that determines to merge a newly received group message is sent to the server, and after the server receives an instruction that determines to merge a newly received group message and is sent by the client, the newly received group message and a history message belonging to the same topic in the group are merged according to the instruction, where a method used for merging is the same as that used in the embodiment shown in fig. 2 of the present application, and is not described again here. And then, sending the merged message to the client so that the client can display the merged message.
Fig. 7 is a flowchart of a further embodiment of the message presentation method of the present application, as shown in fig. 7, in the embodiment shown in fig. 2 of the present application, after step 205, the method may further include:
step 701, receiving a group message that is reported by the client and used by the user of the client to cancel merging and a reason for canceling merging the group message, where the group message that is canceled merging is selected by the user in the merged message.
Step 702, learning the reason.
Specifically, after the client displays the merged message, the user may expand the merged message, view the merged message, then may select the group message to be canceled from the merged message, and select a reason for canceling the merge, for example: the method comprises the steps that a user reason and/or a message type distribution error and the like are/is generated, then a client reports a group message which is obtained by using the client and is canceled and combined by the user to a server, the server learns the reason after receiving the group message which is canceled and combined and the reason which is canceled and combined by the group message, algorithm evolution is carried out, and the server does not combine the group message with the same reason for the group message with the same reason when message combination is carried out next time.
Fig. 8 is a flowchart of a further embodiment of the message presentation method of the present application, as shown in fig. 8, in the embodiment shown in fig. 2 of the present application, after step 204, the method may further include:
step 801, sending the related topic of the topic corresponding to the merged message to the client for displaying.
That is to say, in this embodiment, after merging the group message with the history message for the topic in the group, the server not only obtains the merged message and the topic corresponding to the merged message, but also obtains the associated topic of the topic corresponding to the merged message, as shown in fig. 3(b), "shift charge" and "shift charge consumption item" are associated topics of the topic corresponding to the merged message, and a hyperlink may be generated for the associated topic, so as to refer to the similar messages at the same time.
Fig. 9 is a flowchart of a further embodiment of a message presentation method according to the present application, and as shown in fig. 9, the message presentation method may include:
step 901, receiving a combined message sent by a server and a topic corresponding to the combined message, where the topic corresponding to the combined message and the combined message is obtained by obtaining the topic corresponding to the group message according to the semantics of the group message after the server receives the group message, and combining the group message and a history message for the topic in the group.
And step 902, showing the merged message and the topic corresponding to the merged message.
In the message showing method, after receiving the combined message sent by the server and the topic corresponding to the combined message, showing the combined message and the topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by obtaining the topic corresponding to the group message according to the semantics of the group message after the server receives the group message and combining the group message and the history message aiming at the topic in the group, so that the group message can be combined according to the topic, the confusion of the group messages of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
Fig. 10 is a flowchart of a further embodiment of the message presentation method of the present application, as shown in fig. 10, in the embodiment shown in fig. 9 of the present application, after step 902, the method may further include:
step 1001, after receiving the new group message, presents a prompt to the user whether to merge the newly received group message.
Step 1002, obtain the indication of the user input to determine to merge the newly received group message.
Step 1003, sending the instruction to the server.
Step 1004, receiving the merged message sent by the server, wherein the merged message is obtained after the server merges the newly received group message with the historical messages belonging to the same topic in the group according to the instruction.
Step 1005, displaying the merged message.
That is to say, for a real-time message newly received by the client, a prompt indicating whether to merge or not may be displayed to the user by the client, and then after the client receives an instruction that the user determines to merge, an instruction that determines to merge a newly received group message is sent to the server, and after the server receives an instruction that determines to merge a newly received group message and is sent by the client, the newly received group message and a history message belonging to the same topic in the group are merged according to the instruction, where a method used for merging is the same as that used in the embodiment shown in fig. 2 of the present application, and is not described again here. And then, sending the merged message to the client, and receiving the merged message and displaying the merged message by the client.
Fig. 11 is a flowchart of a further embodiment of the message presentation method of the present application, as shown in fig. 11, in the embodiment shown in fig. 9 of the present application, after step 902, the method may further include:
step 1101, obtaining the group message of canceling the merging selected by the user in the merged message and the reason for canceling the merging of the group message.
Step 1102, sending the group message of canceling the merging and the reason of canceling the merging of the group message to the server, so that the server learns the reason.
Specifically, after the client displays the merged message, the user may expand the merged message, view the merged message, then may select the group message to be canceled from the merged message, and select a reason for canceling the merge, for example: the method comprises the steps that a user reason and/or a message type distribution error and the like are/is generated, then a client reports a group message which is obtained by using the client and is canceled and combined by the user to a server, the server learns the reason after receiving the group message which is canceled and combined and the reason which is canceled and combined by the group message, algorithm evolution is carried out, and the server does not combine the group message with the same reason for the group message with the same reason when message combination is carried out next time.
Fig. 12 is a flowchart of a further embodiment of the message presentation method of the present application, as shown in fig. 12, in the embodiment shown in fig. 9 of the present application, after step 902, the method may further include:
step 1201, after receiving the new group message, showing the user a prompt whether to merge the newly received group message.
Step 1202, obtain the indication of the user input to determine to merge the newly received group message.
Step 1203, according to the above instruction, merging the newly received group message with the historical messages belonging to the same topic in the above group.
And step 1204, displaying the merged message.
That is to say, for a real-time message newly received by the client, the client may show a prompt indicating whether to perform merging to the user, and then after the client receives an instruction that the user determines to perform merging, the client itself may merge a group message newly received and a history message belonging to the same topic in the group according to the instruction, where a method used for merging is the same as that used in the embodiment shown in fig. 2 of the present application, and is not described again here. Then, the client displays the merged message.
The message display method provided by the embodiment of the application can realize AI intelligent combination on the redundant messages, thereby improving the message reading efficiency and bringing good user experience.
Fig. 13 is a schematic structural diagram of an embodiment of a message presentation apparatus according to the present application, where the message presentation apparatus in the embodiment of the present application can implement the message presentation method provided in the embodiments shown in fig. 2 to fig. 8 of the present application. As shown in fig. 13, the message presentation apparatus may include: a receiving module 1301, an analyzing module 1302, an obtaining module 1303, a merging module 1304 and a showing module 1305;
the receiving module 1301 is configured to receive a group message; the group message may be a message sent to the server by a group in which users using the same instant messaging application are located.
As shown in fig. 1, assume that the user using native a and the user using client B use the same instant messaging application (e.g., QQ or wechat) and that the user using native a and the user using buddy B are in the same group. If the user using client B sends a message in the group, the receiving module 1301 receives the group message.
The parsing module 1302 is configured to parse the group message received by the receiving module 1301 to obtain the semantics of the group message.
The parsing module 1302 is specifically configured to, when the group message is an expression message, obtain semantics of the group message according to an original expression attribute of the group message; when the group message is a picture message, extracting a text of the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message; and when the group message is a voice message, performing voice recognition on the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message.
In the process of obtaining the semantics of the group message, the parsing module 1302 is specifically configured to perform intelligent semantic conversion on the text corresponding to the group message according to the text grammar, so as to obtain the semantics of the group message.
The obtaining module 1303 is configured to obtain the topics corresponding to the group messages according to the semantics of the group messages obtained by the parsing module 1302.
A merging module 1304, configured to merge the group message with the history message for the topic in the group.
A displaying module 1305, configured to display the merged message and the topic corresponding to the merged message. The displaying module 1305 is specifically configured to send the combined message and the topic corresponding to the combined message to the client, so that the client displays the combined message and the topic corresponding to the combined message.
In this embodiment, the client may be the native a and/or the client B in fig. 1. With reference to fig. 1, in the message presentation apparatus, after the receiving module 1301 receives a group message, the parsing module 1302 parses the group message in combination with AI analysis to obtain semantics of the group message, then the obtaining module 1303 obtains a topic corresponding to the group message according to the semantics of the group message, the merging module 1304 merges the group message with a history message for the topic in the group, and finally the presentation module 1305 presents the merged message and the topic corresponding to the merged message, so that the group message is merged according to the topic, confusion of group messages of different topics is avoided, the message reading efficiency of a user is improved, and the user experience is improved.
Referring to fig. 3(a) and fig. 3(b), fig. 3(a) shows that after a user in a group sends a message containing a question to be discussed, other users reply to the question to be discussed, so that the message containing the question to be discussed is easily flushed by the replies of the other users, and if the user in the group does not view the message containing the question to be discussed in the first time, the message record needs to be reviewed to find the message containing the question to be discussed, which is time-consuming and labor-consuming, the efficiency of reading the message by the user is low, and the experience is poor.
With the message display apparatus provided in this embodiment of the application, after the receiving module 1301 receives the group message, the parsing module 1302 parses the group message by combining AI analysis to obtain semantics of the group message, then the obtaining module 1303 obtains a topic corresponding to the group message according to the semantics of the group message, the merging module 1304 merges the group message with a history message for the topic in the group, and finally the display module 1305 sends the merged message and the topic corresponding to the merged message to the client, so that the client can display the merged message and the topic corresponding to the merged message, as shown in fig. 3 (b). In fig. 3(b), the block 32 is shown as the merged message, and the message presentation apparatus may further perform statistical analysis on the group message, such as statistics on the merged 14 messages, similarity 13 messages, difference 1 message, and statistics on the number of users who do not reply, etc.
In fig. 3(b), when the merging module 1304 merges the group message with the history message for the topic in the group, multi-level intelligent matching is performed, for example: when the text of "good" is matched, the primary matching result may include "good drip, good", and the secondary extended matching result may include "OK, yes, no question", in fig. 3(b), for "agree", "no question", "OK", "i see line", "good" and some emoticon messages, through multi-level intelligent matching, it can be obtained that these messages are all positive responses to the question to be discussed, and for "so bad bar", through multi-level intelligent matching, it can be obtained that this message is negative responses to the question to be discussed.
In addition, fig. 3(b) realizes topic differentiation for the merged messages, and a topic "shift 100 yuan, whether to agree" corresponding to the message merged this time is indicated by 32 in fig. 3 (b).
Fig. 14 is a schematic structural diagram of another embodiment of a message presentation apparatus according to the present application, and compared with the message presentation apparatus shown in fig. 13, a difference is that in the message presentation apparatus shown in fig. 14, an obtaining module 1303 may include: a matching sub-module 13031, a determining sub-module 13032 and an establishing sub-module 13033;
wherein, the matching sub-module 13031 is configured to, when the group message includes a question to be discussed, match the question to be discussed with an existing topic of the group;
a determining sub-module 13032, configured to determine, when there is a topic that matches the problem to be discussed in the existing topics, that the topic that matches the problem to be discussed in the existing topics is the topic corresponding to the group message;
the establishing sub-module 13033 is configured to, when there is no topic matching with the question to be discussed in the existing topics, establish a topic corresponding to the group message.
For example, in fig. 3(a), "parents: our child … … ″ is the group message including the problem to be discussed, so that when the topic corresponding to the group message is obtained, the matching sub-module 13031 needs to match the problem to be discussed with the existing topic of the group, and if the topic matching with the problem to be discussed exists, the determining sub-module 13032 determines that the topic matching with the problem to be discussed is the topic corresponding to the group message; if there is no topic matching with the question to be discussed in the existing topics, the establishing sub-module 13033 needs to establish the topic corresponding to the group message, as shown in fig. 3(b), there is no topic matching with "each parent: our child … … "topic matched with this group message, then the establishing sub-module 13033 establishes the topic" shift 100 yuan, agree "corresponding to the above group message.
In this embodiment, the obtaining module 1303 may include:
the determining sub-module 13032 is configured to determine that the topic corresponding to the group message is the topic corresponding to the question to be discussed when the receiving time of the group message is after the message including the question to be discussed and the group message includes a reply to the question to be discussed.
For example, in fig. 3(a), the group message of "agree" or "good" is the group message including the reply to the question to be discussed, and for the group message, it is first determined whether the receiving time of the group message is after the message including the question to be discussed, and if so, the determining sub-module 13032 determines that the topic corresponding to the group message is the topic corresponding to the question to be discussed. Referring to fig. 3(b), for the group message of "agree" or "good", the corresponding topics are "parents: … … "the topic" shift 100 yuan corresponding to this group message, if you agree ".
In this embodiment, the merging module 1304 is further configured to, in a process of merging the group message with the history message for the topic in the group, separate the group message sent by the white list account in the group, and merge the group message sent by the account other than the white list account in the group, where the white list account is a white list account corresponding to the login account of the client in the group.
Further, the message presentation apparatus may further include: an extraction module 1306;
an extracting module 1306, configured to, before the merging module 1304 separates the group message sent by the white list account in the group, extract, according to a degree of attention of the login account of the client to each account in the group, the white list account corresponding to the login account of the client in the group.
That is to say, in this embodiment, the extraction module 1306 may perform calculation of an instant messaging relationship chain, and extract the white-list account according to the degree of interest of the login account of the client to each account in the group, such as frequency of account reminder (@) and/or details of content of reminder.
After the extraction module 1306 extracts the white list account corresponding to the login account of the client in the group, in the process that the merging module 1304 merges the group message with the history message for the topic in the group, the group message sent by the white list account needs to be separated, that is, the merging module 1304 does not merge the group message sent by the white list account, and only merges the group messages sent by accounts other than the white list account in the group.
Referring to fig. 3(b), "parental committee group leader" is a white list account of the login accounts of the native machine a, and thus, the group message transmitted by the "parental committee group leader" may not be merged.
In this embodiment, the receiving module 1301 is further configured to receive, after the presenting module 1305 presents the merged message and the topic corresponding to the merged message, an indication that the client determines to merge a newly received group message, where the indication is sent by the client;
a merging module 1304, configured to merge, according to the instruction received by the receiving module 1301, the newly received group message with the historical messages belonging to the same topic in the group;
the displaying module 1305 is further configured to send the message merged by the merging module 1304 to the client, so that the client displays the merged message.
That is to say, for a real-time message newly received by a client, a prompt indicating whether to merge or not may be displayed to a user by the client, and then after the client receives an instruction that the user determines to merge, an instruction that determines to merge a newly received group message is sent to a server, after the receiving module 1301 receives the instruction that determines to merge the newly received group message sent by the client, the merging module 1304 merges the newly received group message and a history message belonging to the same topic in the group according to the instruction. Then, the presentation module 1305 sends the merged message to the client, so that the client presents the merged message.
Further, the message presentation apparatus may further include: a learning module 1307;
a receiving module 1301, configured to receive a group message that a user using the client cancels merging and a reason why the group message cancels merging, which is reported by the client after the merged message and the topic corresponding to the merged message are presented by the presenting module 1305, where the group message cancels merging and is selected by the user in the merged message;
a learning module 1307 configured to learn the reason received by the receiving module 1301.
Specifically, after the client displays the merged message, the user may expand the merged message, view the merged message, then may select the group message to be canceled from the merged message, and select a reason for canceling the merge, for example: the client reports the group message of canceling the merging by the user using the client and the reason of canceling the merging of the group message to the server, after the receiving module 1301 receives the group message of canceling the merging and the reason of canceling the merging of the group message, the learning module 1307 learns the reasons and performs algorithm evolution, and when the next message merging is performed, the merging module 1304 may not merge the group message with the same reason for the group message with the same reason.
In this embodiment, the presentation module 1305 is further configured to send the associated topic of the topic corresponding to the merged message to the client for presentation.
That is to say, in this embodiment, after the group message is merged with the history message for the topic in the group, the merging module 1304 may obtain not only the merged message and the topic corresponding to the merged message, but also obtain the associated topic of the topic corresponding to the merged message, as shown in fig. 3(b), "shift fee" and "shift fee consumption item" are associated topics of the topic corresponding to the merged message, and a hyperlink may be generated for the associated topic, so as to refer to the similar messages at the same time.
Fig. 15 is a schematic structural diagram of a further embodiment of the message presentation apparatus according to the present application, where the message presentation apparatus in the present embodiment can implement the message presentation method provided in the embodiments shown in fig. 9 to 12 in the present application. As shown in fig. 15, the message presentation apparatus may include: a receive module 1501 and a presentation module 1502;
the receiving module 1501 is configured to receive a combined message sent by a server and a topic corresponding to the combined message, where the topic corresponding to the combined message and the combined message is obtained by acquiring a topic corresponding to a group message according to semantics of the group message after the group message is received by the server, and combining the group message with a history message for the topic in the group;
a showing module 1502 is configured to show the merged message and the topic corresponding to the merged message.
In the message exhibition apparatus, after the receiving module 1501 receives the combined message sent by the server and the topic corresponding to the combined message, the exhibition module 1502 exhibits the combined message and the topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by acquiring the topic corresponding to the group message according to the semantics of the group message after the server receives the group message, and merging the group message and the history message of the topic in the group, so that the group message can be merged according to the topic, thereby avoiding the confusion of the group messages of different topics, improving the message reading efficiency of the user, and improving the user experience.
Fig. 16 is a schematic structural diagram of yet another embodiment of a message presentation apparatus according to the present application, which is different from the message presentation apparatus shown in fig. 15 in that the message presentation apparatus shown in fig. 16 may further include: an obtaining module 1503 and a sending module 1504;
a display module 1502, configured to display, after the receiving module 1501 receives the new group message, a prompt to a user whether to merge the newly received group message;
an obtaining module 1503, configured to obtain an instruction input by the user to determine to merge a newly received group message;
a sending module 1504, configured to send the instruction obtained by the obtaining module 1503 to the server;
a receiving module 1501, configured to receive a merged message sent by the server, where the merged message is obtained by merging, by the server, a newly received group message with a history message belonging to the same topic in the group according to the instruction;
a display module 1502 is configured to display the merged message.
That is to say, for the real-time message newly received by the receiving module 1501, the displaying module 1502 may display a prompt indicating whether to merge the real-time messages to the user, then after the obtaining module 1503 obtains an indication that the user determines to merge the real-time messages, the sending module 1504 sends an indication that determines to merge the newly received group messages to the server, after the server receives the indication that determines to merge the newly received group messages sent by the client, the server merges the newly received group messages with the history messages belonging to the same topic in the group according to the indication, then sends the merged messages to the client, the receiving module 1501 receives the merged messages, and the displaying module 1502 displays the merged messages.
In this embodiment, the obtaining module 1503 is configured to obtain, after the presenting module 1502 presents the merged message and the topic corresponding to the merged message, a group message to cancel merging selected by the user from the merged message and a reason for canceling merging of the group message;
a sending module 1504, configured to send the group message with the merge cancellation result and the reason why the group message with the merge cancellation result to the server, so that the server learns the reason.
Specifically, after the presenting module 1502 presents the merged message, the user may expand the merged message, view the merged message, then may select a group message to cancel merging from the merged message, and select a reason for canceling merging, for example: the sending module 1504 reports the reason for canceling the group message merged by the user using the client and the reason for canceling the group message merged to the server, the server learns the reasons after receiving the reason for canceling the merged group message and the reason for canceling the merged group message, and performs algorithm evolution, and the server may not merge the group messages with the same reason for the group messages with the same reason when the next message merging is performed.
Further, the message presentation apparatus may further include: a get module 1503 and a merge module 1505;
the display module 1502 is further configured to display, after receiving the new group message, a prompt for whether to merge the newly received group message to the user;
an obtaining module 1503, configured to obtain an instruction input by the user to determine to merge a newly received group message;
a merging module 1505, configured to merge, according to the indication obtained by the obtaining module 1503, the newly received group message with the historical message belonging to the same topic in the group;
the presenting module 1502 is further configured to present the merged message.
That is to say, for the real-time message newly received by the receiving module 1501, the presenting module 1502 may present a prompt indicating whether to merge to the user, and then after the obtaining module 1503 obtains an instruction that the user determines to merge, the merging module 1505 may merge the newly received group message and the history message belonging to the same topic in the group according to the instruction, where a method used when the merging module 1505 merges is the same as that used in the embodiment shown in fig. 2 of the present application, and is not described again here. Then, the presentation module 1502 presents the merged message.
The message display device provided by the embodiment of the application can realize AI intelligent combination on redundant messages, thereby improving the message reading efficiency and bringing good user experience.
Fig. 17 is a schematic structural diagram of an embodiment of a computer device in the present application, where the computer device in the present embodiment may include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the message presentation methods provided in the embodiments of fig. 2 to 8 in the present application may be implemented.
The computer device may be a server, for example: a cloud server; the computer device may also be an intelligent terminal device such as a smart phone, a tablet computer, or a smart watch, and the form of the computer device is not limited in this embodiment.
FIG. 17 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present application. The computer device 12 shown in fig. 17 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
As shown in FIG. 17, computer device 12 is embodied in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 17, commonly referred to as a "hard drive"). Although not shown in FIG. 17, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via Network adapter 20. As shown in FIG. 17, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although not shown in FIG. 17, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the message presentation method provided by the embodiments shown in fig. 2 to 8 of the present application.
Embodiments of the present application further provide a non-transitory computer-readable storage medium, where computer-executable instructions in the storage medium are used to execute the message presentation method provided in the embodiments shown in fig. 2 to 8 of the present application when executed by a computer processor.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the present application further provides a computer program product, and when instructions in the computer program product are executed by a processor, the message presentation method provided in the embodiments shown in fig. 2 to 8 of the present application is executed.
An embodiment of the present application further provides a computer device, where the computer device may include a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the message presentation method provided in the embodiment shown in fig. 9 to 12 of the present application may be implemented.
The computer device may be an intelligent terminal device such as a smart phone, a tablet computer, or a smart watch, and the form of the computer device is not limited in this embodiment.
The block diagram of the computer device can be as shown in fig. 17, and is not described herein again.
Embodiments of the present application further provide a non-transitory computer-readable storage medium, where computer-executable instructions in the storage medium are used to execute the message presentation method provided by the embodiments shown in fig. 9 to 12 of the present application when executed by a computer processor.
The non-transitory computer readable storage medium described above may take any combination of one or more computer readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable compact disc Read Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiment of the present application further provides a computer program product, and when instructions in the computer program product are executed by a processor, the message presentation method provided in the embodiment shown in fig. 9 to 12 of the present application is executed.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present application, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic Gate circuit for implementing a logic function on a data signal, an asic having an appropriate combinational logic Gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), and the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.

Claims (16)

1. A message presentation method, comprising:
receiving a group message;
analyzing the group message to obtain the semantic meaning of the group message;
according to the semantics of the group message, obtaining the topic corresponding to the group message, wherein if the group message comprises the problem to be discussed, the problem to be discussed is matched with the existing topics of the group, if the topic matched with the problem to be discussed exists in the existing topics, the topic matched with the problem to be discussed in the existing topics is determined to be the topic corresponding to the group message, and if the topic matched with the problem to be discussed does not exist in the existing topics, the topic corresponding to the group message is established;
merging the group message with historical messages for the topic in the group through multi-level intelligent matching;
displaying the combined message and the topic corresponding to the combined message;
receiving a group message which is reported by a client and used for canceling combination of a user of the client and a reason for canceling combination of the group message, wherein the group message which is canceled and combined is selected by the user in the combined message;
the reason is learned so that when the message merging is performed next time, the message merging is not performed for the group message having the same reason.
2. The method of claim 1, wherein presenting the merged message and the topic to which the merged message corresponds comprises:
and sending the combined message and the topic corresponding to the combined message to a client so that the client can display the combined message and the topic corresponding to the combined message.
3. The method according to claim 1, wherein the obtaining the topic corresponding to the group message according to the semantic of the group message comprises:
and if the receiving time of the group message is after the message comprising the question to be discussed and the group message comprises the answer to the question to be discussed, determining the topic corresponding to the group message as the topic corresponding to the question to be discussed.
4. The method of claim 1, further comprising:
in the process of merging the group message with the historical message for the topic in the group, separating the group message sent by the white list account in the group, and merging the group message sent by the account except the white list account in the group, wherein the white list account is the white list account corresponding to the login account of the client in the group.
5. The method of claim 4, wherein before separating the group message sent by the white-list account in the group, further comprising:
and extracting a white list account corresponding to the login account of the client in the group according to the attention degree of the login account of the client to each account in the group.
6. The method of claim 1, wherein parsing the group message to obtain semantics of the group message comprises:
if the group message is an expression message, obtaining the semantics of the group message according to the original expression attribute of the group message;
if the group message is a picture message, extracting a text of the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message;
and if the group message is a voice message, performing voice recognition on the group message to obtain a text corresponding to the group message, and obtaining the semantics of the group message according to the text corresponding to the group message.
7. The method of claim 6, wherein obtaining the semantics of the group message comprises:
and according to the character grammar, performing intelligent semantic conversion on the text corresponding to the group message to obtain the semantics of the group message.
8. The method according to any one of claims 1-7, wherein after presenting the merged message and the topic corresponding to the merged message, further comprising:
receiving an indication sent by the client to determine to merge the newly received group messages;
according to the indication, combining the newly received group message with the historical messages belonging to the same topic in the group;
and sending the merged message to the client so that the client can display the merged message.
9. The method of claim 1, wherein after combining the group message with historical messages for the topic in the group according to the semantics of the group message, further comprising:
and sending the related topic of the topic corresponding to the combined message to the client for showing.
10. A message presentation method, comprising:
receiving a combined message sent by a server and a topic corresponding to the combined message, wherein the topic corresponding to the combined message and the combined message is obtained by combining the group message and historical messages aiming at the topic in the group through multi-level intelligent matching according to the semantic of the group message after the server receives the group message, and when the server obtains the topic corresponding to the group message, if the group message includes a problem to be discussed, the problem to be discussed is matched with the existing topic of the group, and if the topic matched with the problem to be discussed exists in the existing topic, the topic matched with the problem to be discussed in the existing topic is determined as the topic corresponding to the group message, if the topic matched with the problem to be discussed does not exist in the existing topics, establishing the topic corresponding to the group message;
displaying the combined message and the topic corresponding to the combined message;
acquiring a group message selected by a user in the merged messages and canceling the merging of the group message;
and sending the group message with the merging cancellation function and the reason for canceling the merging of the group message to the server, so that the server learns the reason to indicate that the server does not merge the group message with the same reason when the server performs message merging next time.
11. The method of claim 10, wherein after presenting the merged message and the topic corresponding to the merged message, further comprising:
after receiving the new group message, showing a prompt whether to combine the newly received group message to a user;
obtaining an indication input by the user to determine to merge newly received group messages;
sending the indication to the server;
receiving a combined message sent by the server, wherein the combined message is obtained after the server combines the newly received group message with the historical messages belonging to the same topic in the group according to the indication;
and displaying the merged message.
12. The method of claim 10, wherein after presenting the merged message and the topic corresponding to the merged message, further comprising:
after receiving the new group message, showing a prompt whether to combine the newly received group message to a user;
obtaining an indication input by the user to determine to merge newly received group messages;
according to the indication, combining the newly received group message with the historical messages belonging to the same topic in the group;
and displaying the merged message.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1-9 when executing the computer program.
14. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any one of claims 1-9.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 10-12 when executing the computer program.
16. A non-transitory computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the method of any of claims 10-12.
CN201810207901.6A 2018-03-14 2018-03-14 Message display method and device and computer equipment Active CN110149265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810207901.6A CN110149265B (en) 2018-03-14 2018-03-14 Message display method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810207901.6A CN110149265B (en) 2018-03-14 2018-03-14 Message display method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN110149265A CN110149265A (en) 2019-08-20
CN110149265B true CN110149265B (en) 2021-10-26

Family

ID=67588329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810207901.6A Active CN110149265B (en) 2018-03-14 2018-03-14 Message display method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN110149265B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327518B (en) * 2020-01-21 2022-10-11 上海掌门科技有限公司 Method and equipment for splicing messages
CN112131377A (en) * 2020-08-12 2020-12-25 北京邮电大学 Multi-strategy-based group chat topic detection method, device, equipment and storage medium
CN111970191B (en) * 2020-08-21 2021-10-15 腾讯科技(深圳)有限公司 Group interaction method and device, electronic equipment and computer readable storage medium
CN113923180B (en) * 2021-09-30 2023-02-03 北京字跳网络技术有限公司 Topic group message pushing method, receiving method, device, system and storage medium
CN114095467B (en) * 2021-12-31 2023-11-28 维沃移动通信有限公司 Message processing method and device
CN115334025B (en) * 2022-10-12 2023-02-28 北京百度网讯科技有限公司 Decentralized instant messaging method, decentralized instant messaging device, decentralized instant messaging equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932454A (en) * 2012-10-31 2013-02-13 陈业 Social network of multi-dimensional information organization structure
CN105407037A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Group chat device and method
CN106202095A (en) * 2015-05-05 2016-12-07 腾讯科技(深圳)有限公司 Group message display packing and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104536435B (en) * 2014-12-18 2017-06-30 中国科学院电工研究所 A kind of line control system network inline diagnosis method
US9729479B2 (en) * 2015-05-16 2017-08-08 International Business Machines Corporation Generate and display contextual hints in a message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932454A (en) * 2012-10-31 2013-02-13 陈业 Social network of multi-dimensional information organization structure
CN106202095A (en) * 2015-05-05 2016-12-07 腾讯科技(深圳)有限公司 Group message display packing and device
CN105407037A (en) * 2015-10-30 2016-03-16 努比亚技术有限公司 Group chat device and method

Also Published As

Publication number Publication date
CN110149265A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN110149265B (en) Message display method and device and computer equipment
CN110033659B (en) Remote teaching interaction method, server, terminal and system
US10062057B2 (en) Electronic meeting intelligence
US20210357768A1 (en) Electronic Meeting Intelligence
CN111325020B (en) Event argument extraction method and device and electronic equipment
KR20210038449A (en) Question and answer processing, language model training method, device, equipment and storage medium
CN109429522A (en) Voice interactive method, apparatus and system
WO2017186050A1 (en) Segmented sentence recognition method and device for human-machine intelligent question-answer system
CN109635094B (en) Method and device for generating answer
US20210225185A1 (en) Method and apparatus for determining key learning content, device and storage medium
CN110880324A (en) Voice data processing method and device, storage medium and electronic equipment
CN112507090A (en) Method, apparatus, device and storage medium for outputting information
CN115099239B (en) Resource identification method, device, equipment and storage medium
CN110019906B (en) Method and apparatus for displaying information
CN110867187B (en) Voice data processing method and device, storage medium and electronic equipment
CN112446214A (en) Method, device and equipment for generating advertisement keywords and storage medium
CN110689285A (en) Test method, test device, electronic equipment and computer readable storage medium
CN113886543A (en) Method, apparatus, medium, and program product for generating an intent recognition model
CN114118937A (en) Information recommendation method and device based on task, electronic equipment and storage medium
CN113901302A (en) Data processing method, device, electronic equipment and medium
CN110648119A (en) Training method and device, storage medium and electronic equipment
US20230135536A1 (en) Method and Apparatus for Processing Table
CN112699228B (en) Service access method, device, electronic equipment and storage medium
CN113934918A (en) Searching method and device for live broadcast, electronic equipment and storage medium
CN117574868A (en) Chart generation method, device, 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