CN109729005B - Message processing method and device, computer equipment and storage medium - Google Patents
Message processing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109729005B CN109729005B CN201910001786.1A CN201910001786A CN109729005B CN 109729005 B CN109729005 B CN 109729005B CN 201910001786 A CN201910001786 A CN 201910001786A CN 109729005 B CN109729005 B CN 109729005B
- Authority
- CN
- China
- Prior art keywords
- message
- identifier
- new
- read
- current session
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a message processing method, a message processing device, computer equipment and a storage medium, wherein the method comprises the following steps: a current session identifier corresponding to the current session; acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier; when the one or more new messages are confirmed to be displayed on a current session interface corresponding to the current session, outputting message read type identifications corresponding to the one or more new messages; and silent sending of a read message reply to a target message sending end corresponding to the source identifier, wherein the read message reply comprises a message identifier and the read message type identifier. The method can improve the message reply efficiency.
Description
Technical Field
The present invention relates to the field of computer devices, and in particular, to a message processing method, apparatus, computer device, and storage medium.
Background
With the popularization and increased ease of use of terminals, people often use terminals to communicate in everyday life and production activities, such as sending messages through instant messaging applications. At present, when a terminal receives a message and a user needs to reply the message, the user can click an input box, input the message on the input box, click a sending button after the input is finished, and reply the message, and the sending steps of the message are complicated, and the message sending efficiency of the terminal is low.
Disclosure of Invention
In view of the above, it is necessary to provide a message processing method, a message processing apparatus, a computer device, and a storage medium, for solving the problems that the above-described message transmission procedure is complicated and the message transmission efficiency of the terminal is low.
A method of message processing, the method comprising: acquiring a current session identifier corresponding to a current session; acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier; when the one or more new messages are confirmed to be displayed on a current session interface corresponding to the current session, outputting message read type identifications corresponding to the one or more new messages; and silent sending of a read message reply to a target message sending end corresponding to the source identifier, wherein the read message reply comprises a message identifier and the read message type identifier.
A method of message processing, the method comprising: receiving one or more new messages sent to a message receiving end by a message sending end corresponding to a current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier; sending the one or more new messages and the corresponding current session identification to the message receiving end so that the message receiving end can acquire the one or more new messages corresponding to the current session identification, and outputting the message read type identification corresponding to the one or more new messages when confirming that the one or more new messages are displayed on the current session interface corresponding to the current session; acquiring a message read reply sent by the message receiving terminal, wherein the message read reply comprises a message identifier and the message read type identifier, and the message read reply is sent by the message receiving terminal to a target message sending terminal corresponding to the source identifier in a silent mode; and sending a message read reply of the message corresponding to the message identifier to a target message sending end corresponding to the source identifier according to the message read type identifier.
A message processing device comprises a current session identifier acquisition module, a message processing module and a message processing module, wherein the current session identifier acquisition module is used for acquiring a current session identifier corresponding to a current session; a new message obtaining module, configured to obtain one or more new messages corresponding to the current session identifier, where each of the one or more new messages includes a source identifier and a unique message identifier; a read type identifier output module, configured to output a message read type identifier corresponding to the one or more new messages when it is determined that the one or more new messages are displayed in a current session interface corresponding to the current session; and the first message read reply sending module is used for sending a message read reply to the target message sending end corresponding to the source identifier in a silent mode, wherein the message read reply comprises a message identifier and the message read type identifier.
A message processing apparatus, the apparatus comprising: the new message receiving module is used for receiving one or more new messages sent to a message receiving end by a message sending end corresponding to the current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier; a new message sending module, configured to send the one or more new messages and the corresponding current session identifier to the message receiving end, so that the message receiving end obtains the one or more new messages corresponding to the current session identifier, and when it is determined that the one or more new messages are displayed in the current session interface corresponding to the current session, outputs a message read type identifier corresponding to the one or more new messages; a message read reply acquisition module, configured to acquire a message read reply sent by the message receiving end, where the message read reply includes a message identifier and the message read type identifier, and the message read reply is sent by the message receiving end to a target message sending end corresponding to the source identifier in a silent manner; and the second message read reply sending module is used for sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier according to the message read type identifier.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the above-mentioned message processing method.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the above-mentioned message processing method.
According to the message processing method, the message processing device, the computer equipment and the storage medium, when one or more new messages of the current session are confirmed to be displayed on the current session interface, the message read type identifications corresponding to the one or more new messages are output, and the message read reply is sent to the target message sending end of the message in a silent mode, wherein the message read reply comprises the message identifications and the message read type identifications. Therefore, the message read reply can be sent without any operation input by the user, and the interference of the message to the user can be reduced by silent sending, so that the message reply efficiency of the terminal is high.
Drawings
FIG. 1 is a diagram of an application environment for a message processing method provided in some embodiments;
FIG. 2 is a flow diagram of a message processing method in some embodiments;
FIG. 3 is a schematic diagram of a session setup interface in some embodiments;
FIG. 4A is a flow diagram of a method of message processing in some embodiments;
FIG. 4B is a block diagram of a message processing system in some embodiments;
FIG. 5A is a schematic diagram of a session interface after a message sender sends a new message in some embodiments;
FIG. 5B is a schematic diagram of a session interface after a message receiver receives and displays a new message in some embodiments;
fig. 5C is a schematic view of a session interface of a current terminal after a message sender receives a message read reply in some embodiments;
FIG. 6 is a flow diagram of a method of message processing in some embodiments;
FIG. 7 is a flow diagram of sending one or more new messages to a message receiver in some embodiments;
FIG. 8 is a timing diagram of a message processing method in some embodiments;
FIG. 9 is a block diagram of a message processing apparatus in some embodiments;
FIG. 10 is a block diagram of a message processing apparatus in some embodiments;
FIG. 11 is a block diagram of the internal structure of a computer device in some embodiments;
FIG. 12 is a block diagram of the internal architecture of a computing device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first new message may be referred to as a second new message, and similarly, a second new message may be referred to as a first new message, without departing from the scope of the present application.
Fig. 1 is a diagram of an application environment of a message processing method provided in some embodiments, as shown in fig. 1, in the application environment, a message sender 110, a server 120, and a message receiver 130 are included.
The message sender 110 and the message receiver 130 may send session messages through the server 120. The server 120 may be an instant messaging application server for distributing messages between the message sender 110 and the message receiver 130. A session user may send one or more new messages to the server 120 through the message sending end 110, after receiving the one or more new messages, the server 120 sends a current session identifier and one or more corresponding new messages to the message receiving end 130, where each new message includes a source identifier and a unique message identifier, the message receiving end 130 obtains the current session identifier corresponding to the current session, obtains one or more new messages corresponding to the current session identifier, and outputs a message read type identifier corresponding to the one or more new messages when it is determined that the one or more new messages are displayed on the current session interface corresponding to the current session. The message receiving end 130 sends a message read reply to the target message sending end corresponding to the source identifier in a silent mode, wherein the message read reply comprises the message identifier and the message read type identifier. The message read reply may be sent to the message sender 110 through the server 120, and the message sender 110 displays a reply result of the sent message according to the message read reply.
It can be understood that, the above-mentioned message sending end and message receiving end are relative to the current new message sent currently, one end sending the current new message is called a message sending end, one end receiving the current new message is called a message receiving end, a session user sending the current new message is called a message sending end, and a session user receiving the current new message is called a message receiving end. The roles of message sender, message receiver, and message receiver may be reversed for other new messages.
The server 120 may be an independent physical server, or may be a server cluster formed by a plurality of physical servers, and may be a cloud server providing basic cloud computing services such as a cloud server, a cloud database, a cloud storage, and a CDN. The message sending terminal 110 and the message receiving terminal 130 may be terminals such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, but are not limited thereto. The message sending end 110, the message receiving end 130, and the server 120 may be connected through communication connection manners such as a network, and the invention is not limited herein.
As shown in fig. 2, in some embodiments, a message processing method is proposed, and this embodiment is mainly exemplified by applying the method to the message receiving end 130 in fig. 1. The method specifically comprises the following steps:
step S202, a current session identifier corresponding to the current session is obtained.
In particular, a session is an interactive process between at least one user and other users, which may be an instant messaging session, for example. The instant messaging application corresponding to the instant messaging session can be a messaging application such as WeChat, QQ and microblog. The session may be a two-party session or a group session, the two-party session includes two session users, and the group session includes at least three session users. The current conversation refers to a conversation corresponding to a current conversation interface currently displayed by the message receiving end. The message receiving end may have a plurality of sessions, the session interface currently displayed by the message receiving end may be an interface of one of the sessions, and the session corresponding to the session interface is the current session. The current session identifier is used to uniquely identify the current session, and may be a character string including at least one of a number, a letter, and a symbol. The current session identity may be 00001AE, for example.
Step S204, one or more new messages corresponding to the current session identifier are obtained, and the one or more new messages respectively comprise a source identifier and a unique message identifier.
Specifically, the new message refers to a new session message received by the message receiving end, and the message receiving end has not read the new session message. The source identifier is used to identify a source of the information, and may be, for example, a session user identifier corresponding to the session user, and may also be referred to as a message sender identifier. The message identifier is used for uniquely identifying the message, and may be a character string including at least one of a number, a letter, and a symbol. The number of new messages corresponding to the current session identifier may be one or more, for example, 8, according to the specific situation. Each new message includes a source identification and a unique message identification. For example, after a user can input message content on a current session interface in the message sending end, click a sending button, the message sending end sends a corresponding new message to the server, and the server sends the new message to a corresponding message receiving end.
In some embodiments, the new message corresponding to the current session identifier may be sent by a message sender corresponding to the same session party, or may be sent by message senders corresponding to multiple session parties. For example, for a two-party conversation, a new message is sent by the other party to the conversation. For a group session, a new message corresponding to the current session identifier may be sent by one or more of the parties. As an actual example, the group session a includes 4 group session users, namely, a1, a2, a3 and a4, and the one or more new messages received by the message receiver corresponding to a4 may include session messages sent by one or more of the message sender corresponding to a1, the message sender corresponding to a2 and the message sender corresponding to a 3.
Step S206, when confirming that one or more new messages are displayed on the current session interface corresponding to the current session, outputting the message read type identification corresponding to the one or more new messages.
Specifically, the message read type identifier is used to indicate that a message has been read, and may be a message corresponding to one message read type identifier, or multiple new messages corresponding to one message read type identifier. After the terminal acquires the new message, the terminal can display the new message on the current conversation interface, and if the received new message is determined to be displayed on the current conversation page, the terminal can confirm that the new message is read by the message receiver, so that the message read type identifier corresponding to the new message is output.
In some embodiments, when a new message is received, the message receiver renders and presents the new message on the current conversation interface. For example, rendering and displaying are performed according to the sending time corresponding to the new message in sequence, and after the rendering of the new message is completed, it can be confirmed that the new message is displayed on the current session interface corresponding to the current session.
In some embodiments, the view display component may be associated with the new message. Wherein one view display component may correspond to a new message. When the view display component corresponding to the new message is confirmed to be displayed on the current session interface, the corresponding new message can be confirmed to be displayed on the current session interface corresponding to the current session.
To take a practical example, a list of messages may be displayed using a UITableView component that renders new messages that need to be displayed. Before the UITableView component displays the new message, a message acquisition request is sent out, and the terminal can create a view display component corresponding to the new message, such as the UITableView cell, and associate a subclass object of the UITableView cell with the new message. When confirming that the subclass object of the UITableViewCell appears on the screen, the message receiving end calls a code for layout rendering of the message, and confirms that the new message is displayed on a current session interface corresponding to the current session.
In some embodiments, if a message is already displayed on the current conversation interface, when a new message is received, all or part of the message already displayed on the current conversation interface moves out of the display area of the current conversation interface to make room for displaying the new message, and when the new message is displayed on the current conversation interface, that is, the message is visible, the message receiver can see the new message displayed on the current conversation interface, thereby confirming that the message has been read, and outputting a message read type identifier corresponding to one or more new messages.
In some embodiments, since the space of one session interface is limited, when a new message is received, if the displayed view display component on the current session interface has reached the maximum value, some or all view display components of the current session interface may be moved out according to the number of the new message, and the view display component corresponding to the new message is displayed in the current session interface.
In some embodiments, the view presentation components corresponding to the new message may all be displayed on the current conversation interface at the same time, or may be gradually displayed on the current conversation interface along with the message moving instruction. For example, if the number of the new messages is 3, the 3 new messages are all displayed on the current session interface. If the number of the new messages is 100, the 100 new messages cannot be simultaneously presented in the current conversation interface due to the limited space of the current conversation interface, so that 10 new messages are presented in the current conversation interface, and the other 90 new messages are gradually displayed on the current conversation interface along with the scrolling of the view display component. For example, when a message move instruction is received, for example, a slide operation of a user on the current conversation interface is received, one or more view display components currently displayed move out of the screen, and a new view display component is displayed on the current conversation interface.
In some embodiments, if all of the one or more new messages are not simultaneously displayed on the current session interface, a move operation for moving the messages in the current session interface may be received, the messages displayed on the current session interface are switched according to the move range of the move operation, the new messages not displayed are gradually displayed on the current session interface following the move of the move operation, and more new messages displayed on the current session interface corresponding to the current session interface are gradually displayed until the messages in the one or more new messages are completely displayed and are in a read state. Taking an actual example, assuming that the number of new messages of the current conversation identifier is 100, displaying 1 st to 10 th new messages in the current conversation interface, if a message moving operation input by a user, such as an upward sliding operation, is received, moving the 1 st to 3 rd messages out of the current conversation interface, displaying 11 th to 12 th new messages on the current conversation interface, and if the upward sliding moving operation continues to be received, changing the messages displayed on the current conversation interface until the 100 new messages are displayed on the current conversation interface.
In some embodiments, the presentation status of the message may also be determined according to the type of the message. If the message is a text type message, it may be determined that the message has been completely presented when a new message appears in the current conversation interface. If the message is a voice type message or a video type message, the display state of the voice message can be determined to be the completion of the display when the voice message or the video message is played.
Step S208, a message read reply is sent to the target message sending end corresponding to the source identifier in a silent mode, and the message read reply comprises a message identifier and a message read type identifier.
Specifically, the message read reply is a message for replying to a read message, indicating that a new message sent by a message sender has been read by a message recipient. Silence is self-processing without alarming the user, i.e. the sending of the message read reply is performed in the background, and the user is not prompted by sound, image, video, text and other modes. Through the message read type identifier, it can be determined that the message sent by the message receiving end is a reply message for replying to the read state of the received new message, that is, the message sent by the message receiving end is a read receipt. Therefore, under the condition of no operation and no perception of a message receiver, the read message reply is automatically sent to the message sending end corresponding to the source identifier, so that the message sending end sending the message can timely receive the read message reply.
In some embodiments, the message read type identifier may be added to a preset location of the message read reply to indicate that the type of the message is a message read reply. The preset may be specifically set according to needs, for example, in a message header of a message body structure of a reply to a read message. The corresponding position can be set for storing various self-defined data, and the message read type identification can be added to the position.
In some embodiments, the message read reply may also carry preset information, for example, the message read reply may be "received".
In some embodiments, the message read reply and the new message may be in a one-to-one correspondence. The message read reply and the new message may also be in a multi-to-1 relationship, i.e., one message read reply may be a message read reply for multiple new messages. For example, when it is determined that a new message is read, a message read reply is sent to the message sending end of the read message, or when the number of the read messages reaches a preset number, a message read reply is sent, and the message read reply carries the message identifier of each read message.
In some embodiments, the identifier of the message carried in the read reply of the message includes a receiver message identifier corresponding to the message receiver and/or a sender message identifier corresponding to the message sender. After receiving the message identifier, the server can obtain the sender identifier according to the identifier of the message, and send the corresponding message read back to the message sending end corresponding to the sender identifier.
In some embodiments, it may also be determined, in combination with other conditions, whether to send a message read reply to the target message sending end corresponding to the source identifier in a silent manner. For example, the staying time of the new message on the current session interface may be obtained, and when the staying time is longer than the preset time, it is determined that the new message is in a read state, and a message read reply is sent to the target message sending end corresponding to the source identifier in a silent manner. Otherwise, when the retention time is shorter than the preset time length, determining that the new message is still in an unread state, and stopping silent sending of the read message reply to the target message sending end corresponding to the source identifier. The preset time length may be set as desired, for example, 1 second. Thus, when the user simply moves the message on the current session display interface quickly, but does not actually read the new message, the message read reply is not sent silently.
According to the message processing method, when one or more new messages of the current session are confirmed to be displayed on the current session interface, the message read type identifications corresponding to the one or more new messages are output, and the message read replies are sent to the target message sending ends of the messages in a silent mode. Therefore, the message read reply can be sent without any operation input by the user, and the interference of the message to the user can be reduced by silent sending, so that the message reply efficiency of the terminal is high.
For example, for a group session, the number of messages of a group session is typically multiple, for example, hundreds, and if multiple messages in the group session all need to send a read reply to a corresponding message, a user is required to reply to each message. When the message processing method provided by the embodiment of the invention is executed, the message receiving end can automatically send the message read reply to the message sending end when one or more new messages are confirmed to be displayed on the current session interface corresponding to the current session, so that the messages can be sent without any operation of a user. Moreover, if a large amount of messages needing to send reading feedback appear in the conversation, the message receiver can have the feeling of monitoring, and further, the emotion of anxiety and conflict is generated, and the message receiver is not willing to check the message. The sending of the message read reply in the message processing method provided by the embodiment of the invention is silent, and does not cause interference to the user.
In some embodiments, the step S208 of quiescing the sending of the message read reply to the target message sender corresponding to the source identifier includes: and sending the read message reply to the server in a silent mode so that the server determines a target message sending end corresponding to the source identifier and sends the read message reply corresponding to the message to the target message sending end.
Specifically, when sending the message read reply, the message receiving end sends the message read reply to the server, where the server may be a background server of the instant messaging application, and the message read reply carries a message identifier. The server stores the corresponding relationship between the message identifier and the source identifier, so that the corresponding source identifier can be obtained according to the message identifier, the target message sending end is determined according to the source identifier, and after the target message sending end is determined, the server sends the message read reply corresponding to the read message to the target message sending end.
In some embodiments, the current session is a group session, and step S204 is to obtain one or more new messages corresponding to the current session identifier, where each of the one or more new messages respectively includes a source identifier and a unique message identifier, and includes: acquiring new messages sent by message sending ends respectively corresponding to a plurality of current session users corresponding to current session identifiers, wherein the new messages respectively comprise current session user identifiers and unique message identifiers; step S208, sending the read message reply to the server in a silent manner, so that the server determines the target message sending end corresponding to the source identifier, and sending the read message reply corresponding to the message to the target message sending end includes: and sending a message read reply to the server in a silent manner, wherein the message read reply comprises message identifications corresponding to a plurality of current session user identifications and message read type identifications, so that the server determines a target message sending end corresponding to each current session user identification according to the message identifications and sends the message read reply corresponding to the message to the target message sending end.
Specifically, the current session user refers to a session user who sends a new message. The new message is sent by the current message sending end corresponding to a plurality of current session users, so that the new message comprises a plurality of new messages. As an actual example, the group session a includes 4 group session users, namely, a1, a2, a3 and a4, and then, for one or more new messages received by the message receiver corresponding to a4, a plurality of session messages sent by the message sender corresponding to a1, the message sender corresponding to a2 and the message sender corresponding to a3 may be included. After the message receiving end receives one or more new messages, a first new message in the new messages can be displayed on the current conversation interface according to the conversation sequence. For example, assuming that the new message includes 100 messages, items 1 to 5 thereof may be presented on the current conversation interface in conversation order. The conversation order refers to the ordering of messages in the conversation, and the ordering of messages in the conversation can be determined according to the sending time of the messages. The message read reply includes message identifiers corresponding to a plurality of current session user identifiers, that is, one message read reply carries a plurality of message identifiers and is sent by different session users. And when receiving the message read reply, the server respectively acquires the session user identification corresponding to each message identification, acquires a plurality of message sending ends according to the session user identification corresponding to each message identification, and respectively sends the message read reply corresponding to the message to each message sending end. For example, the message receiving end confirms that the group session shows message 1 and message 2, where message 1 is sent by the message sending terminal 1 and message 2 is sent by the message sending terminal 2. The message read reply sent by the message receiving end may include the message identifier 1 corresponding to the message 1 and the message identifier 2 corresponding to the message 2, so that when the server receives the message read reply sent by the message receiving end, the server extracts the message identifier 1 and the message identifier 2 from the message read reply, obtains the session user identifier 1 corresponding to the message identifier 1, and obtains the session user identifier 2 corresponding to the message identifier 2. A read message reply of message 1 is sent to the message sender 1 of the session user identity 1. The message sender 2 of the session user identity 2 is sent a read message reply of message 2.
In some embodiments, after receiving a new message sent by a message sending end, a server may obtain a sender message identifier and a receiver message identifier corresponding to the new message, store the sender message identifier and the receiver message identifier in association, and when sending the new message to a message receiving end, carry the receiver message identifier, the message receiving end carries a target receiver message identifier in a message read reply, the server searches the sender message identifier stored in association according to the target receiver message identifier, obtains the message sending end identifier according to the sender message identifier, and sends the message read reply to the message sending end corresponding to the message sending end identifier.
In some embodiments, after confirming that one or more new messages are displayed in the current conversation interface corresponding to the current conversation, the message processing method further includes: adding message identifications corresponding to one or more new messages into a read message identification set; the silent sending of the read reply of the message to the target message sending end corresponding to the source identifier comprises the following steps: and when the message identifiers in the read message identifier set reach the preset number and/or the message read reply sending interval reaches the preset duration, sending the message read replies to the target message sending end corresponding to the source identifier in a silent mode.
In particular, the message identification is used to identify the corresponding message. The message identification may be the same or different for the message recipient and the message sender. For example, the message identification of a message may include a receiver message identification and a sender message identification, which are different. Wherein the recipient message identification is a message identification associated with a message recipient and the sender message identification is a message identification associated with a message sender. For example, the message identifier of the receiver may be obtained by performing hash calculation according to the message sending time and the user identifier corresponding to the receiver, and the message identifier of the sender may be obtained by performing hash calculation according to the message sending time and the user identifier of the sender. The message identification may include one or more of a recipient message identification and a sender message identification. And when one or more new messages are confirmed to be displayed on a current session interface corresponding to the current session, acquiring corresponding message identifiers as the message identifiers in the read message identifier set. For example, the message identifiers may be added to a read message identifier queue, and the message identifiers in the read message identifier queue may be sorted according to the displayed sequence.
The preset number may be set as desired. The preset duration can also be set as required. For example, the preset number may be 5, and the preset interval duration may be 5 seconds. The message read reply carries each message identifier in the read message identifier set. It is understood that, for a read message identifier corresponding to a message to which a message read reply has been sent, the read message identifier is deleted from the set of read message identifiers to avoid repeatedly sending the message read reply. In the embodiment of the invention, the message read reply is sent when the read message identification reaches the preset number and/or the message read reply sending interval reaches the preset time length, so the times of sending the message read reply can be reduced, and the load of the terminal is reduced. For example, for a group session, because there are many session messages in the group session, if each new message sends a message read reply, the terminal load is large, and by carrying each read message identifier in the read message identifier set in the message read reply, one message read reply can correspond to multiple message identifiers, so the number of message read replies can be reduced.
In some embodiments, the step S204 of acquiring one or more new messages corresponding to the current session identifier includes acquiring one or more new messages corresponding to the current session identifier, where the one or more new messages include a first new message carrying the reading feedback identifier and/or a second new message not carrying the reading feedback identifier;
step S206, that is, when it is determined that one or more new messages are displayed in the current session interface corresponding to the current session, outputting the message read type identifier corresponding to the one or more new messages includes: when the first new message is confirmed to be displayed on a current session interface corresponding to the current session, outputting a message read type identifier corresponding to the first new message;
step S208 is to send a message read reply to the target message sending end corresponding to the source identifier in a silent manner, where the message read reply includes a message identifier and a message read type identifier, and the message read reply includes: and silent sending of a read message reply to a target message sending end corresponding to the source identifier, wherein the read message reply comprises a message identifier corresponding to the first new message and a read message type identifier.
Specifically, the message carrying the reading feedback identifier indicates that the message needs to receive reading feedback information, i.e., a message read reply, to determine whether the new message is read by the message recipient. The new message in the one or more new messages comprises one or more of a first new message carrying the reading feedback identification and a second new message not carrying the reading feedback identification. "Multi" means at least two. And for the first new message which is displayed and carries the reading feedback identification, the message receiving end sends the corresponding message read reply to the corresponding message sending end in a silent mode, and for the second new message which is displayed and does not carry the reading feedback identification, the reading feedback message is not sent, so that the load of the terminal is reduced. The adding position of the reading feedback identifier can be set according to the requirement, for example, in the message header of the message body structure carrying the message, the corresponding position can be set for storing various self-defined data, and the reading feedback identifier can be added at the position.
In some embodiments, the reading feedback identifier may be carried by a new message sent by the message sender, or may be added to the new message after the server receives the new message sent by the message sender. For example, a reading state message sending control corresponding to the message may be set on the current session interface, and when the message sending end receives an operation on the reading state message sending control, a reading feedback identifier may be added to the currently sent new message. For another example, a message reading state setting control may be set on a session setting interface corresponding to the current session, where the message reading state setting control is a setting control for determining whether a session message sent by a message sender in the current session needs to be fed back to a reading state. When receiving the operation of setting the control for the message reading state, the message sending end can store the reading state setting information corresponding to the current session, and when the message sending end sends a new message in the current session, the message sending end automatically adds a reading feedback identifier into the new message. As shown in fig. 3, a session setting interface of a current session has a "message reading state" setting control, and when the "message reading state" setting control is selected, a new message sent by a message sender corresponding to a message sending end in the current session will automatically carry a reading feedback identifier. Therefore, the message sending end can obtain the reading state of whether the message receiving end reads the sent message, and the reading state setting method based on the session granularity does not need to set the reading state of each sent new message, so the operation is simple and convenient.
As shown in fig. 4A, in some embodiments, a message processing method is proposed, and this embodiment is mainly illustrated by applying this method to the server 120 in fig. 1. The method specifically comprises the following steps:
step S402, one or more new messages sent to the message receiving end by the message sending end corresponding to the current session identification are received, and the one or more new messages respectively comprise a source identification and a unique message identification.
In particular, a new message of the one or more new messages may be sent by one or more message senders. For example, when the current session is a group session, the server may receive a session message sent by a message sender corresponding to a plurality of session users to a message receiver.
In some embodiments, when receiving a new message sent by a message sender, the server may further add the new message to a message sending queue corresponding to the message sender, so as to backup the message sent by the message sender.
In some embodiments, the server may assign a sender message identification for the new message. For example, the sender message identifier is obtained according to the sequence of the new message in the message sending queue corresponding to the message sender, the message sender identifier, and the sending time of the message, for example, hash calculation is performed according to the sequence in the message sending queue, the message sender identifier, and the sending time of the message, and the obtained hash value is used as the sender message identifier. Wherein the message sender identification is used to identify the message sender.
Step S404, sending one or more new messages and corresponding current session identifiers to the message receiving end, so that the message receiving end obtains the one or more new messages corresponding to the current session identifiers, and when it is determined that the one or more new messages are displayed on the current session interface corresponding to the current session, outputting the message read type identifiers corresponding to the one or more new messages.
Specifically, when a new message is sent, the new message carries a current session identifier corresponding to a current session, so that a message receiving end obtains one or more new messages corresponding to the current session identifier, and outputs a message read type identifier corresponding to one or more new messages when it is confirmed that the one or more new messages are displayed on a current session interface corresponding to the current session.
In some embodiments, when the server receives a new message sent by the message sending end, the server may add the new message to the message queue of the message receiving end, and when the message receiving end logs in the server, the server synchronizes the new message in the message queue of the message receiving end to the message receiving end. As shown in fig. 4B, an architecture diagram of a message system is described by taking a server as a background server of enterprise wechat and an instant messaging application as an enterprise wechat client, where the enterprise wechat client is a professional office communication tool created for an enterprise. When a message module of an enterprise wechat background receives a new message sent to a message receiver (B) by a message sending end, namely a terminal corresponding to a message sending end (A), the new message is stored in a message queue A corresponding to the message sending end (A), the new message is added into the message queue B corresponding to the message receiver, and when the terminal corresponding to the message receiver logs in an enterprise wechat background through an enterprise wechat client, the enterprise wechat background sends the message in the message queue B to a message receiving end corresponding to the message receiver. It will be appreciated that if there are multiple message recipients for the new message, a message queue corresponding to the multiple message recipients may be included.
In some embodiments, the server may further assign a recipient message identifier to the new message, for example, the server may obtain the recipient message identifier according to an order of the new message in a message receiving queue corresponding to the message recipient, the message recipient identifier, and a sending time of the message. For example, hash calculation is performed according to the order in the message receiving queue, the message recipient identifier, and the sending time of the message, and the obtained hash value is used as the recipient message identifier. Wherein the message recipient identification is used to identify the message recipient.
In some embodiments, the server may obtain a reading feedback policy corresponding to the new message, and mark the new message as a new message requiring feedback of the reading state if the reading feedback policy corresponding to the new message requires returning of the reading feedback message. For a new message which needs to feed back the message read reply, a reading feedback identifier can be added in the new message, and the new message carrying the reading feedback identifier is sent to a message receiving end, so that the message receiving end sends the message read reply to the message carrying the reading feedback identifier.
In some embodiments, the server may determine the reading feedback policy based on the organization to which the current session belongs. For example, if the current session is a group session corresponding to a department of an organization, such as an enterprise, and the reading feedback policy of the group session corresponding to the enterprise is stored in advance in the server as an automatic reply reading state, when receiving a group session message corresponding to the current session, the organization corresponding to the current session is determined, and the reading feedback policy of the organization is used as the reading feedback policy of a new message.
In some embodiments, the server may receive and store reading state setting information of the current session sent by the message sending end, and if the reading state setting information indicates that the message sending end needs to return the reading state information when the new message sent by the current session is new, the server may add a reading feedback identifier to the new message sent by the message sending end.
In some embodiments, the reading feedback identifier may be carried in a new message sent by the message sender. And if the new message sent by the message sending end carries the reading feedback identification, the reply strategy is that the reading feedback message needs to be sent.
Step S406, a read reply of the message sent by the message receiving end is obtained, where the read reply of the message includes a message identifier and a read type identifier, and the read reply of the message is sent by the message receiving end to the destination message sending end corresponding to the source identifier in a silent manner.
Specifically, when it is determined that one or more new messages are displayed on a current session interface corresponding to a current session, the message receiving end sends a message read reply to the message sending end corresponding to the read message in a silent manner, and the server obtains the message read reply.
Step S408, according to the message read type identifier, sending a message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
Specifically, after the message sent by the message receiving terminal is obtained, if the server extracts the message read type identifier from the message, it is determined that the message sent by the message receiving terminal is a message read reply, so that the target message sending terminal corresponding to the source identifier can be obtained, and the message read reply is forwarded to the message sending terminal. Or further processing the message read reply, and then sending the processed message read reply to the message sending terminal. For example, if the current session is a group session, a new message sent by a message sending end is sent to a plurality of message receiving ends, and a read message reply carries a message identifier, a message corresponding to the message identifier may be acquired, the number of replied messages of the message receiving ends that have sent the read message reply and the number of non-replied messages of the message receiving ends that have not sent the read message reply are determined, and one or more of the number of replied messages, the number of non-replied messages, a message receiver identifier corresponding to a message receiver that has read the message, a message receiver identifier corresponding to a message receiver that has not read the message, and the like are sent to the message sending end.
In some embodiments, a read reply to a message sent by one message recipient is sent to the message sender and not to the other message recipients of the message. For example, if there are multiple message receiving ends, when the server receives a read message reply sent by the message receiving end h, the server sends the read message reply to the corresponding message sending end, but the read message reply is not sent to the message receiving end j, so that the read message reply does not cause interference to message receiving ends corresponding to other message receiving ends.
In some embodiments, for a group session, the message receiver for a new message may include multiple ones. The message read reply sent by the server to the message sending end may include a message reading result obtained by counting reading states of a plurality of message receiving ends. For example, the message reading sending result may include one or more of an unread recipient identification set corresponding to a message recipient of the unread message and a read recipient identification set corresponding to a message recipient of the read message.
In some embodiments, when the server delivers the new message to the message queues corresponding to the message receivers, a message sending success notification message may be returned to the message sending end, where the message sending success notification message may carry a message reading result, and the message reading result may include one or more of an unread receiver identifier set corresponding to the message receiver that does not read the message, and a read receiver identifier combination corresponding to the message receiver that has read the message. When the server receives the message read reply sent by the message receiving end, the receiver identification corresponding to the message receiving end can be matched with the identification in the unread receiver identification set, and if the unread receiver identification set obtained by matching contains the receiver identification, the matched receiver identification is deleted from the unread receiver identification set and is added into the read receiver identification set. When detecting that the unread receiver identification and the read receiver identification set are updated, the server can send the unread receiver identification and the updated receiver identification in the read receiver identification set to the message sending end, so that the message sending end can update the reading result of the message.
As shown in fig. 5A, it is an interface schematic diagram of the message sending end corresponding to the user 2 after sending the new message. Assuming that the user 2 sets the session message sent by the group session "abc" as a message requiring feedback reading state according to the example of fig. 3, where the group session "abc" includes three users, when the user 2 sends a session message "meeting at three points in the afternoon today and at a large conference room", the "unread" on the session interface is used to identify the message as a receipt message requiring feedback reading state, and the message is not read by any message recipient, and the read recipient identification set is an empty set. As shown in fig. 5B, it is a schematic diagram of the current session interface corresponding to user 1. When the session message of "meeting at three points in the afternoon today and the place is a large conference room" is displayed on the current session interface of the message receiving end corresponding to the user 1, the message receiving end corresponding to the user 1 sends a message read reply to the server. And the server deletes the receiver identification corresponding to the user 1 from the unread receiver identification set and updates the receiver identification into the read receiver identification. And sending the receiver identifier corresponding to the user 1 and the information corresponding to the read receiver identifier set belonging to the set to the message sending end, as shown in the left diagram of fig. 5C, when receiving the receiver identifier corresponding to the user 1 and the reply information corresponding to the read receiver identifier set belonging to the set, updating the "unread" of the session interface corresponding to the message sending end to "1 person has read" to indicate that the message has been read by 1 person. When receiving the click message, the message is in a meeting at three pm today and the place is conference room ", the message sender presents further reading result information, such as the identification of the read recipient and the identification of the unread recipient as shown in the right diagram of fig. 5C.
In some embodiments, for a group session, when a new message sent by a message sender is received, a server may determine, according to the type of a user in the group session, a recipient identifier that needs to feed back a message read reply. For example, a virtual session account may be included in the group session, where the virtual session account is an account managed by a virtual object, such as an artificial intelligence robot, and for this type of virtual session user, a reply may be read without a feedback message, so the server may not add the virtual session account to the set of unread recipient identifications.
In some embodiments, the current session is a group session, and acquiring one or more new messages sent by a message sending end corresponding to the current session identifier to a message receiving end includes: and the message sending end which respectively corresponds to a plurality of current session users and acquires the current session identification sends a new message to the message receiving end.
In some embodiments, the sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier according to the read type identifier includes: and when the message type identifier of the read message reply is the message read type identifier, determining a target message sending end corresponding to each current session user identifier according to the message identifier, and sending the message read reply of the message corresponding to the message identifier to the target message sending end.
Specifically, for a group session, a message sent to a message receiving end may be sent by a message sending end corresponding to a plurality of current session users. As an actual example, the group session a includes 4 group session users, namely, a1, a2, a3 and a4, and the session messages sent by one or more of the message sender corresponding to a1, the message sender corresponding to a2 and the message sender corresponding to a3 may be included in the one or more new messages received by the message receiver corresponding to a 4. And the server sends the new messages sent by the message sending ends to the message receiving end. The message read reply includes message identifiers corresponding to a plurality of current session user identifiers, that is, one message read reply carries a plurality of message identifiers and is sent by different session users. The message read type identification is used to indicate that the type of the message is a message read reply type. Therefore, when receiving the message read reply, the server respectively acquires the session user identifier corresponding to each message identifier, acquires a plurality of message sending ends according to the session user identifier corresponding to each message identifier, and respectively sends the message read reply corresponding to the message to each message sending end.
In some embodiments, the message identifier includes one or more of a receiver message identifier and a sender message identifier, and the server carries the message identifier corresponding to the new message when sending the new message. The carried message identification may include one or more of a receiver message identification and a sender message identification. So that the message receiving end carries the corresponding message identifier when sending the message read reply.
In some embodiments, as shown in fig. 6, the message processing method further includes:
step S602, a receiver message identifier and a sender message identifier corresponding to the new message are obtained.
Step S604, store the message identifier of the receiving party and the message identifier of the sending party in association.
The step S408 of sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier according to the message read type identifier includes: and when the message type identifier of the read message reply is the message read type identifier, acquiring a target sender message identifier which is stored in a relevant way according to the target receiver message identifier, determining a corresponding target message sending end according to the target sender message identifier, and sending the message read reply of the message corresponding to the message identifier to the target message sending end.
Specifically, the target recipient message identification refers to a recipient message identification of the confirmed presented message. When the server receives a new message sent by the message sending end, the new message can be copied to a queue corresponding to the message receiving end, and the message identification of the receiving end and the message identification of the sending end are stored in an associated manner. When a new message is sent to the message receiving end, the new message carries the corresponding message identification of the receiving end, so that when the message receiving end sends a read reply to the message, the message receiving end carries the corresponding message identification of the target receiving end, therefore, the server can obtain the message identification of the target sending end stored in a relevant way according to the message identification of the target receiving end, determine the message identification of the sending end according to the message identification of the target sending end, and send the read reply of the corresponding message to the message sending end corresponding to the message identification of the sending end.
For example, a message body carrying a message is stored in a message queue of a receiver of the server, and the message body includes information such as a message identifier of the receiver, a message identifier of the sender, and a sender identifier. When a server receives a read reply carrying a plurality of target receiver message identifications, a message body corresponding to a message receiver is found according to the target receiver message identifications, a sender message identification and a sender identification are obtained from the message body corresponding to the message receiver, a corresponding read receiver identification set and an unread receiver identification set are obtained according to the sender message identification and the sender identification, the read receiver identification set and the unread receiver identification set are updated, and the updated read receiver identification set and the unread receiver identification set are sent to a message sending end.
In some embodiments, as shown in fig. 7, the step S504 of sending one or more new messages to the message receiver includes:
step S702, a reading feedback strategy corresponding to each new message in one or more new messages is obtained.
In particular, the read feedback policy is used to determine whether a new message sent requires a message read reply to be sent. The message read reply is used to determine the read status of the new message, i.e., whether it was read by the message recipient. The reading feedback strategies may include strategies that require automatic feedback of reading feedback messages and strategies that do not require automatic feedback of reading feedback messages.
In some embodiments, the reading feedback strategy may be determined according to whether a new message sent by the message sending end carries a reading feedback identifier, and the reading feedback strategy is an automatic feedback strategy for the new message carrying the reading feedback identifier.
In some embodiments, the reading feedback strategy may also be pre-set. For example, the message sending end may send reading state setting information corresponding to the current session to the server in advance, and when the server receives a new message corresponding to the current session sent by the message sending end, the reading feedback policy of the new message is determined to be required to be automatically fed back according to the preset reading feedback policy.
Step S704, a first new message with the read feedback policy being automatic feedback is selected from the one or more new messages.
Step S706, add a reading feedback identifier to the first new message whose reading feedback policy is automatic feedback.
Step S708, sending a first new message carrying the reading feedback identifier and/or a second new message not carrying the reading feedback identifier to the message receiving terminal, so that when the message receiving terminal confirms that the first new message is displayed in the current session interface corresponding to the current session, the message receiving terminal outputs a message read type identifier corresponding to the first new message, and sends a message read reply to the target message sending terminal corresponding to the source identifier in a silent manner, where the message read reply includes the message identifier corresponding to the first new message and the message read type identifier.
Specifically, for a new message with a reading feedback strategy being automatic feedback, the message sent by the server to the message receiving end carries a reading feedback identifier. And if the reading feedback strategy is a new message which does not need automatic feedback, the reading feedback strategy does not need to carry a reading feedback identifier, so that a message receiving end can acquire a message read type identifier corresponding to the first new message which is in a read state and carries the reading feedback identifier when the message receiving end confirms that the first new message is displayed on a current session interface corresponding to the current session, and send a message read reply to a target message sending end corresponding to the source identifier in a silent mode, wherein the message read reply comprises the message identifier corresponding to the first new message and the message read type identifier, so that the message read reply does not need to be sent to each message, and the load of the terminal and the server is reduced.
In some embodiments, the message processing method may further include: selecting one or more reading feedback strategies from one or more new messages as non-automatic feedback new messages, and inserting reading feedback identification into the selected reading feedback strategies as the non-automatic feedback new messages; sending a message read reply of a message corresponding to the message identifier to a target message sending end corresponding to the source identifier according to the message read type identifier comprises the following steps: when the message type identifier of the message read reply is the message read type identifier and the reading feedback strategy corresponding to the message identifier is automatic feedback, sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier; and when the message type identifier of the message read reply is the message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, stopping executing the step of sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
Specifically, the method for selecting the non-automatic feedback message may be set as needed. For example, part of the messages may be randomly selected, or a new message whose reading feedback policy is non-automatic feedback is selected to insert the reading feedback identifier according to a preset rule, for example, if two reading feedback policies are non-automatic feedback at intervals. And if the message type identifier of the read reply of the server message is the message read type identifier and the reading feedback strategy corresponding to the message is determined to be automatic feedback, sending the message read reply of the corresponding message to the corresponding sending terminal, and if the reading feedback strategy corresponding to the read message is non-automatic feedback, not sending the message read reply of the message corresponding to the message identifier to the target message sending terminal corresponding to the source identifier by the server. Therefore, for a malicious cracking program which hopes to determine whether a new message needs to be automatically read and fed back by detecting whether the message carries a reading feedback identifier, the malicious cracking program cannot completely determine whether the message corresponding to the new message is read and replied after being sent to the server, and whether the server sends the message with the read back to a message sending end, so that the cracking behavior which hopes to determine whether the message can feed back the reading state through malicious cracking has no meaning, and the safety of the message is improved.
In some embodiments, a message processing system is provided, which includes a message receiving end, a message sending end, and a server, as shown in fig. 8, a sequence diagram of a message processing method performed for the message processing system in some embodiments includes the following steps;
step S801: and the message sending end sends a new message to the server.
The new message is sent on a session interface corresponding to the group session, and the group session comprises a user corresponding to the message sending end, a user corresponding to the message receiving end B and a user corresponding to the message receiving end C. After receiving the new message, the server may add the new message to the message queue corresponding to the message receiving end B and the message queue corresponding to the message receiving end C.
Step S802: and the server sends a message sending success message to the message sending end. The message sending success message can carry an unread receiver identification set and a read receiver identification set, the read receiver identification set is empty, and the unread receiver identification set comprises a receiver identification corresponding to the message receiving terminal B and a receiver identification corresponding to the message receiving terminal C.
Step S803: the server sends a new message to the message receiving end B.
Step S804: and the message receiving end B determines that the new message is displayed on the current conversation interface. Thus, it is determined that the new message is in a read state.
Step S805: and the message receiving end B sends a reading confirmation receipt to the server. Wherein, the reading confirmation receipt is automatically and silently sent and carries the message identification of the read message.
Step S806: the server sends a reading state update message to the message sending end. The reading state updating message carries a message receiver identification corresponding to the message receiving end B and a message for identifying that the message receiver identification belongs to a read receiver identification set.
Step S807: the server sends a new message to the message receiving end C. For example, when message receiver C logs in to the server, the server pushes a new message to message receiver C.
Step S808: and the message sending end updates the reading result of the message. For example, the reading result is updated to 1 read and 1 unread.
Step S809: and the message receiving end C determines that the new message is displayed on the current conversation interface. Thus, it is determined that the new message is in a read state.
Step S810: and the message receiving terminal C sends a reading confirmation receipt to the server. Wherein, the reading confirmation receipt is automatically and silently sent and carries the message identification of the read message.
Step S811: the server sends the reading state update message to the message sending end again. The reading state updating message carries a message receiver identification corresponding to the message receiving end C and a message for identifying that the message receiver identification belongs to a read receiver identification set.
Step S812: and the message sending end updates the reading result of the message again. For example, the reading result is updated to 2 people read and 0 people unread.
As shown in fig. 9, in some embodiments, a message processing apparatus is provided, which may be integrated in the message receiving end 130, and specifically may include a current session identifier obtaining module 902, a new message obtaining module 904, a read type identifier outputting module 906, and a first message read reply sending module 908.
A current session identifier obtaining module 902, configured to obtain a current session identifier corresponding to a current session.
A new message obtaining module 904, configured to obtain one or more new messages corresponding to the current session identifier, where each of the one or more new messages includes a source identifier and a unique message identifier.
A read type identifier output module 906, configured to output a message read type identifier corresponding to the one or more new messages when it is determined that the one or more new messages are displayed in a current session interface corresponding to the current session.
A first message read reply sending module 908, configured to send a message read reply to the target message sending end corresponding to the source identifier in a silent manner, where the message read reply includes a message identifier and a message read type identifier.
In some embodiments, the first message read reply sending module 908 is to: and sending the read message reply to the server in a silent mode so that the server determines a target message sending end corresponding to the source identifier and sends the read message reply corresponding to the message to the target message sending end.
In some embodiments, the current session is a group session, and the new message acquisition module 904 is configured to:
and acquiring new messages sent by message sending ends respectively corresponding to a plurality of current session users corresponding to the current session identification, wherein the new messages respectively comprise the current session user identification and the unique message identification.
The first message read reply sending module 908 is configured to:
and sending a message read reply to the server in a silent manner, wherein the message read reply comprises message identifiers corresponding to a plurality of current session user identifiers and message read type identifiers, so that the server determines a target message sending end corresponding to each current session user identifier according to the message identifiers and sends the message read reply of the message corresponding to the message identifier to the target message sending end.
In some embodiments, new message acquisition module 904 is configured to: acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages comprise a first new message carrying a reading feedback identifier and/or a second new message not carrying the reading feedback identifier; the read type identification output module is used for: when the first new message is confirmed to be displayed on a current session interface corresponding to the current session, outputting a message read type identifier corresponding to the first new message; a first message read reply sending module, configured to: and silent sending a message read reply to a target message sending end corresponding to the source identifier, wherein the message read reply comprises a message identifier corresponding to the first new message and a message read type identifier.
In some embodiments, the message processing apparatus further comprises:
and the identification adding module is used for adding the message identifications corresponding to the one or more new messages into the read message identification set.
The first message read reply sending module 908 is configured to:
and when the message identifiers in the read message identifier set reach the preset number and/or the message read reply sending interval reaches the preset duration, sending the message read replies to the target message sending end corresponding to the source identifier in a silent mode.
In some embodiments, the message processing apparatus further comprises: and the stopping time obtaining module is used for obtaining the stopping time of the new message on the current session interface, and stopping sending the message read reply to the target message sending end corresponding to the source identifier in a silent mode when the stopping time is shorter than the preset time.
As shown in fig. 10, in some embodiments, a message processing apparatus is provided, which may be integrated in the server 120, and specifically may include a new message receiving module 1002, a new message sending module 1004, a message read reply acquiring module 1006, and a second message read reply sending module 1008.
A new message receiving module 1002, configured to receive one or more new messages sent by a message sending end to a message receiving end, where the one or more new messages each include a source identifier and a unique message identifier.
A new message sending module 1004, configured to send one or more new messages and corresponding current session identifiers to the message receiving end, so that the message receiving end obtains the one or more new messages corresponding to the current session identifiers, and outputs a message read type identifier corresponding to the one or more new messages when it is determined that the one or more new messages are displayed in the current session interface corresponding to the current session.
The message read reply obtaining module 1006 is configured to obtain a message read reply sent by a message receiving end, where the message read reply includes a message identifier and a message read type identifier, and the message read reply is sent by the message receiving end to a target message sending end corresponding to the source identifier in a silent manner.
And a second message read reply sending module 1008, configured to send a message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier according to the message read type identifier.
In some embodiments, the current session is a group session and the new message receiving module 1002 is configured to: and the message sending end which respectively corresponds to a plurality of current session users and acquires the current session identification sends a new message to the message receiving end. The message read reply includes message identifiers corresponding to a plurality of current session user identifiers and a message read type identifier, and the second message read reply sending module 1008 is configured to: and when the message type identifier of the read message reply is the message read type identifier, determining a target message sending end corresponding to each current session user identifier according to the message identifier, and sending the message read reply of the message corresponding to the message identifier to the target message sending end.
In some embodiments, the message processing apparatus further comprises:
and the message identifier determining module is used for acquiring a receiver message identifier and a sender message identifier corresponding to the new message.
And the association storage module is used for storing the message identification of the receiver in association with the message identification of the sender.
One or more new messages sent to the message receiving end comprise a message identifier of the receiving end, a read reply of the message sent by the message receiving end comprises a message identifier of a target receiving end, and the read reply sending module of the second message is used for: when the message type identification of the message read reply is the message read type identification, obtaining the target sender message identification stored in association according to the target receiver message identification; and determining a corresponding target message sending end according to the message identifier of the target sending end, and sending the message read reply of the message corresponding to the message identifier to the target message sending end.
In some embodiments, new message sending module 1004 is to:
and acquiring a reading feedback strategy corresponding to each new message in the one or more new messages.
And selecting the first new message with the read feedback strategy as automatic feedback from one or more new messages.
And adding a reading feedback identifier in the first new message of which the reading feedback strategy is automatic feedback.
And sending a first new message carrying the reading feedback identification and/or a second new message not carrying the reading feedback identification to a message receiving terminal, so that when the message receiving terminal confirms that the first new message is displayed on a current session interface corresponding to the current session, the message receiving terminal outputs a message read type identification corresponding to the first new message, and sends a message read reply to a target message sending terminal corresponding to the source identification in a silent mode, wherein the message read reply comprises the message identification corresponding to the first new message and the message read type identification.
In some embodiments, the message processing apparatus further comprises:
and the selecting module is used for selecting the new message with the reading feedback strategy being non-automatic feedback from the one or more new messages and inserting the reading feedback identification into the new message with the selected reading feedback strategy being non-automatic feedback.
A second message read reply sending module 1008 to:
and when the message type identifier of the message read reply is the message read type identifier and the reading feedback strategy corresponding to the message identifier is automatic feedback, sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
And when the message type identifier of the message read reply is the message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, stopping executing the step of sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
FIG. 11 illustrates an internal block diagram of a computer device in some embodiments. The computer device may be specifically the message receiver 130 or the message sender 110 in fig. 1. As shown in fig. 11, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the message processing method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a message processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In some embodiments, the message processing apparatus provided herein may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 11. The memory of the computer device may store various program modules constituting the message processing apparatus, such as the current session identification acquisition module 902, the new message acquisition module 904, the read type identification output module 906, and the first message read reply sending module 908 shown in fig. 9. The computer program constituted by the respective program modules causes the processor to execute the steps in the message processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 11 may obtain, through the current session identifier obtaining module 902 in the message processing apparatus shown in fig. 9, a current session identifier corresponding to the current session. One or more new messages corresponding to the current session identifier are obtained by the new message obtaining module 904, where each of the one or more new messages includes a source identifier and a unique message identifier. When it is determined that one or more new messages are displayed in the current session interface corresponding to the current session, the read type identifier output module 906 outputs the message read type identifiers corresponding to the one or more new messages. The message read reply is silently sent to the target message sending end corresponding to the source identifier through the first message read reply sending module 908, and the message read reply includes a message identifier and a message read type identifier.
FIG. 12 is a diagram illustrating an internal structure of a computer device in some embodiments. The computer device may specifically be the server 120 in fig. 1. As shown in fig. 12, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the message processing method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a message processing method.
In some embodiments, the message processing apparatus provided herein may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 12. The memory of the computer device may store various program modules constituting the message processing apparatus, such as a new message receiving module 1002, a new message sending module 1004, a message read reply acquiring module 1006, and a second message read reply sending module 1008 shown in fig. 10. The computer program constituted by the respective program modules causes the processor to execute the steps in the message processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 12 may receive, through the new message receiving module 1002 in the message processing apparatus shown in fig. 10, one or more new messages sent by a message sending end to a message receiving end, where the one or more new messages each include a source identifier and a unique message identifier. The new message sending module 1004 sends one or more new messages and corresponding current session identifiers to the message receiving end, so that the message receiving end obtains the one or more new messages corresponding to the current session identifiers, and outputs the message read type identifiers corresponding to the one or more new messages when confirming that the one or more new messages are displayed on the current session interface corresponding to the current session. The message read reply acquiring module 1006 acquires a message read reply sent by the message receiving end, where the message read reply includes a message identifier and a message read type identifier, and the message read reply is sent by the message receiving end to the target message sending end corresponding to the source identifier in a silent manner. And sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier through the second message read reply sending module 1008 according to the message read type identifier.
It will be appreciated by those skilled in the art that the configurations shown in fig. 11 and 12 are only block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the computer device to which the present disclosure may be applied, and a particular computer device may include more or less components than those shown in the figures, or may combine some components, or have a different arrangement of components.
In some embodiments, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the message processing method described above. The steps of the message processing method herein may be steps in the message processing methods of the various embodiments described above.
In some embodiments, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, causes the processor to perform the steps of the above-described message processing method. The steps of the message processing method herein may be steps in the message processing methods of the various embodiments described above.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features. The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (24)
1. A method of message processing, the method comprising:
acquiring a current session identifier corresponding to a current session;
acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier, the new messages are sent by a server, the server adds a reading feedback identifier in the new messages with a reading feedback strategy of automatic feedback and inserts the reading feedback identifier in the new messages with a selected reading feedback strategy of non-automatic feedback, the message identifier comprises a sender message identifier, the server performs hash calculation according to the sequence of the new messages in a message sending queue corresponding to a message sender, the message sender identifier and the sending time of the messages, and the obtained hash value is used as the sender message identifier;
when the one or more new messages are confirmed to be displayed on a current session interface corresponding to the current session, outputting a message read type identifier which carries a read feedback identifier and corresponds to the new messages;
under the condition that a read reply operation of a user is not received, adding message identifications corresponding to the one or more new messages into a read message identification set, and when the message identifications in the read message identification set reach a preset number and the message read reply sending interval reaches a preset time length, sending a message read reply to the server in a silent mode, wherein the message read reply comprises the message identification corresponding to the new message carrying a reading feedback identification and the message read type identification;
when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier in the message read reply is automatic feedback, the server sends the message read reply of the message corresponding to the message identifier in the message read reply to the target message sending end corresponding to the source identifier;
and when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, the server stops executing the step of sending the message read reply of the message corresponding to the message identifier in the message read reply to the target message sending end corresponding to the source identifier.
2. The method according to claim 1, wherein a message reading state setting control is arranged on the session setting interface of the current session, and when the message reading state setting control is selected, the message sending end automatically carries a reading feedback identifier on a new message sent by the current session.
3. The method of claim 1, wherein the current session is a group session, and wherein obtaining one or more new messages corresponding to the current session identifier, the one or more new messages each including a source identifier and a unique message identifier comprises:
acquiring new messages sent by message sending ends respectively corresponding to a plurality of current session users corresponding to current session identifiers in the group session, wherein the new messages respectively comprise current session user identifiers and unique message identifiers;
wherein a message read reply comprises: and the message identifiers correspond to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
4. The method of claim 1, wherein the obtaining one or more new messages corresponding to the current session identifier comprises:
acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages comprise a first new message carrying a reading feedback identifier and/or a second new message not carrying the reading feedback identifier;
when it is determined that the one or more new messages are displayed on the current session interface corresponding to the current session, outputting the message read type identifier corresponding to the new message carrying the reading feedback identifier includes:
and when the first new message is confirmed to be displayed on the current session interface corresponding to the current session, outputting the message read type identification corresponding to the first new message.
5. The method of claim 1, wherein the presentation status of the message is determined according to the type of the message; for a new message of a character type, when the new message appears in a current conversation interface, determining that the new message is completely displayed; and for the new message of the voice type or the video type, when the playing of the new message is finished, determining that the new message is completely displayed.
6. The method of claim 1, further comprising:
and obtaining the retention time of the new message on the current session interface, and stopping sending the message read reply to the server in a silent manner when the retention time is less than the preset time.
7. A method of message processing, the method comprising:
receiving one or more new messages sent to a message receiving end by a message sending end corresponding to a current session identifier, wherein the one or more new messages respectively comprise a source identifier and a unique message identifier, the message identifier comprises a sender message identifier, hash calculation is carried out according to the sequence of the new messages in a message sending queue corresponding to a message sender, the message sender identifier and the sending time of the messages, and the obtained hash value is used as the sender message identifier;
acquiring a reading feedback strategy corresponding to each new message in the one or more new messages;
adding a reading feedback identifier in a new message with a reading feedback strategy of automatic feedback;
selecting a new message with a reading feedback strategy being non-automatic feedback from the one or more new messages, and inserting a reading feedback identifier into the selected new message with the reading feedback strategy being non-automatic feedback;
sending the one or more new messages and the corresponding current session identification to the message receiving end so that the message receiving end can acquire the one or more new messages corresponding to the current session identification, and outputting the message read type identification corresponding to the one or more new messages carrying the reading feedback identification when confirming that the one or more new messages are displayed on the current session interface corresponding to the current session;
acquiring a message read reply sent by the message receiving terminal, wherein the message read reply is sent in a silent manner by the message receiving terminal under the condition that the message receiving terminal does not receive the read reply operation of a user, the message receiving terminal adds message identifications corresponding to the one or more new messages into a read message identification set, and the message read reply is sent in a silent manner when the message identifications in the read message identification set reach a preset number and the message read reply sending interval reaches a preset length;
when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier is automatic feedback, sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier;
and when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, stopping executing the step of sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
8. The method according to claim 7, wherein the current session is a group session, and the acquiring one or more new messages sent by a message sending end corresponding to the current session identifier to a message receiving end comprises:
acquiring message sending ends respectively corresponding to a plurality of current session users corresponding to the current session identification and sending new messages to a message receiving end;
wherein a message read reply comprises: and the message identifiers correspond to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
9. The method of claim 7, further comprising:
acquiring a receiver message identifier and a sender message identifier corresponding to the new message;
storing the receiver message identification and the sender message identification in an associated manner;
the one or more new messages sent to the message receiving end include a receiver message identifier, the message read reply sent by the message receiving end includes a target receiver message identifier, and the sending of the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier includes:
obtaining a target sender message identifier which is stored in a related way according to the target receiver message identifier;
and determining a corresponding target message sending end according to the target sending end message identifier, and sending a message read reply of the message corresponding to the message identifier to the target message sending end.
10. The method according to claim 7, wherein the message receiving end determines the display status of the message according to the type of the message; for a new message of a character type, when the new message appears in a current conversation interface, determining that the new message is completely displayed; and for the new message of the voice type or the video type, when the playing of the new message is finished, determining that the new message is completely displayed.
11. The method of claim 7, wherein the sending of a message read reply by the message receiver comprises: the message reading type identifier comprises message identifiers corresponding to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
12. A message processing apparatus, the apparatus comprising:
a current session identifier obtaining module, configured to obtain a current session identifier corresponding to a current session;
a new message obtaining module, configured to obtain one or more new messages corresponding to the current session identifier, where the one or more new messages each include a source identifier and a unique message identifier, the new message is sent by a server, the server adds a reading feedback identifier to the new message whose reading feedback policy is automatic feedback and inserts the reading feedback identifier into the new message whose selected reading feedback policy is non-automatic feedback, the message identifier includes a sender message identifier, the server performs hash calculation according to a sequence of the new message in a message sending queue corresponding to a message sender, the message sender identifier, and sending time of the message, and takes an obtained hash value as the sender message identifier;
a read type identifier output module, configured to output, when it is determined that the one or more new messages are displayed in a current session interface corresponding to the current session, a message read type identifier corresponding to the one or more new messages carrying a reading feedback identifier;
a first message read reply sending module, configured to add, to a read message identifier set, message identifiers corresponding to the one or more new messages respectively under a condition that a read reply operation of a user is not received, and send a message read reply to the server in a silent manner when a message identifier in the read message identifier set reaches a preset number and a message read reply sending interval reaches a preset time length, where the message read reply includes a message identifier corresponding to the new message carrying a reading feedback identifier and the message read type identifier;
when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier in the message read reply is automatic feedback, the server sends the message read reply of the message corresponding to the message identifier in the message read reply to the target message sending end corresponding to the source identifier;
and when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, the server stops executing the step of sending the message read reply of the message corresponding to the message identifier in the message read reply to the target message sending end corresponding to the source identifier.
13. The apparatus according to claim 12, wherein a message reading state setting control is set on the session setting interface of the current session, and when the message reading state setting control is selected, the message sending end automatically carries a reading feedback identifier on a new message sent by the current session.
14. The apparatus of claim 12, wherein the current session is a group session, and wherein the new message acquisition module is configured to:
acquiring new messages sent by message sending ends respectively corresponding to a plurality of current session users corresponding to current session identifiers in the group session, wherein the new messages respectively comprise current session user identifiers and unique message identifiers;
wherein a message read reply comprises: and the message identifiers correspond to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
15. The apparatus of claim 12, wherein the new message acquisition module is configured to:
acquiring one or more new messages corresponding to the current session identifier, wherein the one or more new messages comprise a first new message carrying a reading feedback identifier and/or a second new message not carrying the reading feedback identifier;
the read type identification output module is used for:
and when the first new message is confirmed to be displayed on the current session interface corresponding to the current session, outputting the message read type identification corresponding to the first new message.
16. The apparatus of claim 12, wherein the presentation status of the message is determined according to the type of the message; for a new message of a character type, when the new message appears in a current conversation interface, determining that the new message is completely displayed; and for the new message of the voice type or the video type, when the playing of the new message is finished, determining that the new message is completely displayed.
17. The apparatus of claim 12, further comprising:
and the stopping time obtaining module is used for obtaining the stopping time of the new message on the current conversation interface, and stopping sending the message read reply to the server in a silent mode when the stopping time is shorter than the preset time.
18. A message processing apparatus, the apparatus comprising:
a new message receiving module, configured to receive one or more new messages sent by a message sending end to a message receiving end, where the one or more new messages each include a source identifier and a unique message identifier, the message identifier includes a sender message identifier, hash calculation is performed according to a sequence of the new messages in a message sending queue corresponding to a message sender, the message sender identifier, and sending time of the message, and an obtained hash value is used as the sender message identifier;
the new message sending module is used for acquiring a reading feedback strategy corresponding to each new message in the one or more new messages; adding a reading feedback identifier in a new message with a reading feedback strategy of automatic feedback; selecting a new message with a reading feedback strategy being non-automatic feedback from the one or more new messages, and inserting a reading feedback identifier into the selected new message with the reading feedback strategy being non-automatic feedback; sending the one or more new messages and the corresponding current session identification to the message receiving end so that the message receiving end can acquire the one or more new messages corresponding to the current session identification, and outputting the message read type identification corresponding to the one or more new messages carrying the reading feedback identification when confirming that the one or more new messages are displayed on the current session interface corresponding to the current session;
a message read reply acquisition module, configured to acquire a message read reply sent by the message receiving end, where the message read reply is sent silently by the message receiving end without receiving a read reply operation of a user, the message receiving end adds message identifiers corresponding to the one or more new messages to a read message identifier set, and sends the message read reply silently when message identifiers in the read message identifier set reach a preset number and a message read reply sending interval reach a preset duration;
a second message read reply sending module, configured to send a message read reply of a message corresponding to the message identifier to a target message sending end corresponding to the source identifier when a message type identifier of the message read reply is a message read type identifier and a reading feedback policy corresponding to the message identifier is automatic feedback; and when the message type identifier of the message read reply is a message read type identifier and the reading feedback strategy corresponding to the message identifier is non-automatic feedback, stopping executing the step of sending the message read reply of the message corresponding to the message identifier to the target message sending end corresponding to the source identifier.
19. The apparatus of claim 18, wherein the current session is a group session, and wherein the new message receiving module is configured to:
receiving a message sending end corresponding to each of a plurality of current session users corresponding to the current session identifier and sending a new message to a message receiving end;
wherein a message read reply comprises: and the message identifiers correspond to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
20. The apparatus of claim 18, further comprising:
a message identifier determining module, configured to obtain a receiver message identifier and a sender message identifier corresponding to the new message;
the related storage module is used for storing the message identification of the receiver in a related way with the message identification of the sender;
the one or more new messages sent to the message receiving end include a receiver message identifier, the message read reply sent by the message receiving end includes a target receiver message identifier, and the second message read reply sending module is configured to:
when the message type identification of the message read reply is the message read type identification, obtaining a target sender message identification which is stored in a relevant way according to the target receiver message identification;
and determining a corresponding target message sending end according to the target sending end message identifier, and sending a message read reply of the message corresponding to the message identifier to the target message sending end.
21. The apparatus of claim 18, wherein the message receiving end determines the display status of the message according to the type of the message; for a new message of a character type, when the new message appears in a current conversation interface, determining that the new message is completely displayed; and for the new message of the voice type or the video type, when the playing of the new message is finished, determining that the new message is completely displayed.
22. The apparatus as claimed in claim 21, wherein the message receiver sends a message read reply including: the message reading type identifier comprises message identifiers corresponding to a plurality of current session user identifiers and a message read type identifier added at a preset position of a message read reply.
23. A computer arrangement, comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to carry out the steps of the message processing method of any of claims 1 to 11.
24. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the message processing method according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910001786.1A CN109729005B (en) | 2019-01-02 | 2019-01-02 | Message processing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910001786.1A CN109729005B (en) | 2019-01-02 | 2019-01-02 | Message processing method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109729005A CN109729005A (en) | 2019-05-07 |
CN109729005B true CN109729005B (en) | 2021-07-06 |
Family
ID=66298018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910001786.1A Active CN109729005B (en) | 2019-01-02 | 2019-01-02 | Message processing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729005B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112202660B (en) * | 2019-07-08 | 2022-11-22 | 钉钉控股(开曼)有限公司 | Communication method and device |
CN112714055B (en) * | 2019-10-25 | 2022-10-25 | 成都鼎桥通信技术有限公司 | Point-to-point short message reading confirmation method, device and system for broadband trunking communication |
CN111277487B (en) * | 2020-01-16 | 2022-04-01 | 腾讯科技(深圳)有限公司 | Message processing method and device, computer readable storage medium and computer equipment |
CN113765768B (en) * | 2020-06-02 | 2024-05-14 | 腾讯科技(深圳)有限公司 | Message processing method, device, equipment and storage medium |
CN112118173B (en) * | 2020-09-21 | 2023-02-21 | 维沃移动通信(杭州)有限公司 | Message feedback reminding setting method and device and electronic equipment |
CN114518829B (en) * | 2020-11-20 | 2024-04-19 | 腾讯科技(深圳)有限公司 | Unread message reminding method, device, equipment and medium |
CN112688860B (en) * | 2020-12-25 | 2022-07-12 | 天津中新智冠信息技术有限公司 | Message processing method and device, storage medium and electronic equipment |
CN115022274B (en) * | 2022-08-04 | 2022-10-21 | 广州此声网络科技有限公司 | Unread message quantity statistical method and device, computer equipment and storage medium |
CN116055505B (en) * | 2022-08-31 | 2023-10-20 | 荣耀终端有限公司 | Message synchronization method and terminal equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457763A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Multi-channel information distribution method and system based on strategies and automatic operation platform |
CN105072191A (en) * | 2015-08-24 | 2015-11-18 | 拉扎斯网络科技(上海)有限公司 | Method for determining target communication channel and server |
CN107395437A (en) * | 2017-08-25 | 2017-11-24 | 中国联合网络通信集团有限公司 | Strange land route data transmission method and device |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060056605A1 (en) * | 2004-09-13 | 2006-03-16 | Andrew Whitfield | Telemetry using "always-on" communication connection system and method |
CN101442720A (en) * | 2008-12-26 | 2009-05-27 | 深圳华为通信技术有限公司 | Terminal and automatic return receipt method for message |
CN103139719B (en) * | 2011-11-23 | 2016-03-23 | 腾讯科技(深圳)有限公司 | A kind of method of instant messaging, mobile terminal and system |
CN103731334B (en) * | 2012-10-10 | 2019-02-26 | 中兴通讯股份有限公司 | Message status methods of exhibiting and device |
CN104022938A (en) * | 2013-02-28 | 2014-09-03 | 腾讯科技(深圳)有限公司 | Message synchronization method, system, server and client end |
KR101437565B1 (en) * | 2013-06-07 | 2014-09-04 | (주)오픈벡스 | Messaging system for reliability of push message |
CN104980325B (en) * | 2014-04-01 | 2018-06-15 | 华为技术有限公司 | A kind of information processing method and client |
CN104038910A (en) * | 2014-06-20 | 2014-09-10 | 中国联合网络通信集团有限公司 | Method and system for processing instant messages |
CN105323147B (en) * | 2014-08-01 | 2019-05-07 | 掌赢信息科技(上海)有限公司 | Group's message reads feedback method and its server and client side's device |
US20160359773A1 (en) * | 2015-03-16 | 2016-12-08 | Boogoo Intellectual Property LLC | Electronic Communication System |
CN104731934A (en) * | 2015-03-30 | 2015-06-24 | 北京奇艺世纪科技有限公司 | Information push method and device |
CN106533897A (en) * | 2015-09-15 | 2017-03-22 | 北大方正集团有限公司 | Method and device for judging read IM message |
US10021021B2 (en) * | 2015-12-22 | 2018-07-10 | T-Mobile Usa, Inc. | Broadband fallback for router |
CN106100972B (en) * | 2016-06-02 | 2019-02-01 | 腾讯科技(深圳)有限公司 | A kind of message treatment method, system, first terminal and second terminal |
CN106713121A (en) * | 2016-12-23 | 2017-05-24 | 努比亚技术有限公司 | Device and method for acquiring instant message state information |
CN108509283A (en) * | 2018-03-07 | 2018-09-07 | 深圳市万普拉斯科技有限公司 | Message treatment method, device, computer equipment and storage medium |
-
2019
- 2019-01-02 CN CN201910001786.1A patent/CN109729005B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103457763A (en) * | 2013-08-15 | 2013-12-18 | 中电长城网际系统应用有限公司 | Multi-channel information distribution method and system based on strategies and automatic operation platform |
CN105072191A (en) * | 2015-08-24 | 2015-11-18 | 拉扎斯网络科技(上海)有限公司 | Method for determining target communication channel and server |
CN107395437A (en) * | 2017-08-25 | 2017-11-24 | 中国联合网络通信集团有限公司 | Strange land route data transmission method and device |
Non-Patent Citations (1)
Title |
---|
计算机网络 理论与实验;潘伟;《计算机网络 理论与实验》;20131231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109729005A (en) | 2019-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109729005B (en) | Message processing method and device, computer equipment and storage medium | |
US11963073B2 (en) | Method of sending messages to devices not configured to receive them | |
US20200288270A1 (en) | Geo-location based event gallery | |
US9590955B2 (en) | Methods and systems for providing information relating to an event | |
CN108494571B (en) | Method, device and system for initiating reservation conference | |
US9021032B2 (en) | Method and system for enabling anonymous communications between two or more interested parties | |
KR102079892B1 (en) | Management of multiple profiles for a single account in an asynchronous messaging system | |
CN105049336A (en) | Method and system for processing instant communication messages, server and client | |
US10541951B2 (en) | Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user's contacts and associated contacts | |
CN104937906A (en) | Method for communication among a plurality of users provided with communication terminals, via a virtual communication space | |
CN104125143A (en) | Group recommending method and device | |
US20170126606A1 (en) | Embedding and executing commands in messages | |
WO2023284630A1 (en) | Emoticon image adding method and apparatus, and device and storage medium | |
CN111130986A (en) | Message sending method, device, equipment and storage medium | |
US20160277570A1 (en) | Facilitating controlled electronic communication | |
CN114629867A (en) | On-line inquiry instant communication system and message processing method | |
CN109302503A (en) | The sharing method and device of the generation method of signature, signature template | |
CN110620672B (en) | Multi-person session data processing method and device, computer equipment and storage medium | |
CN116389401A (en) | Communication method and device based on business dimension, computer equipment and storage medium | |
CN112348496B (en) | Resource transfer method, device, computer equipment and storage medium | |
CN115145445A (en) | Message display method, device, terminal equipment and storage medium | |
CN104717121A (en) | Business card exchanging method and system | |
CN110445705B (en) | Message sending method, device, system, computer equipment and storage medium | |
CN115051964B (en) | Method, system, electronic device and storage medium for managing chat account | |
CN111970133B (en) | Group processing method, group processing device, computer readable storage medium and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |