Message processing progress synchronization method, device and equipment

By creating a queue of pending messages and an expedited message queue in the instant messaging application, the message processing progress is determined and synchronized, solving the problem of insufficient synchronization of message processing progress and improving communication efficiency and transparency.

CN120750893APending Publication Date: 2025-10-03WUXI WINGTECH INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510887610.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

In existing instant messaging applications, the synchronization mechanism for message processing progress has limitations, and the sender cannot understand the specific processing progress of the message, resulting in reduced communication efficiency and experience.

Method used

The receiving end determines the message processing progress, including the number of pending messages and their ranking, by creating a queue of pending messages, and synchronizes this information to the sending end. It uses historical reply behavior data to predict processing time, sets an expedited message queue, and updates status information in real time.

Benefits of technology

This enables the sender to understand the message processing progress of the receiver in real time without increasing the complexity of user operations, improving communication efficiency and transparency and enhancing user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120750893A_ABST
    Figure CN120750893A_ABST
Patent Text Reader

Abstract

The invention relates to a message processing progress synchronization method, device and equipment. The message processing progress synchronization method is suitable for a receiving end, and comprises the following steps: in response to receiving a target message sent by a sending end, determining a message processing progress corresponding to the target message based on at least one to-be-processed message received by the receiving end, the message processing progress comprises the number of to-be-processed messages and a first message ranking of the target message in at least one to-be-processed message; and sending the message processing progress to a sending end, so that the sending end displays the message processing progress. According to the embodiment of the application, the function of synchronizing the message processing progress of the receiving end to the sending end in real time can be realized, the communication efficiency and transparency are improved, and the user experience is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a message processing progress synchronization method, apparatus and device. Background Art

[0002] With the rapid development of Internet technology, instant messaging applications have become an indispensable means of daily communication and work collaboration due to their real-time and convenient nature. They have greatly improved the efficiency of information transmission, broken the limitations of time and space, and promoted communication between people. However, in existing instant messaging applications, the synchronization mechanism for message processing progress has certain limitations. After sending a message, the sender can usually only use the application to understand whether the message has been viewed by the recipient, that is, whether it is displayed as "read" or "unread". If the message is displayed as "unread", the sender cannot further understand the message processing progress. This lack of information transparency makes it difficult for the communicating parties to form an effective interactive closed loop, which can easily lead to communication deadlocks and affect work efficiency and communication experience. Therefore, how to effectively synchronize message processing progress is a technical problem that needs to be solved urgently. Summary of the Invention

[0003] Based on this, it is necessary to provide a message processing progress synchronization method, device and equipment to address the above technical problems.

[0004] The present invention provides a message processing progress synchronization method, which is applicable to a receiving end and includes:

[0005] In response to receiving a target message sent by a sending end, determining a message processing progress corresponding to the target message based on at least one pending message received by a receiving end, the message processing progress including the number of pending messages and a first message ranking of the target message in the at least one pending message;

[0006] The message processing progress is sent to the sending end so that the sending end can display the message processing progress.

[0007] In one embodiment, determining a message processing progress corresponding to a target message based on at least one pending message received by a receiving end includes:

[0008] The target message is stored in a pre-created pending message queue, which is used to store at least one pending message in the order in which the messages are received;

[0009] Determining the number of pending messages based on a first number of pending messages stored in the pending message queue;

[0010] A first message ranking of the target message is determined based on a first queue position of the target message in the queue of messages to be processed.

[0011] In one embodiment, the message processing progress also includes an estimated processing time. Based on at least one to-be-processed message received by the receiving end, determining the message processing progress corresponding to the target message includes:

[0012] Based on pre-collected historical reply behavior data of the receiving end user and the first message ranking of the target message in at least one message to be processed, an estimated processing time for the receiving end user to reply to the target message is determined.

[0013] In one embodiment, before determining the estimated processing time for the recipient user to reply to the target message based on pre-collected historical reply behavior data of the recipient user and the first message ranking of the target message in at least one to-be-processed message, the method further includes:

[0014] Obtain the status information of the user at the receiving end and send the status information to the sending end so that the sending end can display the status information, including online and offline status information;

[0015] If the status information is online, an operation is performed to determine the estimated processing time for the receiving user to reply to the target message based on the pre-collected historical reply behavior data of the receiving user and the first message ranking of the target message in at least one message to be processed.

[0016] In one embodiment, obtaining the status information of the receiving user includes:

[0017] Get the time when the receiving user last viewed or replied to a message;

[0018] If the time difference between the current time and the operation time is less than or equal to the preset time length, the status information is determined to be online;

[0019] If the time difference between the current time and the operation time is greater than the preset time length, the status information is determined to be offline.

[0020] In one embodiment, the status information further includes processing, obtaining the status information of the receiving end user, including:

[0021] In response to detecting an input operation of reply information of the receiving end user to the target message, the state information is determined to be in processing.

[0022] In one embodiment, in response to receiving the target message sent by the sending end, the method further includes:

[0023] If the target message is an urgent message, the target message is stored in the pre-created urgent message queue;

[0024] determining a quantity of expedited messages based on a second quantity of expedited messages stored in the expedited message queue;

[0025] Determining a second message ranking of the target message in the expedited message queue based on the second queue position of the target message in the expedited message queue;

[0026] The number of expedited messages and the second message ranking are sent to the sending end, so that the sending end displays the number of expedited messages and the second message ranking.

[0027] In one embodiment, the method further comprises:

[0028] In response to detecting a reply operation of the recipient user to the target message, the target message is removed from the expedited message queue.

[0029] The embodiment of the present application further provides a message processing progress synchronization device, which is applicable to a receiving end and includes:

[0030] a first determining module configured to, in response to receiving a target message sent by a sending end, determine a message processing progress corresponding to the target message based on at least one pending message received by a receiving end, the message processing progress including the number of pending messages and a first message ranking of the target message in the at least one pending message;

[0031] The first sending module is used to send the message processing progress to the sending end, so that the sending end can display the message processing progress.

[0032] An embodiment of the present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the message processing progress synchronization method provided in any embodiment of the present application are implemented.

[0033] The message processing progress synchronization method, device and equipment provided in the embodiments of the present application determine the message processing progress corresponding to the target message based on at least one pending message received by the receiving end in response to receiving the target message sent by the sending end. The message processing progress includes the number of pending messages and the first message ranking of the target message in at least one pending message. The message processing progress is sent to the sending end so that the sending end can display the message processing progress. Without increasing the complexity of user operations, the function of synchronizing the message processing progress of the receiving end to the sending end in real time can be realized, so that the sending end can understand the number of pending messages of the receiving end and the ranking of the message sent by itself among all pending messages, which significantly improves communication efficiency and transparency, thereby facilitating users to optimize decision-making and collaboration processes according to the message processing progress and enhance user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 1 is a flow chart of a message processing progress synchronization method according to an embodiment;

[0035] Figure 2 A flowchart of a method for determining the number of messages to be processed and the ranking of a first message in one embodiment is shown;

[0036] Figure 3 A flowchart of a method for obtaining status information of a receiving-end user in one embodiment is shown;

[0037] Figure 4 A flowchart of a message processing progress synchronization method in another embodiment;

[0038] Figure 5 A structural block diagram of a message processing progress synchronization device in one embodiment;

[0039] Figure 6 FIG. 1 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0041] The following describes embodiments of the present application in more detail with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustrative purposes only and are not intended to limit the scope of protection of the present application.

[0042] The following describes embodiments of the present application in more detail with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustrative purposes only and are not intended to limit the scope of protection of the present application.

[0043] It should be noted that the concepts of "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0044] It should be noted that the modifications of "one" and "multiple" mentioned in this application are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0045] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0046] In one embodiment, Figure 1 As shown, a flow chart of a message processing progress synchronization method is provided. This embodiment mainly applies this method to an electronic device. For example, the electronic device can be a terminal, specifically a message receiving end in an instant messaging application. The message processing progress synchronization method can include the following steps:

[0047] S110. In response to receiving a target message sent by a sending end, based on at least one pending message received by a receiving end, determine a message processing progress corresponding to the target message, wherein the message processing progress includes the number of pending messages and the first message ranking of the target message in the at least one pending message.

[0048] The target message can be any form of message supported by the instant messaging application for transmission, such as text, voice, picture, video and other files, etc., which are not limited here. The pending messages can be understood as unread and / or unreplied messages sent by each sending end to the receiving end waiting for processing by the receiving end. Specifically, they can include at least one of the following messages: unread and unreplied messages by the receiving end, messages read and unreplied by the receiving end, and messages unread and replied (for example, using automatic reply) by the receiving end. When the target message is in the unread and / or unreplied state, the target message belongs to the pending message.

[0049] The number of pending messages can be understood as the number of messages sent by each sender to the receiver and waiting to be processed by the receiver. The first message ranking can be understood as the order in which the target message is arranged among all pending messages.

[0050] In an embodiment of the present application, after receiving the target message sent by the sending end, the receiving end can determine the message processing progress corresponding to the target message, including the number of pending messages and the first message ranking of the target message in at least one pending message, based on at least one pending message previously received by the receiving end. Specifically, a first counter for recording the number of pending messages and a second counter for recording the first message ranking of the target message in at least one pending message can be set. For the first counter, the receiving end can control the first counter to add one each time a new message is received, and control the first counter to subtract one after detecting that a pending message has been processed. For the second counter, the receiving end can use the value recorded by the first counter to set the second counter when receiving the target message, and control the second counter to subtract one after detecting that a pending message has been processed. It is also possible to obtain the reception time of each pending message previously received by the receiving end, and determine the first message ranking of the target message based on the reception time of each pending message and the reception time of the target message.

[0051] S120: Send the message processing progress to the sending end, so that the sending end can display the message processing progress.

[0052] In an embodiment of the present application, the receiving end can send the message processing progress to the sending end of the target message after determining the message processing progress corresponding to the target message. The sending end displays the message processing progress after receiving it. For example, based on the number of messages to be processed and the first message ranking of the target message in at least one message to be processed, the display content can be: there are currently m messages to be processed by the other party, and this message is at the nth position among the messages to be processed.

[0053] Optionally, the sending end and the receiving end may communicate via a WebSocket protocol, thereby enabling the transmission of messages, message processing progress, and other information between the sending end and the receiving end.

[0054] Optionally, the sending end may display the message processing progress in real time, or may display the message processing progress after detecting a query operation by the sending end user through a user interface (UI).

[0055] In an embodiment of the present application, in response to receiving a target message sent by the sending end, the message processing progress corresponding to the target message is determined based on at least one pending message received by the receiving end. The message processing progress includes the number of pending messages and the first message ranking of the target message in at least one pending message. The message processing progress is sent to the sending end so that the sending end can display the message processing progress. Without increasing the complexity of user operations, the function of synchronizing the message processing progress of the receiving end to the sending end in real time can be realized, so that the sending end can understand the number of pending messages of the receiving end and the ranking of the message sent by itself among all pending messages, which significantly improves communication efficiency and transparency, thereby facilitating users to optimize decision-making and collaboration processes according to the message processing progress and enhance user experience.

[0056] In another embodiment of the present application, Figure 2 As shown, the present application provides a flow chart of a method for determining the number of messages to be processed and the ranking of the first message. Figure 2 As shown, the method for determining the number of messages to be processed and the ranking of the first message may include the following steps:

[0057] S210: Store the target message into a pre-created queue of pending messages, where the queue is used to store at least one pending message in the order in which the messages are received.

[0058] Among them, the pending message queue can be understood as a message sent by each sender to the receiver waiting to be processed by the receiver. The messages in the pending message queue are stored in the order of the time when the receiver receives the message. When the receiver reads and replies to a pending message in the pending message queue, the pending message will be removed from the pending message queue.

[0059] In an embodiment of the present application, the receiving end can store the target message into a pre-created pending message queue after receiving the target message sent by the sending end. Specifically, the receiving time of the target message can be compared with the receiving time of the pending messages stored in the pending message queue to determine the insertion position of the target message in the pending message queue. It can also be determined whether there are other unread and / or unreplied pending messages whose receiving time is before the receiving time of the target message and are not stored in the pending message queue. If not, the target message is directly stored at the end of the pending message queue. If so, the other unread and / or unreplied pending messages and the target message are stored at the end of the pending message queue in order from front to back according to the receiving time of the other unread and / or unreplied pending messages.

[0060] S220: Determine the number of messages to be processed based on the first number of messages stored in the queue of messages to be processed.

[0061] In an embodiment of the present application, the receiving end can obtain a first number of pending messages stored in a pending message queue in real time, and determine the number of pending messages based on the first number. Specifically, the first number can be directly determined as the number of pending messages, or the difference between the first number and the number of timed-out unprocessed messages can be calculated, and the calculation result can be determined as the number of pending messages. Among them, timed-out unprocessed messages can be understood as pending messages where the time difference between the receiving time and the current time is greater than or equal to a preset longer time threshold, such as pending messages that have not been processed for 48 hours. Such messages may be messages that the receiving end user considers unnecessary to process, such as advertising messages, harassment messages, etc. The probability of the receiving end user subsequently processing the timed-out unprocessed messages is low, so the number of timed-out unprocessed messages is excluded when determining the number of pending messages.

[0062] S230: Determine a first message ranking of the target message based on the first queue position of the target message in the queue of messages to be processed.

[0063] In an embodiment of the present application, the receiving end can obtain the first queue position of the target message stored in the message queue to be processed in real time, and determine the first message ranking based on the first queue position. Specifically, the ranking corresponding to the first queue position can be directly determined as the first message ranking, or the difference between the ranking corresponding to the first queue position and the number of timed-out and unprocessed messages can be calculated, and the calculation result can be determined as the first message ranking.

[0064] In an embodiment of the present application, by storing the target message into a pre-created pending message queue, the pending message queue is used to store at least one pending message in the order in which the messages are received, and the number of pending messages is determined based on the first number of pending messages stored in the pending message queue. Based on the first queue position of the target message in the pending message queue, the first message ranking of the target message is determined. This can shorten the processing time for determining the number of pending messages and the first message ranking, while improving the accuracy of the determined information, further improving communication efficiency and transparency, and enhancing user experience.

[0065] In another embodiment of the present application, the message processing progress also includes an estimated processing time. When the receiving end determines the message processing progress corresponding to the target message based on at least one pending message received by the receiving end, it can determine the estimated processing time for the receiving end user to reply to the target message based on the pre-collected historical reply behavior data of the receiving end user and the first message ranking of the target message in at least one pending message.

[0066] Among them, historical reply behavior data can be understood as the previously recorded behavior data of the receiving user when replying to messages. Specifically, it can include the total time and the total number of reply messages from the receiving user in the process of replying to each round of pending messages, from the beginning of replying to the first pending message in this round to the completion of replying to the last pending message in this round. It can also include the serial data of the interval time from the completion of replying to the previous pending message to the beginning of replying to the pending message for each pending message in this round during the process of replying to messages by the receiving user in each round of messages. There is no limitation here.

[0067] In an embodiment of the present application, after determining the first message ranking of the target message, the receiving end can predict the estimated processing time for the receiving end user to reply to the target message based on the pre-collected historical reply behavior data of the receiving end user and the first message ranking of the target message in at least one message to be processed.

[0068] Optionally, the receiving user can determine the average reply time for the receiving user to reply to each message to be processed based on the pre-collected historical reply behavior data of the receiving user, and calculate the estimated processing time for the receiving user to reply to the target message based on the average reply time and the ranking of the first message.

[0069] Optionally, the receiving user can train the duration prediction model based on the historical reply behavior data of the receiving user collected in advance, and after the model training is completed, input the first message ranking into the duration prediction model to obtain the estimated processing time output by the model.

[0070] Optionally, after determining the estimated processing time, the receiving end can send the message processing progress including the estimated processing time to the sender of the target message. The sender displays the estimated processing time after receiving it. For example, the display content can be: it is expected to be processed after t minutes.

[0071] Optionally, the receiving end can obtain the status information of the receiving end user before determining the expected processing time, and send the status information to the sending end so that the sending end can display the status information. The status information includes online and offline. If the status information is online, the expected processing time is further determined.

[0072] Among them, status information can be understood as information about the current status of the receiving user processing messages, which can include online status and offline status. When the status information is online, it indicates that the receiving user is currently using an instant messaging application, or has just used an instant messaging application not long ago, and the probability of quickly responding to and processing messages is high. When the status information is offline, it indicates that the receiving user is not currently using an instant messaging application, or has not used an instant messaging application in a short period of time, and the probability of quickly responding to and processing messages is low.

[0073] Specifically, before determining the expected processing time, the receiving end can first determine the status information of the receiving end user and send the status information of the receiving end user to the sending end. The sending end displays the status information after receiving it to synchronize the status of the receiving end user. When it is determined that the status information of the receiving end user is online, the sending end performs an operation based on the pre-collected historical reply behavior data of the receiving end user and the first message ranking of the target message in at least one message to be processed to determine the expected processing time for the receiving end user to reply to the target message. The status information of whether the receiving end user is online can be synchronized to the sending end, so that the sending end can timely understand the status information of the receiving end and proceed with the next step of work accordingly. At the same time, the accuracy of predicting and synchronizing the expected processing time is improved, which further improves communication efficiency and transparency and enhances user experience.

[0074] In another embodiment of the present application, Figure 3 As shown, this application provides a flow chart of a method for obtaining the status information of a receiving end user. Figure 3 As shown, the method for obtaining the status information of the receiving end user may include the following steps:

[0075] S310: Obtain the time when the receiving user last viewed or replied to a message.

[0076] In an embodiment of the present application, when the receiving end needs to determine the status information of the receiving user, it can first obtain the operation time of the receiving user's most recent viewing or replying to a message. Specifically, it can obtain the operation time of each viewing and replying message of the receiving user from the log record, and extract the most recent operation time from it.

[0077] S320: If the time difference between the current time and the operation time is less than or equal to the preset time length, determine that the status information is online.

[0078] In an embodiment of the present application, after obtaining the operation time of the receiving user's most recent viewing or replying to a message, the receiving end compares the current time with the operation time, determines the time difference between the current time and the operation time, and then compares the time difference with the preset duration. If the time difference is less than or equal to the preset duration, it is determined that the receiving user has viewed or replied to the message within a short period of time, and then determines that the receiving user's status information is online.

[0079] Optionally, after determining that the status information is online, the receiving end can send the time difference between the current time and the operation time together with the status information to the sending end, so that the sending end can display the time difference. For example, when the preset time length is 5 minutes, the sending end can display the status information and time difference as follows: online 3 minutes ago.

[0080] S330: If the time difference between the current time and the operation time is greater than the preset time length, determine that the status information is offline.

[0081] In an embodiment of the present application, the receiving end compares the time difference between the current time and the operation time with the preset duration. If the time difference is greater than the preset duration, it is determined that the receiving end user has not viewed and replied to the message in a short period of time, and then the receiving end user's status information is determined to be offline.

[0082] In an embodiment of the present application, by obtaining the operation time of the receiving user's most recent viewing or replying to a message, if the time difference between the current time and the operation time is less than or equal to the preset duration, the status information is determined to be online; if the time difference between the current time and the operation time is greater than the preset duration, the status information is determined to be offline. This allows for determining whether the receiving user has viewed or replied to new messages in a short period of time, thereby determining the receiving user's status information and improving the accuracy of status information judgment.

[0083] In another embodiment of the present application, the status information also includes processing. The receiving end can determine that the status information is processing in response to detecting the receiving end user's input operation of reply information to the target message.

[0084] The input operation of replying to the target message may include any form of input operation, such as voice input, text input, etc., which is not limited here.

[0085] Specifically, the receiving end can perform real-time detection on the receiving end user's operational behavior in the instant messaging application. If it detects that the receiving end user has input a reply operation to the target message, the status information is determined to be in processing. The receiving end further sends the status information to the sending end of the target message to enable the sending end user of the target message to understand the processing progress.

[0086] Optionally, when the status information of the receiving user is online and offline, the status information can be visible to all senders that have the authority to communicate instantly with the receiving end. When the status information of the receiving user for the target message is processing, the status information is only visible to the sender of the target message. The status information of the receiving user received by other senders that have the authority to communicate instantly with the receiving end is online.

[0087] In another embodiment of the present application, Figure 4 As shown, this application provides a flow chart of another message processing progress synchronization method. Figure 4 As shown, the message processing progress synchronization method may include the following steps:

[0088] S410: If the target message is an urgent message, the target message is stored in a pre-created urgent message queue.

[0089] The expedited message queue in the embodiment of the present disclosure is used to store unread and / or unanswered expedited messages received by the receiving end in the order in which the messages are received.

[0090] In an embodiment of the present application, the sender of the target message can set it as an expedited message when sending the target message. After receiving the target message, the receiving end can determine whether the target message is an expedited message. If so, after storing the target message in the pending message queue, the target message will also be stored in the pre-created expedited message queue.

[0091] Optionally, after receiving the target message, if the receiving end determines that the target message is an urgent message, the session entry corresponding to the sender of the target message can be highlighted or pinned to the top in the chat session list interface, so that the receiving end user can intuitively notice that the target message is an urgent message, and thus give priority to processing the target message.

[0092] S420. Determine the number of expedited messages based on the second number of expedited messages stored in the expedited message queue.

[0093] In an embodiment of the present application, the receiving end can obtain the second number of expedited messages stored in the expedited message queue in real time, and determine the number of expedited messages based on the second number. Specifically, the second number can be directly determined as the number of expedited messages.

[0094] S430. Determine a second message ranking of the target message in the expedited message queue based on the second queue position of the target message in the expedited message queue.

[0095] The second message ranking may be understood as the order in which the target message is ranked among all expedited messages stored in the expedited message queue.

[0096] In an embodiment of the present application, the receiving end can obtain the second queue position of the target message stored in the expedited message queue in real time, and determine the second message ranking based on the second queue position. Specifically, the ranking corresponding to the second queue position can be directly determined as the second message ranking.

[0097] S440: Send the number of expedited messages and the second message ranking to the sending end, so that the sending end displays the number of expedited messages and the second message ranking.

[0098] In an embodiment of the present application, the receiving end can send the number of expedited messages and the ranking of the second message to the sending end of the target message after determining the number of expedited messages and the ranking of the second message. The sending end displays the number of expedited messages and the ranking of the second message after receiving them. For example, the display content can be: there are currently p expedited messages waiting to be processed by the other party, and this message is located in the qth position among the expedited messages.

[0099] In an embodiment of the present application, if the target message is an expedited message, the target message is stored in a pre-created expedited message queue, the number of expedited messages is determined based on the second number of expedited messages stored in the expedited message queue, the second message ranking of the target message in the expedited messages is determined based on the second queue position of the target message in the expedited message queue, the number of expedited messages and the second message ranking are sent to the sending end so that the sending end can display the number of expedited messages and the second message ranking, and an expedited message queue can be set up on the basis of the queue of messages to be processed, and the processing progress of the expedited messages by the receiving end can be synchronized to the sending end in real time, so that the sending end can understand the number of expedited messages to be processed by the receiving end, and the ranking of the messages sent by itself in all expedited messages, further improving communication efficiency and transparency, and enhancing user experience.

[0100] In another embodiment of the present application, the receiving end may remove the target message from the expedited message queue in response to detecting a reply operation of the receiving end user to the target message.

[0101] The reply operation may be understood as an operation in which the receiving end user sends a reply message confirmation to the receiving end.

[0102] Specifically, after receiving the target message, the receiving end can perform real-time detection on the receiving end user's operational behavior in the instant messaging application. If a reply operation of the receiving end user to the target message is detected, it is determined that the receiving end has completed processing the target message and the target message is removed from the expedited message queue, so that the senders of other pending messages and expedited messages can timely understand the message processing progress of the receiving end.

[0103] Optionally, if the target message is also stored in the queue of pending messages, the receiving end may remove the target message from the queue of pending messages in response to detecting a reply operation of the receiving end user to the target message.

[0104] Figure 5 FIG. 1 is a structural block diagram of a message processing progress synchronization device in one embodiment. Figure 5 As shown, the message processing progress synchronization device 500 may include a first determining module 510 and a first sending module 520 .

[0105] A first determining module 510 is configured to, in response to receiving a target message sent by a sending end, determine a message processing progress corresponding to the target message based on at least one pending message received by the receiving end, the message processing progress including the number of pending messages and a first message ranking of the target message in the at least one pending message;

[0106] The first sending module 520 is configured to send the message processing progress to the sending end so that the sending end can display the message processing progress.

[0107] In an embodiment of the present application, in response to receiving a target message sent by a sending end, based on at least one pending message received by the receiving end, the message processing progress corresponding to the target message is determined, the message processing progress includes the number of pending messages and the first message ranking of the target message in at least one pending message, and the message processing progress is sent to the sending end so that the sending end can display the message processing progress. Without increasing the complexity of user operations, the function of synchronizing the message processing progress of the receiving end to the sending end in real time can be realized, so that the sending end can understand the number of pending messages of the receiving end and the ranking of the message sent by itself among all pending messages, which significantly improves communication efficiency and transparency, thereby facilitating users to optimize decision-making and collaboration processes according to the message processing progress and enhance user experience.

[0108] In some embodiments of the present application, the first determining module 510 includes:

[0109] A storage unit, configured to store the target message into a pre-created queue of pending messages, wherein the queue is configured to store the at least one pending message in the order in which the messages are received;

[0110] A first determining unit, configured to determine the number of messages to be processed based on a first number of the messages to be processed stored in the queue of messages to be processed;

[0111] The second determining unit is configured to determine a first message ranking of the target message based on a first queue position of the target message in the queue of messages to be processed.

[0112] In some embodiments of the present application, the message processing progress also includes an estimated processing time. The first determining module 510 includes:

[0113] The third determining unit is used to determine the estimated processing time for the receiving user to reply to the target message based on the pre-collected historical reply behavior data of the receiving user and the first message ranking of the target message in the at least one message to be processed.

[0114] In some embodiments of the present application, the first determining module 510 includes:

[0115] an acquiring unit, configured to acquire status information of the receiving end user and send the status information to the sending end so that the sending end displays the status information, wherein the status information includes online and offline;

[0116] An execution unit is used to determine the estimated processing time for the receiving user to reply to the target message based on the pre-collected historical reply behavior data of the receiving user and the first message ranking of the target message in the at least one message to be processed if the status information is online.

[0117] In some embodiments of the present application, the acquiring unit includes:

[0118] An acquisition subunit, configured to acquire the time when the receiving user last viewed or replied to a message;

[0119] a first determining subunit, configured to determine that the status information is online if a time difference between the current time and the operation time is less than or equal to a preset time length;

[0120] The second determining subunit is configured to determine that the status information is offline if a time difference between the current time and the operation time is greater than a preset time length.

[0121] In some embodiments of the present application, the status information further includes processing, and the acquiring unit further includes:

[0122] The third determining subunit is configured to determine that the status information is being processed in response to detecting an input operation of a reply information of the target message by the receiving end user.

[0123] In some embodiments of the present application, the message processing progress synchronization device 500 further includes:

[0124] A storage module, configured to store the target message into a pre-created expedited message queue if the target message is an expedited message;

[0125] A second determining module is configured to determine the number of expedited messages based on a second number of expedited messages stored in the expedited message queue;

[0126] A third determining module is configured to determine a second message ranking of the target message in the expedited message queue based on a second queue position of the target message in the expedited message queue;

[0127] The second sending module is used to send the number of expedited messages and the second message ranking to the sending end, so that the sending end displays the number of expedited messages and the second message ranking.

[0128] In some embodiments of the present application, the message processing progress synchronization device 500 further includes:

[0129] A removal module is used to remove the target message from the expedited message queue in response to detecting a reply operation of the receiving user to the target message.

[0130] It should be noted that Figure 5 The message processing progress synchronization device shown can execute each step of the above method embodiment, and the various processes and effects of the above method embodiment are not described in detail here.

[0131] For the specific definition of the message processing progress synchronization device, please refer to the definition of the message processing progress synchronization method above, which will not be repeated here. The various modules in the above-mentioned message processing progress synchronization device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0132] The present application also provides an electronic device, which may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a message processing progress synchronization method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the electronic device housing, or an external keyboard, touchpad or mouse.

[0133] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the electronic device to which the solution of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0134] In one embodiment, the message processing progress synchronization device provided by the present application can be implemented in the form of a computer program. Figure 6 The memory of the electronic device may store various program modules constituting the message processing progress synchronization device, such as: Figure 5The receiving module, the first determining module, the second determining module, and the first sending module shown in the figure are computer programs composed of various program modules, which enable the processor to execute the steps of the message processing progress synchronization method of each embodiment of the present application described in this specification.

[0135] For example, Figure 6 The electronic device shown can be Figure 5 In the message processing progress synchronization device shown, the receiving module executes step S110 , the first determining module executes step S120 , the second determining module executes step S130 , and the first sending module executes step S140 .

[0136] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: in response to receiving a target message sent by a sending end, based on at least one pending message received by the receiving end, determining the message processing progress corresponding to the target message, the message processing progress including the number of pending messages and the first message ranking of the target message in at least one pending message; sending the message processing progress to the sending end so that the sending end can display the message processing progress.

[0137] In an embodiment of the present application, the function of synchronizing the message processing progress of the receiving end to the sending end in real time can be realized without increasing the complexity of user operations, so that the sending end can understand the number of pending messages of the receiving end and the ranking of the message sent by itself among all pending messages, which significantly improves communication efficiency and transparency, thereby facilitating users to optimize decision-making and collaboration processes according to the message processing progress and enhance user experience.

[0138] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static random access memory (SRAM) and dynamic random access memory (DRAM).

[0139] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.

Claims

1. A message processing progress synchronization method, characterized in that: The method is applicable to a receiving end, and includes: In response to receiving a target message sent by a sending end, determining a message processing progress corresponding to the target message based on at least one pending message received by the receiving end, the message processing progress including the number of pending messages and a first message ranking of the target message in the at least one pending message; The message processing progress is sent to the sending end, so that the sending end displays the message processing progress.

2. The method according to claim 1, characterized in that The determining, based on the at least one to-be-processed message received by the receiving end, a message processing progress corresponding to the target message includes: Storing the target message in a pre-created queue of pending messages, wherein the queue is used to store the at least one pending message in the order in which the messages are received; Determining the number of messages to be processed based on a first number of the messages to be processed stored in the queue of messages to be processed; Based on a first queue position of the target message in the queue of messages to be processed, a first message ranking of the target message is determined.

3. The method according to claim 1, characterized in that The message processing progress also includes an estimated processing time. The determining of the message processing progress corresponding to the target message based on the at least one to-be-processed message received by the receiving end includes: Based on the pre-collected historical reply behavior data of the receiving end user and the first message ranking of the target message in the at least one message to be processed, the estimated processing time for the receiving end user to reply to the target message is determined.

4. The method according to claim 3, characterized in that Before determining the estimated processing time for the recipient user to reply to the target message based on the pre-collected historical reply behavior data of the recipient user and the first message ranking of the target message in the at least one message to be processed, the method further includes: Acquire status information of the receiving end user and send the status information to the sending end so that the sending end displays the status information, wherein the status information includes online and offline; If the status information is online, an operation is performed to determine the estimated processing time for the receiving user to reply to the target message based on the pre-collected historical reply behavior data of the receiving user and the first message ranking of the target message in the at least one message to be processed.

5. The method according to claim 4, characterized in that The acquiring of the status information of the receiving end user includes: Obtain the time when the receiving user last viewed or replied to a message; If the time difference between the current time and the operation time is less than or equal to the preset time length, determining that the status information is online; If the time difference between the current time and the operation time is greater than a preset time length, it is determined that the status information is offline.

6. The method according to claim 4, characterized in that The state information also includes processing, wherein obtaining the state information of the receiving end user includes: In response to detecting an input operation of the receiving end user for reply information to the target message, the status information is determined to be in processing.

7. The method according to claim 1, characterized in that After receiving the target message sent by the sending end, the method further includes: If the target message is an expedited message, the target message is stored in a pre-created expedited message queue; Determining the number of expedited messages based on a second number of expedited messages stored in the expedited message queue; Determining a second message ranking of the target message in the expedited message queue based on a second queue position of the target message in the expedited message queue; The number of expedited messages and the second message ranking are sent to the sending end, so that the sending end displays the number of expedited messages and the second message ranking.

8. The method according to claim 7, characterized in that The method further comprises: In response to detecting a reply operation of the receiving end user to the target message, the target message is removed from the expedited message queue.

9. A message processing progress synchronization device, characterized in that: The device is applicable to a receiving end, and includes: a first determining module configured to, in response to receiving a target message sent by a sending end, determine a message processing progress corresponding to the target message based on at least one pending message received by the receiving end, the message processing progress including the number of pending messages and a first message ranking of the target message in the at least one pending message; The first sending module is configured to send the message processing progress to the sending end so that the sending end can display the message processing progress.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.