CN112838976B - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN112838976B
CN112838976B CN201911155193.7A CN201911155193A CN112838976B CN 112838976 B CN112838976 B CN 112838976B CN 201911155193 A CN201911155193 A CN 201911155193A CN 112838976 B CN112838976 B CN 112838976B
Authority
CN
China
Prior art keywords
topic
message
group
display area
identifier
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
CN201911155193.7A
Other languages
Chinese (zh)
Other versions
CN112838976A (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 CN201911155193.7A priority Critical patent/CN112838976B/en
Publication of CN112838976A publication Critical patent/CN112838976A/en
Application granted granted Critical
Publication of CN112838976B publication Critical patent/CN112838976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message processing method and a device, in the method, a terminal determines a group chat interface corresponding to a topic message according to a group identifier, determines a topic message display area corresponding to the topic identifier as a topic message display area corresponding to the topic message, displays the message content of the subject message in the topic message display area corresponding to the topic message, and displays the message content of the group message through the group chat message display area corresponding to the group chat interface by the group identifier; the terminal divides the group messages into topic messages and group chat messages after receiving the group messages, then displays the message contents of the group messages in the group chat message display area, displays the message contents of the topic messages in the topic message display area, and displays the different types of group messages in different areas, so that the disordered display of the different types of group messages is avoided, and the technical problem that the display of the different types of group messages is disordered in the current group message processing method is solved.

Description

Message processing method and device
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for processing a message.
Background
Instant Messaging (IM) is the most common communication method at present, and is a terminal service that allows two or more people to communicate text information, pictures, voice and video instantly using a network. With the development of communication technology, various instant communication tools are also in a wide range, and the proportion of the instant communication tools in daily communication of users is increasing. An instant messaging group is a group of multiple instant messaging users, who can chat within the group.
Currently, a user can perform topic discussion in a group, for example, a user a @ a user b in the group can initiate a topic message to perform topic discussion, while other users in the group also send common group chat messages, and a terminal sorts and displays the messages according to the actual sending time of a server of each message, so that the messages are mixed together.
Namely, the technical problem that the display of different types of group messages is disordered exists in the current group message processing method.
Disclosure of Invention
The embodiment of the application provides a message processing method and a message processing device, which are used for solving the technical problem of disordered display of different types of group messages in the current group message processing method.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
an embodiment of the present application provides a message processing method, which includes:
receiving topic messages forwarded by a server;
analyzing the topic message to obtain a group identifier, a topic identifier and message content of the topic message;
determining a group chat interface corresponding to the topic message according to the group identifier, wherein the group chat interface comprises a group chat message display area and at least one topic message display area;
determining a topic message display area corresponding to the topic identifier as a topic message display area corresponding to the topic message;
and displaying the message content of the topic message in a topic message display area corresponding to the topic message.
An embodiment of the present application provides a message processing apparatus, which includes:
the receiving module is used for receiving the topic message forwarded by the server;
the analysis module is used for analyzing the topic message to obtain a group identifier, a topic identifier and message content of the topic message;
the first determining module is used for determining a group chat interface corresponding to the topic message according to the group identifier, wherein the group chat interface comprises a group chat message display area and at least one topic message display area;
the second determining module is used for determining the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message;
and the display module is used for displaying the message content of the topic message in the topic message display area corresponding to the topic message.
The embodiment of the application provides a terminal, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the instructions are suitable for the processor to load so as to execute the steps in the message processing method.
An embodiment of the present application provides a computer-readable storage medium, where a plurality of instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to perform the steps in the message processing method.
The embodiment of the application provides a new message processing method and a device for instant messaging group messages, in the method, a terminal receives the group messages sent by a server, extracts fields of the group messages according to a topic identification extraction mode, determines the group messages extracted to a topic identification field as topic messages, determines the group messages not extracted to the topic identification field as group chat messages, analyzes the topic messages to obtain the group identification, the topic identification and message content of the topic messages, determines a group chat interface corresponding to the topic messages according to the group identification, wherein the group chat interface comprises a group chat message display area and at least one topic message display area, determines the topic message display area corresponding to the topic identification as the topic message display area corresponding to the topic messages, and displays the message content of the topic messages in the topic message display area corresponding to the topic messages, displaying the message content of the group message through a group chat message display area of the group chat interface corresponding to the group identification; the group chat interface provided by the terminal comprises a group chat message display area and at least one topic message display area, the group messages are divided into topic messages and group chat messages after being received, then the message contents of the group messages are displayed in the group chat message display area, and the message contents of the topic messages are displayed in the topic message display area, so that by displaying the different types of group messages in different areas, the disordered display of the different types of group messages is avoided, the technical problem that the different types of group messages are displayed disorderly in the current group message processing method is solved, and the use experience of users is enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic networking diagram of an instant messaging system according to an embodiment of the present application.
Fig. 2 is a first flowchart illustrating a message processing method according to an embodiment of the present application.
Fig. 3 is a second flowchart of a message processing method according to an embodiment of the present application.
Fig. 4 is a third flowchart illustrating a message processing method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Fig. 7 to 10 are interface schematic diagrams of a group chat interface according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the application, the topic identifier is used for distinguishing and identifying the corresponding topic, and may be a number such as a number, or a user-defined name of a user, or a topic keyword automatically generated by the terminal according to the message content of the topic initiating user, or the like.
In the embodiment of the present application, a group refers to a group provided by an instant messaging application and composed of a plurality of instant messaging users; the group identifier is used for distinguishing and identifying the group, and may be a number such as a number, or a user-defined name of the user. The group message refers to a message sent by a user in an instant messaging group, and may be a chat message, a group announcement message, or the like; the type of the group message includes a conventional group chat message for all users or part of users in the group, and a topic message for part of user communication, and the group message at least includes a group identifier, message content, a message sending user identifier, and may also include a topic identifier, etc.
In the embodiment of the application, a topic participating user refers to a group member participating in a certain topic, and the number of the group member of the certain topic is often less than the total number of the group members; however, in some scenarios, the number of group members on a certain topic may be equal to the total number of members in the group, that is, all members in the group may participate in the discussion of the same topic, so that all members in the group may be shown in a partitioned manner based on topic identifiers for group messages sent by different topics, such as a dinner party notification and a conference notification.
As shown in fig. 7, when the current group message is displayed, the terminal displays all the group messages in a sequence according to time, the various types of group messages are displayed in a disordered manner, it is difficult for a user to distinguish which messages are group chat messages and which messages need to be replied by a topic participant, and a large number of @ messages, reference messages and the like are filled in a group chat interface, so that the use experience of the user is greatly reduced; the embodiment of the application can well solve the problem.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an instant messaging system according to an embodiment of the present application, where the system may include a user-side device and a service-side device, and the user-side device and the service-side device are connected through an internet formed by various gateways and the like, which are not described again; wherein:
the terminal 11 includes, but is not limited to, a portable terminal such as a mobile phone and a tablet equipped with an instant messaging application, and a fixed terminal such as a computer, an inquiry machine and an advertisement machine, and is a service port that can be used and operated by a user, and is hereinafter referred to as a terminal; e.g., a mobile phone with a chat application downloaded; in the application, the terminal provides functions of displaying, editing and the like of the group message;
the server 12 provides various service services for the instant messaging user, including an instant messaging server, a terminal manufacturer server, and the like, wherein the instant messaging server performs group message forwarding and the like between the terminal manufacturer servers, and the terminal manufacturer server is configured to send the group message to the corresponding terminal 11, and provide message reminding and display control services for the terminal 11 according to the reminding setting of the terminal 11 and the reminding setting of the group message.
It should be noted that the system scenario diagram shown in fig. 1 is only an example, and the server and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Fig. 2 is a first flowchart of a message processing method according to an embodiment of the present application, please refer to fig. 2, where the message processing method includes the following steps:
in this embodiment, a sending user sending a group message uses a sending terminal to compose message content in a message input window of a group chat interface, after the composition is completed and the sending is determined to be sent, the sending terminal constructs a group identifier corresponding to the group chat interface, a user identifier of the sending user, and possibly related topic identifiers together with the message content into a group message, and finally sends the group message to a terminal manufacturer server corresponding to the sending terminal. The terminal manufacturer server sends the group message to the instant communication server, the instant communication server determines the group members in the corresponding group according to the group identification, and further determines the user terminals used by the group members, aiming at the group message in the step, the user terminals can be regarded as receiving terminals, including other user terminals logged by the sending user, and respectively send the group message to the terminal manufacturer servers corresponding to the receiving terminals. A terminal manufacturer server corresponding to the receiving terminal generates a reminding control instruction according to a reminding mode configured by the receiving terminal, such as non-reminding, only vibration reminding, reminding on a lock screen, reminding in a notification center, banner reminding, sound, mark and other reminding modes, and sends all the reminding control instruction and the group message to the receiving terminal; in order to avoid disturbance of users irrelevant to the conversation problems, in a terminal manufacturer server, for topic participation users, a default reminding mode is to remind the users and to default and expand topic message display areas corresponding to the topics in a group chat interface, and for non-topic participation users, a default reminding mode is to not remind the users and to default and fold the topic message display areas corresponding to the topics in the group chat interface.
201: and the terminal receives the group message sent by the server.
In this embodiment, the receiving terminal receives the group message forwarded by the terminal manufacturer server through a wired network, a wireless network, or the like, and the topic message may be a general group chat message or a topic message for some topics.
Since the group chat message and the topic message need to be displayed in different areas in the group chat interface in the embodiment of the application, the receiving terminal needs to determine the type of the group message after receiving the group message.
202: the terminal judges whether the group message comprises a topic identifier.
According to the topic identification extraction mode, the field extraction is carried out on the group message so as to judge whether the group message comprises the topic identification, and different processing flows are executed according to different extraction results.
In the embodiment of the present application, the topic identification is marked by using a special mark in the group message, for example, the group message includes a field of "# saturday meal □", where saturday meal is the topic identification, and for example, the group message includes a field of "@ 2 pm meeting □", where 2 pm meeting is the topic identification, so that it can be known that the group message includes the topic identification, a start identification located before the topic identification, such as #, @, etc., and an end identification located before the topic identification, such as □, etc., where □ represents one or more spaces, which may not be displayed in practical use. Based on this, the step may adopt a topic identification extraction manner, for example, extracting fields such as text between the start identification and the end identification, and performing field extraction on the group message to obtain the topic identification. In an embodiment, the start identifier and the end identifier may be any characters, fields, texts, expressions, pictures, etc., and only the sending terminal and the receiving terminal need to agree on the role of each identifier.
And the terminal judges whether the group message comprises the topic identifier according to the extraction result and determines different display flows according to different judgment results. Specifically, if the group message includes a topic identifier, determining the group message extracted to the topic identifier field as the topic message, and executing step 203; if the group message does not include the topic identifier, the group message from which the topic identifier field is not extracted is determined as the group chat message, and step 210 is performed.
203: and the terminal analyzes the topic message to obtain the group identifier, the topic identifier and the message content of the topic message.
This step may be performed to receive the extraction result of step 202, and then only the group identifier and the message content may be obtained. The message content includes a message sender identifier, which may be a network-wide unique identifier, a user name, a personalized identifier, etc., for example, a name of the message sender in the group, and a message field, which may be one or more of various information such as text, picture, video, audio, map location, etc.
204: and the terminal determines a group chat interface corresponding to the topic message according to the group identifier.
In an embodiment, the group chat message display area and the topic message display area may be obtained by dividing a group chat interface, the size of the group chat message display area and the size of the topic message display area may be manually adjusted by a user or adaptively adjusted by a terminal, one topic message display area is used for displaying a topic message related to a topic, different topic message display areas are independent from each other, when no topic message needs to be displayed on the group chat interface, the topic message display area may be hidden, and at this time, all the group chat interfaces may display the group chat message.
205: the terminal judges whether a topic message display area corresponding to the topic message exists in the group chat interface.
In the supporting step 204, when no topic message is displayed in the topic message display area, the topic message display area is hidden, so that the step can determine whether the topic message display area corresponding to the topic message exists in the group chat interface, and execute different processing flows according to different determination results.
In an embodiment, since the terminal stores, for different groups, message records of the group, such as group chat messages and topic messages, and different topic message display areas are used for displaying topic messages of different topics, and correspond to different topic identifiers, the step may be directly performed according to the topic identifiers, and at this time, the step 205 includes: searching a topic message display area corresponding to the topic identification in the group chat interface according to the topic identification; if the topic message display area corresponding to the topic identifier is found, determining that the topic message display area corresponding to the topic message exists in the group chat interface as a result, executing step 206 to determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message; if the topic message display area corresponding to the topic identifier is not found, that is, if there is no topic message display area corresponding to the topic message in the group chat interface, it is determined that there is no topic message display area corresponding to the topic message in the group chat interface, and step 208 is executed to generate the topic message display area corresponding to the topic message.
In an embodiment, the topic message further carries a topic management identifier, for example, the above different types of start identifiers, "#" and "@", etc., where the different types of start identifiers have different management functions to implement functions of creating and replying to the topic, and at this time, this step 205 includes: analyzing the topic message to obtain a topic management identifier corresponding to the topic identifier; when the topic corresponding to the topic management identifier is a new topic, for example, when the topic management identifier (i.e., the initial identifier) is "#", it is determined that the group chat interface does not have a topic message display area corresponding to the topic message, step 208 is executed to generate a topic message display area corresponding to the topic message, and the message content of the topic message is displayed in the generated topic message display area; when the topic corresponding to the topic management identifier representing topic identifier is an existing topic, for example, when the topic management identifier (i.e., initial identifier) is "@", it is determined that the topic message display area corresponding to the topic message exists in the group chat interface, and step 206 is executed to determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message.
206: and the terminal determines the topic message display area corresponding to the topic message by using the topic message display area corresponding to the topic identifier.
207: and the terminal displays the message content of the topic message in a topic message display area corresponding to the topic message.
Step 206 and step 207 implement a mechanism of displaying the corresponding topic message in the topic message display region, and only one topic message related to one topic is displayed in one topic message display region, and in one topic message display region, each topic message is sorted according to time.
208: and the terminal generates a topic message display area corresponding to the topic message.
In one embodiment, this step includes: analyzing the topic message to obtain a topic identifier, message content and a user identifier of a topic participation user; determining the identification of the topic message display area according to the topic identification; determining the participating user identification of the topic message display area according to the user identification of the topic participating user; and determining the message content in the topic message display area according to the message content. A specific implementation of the present embodiment will be described below.
209: and the terminal displays the topic message in the generated topic message display area.
Step 208 and step 209 implement a mechanism for generating a topic message display area for the topic message and displaying the corresponding topic message in the generated topic message.
210: and the terminal displays the message content of the group message through the group chat message display area of the group chat interface corresponding to the group chat identifier.
In one embodiment, the terminal displays general group chat messages in a time sequence in the group chat message display area.
211: and the terminal reminds the group message.
In an embodiment, the terminal may adopt different reminding manners for the group chat message and the topic message, for example, the user may customize the reminding manner of the group chat message, and the topic participant user of the topic corresponding to the topic message must see the topic message, and the system defaults the reminding manner.
In an embodiment, for a group chat message, the terminal may perform a reminder according to a reminding mode set by the user for the group locally at the terminal, for example, the user sets the chat information of the group to be in a "message do not disturb" mode, at this time, the terminal does not remind the user to receive the new group chat information, for example, the user does not set the chat information of the group to be in a "message do not disturb" mode, at this time, the terminal reminds the user to receive the new group chat information according to the reminding mode corresponding to the terminal, for example, the terminal reminds the user to receive the new group chat information through a notification center.
In an embodiment, for a group chat message, a terminal may perform a reminder according to a reminder instruction sent by a server, after a user sets a reminder mode for the group locally at the terminal, the user may synchronize to a terminal manufacturer server corresponding to the terminal, for example, the user sets chat information of the group to be in a "message do not disturb" mode, at this time, the terminal manufacturer server generates a reminder instruction that does not remind the new group chat message, the terminal does not remind the user of receiving the new group chat message, for example, the user does not set the chat information of the group to be in the "message do not disturb" mode, at this time, the terminal manufacturer server generates a reminder instruction that reminds the new group chat message, and the terminal reminds the user of receiving the new group chat message according to the reminder mode configured by the terminal, for example, the terminal reminds through a notification center.
In one embodiment, for a topic message, this step 211 includes: the terminal acquires a reminding instruction corresponding to the topic message; when the reminding instruction indicates that the current terminal is reminded of the corresponding user, the current terminal is triggered to carry out topic message notification reminding; and when the reminding instruction indicates that the current terminal does not remind the corresponding user, the current terminal is not triggered to carry out topic message notification reminding.
In one embodiment, aiming at a topic message, a terminal determines a reminding instruction corresponding to the topic message according to whether a current user belongs to a topic participating user, generates a reminding instruction for indicating to remind the current terminal corresponding user when the current user belongs to the topic participating user, and generates a reminding instruction for indicating not to remind the current terminal corresponding user when the current user does not belong to the topic participating user; when the reminding instruction indicates that the current terminal corresponds to a user is reminded, the current terminal is triggered to carry out topic message notification reminding, such as reminding through a notification center, and a topic message display area corresponding to a topic is expanded; and when the reminding instruction indicates that the user corresponding to the current terminal is not reminded, the current terminal is not triggered to carry out topic message notification reminding, and the topic message display area corresponding to the topic is folded.
In one embodiment, for a topic message, a terminal can remind according to a reminding instruction sent by a server, a terminal manufacturer server determines a reminding instruction corresponding to the topic message according to whether a user corresponding to the current terminal belongs to a topic participating user, generates a reminding instruction for indicating to remind the user corresponding to the current terminal when the user corresponding to the current terminal belongs to the topic participating user, and generates a reminding instruction for indicating not to remind the user corresponding to the current terminal when the user corresponding to the current terminal does not belong to the topic participating user; when a reminding instruction received by the terminal indicates that a user corresponding to the current terminal is reminded, the current terminal is triggered to carry out topic message notification reminding, such as reminding through a notification center, and a topic message display area corresponding to a topic is expanded; when the reminding instruction received by the terminal indicates that the user corresponding to the current terminal is not reminded, the current terminal is not triggered to carry out topic message notification reminding, and a topic message display area corresponding to the topic is folded.
In the above description, the terminal is taken as an example of the receiving terminal, and in practical applications, the terminal used by the topic participation user also serves as the sending terminal of the topic message. Then, for the sending terminal, it is necessary to implement a topic creation function, a topic reply function, and a topic participation user adjustment function, which are described below, the topic creation message, the topic reply message, and the topic participation user adjustment message related below are all one of topic messages, and topic management identifiers of the topic creation message, the topic reply message, and the topic participation user adjustment message are different, and whether the topic participation user identifier is included is also different.
In one embodiment, to implement the new topic function, the method shown in fig. 2 further includes: a sending terminal monitors a new topic message on a group chat interface, wherein the new topic message comprises a group identifier, a topic identifier, message content, a user identifier of a topic participation user and a topic management identifier for representing that a topic corresponding to the topic identifier is a new topic; the sending terminal sends a new topic message to the server so as to indicate the server to send the new topic message to the terminals of the group members corresponding to the group identification; and after the new topic message is successfully sent, the sending terminal generates a topic message display area corresponding to the new topic message according to the topic identifier, the message content and the user identifier of the topic participating user.
Specifically, a sending user sending a new message of a topic uses a sending terminal to write an initial identifier such as "#" and the like, a topic identifier such as "saturday meal" and the like, an end identifier such as "□" and the like, a topic participating user such as "@ user 2" and the like, and message content for inputting topic identifiers in a message input window of a group chat interface, and after the writing is finished, the sending terminal establishes a group identifier, the initial identifier, the topic identifier, the end identifier, the user identifier of the topic participating user, and the message content corresponding to the group chat interface into a group message, and finally sends the group message to a terminal manufacturer server corresponding to the sending terminal; and after a successful response returned by the terminal manufacturer server is received, generating a topic message display area corresponding to the newly created topic message according to the topic identifier, the message content and the user identifier of the topic participating user.
In one embodiment, to implement the topic reply function, the method shown in fig. 2 further includes: the sending terminal monitors topic reply messages on the group chat interface, wherein the topic reply messages comprise group identifications, topic identifications, message contents and topic management identifications used for representing topics corresponding to the topic identifications as existing topics; the sending terminal sends the topic reply message to the server so as to instruct the server to send the topic reply message to the terminal of the group member corresponding to the group identifier; and after the topic reply message is successfully sent, the sending terminal displays the message content of the topic reply message in the topic message display area corresponding to the topic identifier.
Specifically, a sending user sending a topic reply message uses a sending terminal to compile a start identifier such as "@" and the like, a topic identifier such as "saturday meal" and the like, an end identifier such as "□" and the like of an input topic identifier in a message input window of a group chat interface, and message content, after the compilation is completed and the sending is determined, the sending terminal constructs a group identifier, the start identifier, the topic identifier, the end identifier and the message content corresponding to the group chat interface into a group message, and finally sends the group message to a terminal manufacturer server corresponding to the sending terminal; and after a successful response returned by the terminal manufacturer server is received, displaying the message content of the topic reply message in a topic message display area corresponding to the topic identifier.
In one embodiment, the user may also manage topic participation users, e.g., a topic participation user may invite other users in the group to participate in a topic, and may remove a topic participation user. The topic may be exited, and a user who does not participate in the topic in the group may also actively participate in the topic or invite other users in the group to participate in the topic, at this time, the method shown in fig. 2 further includes: the terminal monitors topic participation user adjustment information on a group chat interface, wherein the topic participation user adjustment information comprises a group identifier, a topic identifier and an adjusted topic participation user identifier; the terminal sends the topic participation user adjustment message to the server so as to instruct the server to send the topic participation user adjustment message to the terminal of the group member corresponding to the group identifier, and then the corresponding terminal is controlled to display the adjusted topic participation user identifier in the topic message display area corresponding to the topic identifier; the terminal displays the adjusted topic participation user identifier in the topic message display area corresponding to the topic identifier, which will be described in the following.
In one embodiment, the user may delete a topic or hide a topic, and the method shown in fig. 2 further includes: the terminal monitors the topic adjustment message in the group chat interface, and performs topic adjustment, such as topic position adjustment, topic deletion, topic hiding, and the like, according to the topic adjustment message.
In one embodiment, the topic message display area can be suspended on the group chat interface in a floating window mode.
In the method, after receiving a group message, a terminal divides the group message into a topic message and a group chat message, then displays the message content of the group message in a group chat message display area, displays the message content of the topic message in the topic message display area, and displays different types of group messages in different areas, thereby avoiding the disordered display of different types of group messages.
The present application will now be described by taking as an example that a user inputs a start identifier and an end identifier through an input box, and a server performs a prompt control.
Fig. 3 is a second flowchart of a message processing method according to an embodiment of the present application, please refer to fig. 3, where the message processing method includes the following steps:
301: the user terminal 1 generates and transmits a topic new message.
In this embodiment, all user terminals in the group use the same terminal vendor server.
Before this step, the group chat interface of group a is as shown in (1) in fig. 8, and all n members of group a, such as group members a1 and a2, are sent regular group chat messages, such as how much the sky is, and so on.
At time t0, group member a1 wants to initiate a topic, such as eating together in tomorrow, and if the group chat message is sent directly, other users will be affected; at this time, as shown in (2) in fig. 8, in this step, the group member a1 enters "# eat □ @ member a2@ member A3@ member a 4" # restaurant eating bar "in the input box Q1 of the chat interface of the group a and clicks the send button, and the terminal 1 generates the topic message" group a # eat □ @ member a2@ member A3@ member a4 member a 1: lunch at restaurant and sent to the terminal vendor server, where "member a 1: tomorrow noon together at restaurant dining bar "is the message content of the topic message.
302: the user terminal 1 generates a topic message display area corresponding to the new topic message and displays the message content of the topic message.
After receiving the message transmission success response transmitted from the terminal manufacturer server, the user terminal 1 generates a group chat interface as shown in (3) in fig. 8, and as shown in (3) in fig. 8, a topic sign "eat" is displayed in the first area Q21 of the topic message display area Q2, a user sign such as a user avatar of a topic participation user is displayed in the second area Q22, and the message content of the topic message is displayed in the third area Q23.
303: and the server forwards the new message of the topic.
The terminal manufacturer server sends the new topic establishment message to the instant messaging server, the instant messaging server determines n members such as group members A1, A2 and the like according to a group identifier 'group A' in the new topic establishment message, and sends the new topic establishment message to the terminal manufacturer servers corresponding to the terminals used by the members.
304: and the terminal manufacturer server determines a prompting instruction of each user terminal for newly establishing a message for the topic and forwards the new message of the topic to the user terminal.
The terminal manufacturer server determines a prompting instruction for newly creating a message for the topic according to whether the user corresponding to the user terminal belongs to the topic participating user, for example, for the user terminal 2 of the member a2, the prompting instruction generated by the server is to prompt the member a2 of the newly created message for the topic and display a topic message display area corresponding to the topic, and for the user terminal 5 of the member a5, the prompting instruction generated by the server is to not prompt the member a5 of the newly created message for the topic and fold the topic message display area corresponding to the topic.
305: and the user terminal generates a topic message display area corresponding to the new topic message and displays the message content of the topic message.
User terminal 2, and other user terminals, upon receiving the group message "group a # eat □ @ member a2@ member A3@ member a4 member a 1: and after the noon in tomorrow is all at the restaurant dining bar', a topic management identifier "#" is extracted, when the topic management identifier represents that the topic corresponding to the topic identifier is a new topic, the user terminal 2 and other user terminals generate topic message display areas corresponding to the topic messages, and the message contents of the topic messages are displayed in the generated topic message display areas.
For the user terminals of the topic participation users such as the user terminal 2, the user needs to be reminded of receiving new topic messages, and as shown in (4) in fig. 8, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message contents of the topic messages are displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For the user terminals of the non-topic participating users such as the user terminal 5, the user is not reminded of receiving the new topic message, and as shown in (5) in fig. 8, the topic identifier "eat" is displayed in the first region Q21 of the topic message display area Q2, and the topic message display area Q2 is folded by default.
The user may click on the presentation icon of the fourth region Q24 of the topic message presentation area Q2 to present or fold the topic message presentation area corresponding to the topic.
306: the user terminal 2 generates and transmits a topic reply message.
At time t1, group member A2 reverted to the topic "eat"; at this time, as shown in (6) in fig. 8, in this step, group member a2 inputs "@ eating □ good in the input box Q1 of the chat interface of group a, arrives on time" and clicks the send button, and terminal 2 generates the topic message "group a @ eating □ member a 2: good, on time ", and sent to the terminal vendor server, where" member a 2: good, on time "to the message content of the topic message. Specifically, when the terminal monitors that the member A2 inputs @ in an input box Q1 of a chat interface of the group A, a topic list is displayed, and the member clicks the topic 'eat' to be replied from the topic list to finish the input of @ eat □.
307: the user terminal 2 displays the message content of the topic message in the topic message display area corresponding to the topic message.
After receiving the message transmission success response transmitted from the terminal manufacturer server, the user terminal 2 generates a group chat interface as shown in (7) in fig. 8, and as shown in (7) in fig. 8, a topic sign "eat" is displayed in the first area Q21 of the topic message display area Q2, a user sign such as a user avatar of a topic participation user is displayed in the second area Q22, and the message content of the topic message is displayed in the third area Q23.
308: and the server forwards the topic reply message.
And the instant messaging server determines n members such as group members A1, A2 and the like according to the group identifier 'group A' in the topic reply message, and sends the topic reply message to the terminal manufacturer servers corresponding to the terminals used by the members.
309: and the terminal manufacturer server determines a reminding instruction of each user terminal for the topic reply message and forwards the topic reply message to the user terminal.
The terminal manufacturer server determines a reminding instruction for the topic reply message according to whether the user corresponding to the user terminal belongs to the topic participation user, for example, for the user terminal 1 of the member a1, the reminding instruction generated by the server is to remind the member a1 of the topic reply message and display a topic message display area corresponding to the topic, and for the user terminal 5 of the member a5, the reminding instruction generated by the server is to not remind the member a5 of the topic reply message and fold the topic message display area corresponding to the topic.
310: and the user terminal displays the message content of the topic message in a topic message display area corresponding to the topic reply message.
When other user terminals such as the user terminal 1 receive the group message "group a @ dining □, member a 2: after the topic information is displayed on time, a topic management identifier '@' is extracted, when the topic corresponding to the topic management identifier representing the topic identifier is the existing topic, the user terminal 1 and other user terminals determine the topic information display area corresponding to the topic identifier as the topic information display area corresponding to the topic information.
For the user terminal of the topic participation user such as the user terminal 1, the user needs to be reminded of receiving a new topic message, and as shown in (8) in fig. 8, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message content of the topic message is displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For a user terminal of a non-topic participating user such as the user terminal 5, the user is not reminded of receiving a new topic message, and as shown in (5) in fig. 8, the topic message display area Q2 corresponding to the topic "eat" is folded by default.
311: the user terminal 5 generates and transmits a topic participation user adjustment message.
At time t2, as shown in fig. 8 (9), group member a5 expands topic message display area Q2 corresponding to the topic "eat", and after reading the topic message, wishing to participate in discussion with group member A6, group member a5 first clicks on user adjustment control "+" in second area Q22 of topic message display area Q2, then clicks on member A6 in a pop-up popup window, and finally enters "@ eat □ @ member A6 tomorrow midday cafe" in input box Q1 of group a's chat interface and clicks on the send button, terminal 5 generates topic message "group a @ eat □ member a1@ member a2@ member A3@ member a4, member a5@ A6 member a 5: tomorrow noon we get together ", and send to the terminal vendor server, where" member a 5: tomorrow noon we get together "is the message content of the topic message.
312: the user terminal 5 displays the message content of the topic message in the topic message display area corresponding to the topic message.
After receiving the message transmission success response sent by the terminal vendor server, the user terminal 5 generates a group chat interface as shown in (1) in fig. 9, and as shown in (1) in fig. 9, a topic identifier "eat" is displayed in a first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of a topic participation user "@ member a1@ member a2@ member A3@ member a4@ member a5@ member a 6" is displayed in a second area Q22, and message content of the topic message is displayed in a third area Q23.
313: and the server forwards the topic participation user adjustment message.
The terminal manufacturer server sends the topic participation user adjustment message to the instant messaging server, the instant messaging server determines n members such as group members A1 and A2 according to a group identifier 'group A' in the topic participation user adjustment message, and sends the topic participation user adjustment message to the terminal manufacturer servers corresponding to the terminals used by the members.
314: and the terminal manufacturer server determines a reminding instruction of each user terminal for the topic participation user adjustment message and forwards the topic participation user adjustment message to the user terminal.
The terminal manufacturer server determines a reminding instruction for replying a message to the topic according to whether a user corresponding to the user terminal belongs to a topic participating user, for example, for the user terminal 1 of the member a1, the reminding instruction generated by the server is to remind the member a1 of the topic participating user adjustment message and display a topic message display area corresponding to the topic, for the user terminal 6 of the member a6, the reminding instruction generated by the server is to remind the member a6 of the topic participating user adjustment message and display the topic message display area corresponding to the topic, and for the user terminal 7 of the member a7, the reminding instruction generated by the server is to not remind the member a7 of the topic participating user adjustment message and fold the topic message display area corresponding to the topic.
315: and the user terminal displays the message content of the topic message in the topic message display area corresponding to the topic participation user adjustment message.
User terminal 1, among other user terminals, upon receiving the group message "group a @ dining □ @ member a1@ member a2@ member A3@ member a4@ member a5@ member a6 member a 5: and after tomorrow noon is got together, ' a topic management identifier ' @ ' is extracted, when the topic corresponding to the topic management identifier representing topic identifier is the existing topic, the user terminal 1 and other user terminals determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message.
For the user terminals of the topic participation users such as the user terminal 1, the user needs to be reminded of receiving new topic messages, and as shown in (2) in fig. 9, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message contents of the topic messages are displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For the user terminals of the non-topic participating users such as the user terminal 7, the user is not reminded of receiving the new topic message, and as shown in (5) in fig. 8, the topic message display area Q2 corresponding to the topic "eat" is folded by default.
316: the user terminal 7 generates and transmits a group chat message.
At time t3, as shown in fig. 9 (3), group member a7 needs to send a notification, enters "meeting in two meeting rooms today in the afternoon" in input box Q1 of the chat interface of group a and clicks the send button, and terminal 7 generates a group chat message "group a member a 7: two meeting rooms in the afternoon today "and sent to the terminal vendor server, where" member a 7: a meeting in two meeting rooms in the afternoon today "is the message content of a group chat message.
317: the user terminal 7 displays the message content of the group chat message in the group chat message display area.
After receiving the message transmission success response sent by the terminal vendor server, the user terminal 7 generates a group chat interface as shown in (4) in fig. 9, and displays the message content of the group chat message in the group chat message display area Q3 as shown in (4) in fig. 9.
318: and the server forwards the group chat message.
The terminal manufacturer server sends the group chat message to the instant messaging server, the instant messaging server determines n members such as group members A1 and A2 according to a group identifier 'group A' in the group chat message, and sends the group chat message to the terminal manufacturer servers corresponding to the terminals used by the members.
319: and the terminal manufacturer server determines a reminding instruction of each user terminal aiming at the group chat message and forwards the group chat message to the user terminal.
The terminal manufacturer server generates a corresponding reminding instruction according to a reminding mode set for the group chat message by a user corresponding to the user terminal, for example, for the user terminal 1 of the member a1, the member a1 is set as a group a "message do not disturb", the reminding instruction generated by the server is to remind the member a1 of the group chat message, and display the information content of the group chat message in the group chat message, for the user terminal 6 of the member a6, the member a6 is not set as a group a "message do not disturb", and the reminding instruction generated by the server is to remind the member a6 of the group chat message, and display the information content of the group chat message in the group chat message.
320: and the user terminal displays the message content of the group chat message in the group chat message display area.
When other user terminals such as the user terminal 1 receive the group message "group a member a 7: and after meeting in two meeting rooms in the afternoon, no topic identification is extracted, the message is determined as a group chat message, and the message content of the group chat message is displayed in a group chat message display area.
For the user terminal 1 and other user terminals that set the group a "do not disturb message", the user does not need to be reminded of receiving a new group chat message, and as shown in fig. 9 (5), the message content of the group chat message is displayed in the group chat message display area Q3, and the topic message display area corresponding to the topic of eating is in a display state.
For a user terminal such as the user terminal 8 that does not set the "message do not disturb" group a, the user is reminded of receiving a new group chat message, and as shown in fig. 9 (6), the message content of the group chat message is displayed in the group chat message display area Q3, and the topic message display area corresponding to the topic is in a folded state.
In one embodiment, as shown in (7) of fig. 9, member 1 may press the second area Q22 for a long time until the user avatar of the topic participant user appears "-" to perform the removal of the topic participant user, e.g. remove @ member A3, @ member a5 and @ member a6, and then click the send button, terminal 1 generates the topic participant user adjustment message "group a @ dining □ @ member a1@ member a2@ member a 4" and sends it to the terminal vendor server, wherein the topic participant user adjustment message has empty message content.
After receiving the message transmission success response sent by the terminal vendor server, the user terminal 1 generates the group chat interface shown in (8) in fig. 9, as shown in (7) in fig. 9, displays user identifications such as user head images of the topic participation user "@ member a1@ member a2@ member a 4" in the second area Q22 of the topic message display area Q2, and displays the message content of the topic message in the third area Q23.
The terminal manufacturer server sends the topic participation user adjustment message to the instant messaging server, the instant messaging server determines n members such as group members A1, A2 and the like according to a group identifier 'group A' in the topic participation user adjustment message, and sends the topic participation user adjustment message to the terminal manufacturer servers corresponding to the terminals used by the members.
The terminal manufacturer server determines a reminding instruction for replying a message to the topic according to whether the user corresponding to the user terminal belongs to the topic participation user, for example, for the user terminal 2 of the member a2, the reminding instruction generated by the server is to remind the member a2 of the topic participation user adjustment message and display a topic message display area corresponding to the topic, and for the user terminal 7 of the member a7, the reminding instruction generated by the server is to not remind the member a7 of the topic participation user adjustment message and fold the topic message display area corresponding to the topic.
After receiving the group message "group a @ dining □ @ member a1@ member a2@ member a 4", other user terminals such as the user terminal 2 extract the topic management identifier "@", and when the topic corresponding to the topic management identifier representing the topic identifier is an existing topic, the user terminal 1 and other user terminals determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message.
For the user terminals of the topic participation users such as the user terminal 2, the user needs to be reminded of receiving new topic messages, and as shown in (9) in fig. 9, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message contents of the topic messages are displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For the user terminals of the non-topic participating users such as the user terminal 7, the user is not reminded of receiving new topic messages, and as shown in (5) in fig. 9, the topic message display area Q2 corresponding to the topic "eat" is folded by default.
The embodiment provides a message processing method, which realizes topic creation, reply, display, user adjustment participation and the like based on special characters.
The present application is described by taking an example that a user inputs a start identifier and an end identifier through a newly added button control of a group chat interface and a terminal performs a reminding control.
Fig. 4 is a schematic flowchart of a third message processing method according to an embodiment of the present application, please refer to fig. 4, where the message processing method includes the following steps:
401: the user terminal 1 generates and transmits a topic new message.
In this embodiment, all the user terminals in the group use the same terminal manufacturer server, and in other embodiments, different user terminals may correspond to different terminal manufacturer servers, for example, a certain fruit server corresponding to a certain fruit mobile phone and a certain server corresponding to a certain mobile phone.
Before this step, a group chat interface of the group a is as shown in (1) in fig. 10, n members of the group a, such as all group members a1 and a2, are normal group chat messages sent, for example, how good the tomorrow is, and a button control "h" is newly added to an area Q4 of the group chat interface.
At time t0, group member a1 wants to initiate a topic, such as eating together in tomorrow, and if the group chat message is sent directly, other users will be affected; at this time, as shown in (2) in fig. 10, in this step, the group member a1 clicks the button control "h" of the chat interface of the group a, enters the topic list interface shown in (3) in fig. 10, inputs the topic identification "eat" of the newly-created topic, the message content "stay together at noon tomorrow at restaurant dining bar" and the topic participation user "@ member a2@ member A3@ member a 4", and then clicks the send button, the terminal 1 generates the topic message "group a # eat □ @ member a2@ member A3@ member a4 member a 1: lunch at restaurant and sent to the terminal vendor server, where "member a 1: noon in tomorrow together at restaurant dining bar "is the message content of the topic message.
402: the user terminal 1 generates a topic message display area corresponding to the new topic message and displays the message content of the topic message.
After receiving the message transmission success response transmitted from the terminal vendor server, the user terminal 1 generates a group chat interface as shown in (4) in fig. 10, and as shown in (4) in fig. 10, a topic sign "eat" is displayed in the first area Q21 of the topic message display area Q2, a user sign such as a user avatar of a topic participation user is displayed in the second area Q22, and the message content of the topic message is displayed in the third area Q23.
403: and the server forwards the new message of the topic.
The terminal manufacturer server sends the new topic establishment message to the instant messaging server, the instant messaging server determines n members such as group members A1, A2 and the like according to a group identifier 'group A' in the new topic establishment message, and sends the new topic establishment message to the terminal manufacturer servers corresponding to the terminals used by the members.
404: and the terminal manufacturer server determines a prompting instruction of each user terminal for newly establishing a message for the topic and forwards the new message of the topic to the user terminal.
The terminal manufacturer server determines a prompting instruction for newly creating a message for the topic according to whether the user corresponding to the user terminal belongs to the topic participating user, for example, for the user terminal 2 of the member a2, the prompting instruction generated by the server is to prompt the member a2 of the newly created message for the topic and display a topic message display area corresponding to the topic, and for the user terminal 5 of the member a5, the prompting instruction generated by the server is to not prompt the member a5 of the newly created message for the topic and fold the topic message display area corresponding to the topic.
405: and the user terminal generates a topic message display area corresponding to the new topic message and displays the message content of the topic message.
User terminal 2, and other user terminals, upon receiving the group message "group a # eat □ @ member a2@ member A3@ member a4 member a 1: and after the noon in tomorrow is all at the restaurant dining bar', a topic management identifier "#" is extracted, when the topic management identifier represents that the topic corresponding to the topic identifier is a new topic, the user terminal 2 and other user terminals generate topic message display areas corresponding to the topic messages, and the message contents of the topic messages are displayed in the generated topic message display areas.
For the user terminals of the topic participation users such as the user terminal 2, the user needs to be reminded of receiving new topic messages, and as shown in (5) in fig. 10, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message contents of the topic messages are displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For the user terminals of the non-topic participating users such as the user terminal 5, the user is not reminded of receiving a new topic message, and as shown in (6) in fig. 10, the topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, and the topic message display area Q2 is folded by default.
The user may click on the presentation icon of the fourth region Q24 of the topic message presentation area Q2 to present or fold the topic message presentation area corresponding to the topic.
406: the user terminal 2 generates and transmits a topic reply message.
At time t1, group member A2 reverted to the topic "eat"; at this time, as shown in (7) in fig. 10, in this step, the group member a2 clicks the button control "h" of the chat interface of the group a, and enters into the topic list interface, at this time, the existing topic of the topic list interface will include the topic corresponding to the topic identification "eat", the user selects the existing topic "eat", and inputs the message content "good, on time", and then clicks the send button, and the terminal 2 generates the topic message "group a @ eat □ member a 2: good, on time ", and sent to the terminal vendor server, where" member a 2: good, on time "to the message content of the topic message.
407: the user terminal 2 displays the message content of the topic message in the topic message display area corresponding to the topic message.
After receiving the message transmission success response transmitted from the terminal manufacturer server, the user terminal 2 generates a group chat interface as shown in (8) in fig. 10, and as shown in (8) in fig. 8, a topic sign "eat" is displayed in the first area Q21 of the topic message display area Q2, a user sign such as a user avatar of a topic participation user is displayed in the second area Q22, and the message content of the topic message is displayed in the third area Q23.
408: and the server forwards the topic reply message.
And the instant messaging server determines n members such as group members A1, A2 and the like according to the group identifier 'group A' in the topic reply message, and sends the topic reply message to the terminal manufacturer servers corresponding to the terminals used by the members.
409: and the terminal manufacturer server determines a reminding instruction of each user terminal for the topic reply message and forwards the topic reply message to the user terminal.
The terminal manufacturer server determines a reminding instruction for the topic reply message according to whether the user corresponding to the user terminal belongs to the topic participation user, for example, for the user terminal 1 of the member a1, the reminding instruction generated by the server is to remind the member a1 of the topic reply message and display a topic message display area corresponding to the topic, and for the user terminal 5 of the member a5, the reminding instruction generated by the server is to not remind the member a5 of the topic reply message and fold the topic message display area corresponding to the topic.
410: and the user terminal displays the message content of the topic message in a topic message display area corresponding to the topic reply message.
When other user terminals such as the user terminal 1 receive the group message "group a @ dining □, member a 2: after the topic information is displayed on time, a topic management identifier '@' is extracted, when the topic corresponding to the topic management identifier representing the topic identifier is the existing topic, the user terminal 1 and other user terminals determine the topic information display area corresponding to the topic identifier as the topic information display area corresponding to the topic information.
For the user terminal of the topic participation user such as the user terminal 1, the user needs to be reminded of receiving a new topic message, and as shown in (9) in fig. 10, a topic identifier "eat" is displayed in the first area Q21 of the topic message display area Q2, a user identifier such as a user avatar of the topic participation user is displayed in the second area Q22, message content of the topic message is displayed in the third area Q23, and the topic message display area Q2 is developed by default.
For the user terminal of the non-topic participating user such as the user terminal 5, the user is not reminded of receiving a new topic message, and as shown in (6) in fig. 10, the topic message display area Q2 corresponding to the topic "eat" is folded by default.
The embodiment provides a message processing method, which realizes functions of creating, replying, displaying and the like of topics based on a newly-added button control in a group chat interface.
In one embodiment, when a new topic is created, an initiating user may not select a topic participation user, so that the user participates in the topic discussion as needed, and the participation user determines participation people of some activities according to the topic at a certain time. For example, member a1 initiates an english-language activity, needs to count participants, can enter "# english angle □ to attend english angle at tomorrow afternoon" in input box Q1 of group a's chat interface and click the send button, terminal 1 generates the topic message "group a # english angle □, member a 1: join the english corner together in the afternoon tomorrow ", and send to the terminal vendor server, where" member a 1: the message contents of the messages which are topic messages are participated in English corner bars in the afternoon in the tomorrow.
After receiving a message transmission success response sent by the terminal manufacturer server, the user terminal 1 generates a group chat interface, a topic identifier "english horn" is displayed in a first area Q21 of a topic message display area Q2, user identifiers such as user icons of topic participation users are displayed in a second area Q22, at this time, only a member a1 is displayed, and a message content "member a 1" of a topic message is displayed in a third area Q23: join in english corner bar "tomorrow afternoon.
The terminal manufacturer server sends the new topic establishment message to the instant messaging server, the instant messaging server determines n members such as group members A1, A2 and the like according to a group identifier 'group A' in the new topic establishment message, and sends the new topic establishment message to the terminal manufacturer servers corresponding to the terminals used by the members.
And the terminal manufacturer server determines a reminding instruction for newly creating a message for the topic according to whether the user corresponding to the user terminal belongs to the topic participating user, and as the topic does not specify participating personnel, aiming at the user terminals of the user and members in the group, the reminding instruction generated by the server does not remind the members of the newly creating message for the topic, and the topic message display area corresponding to the topic is folded.
When other user terminals such as the user terminal 2 receive the group message "group a # english angle □, member a 1: after participating in an English corner bar together in the tomorrow afternoon, ' a topic management identifier ' # ' is extracted, when the topic management identifier represents that the topic corresponding to the topic identifier is a new topic, other user terminals such as the user terminal 2 and the like generate topic message display areas corresponding to topic messages, the message contents of the topic messages are displayed in the generated topic message display areas, and the topic message display areas Q2 are folded by default.
Group member A2 replies to the topic "English Angle" for activity entry; group member a2 enters the "@ english angle □ good, on time" and clicks the send button in input box Q1 of group a's chat interface, terminal 2 generates the topic message "group a @ english angle □ member a 2: good, on time ", and sent to the terminal vendor server, where" member a 2: good, on time "to the message content of the topic message. Specifically, when the terminal monitors that the member A2 inputs @ in an input box Q1 of a chat interface of the group A, a topic list is displayed, and the member clicks a topic 'English corner' to be replied in the topic list to finish the input of the @ English corner □.
After receiving the message transmission success response sent by the terminal manufacturer server, the user terminal 2 generates a group chat interface, a topic identifier "english horn" is displayed in the first area Q21 of the topic message display area Q2, user identifiers such as user avatars of topic participation users are displayed in the second area Q22, and the message content of the topic message is displayed in the third area Q23.
And the instant messaging server determines n members such as group members A1, A2 and the like according to the group identifier 'group A' in the topic reply message, and sends the topic reply message to the terminal manufacturer servers corresponding to the terminals used by the members.
The terminal manufacturer server determines a reminding instruction for the topic reply message according to whether the user corresponding to the user terminal belongs to the topic participation user, for example, for the user terminal 1 of the member a1, the reminding instruction generated by the server is to remind the member a1 of the topic reply message and display a topic message display area corresponding to the topic, and for the user terminals 3 of the users such as the member A3 and the like, the reminding instruction generated by the server is to not remind the member a5 of the topic reply message and fold the topic message display area corresponding to the topic.
When other user terminals such as the user terminal 1 receive the group message "group a @ english angle □, member a 2: after the topic information is well arrived on time, a topic management identifier '@' is extracted, when the topic corresponding to the topic management identifier representing the topic identifier is the existing topic, the user terminal 1 and other user terminals determine the topic information display area corresponding to the topic identifier as the topic information display area corresponding to the topic information.
Aiming at the user terminals of the topic participation users such as the user terminal 1, the user needs to be reminded of receiving new topic messages, a topic identifier 'English corner' is displayed in a first area Q21 of a topic message display area Q2, user identifiers such as user head portraits of the topic participation users are displayed in a second area Q22, message contents of the topic messages are displayed in a third area Q23, and the topic message display area Q2 is developed in a default mode.
Aiming at the user terminals of non-topic participating users such as the user terminal 3, the user is not reminded of receiving new topic messages, and the topic message display area Q2 corresponding to the topic of English corner is folded by default.
Finally, at a certain moment, the topic participation user of the topic 'English corner' is taken as the user needing to participate in the activity, so as to realize the management of the activity entry and the like.
Correspondingly, fig. 5 is a schematic structural diagram of a message processing apparatus provided in the embodiment of the present application, and referring to fig. 5, the message processing apparatus includes the following modules:
a receiving module 501, configured to receive a topic message forwarded by a server;
the parsing module 502 is configured to parse the topic message to obtain a group identifier, a topic identifier, and message content of the topic message;
a first determining module 503, configured to determine, according to the group identifier, a group chat interface corresponding to the topic message, where the group chat interface includes a group chat message display area and at least one topic message display area;
a second determining module 504, configured to determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message;
the display module 505 is configured to display the message content of the topic message in the topic message display area corresponding to the topic message.
In one embodiment, the receiving module 501 is configured to: receiving a group message sent by a server, wherein the group message comprises a group identifier and message content; according to the topic identification extraction mode, carrying out field extraction on the group message; determining the group message extracted with the topic identification field as a topic message; and determining the group message of which the topic identification field is not extracted as a group chat message, and triggering the display module 505 to display the message content of the group message through a group chat message display area corresponding to the group chat interface by the group identification.
In one embodiment, the first determining module 503 is configured to: when the group chat interface does not have a topic message display area corresponding to the topic message, generating a topic message display area corresponding to the topic message; and triggers the display module 505 to display the message content of the topic message in the generated topic message display area.
In one embodiment, the parsing module 502 is configured to: analyzing the topic message to obtain a topic management identifier corresponding to the topic identifier; when the topic corresponding to the topic management identifier representation topic identifier is a newly established topic, triggering the first determining module 503 to generate a topic message display area corresponding to the topic message, and triggering the display module 505 to display the message content of the topic message in the generated topic message display area; when the topic corresponding to the topic management identifier representing topic identifier is an existing topic, the first determining module 503 is triggered to determine the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message.
In one embodiment, the first determining module 503 is configured to: analyzing the topic message to obtain a topic identifier, message content and a user identifier of a topic participation user; determining the identification of the topic message display area according to the topic identification; determining the participating user identification of the topic message display area according to the user identification of the topic participating user; and determining the message content in the topic message display area according to the message content.
In one embodiment, presentation module 505 is to: acquiring a reminding instruction corresponding to the topic message; when the reminding instruction indicates that the current terminal is reminded of the corresponding user, the current terminal is triggered to carry out topic message notification reminding; and when the reminding instruction indicates that the current terminal does not remind the corresponding user, the current terminal is not triggered to carry out topic message notification reminding.
In an embodiment, as shown in fig. 5, the message processing apparatus further includes a sending module 506, configured to monitor a new topic message in the group chat interface, where the new topic message includes a group identifier, a topic identifier, message content, a user identifier of a topic participation user, and a topic management identifier for representing that a topic corresponding to the topic identifier is a new topic; sending a new topic message to a server to instruct the server to send the new topic message to a terminal of a group member corresponding to the group identifier; the first determining module 503 is triggered to generate a topic message display area corresponding to the new topic message according to the topic identifier, the message content and the user identifier of the user participating in the topic, and the display module 505 is triggered to display the message content of the topic message in the generated topic message display area.
In one embodiment, the sending module 506 is configured to: monitoring a topic reply message on a group chat interface, wherein the topic reply message comprises a group identifier, a topic identifier, message content and a topic management identifier for representing that a topic corresponding to the topic identifier is an existing topic; sending the topic reply message to the server to instruct the server to send the topic reply message to the terminal of the group member corresponding to the group identifier; and triggers the display module 505 to display the message content of the topic reply message in the topic message display area corresponding to the topic identifier.
In one embodiment, the sending module 506 is configured to: monitoring topic participation user adjustment information on a group chat interface, wherein the topic participation user adjustment information comprises a group identifier, a topic identifier and an adjusted topic participation user identifier; sending a topic participation user adjustment message to a server to instruct the server to send the topic participation user adjustment message to a terminal of a group member corresponding to the group identifier, and further controlling the corresponding terminal to display the adjusted topic participation user identifier in a topic message display area corresponding to the topic identifier; and triggers the display module 505 to display the adjusted topic participation user identifier in the topic message display area corresponding to the topic identifier.
Accordingly, an embodiment of the present application also provides a terminal, as shown in fig. 6, which may include Radio Frequency (RF) circuit 601, memory 602 including one or more computer-readable storage media, input unit 603, display unit 604, sensor 605, audio circuit 606, Wireless Fidelity (WiFi) module 607, processor 608 including one or more processing cores, and power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 604 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal, which may be configured by graphics, text, icons, video, and any combination thereof.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. The audio circuit 606 includes a speaker and a microphone may provide an audio interface between the user and the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607 and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions in the methods provided in the foregoing embodiments.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the resource management method, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium having stored therein a plurality of instructions, which can be loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
The above detailed description is given to a message processing method and apparatus, a terminal, and a computer-readable storage medium provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A message processing method, comprising:
receiving topic messages forwarded by a server;
analyzing the topic message to obtain a group identifier, a topic identifier and message content of the topic message;
determining a group chat interface corresponding to the topic message according to the group identifier, wherein the group chat interface comprises a group chat message display area and at least one topic message display area, and the group chat message display area and the topic message display area are areas obtained by dividing the group chat interface;
determining a topic message display area corresponding to the topic identifier as a topic message display area corresponding to the topic message;
and displaying the message content of the topic message in a topic message display area corresponding to the topic message, unfolding the topic message display area corresponding to the topic message when the current user belongs to a topic participation user corresponding to the topic message, and folding the topic message display area corresponding to the topic message when the current user does not belong to a topic participation user corresponding to the topic message.
2. The message processing method according to claim 1, wherein the step of receiving the topic message forwarded by the server comprises:
receiving a group message sent by a server, wherein the group message comprises a group identifier and message content;
according to the topic identification extraction mode, carrying out field extraction on the group message;
determining the group message extracted with the topic identification field as the topic message;
and determining the group message of which the topic identification field is not extracted as a group chat message, and displaying the message content of the group message through a group chat message display area of a group chat interface corresponding to the group identification.
3. The message processing method according to claim 1, further comprising, after the step of determining a group chat interface corresponding to the topic message according to the group identifier:
generating a topic message display area corresponding to the topic message when the group chat interface does not have the topic message display area corresponding to the topic message;
and displaying the message content of the topic message in the generated topic message display area.
4. The message processing method according to claim 1, further comprising, after the step of determining a group chat interface corresponding to the topic message according to the group identifier:
analyzing the topic message to obtain a topic management identifier corresponding to the topic identifier;
when the topic management identifier represents that the topic corresponding to the topic identifier is a new topic, generating a topic message display area corresponding to the topic message, and displaying the message content of the topic message in the generated topic message display area;
and when the topic management identifier represents that the topic corresponding to the topic identifier is an existing topic, determining the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message.
5. The message processing method according to claim 3 or 4, wherein the step of generating the topic message display area corresponding to the topic message comprises:
analyzing the topic message to obtain the topic identification, message content and user identification of the topic participation user;
determining the identification of the topic message display area according to the topic identification;
determining the participating user identification of the topic message display area according to the user identification of the topic participating user;
and determining the message content in the topic message display area according to the message content.
6. The message processing method according to any one of claims 1 to 4, characterized by, after the step of presenting the message content of the topic message, comprising:
acquiring a reminding instruction corresponding to the topic message;
when the reminding instruction indicates that a user corresponding to the current terminal is reminded, the current terminal is triggered to carry out topic message notification reminding;
and when the reminding instruction indicates that the current terminal does not remind the corresponding user, the current terminal is not triggered to carry out topic message notification reminding.
7. The message processing method according to any one of claims 1 to 4, further comprising:
monitoring a new message of a topic in a group chat interface, wherein the new message of the topic comprises a group identifier, a topic identifier, message content, a user identifier of a topic participation user and a topic management identifier for representing that the topic corresponding to the topic identifier is a new topic;
sending the new topic message to a server to instruct the server to send the new topic message to a terminal of a group member corresponding to the group identifier;
and generating a topic message display area corresponding to the new topic message according to the topic identifier, the message content and the user identifier of the topic participating user.
8. The message processing method according to any one of claims 1 to 4, further comprising:
monitoring topic reply messages on a group chat interface, wherein the topic reply messages comprise group identifications, topic identifications, message contents and topic management identifications for representing topics corresponding to the topic identifications as existing topics;
sending the topic reply message to a server to instruct the server to send the topic reply message to a terminal of a group member corresponding to the group identifier;
and displaying the message content of the topic reply message in a topic message display area corresponding to the topic identifier.
9. The message processing method according to any one of claims 1 to 4, further comprising:
monitoring topic participation user adjustment information on a group chat interface, wherein the topic participation user adjustment information comprises a group identifier, a topic identifier and an adjusted topic participation user identifier;
sending the topic participation user adjustment message to a server to instruct the server to send the topic participation user adjustment message to a terminal of a group member corresponding to the group identifier, and further controlling the corresponding terminal to display the adjusted topic participation user identifier in a topic message display area corresponding to the topic identifier;
and displaying the adjusted topic participation user identification in the topic message display area corresponding to the topic identification.
10. A message processing apparatus, comprising:
the receiving module is used for receiving the topic message forwarded by the server;
the analysis module is used for analyzing the topic message to obtain a group identifier, a topic identifier and message content of the topic message;
a first determining module, configured to determine, according to the group identifier, a group chat interface corresponding to the topic message, where the group chat interface includes a group chat message display area and at least one topic message display area, and the group chat message display area and the topic message display area are areas obtained by dividing the group chat interface;
the second determining module is used for determining the topic message display area corresponding to the topic identifier as the topic message display area corresponding to the topic message;
and the display module is used for displaying the message content of the topic message in the topic message display area corresponding to the topic message, unfolding the topic message display area corresponding to the topic message when the current user belongs to the topic participation user corresponding to the topic message, and folding the topic message display area corresponding to the topic message when the current user does not belong to the topic participation user corresponding to the topic message.
CN201911155193.7A 2019-11-22 2019-11-22 Message processing method and device Active CN112838976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911155193.7A CN112838976B (en) 2019-11-22 2019-11-22 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911155193.7A CN112838976B (en) 2019-11-22 2019-11-22 Message processing method and device

Publications (2)

Publication Number Publication Date
CN112838976A CN112838976A (en) 2021-05-25
CN112838976B true CN112838976B (en) 2022-08-09

Family

ID=75921513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911155193.7A Active CN112838976B (en) 2019-11-22 2019-11-22 Message processing method and device

Country Status (1)

Country Link
CN (1) CN112838976B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961828A (en) * 2021-10-11 2022-01-21 维沃移动通信有限公司 Message display method and device
CN115022272B (en) * 2022-04-02 2023-11-21 北京字跳网络技术有限公司 Information processing method, apparatus, electronic device and storage medium
CN115756254A (en) * 2022-09-27 2023-03-07 网易(杭州)网络有限公司 Group chat message management method and device and electronic equipment
CN115658199A (en) * 2022-09-30 2023-01-31 杭州安司源科技有限公司 Method, apparatus and computer-readable storage medium related to group advertisement
CN116032865B (en) * 2022-12-20 2023-11-03 北京京东拓先科技有限公司 Message processing method and device based on group chat

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011070334A1 (en) * 2009-12-10 2011-06-16 Chesterdeal Limited Accessing stored electronic resources
CN110262715A (en) * 2019-06-04 2019-09-20 腾讯科技(深圳)有限公司 Information processing method and device, computer readable storage medium and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112478B2 (en) * 2006-03-13 2012-02-07 Oracle International Corporation Email and discussion forum system
US10268340B2 (en) * 2015-06-11 2019-04-23 International Business Machines Corporation Organizing messages in a hierarchical chat room framework based on topics
CN106911555A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 Group chat message treatment method, server and terminal
CN106230609A (en) * 2016-07-29 2016-12-14 上海北信源信息技术有限公司 One population message orientation method for pushing and device
CN106302108B (en) * 2016-08-03 2019-11-05 努比亚技术有限公司 Group's information management method and device
WO2018060834A2 (en) * 2016-10-01 2018-04-05 Angusamy Eswaramoorthy Method and system for providing topic based organized communication
CN108243086B (en) * 2016-12-26 2021-08-17 苏宁易购集团股份有限公司 Message processing method and system
CN108494572B (en) * 2018-03-19 2021-10-01 北京三快在线科技有限公司 Topic group creation method and device based on group
CN110061909B (en) * 2019-04-30 2023-05-05 上海连尚网络科技有限公司 Method and apparatus for processing information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011070334A1 (en) * 2009-12-10 2011-06-16 Chesterdeal Limited Accessing stored electronic resources
CN110262715A (en) * 2019-06-04 2019-09-20 腾讯科技(深圳)有限公司 Information processing method and device, computer readable storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《Instant message classification in Finnish cyber security themed free-form discussion》;Samir Puuska 等;《IEEE》;20161231;全文 *
《移动社交应用的适度设计研究》;刘晨艳;《中国优秀硕士学位论文全文数据库》;20160601;全文 *

Also Published As

Publication number Publication date
CN112838976A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN112838976B (en) Message processing method and device
CN108306810B (en) Group building method, server and terminal
US9973829B2 (en) Method for video communications and terminal, server and system for video communications
US20130055112A1 (en) Computerized System And Method Supporting Message-Based Group Communication Sessions
WO2020238873A1 (en) Communication method, server, and communication system
JP2006516773A (en) Method, system, and computer program for generating user interface for chatting via network
KR20160104477A (en) Method for structuring of group icon and apparatus therfor
CN111669311A (en) Communication method, communication device, communication system, electronic equipment and readable storage medium
US20130198657A1 (en) Integrated Public/Private Online Conference
CN105429845B (en) Schedule information processing method and system and related equipment
US10200338B2 (en) Integrating communication modes in persistent conversations
CN112087363A (en) Message processing method and device, terminal and server
US20160127292A1 (en) Method and system for controlling polling in message conversations across multiple devices
EP4135271A1 (en) Information interaction method and apparatus, device, and medium
US20200111059A1 (en) Method for event reminding, and method and apparatus for generating event reminding message
JP2021506034A (en) Servers and user terminals that support the management of social networks
US20230275862A1 (en) Information processing method and apparatus, terminal, and storage medium
WO2020187085A1 (en) Message input and display method and apparatus, electronic device and readable storage medium
CN112118168A (en) Message sending method, device, terminal and storage medium
WO2018093739A1 (en) Threaded conversation channel with a temporarily exclusive conversation
US20240080294A1 (en) Message transmission method, message receiving method, apparatus, device, and medium
CN111698147B (en) Message prompting method, device, terminal and storage medium
CN110224924B (en) State updating method and device, storage medium and electronic device
CN114527913B (en) Message display method and device and terminal equipment
KR20080076202A (en) Controlling method of instant messenger service for mobile communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40044420

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant