Message display method, message processing method, device and electronic equipment

By displaying the first notification message on the unread message interface, the issue of inconsistent unread message counts was resolved, improving user experience and interaction efficiency.

CN116418771BActive Publication Date: 2026-01-23BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310084589.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-28
Publication Date
2026-01-23
Estimated Expiration
2043-01-28

AI Technical Summary

Technical Problem

On social media platforms, when a target user enters the unread message interface, the server filters non-compliant messages, resulting in inconsistent unread message counts and a poor user experience.

Method used

The first notification message is displayed on the unread message screen, indicating unread messages that do not meet the message display criteria. The message content is not displayed, and the number of message notification icons is kept consistent with the number of unread messages on the unread message screen.

Benefits of technology

It improves the user experience, promptly alerts users to non-compliant messages, avoids inconsistent display of unread messages, and improves the efficiency of human-computer interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116418771B_ABST
    Figure CN116418771B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a message display method, a message processing method, a device and an electronic equipment, and belongs to the technical field of Internet. The method comprises the following steps: based on a triggering operation of a message reminder identifier of a client, when there is a target unread message that does not meet a message display condition in at least one unread message corresponding to the message reminder identifier, receiving the at least one unread message and displaying a corresponding unread message interface, so that the message reminder identifier and the number of unread messages on the unread message interface seen by the user are consistent. Further, when the user wants to view the target unread message, the message content of the target unread message is not displayed, but a first prompt message is displayed, thereby timely reminding the user that the target unread message does not meet the message display condition, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet technology, and in particular to a message display method, message processing method, apparatus, and electronic device. Background Technology

[0002] With the development of internet technology and the widespread adoption of mobile devices, various social media platforms have emerged. Taking short video social media platforms as an example, after a target user posts a short video on the platform, various interactive actions taken by other users towards that short video (such as liking and commenting) will trigger message notifications to remind the target user to view it.

[0003] In related technologies, when other users trigger message notifications, the platform server sends a message reminder icon for the target user to indicate the number of unread messages. For example, a red dot is displayed on the message tab to remind the target user to click the message tab to enter the unread message interface and view the unread messages.

[0004] However, when a target user enters the unread messages interface, the server filters out non-compliant messages, such as comments containing sensitive information. Therefore, the number of messages the target user sees on the unread messages interface may differ from the number of unread messages indicated by the message notification icon, resulting in a poor user experience. Summary of the Invention

[0005] This disclosure provides a message display method, a message processing method, an apparatus, and an electronic device, which can improve the user experience. The technical solution of this disclosure is as follows:

[0006] According to a first aspect of the present disclosure, a message display method is provided, the method comprising:

[0007] In response to a triggering action on a client's message alert flag, a message retrieval request is sent to the server, the message alert flag indicating the number of unread messages on the client.

[0008] If a target unread message exists in at least one unread message corresponding to the message notification identifier, the server returns at least one unread message, where the target unread message refers to an unread message that does not meet the message display conditions.

[0009] Display the unread message interface for the at least one unread message. In response to the viewing operation of the target unread message on the unread message interface, do not display the message content of the target unread message, and display a first prompt message, which indicates that the target unread message does not meet the message display conditions.

[0010] In the message display method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, the at least one unread message is received and the corresponding unread message interface is displayed, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but a first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0011] In some embodiments, in response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a first prompt message is displayed, including:

[0012] In response to the viewing operation, the message content of the target unread message is not displayed, and the first prompt message is displayed in the target area of ​​the unread message interface.

[0013] In some embodiments, the first notification message is displayed in the target area of ​​the unread message interface, including any of the following:

[0014] The first notification message is displayed in the center area of ​​the unread message interface;

[0015] The first notification message is displayed in the area where the target unread message is located on the unread message interface.

[0016] In some embodiments, in response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a first prompt message is displayed, including:

[0017] In response to the viewing operation, the message viewing interface for the target unread message is displayed. The message content of the target unread message is not displayed on the message viewing interface, but the first prompt message is displayed.

[0018] In some embodiments, an unread message interface is displayed for the at least one unread message, including:

[0019] According to the target sorting order, at least one unread message is displayed on the unread message interface. The target sorting order indicates that the display position of the target unread message is before the display position of the unread messages that meet the display conditions.

[0020] In some embodiments, the method further includes:

[0021] If the target unread message exists in at least one unread message, the server sends a message digest of the target unread message and messages in the at least one unread message other than the target unread message, and the message digest meets the message display conditions.

[0022] The message summary of the target unread message is displayed on the unread message interface. In response to the viewing operation of the target unread message, a second prompt message is displayed, which indicates that the target unread message does not meet the display conditions.

[0023] In some embodiments, the message digest includes at least one of the following:

[0024] Information about the sender of the unread messages to this target;

[0025] The posting time of the unread messages to this target;

[0026] Keywords for unread messages to this target.

[0027] In some embodiments, the method further includes:

[0028] If the target unread message exists in the at least one unread message, receive the messages other than the target unread message in the at least one unread message returned by the server;

[0029] The unread message interface and a third prompt message are displayed. The third prompt message indicates that there are at least one unread message that does not meet the target number of messages that do not meet the display conditions.

[0030] According to a second aspect of the present disclosure, a message processing method is provided, the method comprising:

[0031] Receive a message retrieval request based on a client-side message alert identifier, which indicates the number of unread messages on the client.

[0032] If the target unread message exists in at least one unread message corresponding to the message notification identifier, send the at least one unread message and the first notification message to the client.

[0033] The target unread message refers to an unread message that does not meet the message display conditions. In response to the client's operation of viewing the target unread message on the unread message interface, the client does not display the message content of the target unread message, but displays the first prompt message, which indicates that the target unread message does not meet the message display conditions.

[0034] In the message processing method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, at least one unread message and a first prompt message are sent, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but the first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0035] In some embodiments, the method further includes:

[0036] If the target unread message exists in the at least one unread message, extract the message digest of the target unread message, and send the message digest of the target unread message, the messages in the at least one unread message other than the target unread message, and the second prompt message to the client.

[0037] If the message summary meets the message display conditions, the client displays the message summary of the target unread message on the unread message interface. In response to the viewing operation of the target unread message, the client displays the second prompt message, which indicates that the target unread message does not meet the message display conditions.

[0038] In some embodiments, extracting the message digest of the target unread message includes:

[0039] Based on the client information, extract the message digest of the target unread message so that the word count of the message digest meets the word count display conditions of the client when displaying the message digest on the unread message interface.

[0040] In some embodiments, the method further includes:

[0041] If the target unread message exists in the at least one unread message, send the client messages other than the target unread message in the at least one unread message and a third prompt message. The third prompt message indicates that there are at least one unread message containing the target number of unread messages that do not meet the message display conditions.

[0042] According to a third aspect of the present disclosure, a message display device is provided, the device comprising:

[0043] The sending unit is configured to perform a message retrieval request to the server in response to a triggering operation on a message alert flag of the client, the message alert flag indicating the number of unread messages on the client;

[0044] The receiving unit is configured to receive the at least one unread message returned by the server when there is a target unread message in at least one unread message corresponding to the message reminder identifier. The target unread message refers to an unread message that does not meet the message display conditions.

[0045] The display unit is configured to perform an unread message interface for the at least one unread message, and in response to a viewing operation of the target unread message on the unread message interface, not display the message content of the target unread message, but display a first prompt message indicating that the target unread message does not meet the message display conditions.

[0046] In some embodiments, the display unit is configured to perform:

[0047] In response to the viewing operation, the message content of the target unread message is not displayed, and the first prompt message is displayed in the target area of ​​the unread message interface.

[0048] In some embodiments, the display unit is configured to perform any of the following:

[0049] The first notification message is displayed in the center area of ​​the unread message interface;

[0050] The first notification message is displayed in the area where the target unread message is located on the unread message interface.

[0051] In some embodiments, the display unit is configured to perform:

[0052] In response to the viewing operation, the message viewing interface for the target unread message is displayed. The message content of the target unread message is not displayed on the message viewing interface, but the first prompt message is displayed.

[0053] In some embodiments, the display unit is configured to perform:

[0054] According to the target sorting order, at least one unread message is displayed on the unread message interface. The target sorting order indicates that the display position of the target unread message is before the display position of the unread messages that meet the display conditions.

[0055] In some embodiments, the receiving unit is further configured to perform:

[0056] If the target unread message exists in at least one unread message, the server sends a message digest of the target unread message and messages in the at least one unread message other than the target unread message, and the message digest meets the message display conditions.

[0057] The display unit is also configured to display a message summary of the target unread message on the unread message interface, and to display a second prompt message in response to a viewing operation of the target unread message, the second prompt message indicating that the target unread message does not meet the message display conditions.

[0058] In some embodiments, the message digest includes at least one of the following:

[0059] Information about the sender of the unread messages to this target;

[0060] The posting time of the unread messages to this target;

[0061] Keywords for unread messages to this target.

[0062] In some embodiments, the receiving unit is further configured to perform:

[0063] If the target unread message exists in the at least one unread message, receive the messages other than the target unread message in the at least one unread message returned by the server;

[0064] The display unit is also configured to display the unread message interface and a third prompt message, the third prompt message indicating that there are a target number of unread messages in the at least one unread message that do not meet the display conditions of the message.

[0065] According to a fourth aspect of the present disclosure, a message processing apparatus is provided, the apparatus comprising:

[0066] The receiving unit is configured to execute a message retrieval request based on a client-side message alert identifier, which indicates the number of unread messages on the client.

[0067] The sending unit is configured to send the at least one unread message and the first prompt message to the client when there is a target unread message in at least one unread message corresponding to the message prompt identifier;

[0068] The target unread message refers to an unread message that does not meet the message display conditions. In response to the client's operation of viewing the target unread message on the unread message interface, the client does not display the message content of the target unread message, but displays the first prompt message, which indicates that the target unread message does not meet the message display conditions.

[0069] In some embodiments, the sending unit is further configured to perform:

[0070] If the target unread message exists in the at least one unread message, extract the message digest of the target unread message, and send the message digest of the target unread message, the messages in the at least one unread message other than the target unread message, and the second prompt message to the client.

[0071] If the message summary meets the message display conditions, the client displays the message summary of the target unread message on the unread message interface. In response to the viewing operation of the target unread message, the client displays the second prompt message, which indicates that the target unread message does not meet the message display conditions.

[0072] In some embodiments, the sending unit is further configured to perform:

[0073] Based on the client information, extract the message digest of the target unread message so that the word count of the message digest meets the word count display conditions of the client when displaying the message digest on the unread message interface.

[0074] In some embodiments, the sending unit is further configured to perform:

[0075] If the target unread message exists in the at least one unread message, send the client messages other than the target unread message in the at least one unread message and a third prompt message. The third prompt message indicates that there are at least one unread message containing the target number of unread messages that do not meet the message display conditions.

[0076] According to a fifth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0077] One or more processors;

[0078] Memory used to store the executable program code of the processor;

[0079] The processor is configured to execute the program code to implement the aforementioned message display method or message processing method.

[0080] According to a sixth aspect of the present disclosure, a computer-readable storage medium is provided, the computer-readable storage medium comprising: when program code in the computer-readable storage medium is executed by a processor of an electronic device, enabling the electronic device to perform the above-described message display method or message processing method.

[0081] According to a seventh aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the above-described message display method or message processing method.

[0082] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0083] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0084] Figure 1 This is a schematic diagram of an implementation environment provided by an embodiment of this disclosure;

[0085] Figure 2 This is a flowchart of a message display method provided in an embodiment of this disclosure;

[0086] Figure 3 This is a flowchart of a message processing method provided in an embodiment of this disclosure;

[0087] Figure 4 This is a flowchart of another message display method provided in this embodiment of the disclosure;

[0088] Figure 5 This is a schematic diagram illustrating the display of a first prompt message according to an embodiment of this disclosure;

[0089] Figure 6 This is a schematic diagram illustrating another way of displaying the first prompt message provided in an embodiment of this disclosure;

[0090] Figure 7 This is a flowchart of another message display method provided in this embodiment of the disclosure;

[0091] Figure 8 This is a schematic diagram illustrating the display of a second prompt message according to an embodiment of this disclosure;

[0092] Figure 9 This is a flowchart of another message display method provided in this embodiment of the disclosure;

[0093] Figure 10 This is a schematic diagram illustrating the display of a third prompt message according to an embodiment of this disclosure;

[0094] Figure 11 This is a structural block diagram of a message display device provided in an embodiment of this disclosure;

[0095] Figure 12 This is a structural block diagram of a message processing device provided in an embodiment of this disclosure;

[0096] Figure 13 This is a structural block diagram of a terminal provided in an embodiment of this disclosure;

[0097] Figure 14 This is a structural block diagram of a server provided in an embodiment of this disclosure. Detailed Implementation

[0098] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0099] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0100] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, unread messages involved in the embodiments of this disclosure are obtained with full authorization.

[0101] Figure 1 This is a schematic diagram of an implementation environment provided by an embodiment of this disclosure. See also: Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are directly or indirectly connected via wired or wireless communication, which is not limited in this embodiment.

[0102] Terminal 101 is at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. Terminal 101 can refer to one of multiple terminals; this embodiment only uses terminal 101 as an example. Those skilled in the art will understand that the number of terminals can be more or less. Terminal 101 has a client installed and running, for example, a social networking client, news application client, video client, shopping application client, or search application client, etc., without limitation. Indicatively, terminal 101 is a terminal used by a user. Taking a terminal 101 running a social networking client as an example, the user can interact socially with other users on the social networking client, and the client has a logged-in user account.

[0103] Server 102 is a standalone physical server, a server cluster composed of multiple physical servers, a distributed file system, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 102 provides background services for the clients running on terminal 101. Additionally, server 102 may include other functional servers to provide more comprehensive and diversified services. For example, assuming terminal 101 runs a social media client, users can publish media resources such as videos and articles through this client. In response to other users' interactive operations (such as likes and comments) on the media resources published by the user, server 102 sends a notification message to terminal 101, causing terminal 101 to display a message notification icon indicating the number of unread messages, thus reminding the user to check unread messages promptly. It should be understood that the examples given here are merely illustrative. Unread messages on the client can also be chat messages between users, etc. This embodiment of the disclosure does not limit the type of unread message indicated by the message notification icon.

[0104] Based on the above implementation environment, the message display method and message processing method provided in the embodiments of this disclosure are described below.

[0105] Figure 2 This is a flowchart of a message display method provided in an embodiment of this disclosure. Figure 2 As shown, the method is executed by terminal 101 in the above implementation environment. Schematic, the message display method includes the following steps 201 to 203.

[0106] In step 201, in response to the triggering operation of the client's message notification identifier, the terminal sends a message retrieval request to the server, the message notification identifier indicating the number of unread messages for the client.

[0107] In this embodiment of the disclosure, a client runs on the terminal, which provides users with message viewing functionality. For example, the client can be a social networking client, a news application client, a video application client, a shopping application client, or a search application client, etc., and is not limited thereto. The message retrieval request is used to retrieve at least one unread message corresponding to the message notification identifier. Illustratively, if the message notification identifier indicates that the number of unread messages on the client is N (N is a positive integer), then in response to the triggering operation of the message notification identifier, the terminal sends a message retrieval request to the server for the N unread messages.

[0108] In step 202, if there is a target unread message in at least one unread message corresponding to the message notification identifier, the terminal receives at least one unread message returned by the server. The target unread message refers to an unread message that does not meet the message display conditions.

[0109] In this embodiment of the disclosure, the message display condition refers to the message content of an unread message meeting the display conditions. For example, the message display condition means that the message content of an unread message does not contain sensitive words, sensitive images, etc., or the message display condition means that the media resources associated with the message content of an unread message meet the resource publishing requirements, etc. This embodiment of the disclosure does not limit the specific form of the message display condition.

[0110] In step 203, the terminal displays an unread message interface for at least one unread message. In response to the viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a first prompt message is displayed, which indicates that the target unread message does not meet the message display conditions.

[0111] In this embodiment of the disclosure, the unread message interface provides a message viewing function for at least one unread message. The terminal responds to a viewing operation on any unread message on the unread message interface by displaying the corresponding content. Specifically, for a target unread message, the message content of the target unread message is not displayed; instead, a first prompt message is displayed to remind the user that the target unread message does not meet the message display conditions. It should be understood that the number of at least one unread message displayed on the unread message interface is the same as the number of unread messages indicated by the message notification icon. Therefore, even when a target unread message exists among the unread messages, the terminal still displays all unread messages, avoiding inconsistencies between the message notification icon and the number of unread messages. Furthermore, when a user wants to view a target unread message, the corresponding message content is not displayed; instead, a first prompt message is displayed, promptly reminding the user that the target unread message does not meet the message display conditions, thereby improving the user experience.

[0112] In summary, in the message display method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, the at least one unread message is received and the corresponding unread message interface is displayed, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but a first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0113] Figure 3 This is a flowchart of a message processing method provided in an embodiment of this disclosure. Figure 3 As shown, the method is executed by the server in the above implementation environment, which is capable of providing background services for clients running on the terminal. Schematic, the message processing method includes the following steps 301 and 302.

[0114] In step 301, the server receives a message retrieval request based on a message notification identifier of the client, which indicates the number of unread messages for the client.

[0115] In this embodiment of the disclosure, the message retrieval request is used to retrieve at least one unread message corresponding to the message notification identifier.

[0116] In step 302, if a target unread message exists in at least one unread message corresponding to the message notification identifier, the server sends the at least one unread message and a first prompt message to the client. The first prompt message indicates that the target unread message does not meet the message display conditions.

[0117] In this embodiment of the disclosure, the server, based on the message retrieval request, retrieves at least one unread message corresponding to the message notification identifier, and determines whether the at least one unread message meets the message display conditions (this process will be described later). Figure 4 (The illustrated embodiment is described in detail and will not be repeated here.) When there is a target unread message, at least one unread message and a first prompt message are sent to the client. The target unread message refers to an unread message that does not meet the message display criteria. In response to the client's operation to view the target unread message on the unread message interface, the message content of the target unread message is not displayed, but the first prompt message is displayed.

[0118] In summary, in the message processing method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, at least one unread message and a first prompt message are sent, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but the first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0119] The above Figure 2 and Figure 3 A brief flowchart of the message display method and message processing method provided in the embodiments of this disclosure is introduced below. Figure 4 The above method will be described in detail in the illustrated embodiment.

[0120] Figure 4 This is a flowchart of another message display method provided in an embodiment of this disclosure. For example... Figure 4 As shown, the interaction between the terminal and the server in the above implementation environment is used as an example for description. The method includes the following steps 401 to 407.

[0121] In step 401, in response to the triggering operation of the client's message alert identifier, the terminal sends a message retrieval request to the server, the message alert identifier indicating the number of unread messages of the client.

[0122] In this embodiment of the disclosure, the terminal displays a message reminder icon based on the number of unread messages on the client, and in response to the triggering operation of the message reminder icon, establishes a long connection with the server and sends a message retrieval request to the server in order to receive at least one unread message returned by the server.

[0123] Schematic illustration: The client's message notification indicator is located in any of the following locations: the client's client icon, a tab on the client's client interface for the message interface, a notification banner on the client, etc. This embodiment of the disclosure does not limit the specific display location of the message notification indicator. It should be understood that the terminal is a user's terminal, and the client running on the terminal has a logged-in user account. When the user account generates an unread message, the server sends a message notification to the terminal for that unread message, causing the terminal to display the client's message notification indicator (for example, if the user account generates one unread message, a red dot 1 is displayed on the tab of the message interface). In response to a triggering operation (such as a click) on the message notification indicator, the terminal sends a message retrieval request to the server to retrieve the unread message.

[0124] In step 402, the server receives the message request.

[0125] In step 403, the server retrieves at least one unread message corresponding to the message notification identifier based on the message retrieval request.

[0126] In this embodiment of the disclosure, when the server receives at least one unread message, it determines whether each unread message meets the message display conditions. For example, assuming the message display condition refers to the unread message content not containing sensitive words and / or sensitive images, for any unread message, the server performs content recognition on the message content to obtain the content recognition result. If the content recognition result indicates that the unread message content includes sensitive words and / or sensitive images, the unread message is identified as the target unread message. It should be noted that this embodiment of the disclosure does not limit the process by which the server determines whether an unread message meets the message display conditions; this process can be configured according to actual needs.

[0127] In step 404, if a target unread message exists in at least one unread message, the server sends the at least one unread message and a first prompt message to the client.

[0128] In this embodiment of the disclosure, the first notification message indicates that the target unread message does not meet the message display conditions. It should be understood that the target unread message can be one or more, and this embodiment of the disclosure does not limit this.

[0129] In step 405, the terminal receives at least one unread message and a first prompt message returned by the server.

[0130] In step 406, the terminal displays an unread message interface for the at least one unread message.

[0131] In this embodiment of the disclosure, the unread message interface is used to provide a message viewing function for at least one unread message, as detailed above. Figure 2 Step 203 in the illustrated embodiment will not be repeated here. For example, the terminal displays at least one unread message in a list format on the unread message interface, which is not limited to this.

[0132] In some embodiments, the terminal displays at least one unread message on the unread message interface according to a target arrangement order. This target arrangement order indicates that the target unread message is displayed before the unread messages that meet the message display criteria. In some embodiments, the target arrangement order is sent by a server, causing the terminal to display the unread message interface according to this target arrangement order. In other embodiments, the target arrangement order is determined by the terminal based on the received unread messages; this disclosure does not limit this approach. By displaying unread messages that do not meet the message display criteria at the beginning in this manner, the user is promptly alerted that there are messages among the current unread messages that do not meet the display criteria, thereby improving the user experience.

[0133] In step 407, in response to the viewing operation of the target unread message on the unread message interface, the terminal does not display the message content of the target unread message, but displays the first prompt message.

[0134] In this embodiment of the disclosure, in response to the viewing operation, the terminal does not display the message content of the target unread message, but displays a first prompt message on the unread message interface, or displays the first prompt message on the message viewing interface of the target unread message. The following describes these two methods of displaying the first prompt message.

[0135] The first method involves the terminal responding to the viewing operation by not displaying the message content of the unread message, but instead displaying the first prompt message in the target area of ​​the unread message interface.

[0136] In this embodiment, the terminal displays the first prompt message in the form of a message pop-up in the target area of ​​the unread message interface. In some embodiments, the terminal displays the first prompt message in the target area of ​​the unread message interface, including any of the following: displaying the first prompt message in the center area of ​​the unread message interface; or displaying the first prompt message in the area where the target unread message is located on the unread message interface. (Illustratively, see reference to...) Figure 5 , Figure 5 This is a schematic diagram illustrating the display of a first prompt message according to an embodiment of this disclosure. For example... Figure 5As shown in Figure (a), the terminal displays a message notification identifier 501 on the client interface 500. In response to a triggering operation on this message notification identifier 501 (such as clicking the "Messages" tab), an unread message interface for multiple unread messages is displayed. In response to a viewing operation on a target unread message, a first prompt message 502 is displayed in the central area of ​​the unread message interface, such as "This message cannot be displayed temporarily because it does not meet the XXX requirement." Figure 5 As shown in Figure (b), the terminal displays a message reminder identifier 501 on the client interface 500 of the client. In response to the triggering operation of the message reminder identifier 501, an unread message interface for multiple unread messages is displayed. In response to the viewing operation of the target unread message, a first prompt message 502 is displayed in the area where the target unread message is located in the unread message interface.

[0137] The second method involves the terminal responding to the viewing operation by displaying a message viewing interface for the target unread message. The message content of the target unread message is not displayed on the message viewing interface, but the first prompt message is displayed instead.

[0138] In response to the viewing operation, the terminal displays a message viewing interface for the unread messages of the target, and on this interface, the first prompt message is displayed as a pop-up window. (See illustration for reference.) Figure 6 , Figure 6 This is a schematic diagram illustrating another way of displaying the first prompt message provided in an embodiment of this disclosure. For example... Figure 6 As shown, the terminal displays a message notification identifier 501 on the client interface 500 of the client. In response to the triggering operation of the message notification identifier 501, the unread message interface for multiple unread messages is displayed. In response to the viewing operation of the target unread message, the message viewing interface is displayed, and the first prompt message 502 is displayed on the message viewing interface, such as "This message cannot be displayed temporarily because it does not meet the requirements of XXX".

[0139] It should be noted that the above Figure 5 and Figure 6 The first prompt message shown is for illustrative purposes only. This first prompt message can be set according to requirements, and this embodiment does not limit it.

[0140] Furthermore, in steps 404 to 407 above, the first prompt message is sent from the server to the terminal. In other embodiments, the server sends at least one unread message and a first identifier to the terminal. The first identifier instructs the terminal to display the first prompt message based on the target unread message. Indicatively, the first identifier includes the message identifier of the target unread message and the message identifier of the first prompt message. In this way, the server does not need to send the complete content of the first prompt message to the terminal, but instead sends an identifier to cause the terminal to display the corresponding prompt message, thereby saving communication resources between the terminal and the server and improving message processing efficiency.

[0141] By displaying the first notification message as described above, the user is promptly alerted. This ensures that the message notification icon seen by the user matches the number of unread messages on the unread message interface, while also promptly reminding the user that the target unread message does not meet the message display criteria, thus improving the user experience.

[0142] In summary, in the message display method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, the at least one unread message is received and the corresponding unread message interface is displayed, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but a first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0143] In the above Figure 4 In the illustrated embodiment, if the server finds a target unread message among at least one unread message, it sends all at least one unread message to the terminal. However, the terminal cannot display the message content of the target unread message. In other embodiments, the server sends a message digest of the target unread message to the terminal. This message digest meets the message display conditions, thereby significantly saving communication resources between the terminal and the server and improving message processing efficiency while ensuring that the terminal does not display non-compliant message content. The following will combine... Figure 7 This section introduces this message display method.

[0144] Figure 7 This is a flowchart of another message display method provided in an embodiment of this disclosure. For example... Figure 7 As shown, the interaction between the terminal and the server in the above implementation environment will be used as an example. The method includes the following steps 701 to 708.

[0145] In step 701, in response to the triggering operation of the client's message alert identifier, the terminal sends a message retrieval request to the server, the message alert identifier indicating the number of unread messages for the client.

[0146] In step 702, the server receives the message request.

[0147] In step 703, the server retrieves at least one unread message corresponding to the message notification identifier based on the message retrieval request.

[0148] Steps 701 to 703 above and Figure 4 Steps 401 to 403 in the illustrated embodiment are similar and will not be described again.

[0149] In step 704, if the target unread message exists in at least one unread message, the server extracts the message digest of the target unread message.

[0150] In this embodiment of the disclosure, the message digest conforms to the message display conditions. Indicatively, the message digest includes at least one of the following: the publisher information of the target unread message; the publication time of the target unread message; keywords of the target unread message, etc., without limitation. In some embodiments, the server extracts the message digest of the target unread message based on the message content and message display conditions of the target unread message, so that the extracted message digest conforms to the message display conditions.

[0151] In some embodiments, the server extracts a message digest of the target unread message based on the client's client information, ensuring that the word count of the message digest meets the character count requirements for displaying the message digest on the unread message interface. The client information includes the client version, the terminal model running the client, client interface information, etc., and is not limited thereto. In this way, the message digest extracted by the server can be fully displayed on the unread message interface, allowing users to easily understand the overview of the target unread message and thus improving human-computer interaction efficiency.

[0152] It should be understood that for unread messages that meet the message display conditions, the server can also extract the message digest of these unread messages so that the terminal can display them and improve the efficiency of human-computer interaction. This disclosure does not limit this aspect.

[0153] In step 705, the server sends to the terminal a message digest of the target unread message, messages other than the target unread message in the at least one unread message, and a second prompt message.

[0154] In this embodiment of the disclosure, the second notification message indicates that the target unread message does not meet the message display conditions.

[0155] In step 706, the terminal receives the message digest of the target unread message, the messages in the at least one unread message other than the target unread message, and the second prompt message.

[0156] In step 707, the terminal displays an unread message interface for the at least one unread message, and displays a message summary of the target unread message on the unread message interface.

[0157] In this embodiment of the disclosure, this step is the same as the one described above. Figure 4 Step 406 in the illustrated embodiment is similar and will not be described again. Specifically, the terminal displays a message summary of the target unread message on the unread message interface for the user to view.

[0158] In step 708, the terminal displays a second prompt message in response to the viewing operation of the target unread message on the unread message interface.

[0159] In this embodiment of the disclosure, this step is the same as the one described above. Figure 4 In the illustrated embodiment, step 407 is similar, that is, the terminal can display the second prompt message in the target area of ​​the unread message interface, or it can display the second prompt message in the message viewing interface of the target unread message, so it will not be described again.

[0160] Furthermore, in steps 705 to 708 above, the second prompt message is sent from the server to the terminal. In other embodiments, the server sends the terminal a message digest of the target unread message, messages other than the target unread message in the at least one unread message, and a second identifier. The second identifier instructs the terminal to display the second prompt message based on the target unread message. Indicatively, the second identifier includes the message identifier of the target unread message and the message identifier of the second prompt message. In this way, the server does not need to send the complete content of the second prompt message to the terminal, but instead sends the identifier to cause the terminal to display the corresponding prompt message, thereby saving communication resources between the terminal and the server and improving message processing efficiency.

[0161] The following is combined Figure 8 Here are some examples illustrating steps 701 to 708 above. Figure 8 This is a schematic diagram illustrating the display of a second prompt message according to an embodiment of this disclosure. Figure 8 As shown, the terminal displays a message notification identifier 501 on the client interface 500 of the client. In response to the triggering operation of the message notification identifier 501, an unread message interface for multiple unread messages is displayed. The message summary 801 of the target unread message is displayed on the unread message interface. In response to the viewing operation of the target unread message, a second prompt message 802 is displayed in the central area of ​​the unread message interface, such as "This message cannot be displayed temporarily because it does not meet the requirements of XXX".

[0162] In summary, in the message display method provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions in at least one unread message corresponding to the message notification identifier, the method receives the message summary of the target unread message, the messages in at least one unread message other than the target unread message, and a second prompt message, and displays the corresponding unread message interface. This ensures that the number of unread messages seen by the user is consistent with the number of unread messages on the message notification identifier and the unread message interface, and allows the user to understand the overview of the target unread message in a timely manner. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but the second prompt message is displayed instead, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0163] In the above Figure 4 and Figure 7 In the illustrated embodiment, for a target unread message, the server sends the target unread message itself or its message digest to the terminal. In other embodiments, for target unread messages that do not meet the message sending conditions, the server does not send the target unread message, but instead sends a third notification message simultaneously when sending the unread message to remind the user client that there are non-compliant messages among the current unread messages, thereby improving the user experience. The following will combine... Figure 9 This section introduces this message display method.

[0164] Figure 9 This is a flowchart of another message display method provided in an embodiment of this disclosure. For example... Figure 9 As shown, the interaction between the terminal and the server in the above implementation environment will be used as an example for the description. The method includes the following steps 901 to 906.

[0165] In step 901, in response to the triggering operation of the client's message alert identifier, the terminal sends a message retrieval request to the server, the message alert identifier indicating the number of unread messages of the client.

[0166] In step 902, the server receives the message request.

[0167] In step 903, the server retrieves at least one unread message corresponding to the message notification identifier based on the message retrieval request.

[0168] Steps 901 to 903 above and Figure 4 Steps 401 to 403 in the illustrated embodiment are similar and will not be described again.

[0169] In step 904, if a target unread message exists in at least one unread message, the server sends to the terminal messages other than the target unread message and a third prompt message from at least one unread message.

[0170] In this embodiment of the disclosure, the third prompt message indicates that among the at least one unread message, there is a target number of target unread messages that do not meet the message display conditions. In some embodiments, if the target unread message does not meet the message sending conditions, the server sends the messages other than the target unread message and the third prompt message to the terminal from the at least one unread message. For example, if the message content of the target unread message includes sensitive words or sensitive images, then the target unread message does not meet the message sending conditions. It should be noted that this embodiment of the disclosure does not limit the specific form of the message sending conditions.

[0171] In step 905, the terminal receives the messages other than the target unread message and the third prompt message from the at least one unread message returned by the server.

[0172] In step 906, the terminal displays an unread message interface and a third prompt message.

[0173] In this embodiment of the disclosure, the terminal displays unread messages and a third notification message that meet the message display conditions on the unread message interface. Indicatively, the terminal displays the third notification message in the central area of ​​the unread message interface in the form of a message pop-up.

[0174] Furthermore, in steps 904 to 906 above, the third notification message is sent from the server to the terminal. Based on a similar process to the first and second notification messages, the server can send a third identifier to the terminal to instruct the terminal to display the third notification message, thereby saving communication resources between the terminal and the server. In other embodiments, the terminal can display the third notification message based on the number of unread messages received from the server, if the number of unread messages received is inconsistent with the number of unread messages indicated by the message notification identifier. That is, the server does not need to send a third notification message to the terminal; the terminal determines this itself, thereby further saving communication resources between the terminal and the server and improving message processing efficiency.

[0175] The following is combined Figure 10 Here are some examples illustrating steps 901 to 906 above. Figure 10 This is a schematic diagram illustrating the display of a third prompt message according to an embodiment of this disclosure. For example... Figure 10As shown, the terminal displays a message notification identifier 501 on the client interface 500. This message notification identifier 501 indicates that the number of unread messages on the client is 10. In response to the triggering operation of the message notification identifier 501, the terminal sends a message retrieval request to the server. The server returns 8 unread messages and a third prompt message. The terminal displays an unread message interface for these 8 unread messages, and displays a third prompt message 1001 on the unread message interface, such as "Due to XXX reasons, 2 messages cannot be displayed temporarily".

[0176] In summary, in the message display method provided in this embodiment, based on the triggering operation of the message reminder identifier on the client, when there is a target unread message that does not meet the message display conditions in at least one unread message corresponding to the message reminder identifier, the terminal receives the messages other than the target unread message and a third prompt message in at least one unread message, and displays the corresponding unread message interface and the third prompt message, so that when the number of unread messages on the message reminder identifier and the unread message interface is inconsistent, the user can understand in time the reason why some messages cannot be displayed, thereby improving the user experience.

[0177] Figure 11 This is a structural block diagram of a message display device provided in an embodiment of this disclosure. (Refer to...) Figure 11 The device includes a transmitting unit 1101, a receiving unit 1102, and a display unit 1103.

[0178] Sending unit 1101 is configured to perform a triggering operation in response to a message alert flag on the client, sending a message retrieval request to the server, the message alert flag indicating the number of unread messages on the client;

[0179] The receiving unit 1102 is configured to receive the at least one unread message returned by the server when there is a target unread message in at least one unread message corresponding to the message reminder identifier. The target unread message refers to an unread message that does not meet the message display conditions.

[0180] Display unit 1103 is configured to display an unread message interface for the at least one unread message. In response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a first prompt message is displayed, indicating that the target unread message does not meet the message display conditions.

[0181] In some embodiments, the display unit 1103 is configured to perform:

[0182] In response to the viewing operation, the message content of the target unread message is not displayed, and the first prompt message is displayed in the target area of ​​the unread message interface.

[0183] In some embodiments, the display unit 1103 is configured to perform any of the following:

[0184] The first notification message is displayed in the center area of ​​the unread message interface;

[0185] The first notification message is displayed in the area where the target unread message is located on the unread message interface.

[0186] In some embodiments, the display unit 1103 is configured to perform:

[0187] In response to the viewing operation, the message viewing interface for the target unread message is displayed. The message content of the target unread message is not displayed on the message viewing interface, but the first prompt message is displayed.

[0188] In some embodiments, the display unit 1103 is configured to perform:

[0189] According to the target sorting order, at least one unread message is displayed on the unread message interface. The target sorting order indicates that the display position of the target unread message is before the display position of the unread messages that meet the display conditions.

[0190] In some embodiments, the receiving unit 1102 is further configured to perform:

[0191] If the target unread message exists in at least one unread message, the server sends a message digest of the target unread message and messages in the at least one unread message other than the target unread message, and the message digest meets the message display conditions.

[0192] The display unit 1103 is also configured to display a message summary of the target unread message on the unread message interface, and to display a second prompt message in response to a viewing operation of the target unread message, the second prompt message indicating that the target unread message does not meet the message display conditions.

[0193] In some embodiments, the message digest includes at least one of the following:

[0194] Information about the sender of the unread messages to this target;

[0195] The posting time of the unread messages to this target;

[0196] Keywords for unread messages to this target.

[0197] In some embodiments, the receiving unit 1102 is further configured to perform:

[0198] If the target unread message exists in the at least one unread message, receive the messages other than the target unread message in the at least one unread message returned by the server;

[0199] The display unit 1103 is also configured to display the unread message interface and a third prompt message, the third prompt message indicating that there is a target number of unread messages in the at least one unread message that do not meet the message display conditions.

[0200] In summary, in the message display device provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, the device receives the at least one unread message and displays the corresponding unread message interface, so that the number of unread messages seen by the user on the message notification identifier and the unread message interface is consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but a first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0201] It should be noted that the message display device provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the message display device and message display method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0202] Figure 12 This is a structural block diagram of a message processing display device provided in an embodiment of this disclosure. (Refer to...) Figure 12 The device includes a receiving unit 1201 and a transmitting unit 1202.

[0203] The receiving unit 1201 is configured to execute a message retrieval request based on a message alert identifier of the client, the message alert identifier indicating the number of unread messages of the client;

[0204] Sending unit 1202 is configured to send the at least one unread message and a first prompt message to the client when there is a target unread message in at least one unread message corresponding to the message reminder identifier;

[0205] The target unread message refers to an unread message that does not meet the message display conditions. In response to the client's operation of viewing the target unread message on the unread message interface, the client does not display the message content of the target unread message, but displays the first prompt message, which indicates that the target unread message does not meet the message display conditions.

[0206] In some embodiments, the sending unit 1202 is further configured to perform:

[0207] If the target unread message exists in the at least one unread message, extract the message digest of the target unread message, and send the message digest of the target unread message, the messages in the at least one unread message other than the target unread message, and the second prompt message to the client.

[0208] If the message summary meets the message display conditions, the client displays the message summary of the target unread message on the unread message interface. In response to the viewing operation of the target unread message, the client displays the second prompt message, which indicates that the target unread message does not meet the message display conditions.

[0209] In some embodiments, the sending unit 1202 is further configured to perform:

[0210] Based on the client information, extract the message digest of the target unread message so that the word count of the message digest meets the word count display conditions of the client when displaying the message digest on the unread message interface.

[0211] In some embodiments, the sending unit 1202 is further configured to perform:

[0212] If the target unread message exists in the at least one unread message, send the client messages other than the target unread message in the at least one unread message and a third prompt message. The third prompt message indicates that there are at least one unread message containing the target number of unread messages that do not meet the message display conditions.

[0213] In summary, in the message processing apparatus provided in this embodiment, based on the triggering operation of the message notification identifier on the client, when there is a target unread message that does not meet the message display conditions among at least one unread message corresponding to the message notification identifier, at least one unread message and a first prompt message are sent, so that the number of unread messages seen by the user and the number of unread messages on the unread message interface are consistent. Furthermore, when the user wants to view the target unread message, the corresponding message content is not displayed, but the first prompt message is displayed, thereby promptly reminding the user that the target unread message does not meet the message display conditions, thus improving the user experience.

[0214] It should be noted that the message processing device provided in the above embodiments is only illustrated by the division of the above functional modules during message processing. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the message processing device and message processing method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0215] In an exemplary embodiment, an electronic device is also provided, comprising a processor and a memory for storing at least one computer program, which is loaded and executed by the processor to implement the message display method and message processing method of the present disclosure embodiments.

[0216] Taking electronic devices as terminals as an example, Figure 13 This is a structural block diagram of a terminal provided in an embodiment of this disclosure. The terminal 1300 can be: a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. The terminal 1300 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.

[0217] Typically, terminal 1300 includes a processor 1301 and a memory 1302.

[0218] Processor 1301 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1301 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1301 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1301 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0219] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 are used to store at least one program code, which is executed by the processor 1301 to implement the message display method provided in the method embodiments of this disclosure.

[0220] In some embodiments, the terminal 1300 may also optionally include a peripheral device interface 1303 and at least one peripheral device. The processor 1301, memory 1302, and peripheral device interface 1303 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, a positioning assembly 1308, and a power supply 1309.

[0221] Peripheral device interface 1303 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1301 and memory 1302. In some embodiments, processor 1301, memory 1302 and peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1301, memory 1302 and peripheral device interface 1303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0222] The radio frequency (RF) circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1304 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1304 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0223] Display screen 1305 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1305 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1301 for processing. In this case, display screen 1305 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1305, disposed on the front panel of terminal 1300; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1300 or in a folded design; in still other embodiments, display screen 1305 may be a flexible display screen, disposed on a curved or folded surface of terminal 1300. Furthermore, display screen 1305 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light Emitting Diode).

[0224] The camera assembly 1306 is used to acquire images or videos. Optionally, the camera assembly 1306 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0225] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1301 for processing, or input to the radio frequency circuit 1304 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 1300. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.

[0226] The positioning component 1308 is used to locate the current geographical location of the terminal 1300 in order to enable navigation or LBS (Location Based Service).

[0227] Power supply 1309 is used to power the various components in terminal 1300. Power supply 1309 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1309 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0228] In some embodiments, the terminal 1300 further includes one or more sensors 1310. The one or more sensors 1310 include, but are not limited to: an acceleration sensor 1311, a gyroscope sensor 1312, a pressure sensor 1313, an optical sensor 1314, and a proximity sensor 1315.

[0229] Accelerometer 1311 can detect the magnitude of acceleration along the three axes of a coordinate system established by terminal 1300. For example, accelerometer 1311 can be used to detect the components of gravitational acceleration along the three axes. Processor 1301 can control display screen 1305 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1311. Accelerometer 1311 can also be used for games or for acquiring user motion data.

[0230] The gyroscope sensor 1312 can detect the orientation and rotation angle of the terminal 1300. The gyroscope sensor 1312, in conjunction with the accelerometer sensor 1311, can collect 3D motion data from the user on the terminal 1300. Based on the data collected by the gyroscope sensor 1312, the processor 1301 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0231] The pressure sensor 1313 can be disposed on the side bezel of the terminal 1300 and / or on the lower layer of the display screen 1305. When the pressure sensor 1313 is disposed on the side bezel of the terminal 1300, it can detect the user's grip signal on the terminal 1300, and the processor 1301 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1313. When the pressure sensor 1313 is disposed on the lower layer of the display screen 1305, the processor 1301 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1305. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0232] Optical sensor 1314 is used to collect ambient light intensity. In one embodiment, processor 1301 can control the display brightness of display screen 1305 based on the ambient light intensity collected by optical sensor 1314. Specifically, when the ambient light intensity is high, the display brightness of display screen 1305 is increased; when the ambient light intensity is low, the display brightness of display screen 1305 is decreased. In another embodiment, processor 1301 can also dynamically adjust the shooting parameters of camera assembly 1306 based on the ambient light intensity collected by optical sensor 1314.

[0233] The proximity sensor 1315, also known as a distance sensor, is typically located on the front panel of the terminal 1300. The proximity sensor 1315 is used to detect the distance between the user and the front of the terminal 1300. In one embodiment, when the proximity sensor 1315 detects that the distance between the user and the front of the terminal 1300 is gradually decreasing, the processor 1301 controls the display screen 1305 to switch from a screen-on state to a screen-off state; when the proximity sensor 1315 detects that the distance between the user and the front of the terminal 1300 is gradually increasing, the processor 1301 controls the display screen 1305 to switch from a screen-off state to a screen-on state.

[0234] Those skilled in the art will understand that Figure 13 The structure shown does not constitute a limitation on terminal 1300 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0235] Taking electronic devices as servers as an example, Figure 14This is a structural block diagram of a server provided in an embodiment of this disclosure. Indicatively, the server 1400 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1401 and one or more memories 1402, wherein the one or more memories 1402 store at least one line of program code, which is loaded and executed by the one or more processors 1401 to implement the message processing methods provided in the various method embodiments described above. Of course, the server 1400 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input / output. The server 1400 may also include other components for implementing device functions, which will not be elaborated here.

[0236] In an exemplary embodiment, a computer-readable storage medium including program code is also provided. This computer-readable storage medium includes a program code that, when executed by a processor of an electronic device, enables the electronic device to perform the aforementioned message display method or message processing method. For example, the computer-readable storage medium includes a memory 1302 containing program code, which can be executed by a processor 1301 of a terminal 1300 to complete the aforementioned message display method. In some embodiments, the computer-readable storage medium is a read-only memory (ROM), a random access memory (RAM), a compact-disc read-only memory (CD-ROM), magnetic tape, floppy disk, or optical data storage device, etc.

[0237] In an exemplary embodiment, a computer program product is also provided, including a computer program that, when executed by a processor, implements the above-described message display method or message processing method.

[0238] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0239] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A message display method, characterized in that, The method includes: In response to a triggering operation on a message notification identifier on the client, a message retrieval request is sent to the server, wherein the message notification identifier indicates the number of unread messages on the client; If, among the at least one unread message indicated by the message notification identifier, there is a target unread message that does not meet the message display conditions, the server returns the messages other than the target unread message among the at least one unread message, as well as the message digest of the target unread message. The message digest meets the message display conditions. The message digest is obtained based on the message content of the target unread message, the message display conditions, and the client information of the client. The message digest includes at least one of the following information of the target unread message: publication time and keywords. The unread message interface is displayed for the at least one unread message. The unread message interface displays the message summary. The number of at least one unread message displayed on the unread message interface is the same as the number of unread messages indicated by the message notification icon. In response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, indicating that the target unread message does not meet the message display conditions.

2. The message display method according to claim 1, characterized in that, In response to a viewing operation on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, including: In response to the viewing operation, the message content of the target unread message is not displayed, and the second prompt message is displayed in the target area of ​​the unread message interface.

3. The message display method according to claim 2, characterized in that, Displaying the second notification message in the target area of ​​the unread message interface includes: The second notification message is displayed in the center area of ​​the unread message interface.

4. The message display method according to claim 1, characterized in that, In response to a viewing operation on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, including: In response to the viewing operation, a message viewing interface for the target unread message is displayed. The message content of the target unread message is not displayed on the message viewing interface, and the second prompt message is displayed instead.

5. The message display method according to claim 1, characterized in that, The display of the unread message interface for the at least one unread message includes: According to the target sorting order, at least one unread message is displayed on the unread message interface, wherein the target sorting order indicates that the display position of the target unread message is before the display position of the unread message that meets the message display conditions.

6. The message display method according to claim 1, characterized in that, The message digest also includes information about the publisher of the target unread message.

7. The message display method according to claim 1, characterized in that, The method further includes: If the target unread message exists in the at least one unread message, receive the messages other than the target unread message in the at least one unread message returned by the server; The unread message interface and a third prompt message are displayed, wherein the third prompt message indicates that there are at least one unread message containing a target number of unread messages that do not meet the message display conditions.

8. A message processing method, characterized in that, The method includes: Receive a message retrieval request based on a message notification identifier from the client, wherein the message notification identifier indicates the number of unread messages on the client; If, among the at least one unread message indicated by the message notification identifier, there is a target unread message that does not meet the message display conditions, the message digest of the target unread message is extracted, and the messages other than the target unread message among the at least one unread message, along with the message digest of the target unread message, are sent to the client. The message digest meets the message display conditions, and the message digest is obtained based on the message content of the target unread message, the message display conditions, and the client information of the client. The message digest includes at least one of the following information of the target unread message: publication time and keywords. The client displays an unread message interface for the at least one unread message, the unread message interface displays the message summary, and the number of unread messages displayed on the unread message interface is the same as the number of unread messages indicated by the message notification icon; in response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, the second prompt message indicating that the target unread message does not meet the message display conditions.

9. The message processing method according to claim 8, characterized in that, The step of extracting the message digest of the target unread message includes: Based on the client information of the client, the message digest of the target unread message is extracted so that the word count of the message digest meets the word count display condition of the client when displaying the message digest on the unread message interface.

10. The message processing method according to claim 8, characterized in that, The method further includes: If the target unread message exists in the at least one unread message, send to the client messages other than the target unread message in the at least one unread message and a third prompt message, the third prompt message indicating that there are at least one unread message containing a target number of the target unread messages that do not meet the message display conditions.

11. A message display device, characterized in that, The device includes: The sending unit is configured to perform a triggering operation in response to a message alert identifier on the client, by sending a message retrieval request to the server, wherein the message alert identifier indicates the number of unread messages on the client. The receiving unit is configured to, when there is a target unread message that does not meet the message display conditions in at least one unread message indicated by the message notification identifier, receive messages other than the target unread message in the at least one unread message returned by the server, as well as a message digest of the target unread message. The message digest meets the message display conditions, and the message digest is obtained based on the message content of the target unread message, the message display conditions, and the client information of the client. The message digest includes at least one of the following information of the target unread message: publication time and keywords. The display unit is configured to execute the display of an unread message interface for the at least one unread message, the unread message interface displaying the message summary, the number of at least one unread message displayed on the unread message interface being the same as the number of unread messages indicated by the message notification identifier; in response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, the second prompt message indicating that the target unread message does not meet the message display conditions.

12. A message processing device, characterized in that, The device includes: The receiving unit is configured to execute a message retrieval request based on a message notification identifier of the client, wherein the message notification identifier indicates the number of unread messages of the client; The sending unit is configured to, when there is a target unread message that does not meet the message display conditions among at least one unread message indicated by the message notification identifier, extract the message digest of the target unread message, and send to the client the messages other than the target unread message among the at least one unread message, as well as the message digest of the target unread message. The message digest meets the message display conditions, and the message digest is obtained based on the message content of the target unread message, the message display conditions, and the client information of the client. The message digest includes at least one of the following information of the target unread message: publication time and keywords. The client displays an unread message interface for the at least one unread message, the unread message interface displays the message summary, and the number of unread messages displayed on the unread message interface is the same as the number of unread messages indicated by the message notification icon; in response to a viewing operation of the target unread message on the unread message interface, the message content of the target unread message is not displayed, and a second prompt message is displayed, the second prompt message indicating that the target unread message does not meet the message display conditions.

13. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory used to store the executable program code of the processor; The processor is configured to execute the program code to implement the message display method as described in any one of claims 1 to 7, or to implement the message processing method as described in any one of claims 8 to 10.

14. A computer-readable storage medium, characterized in that, When the program code in the computer-readable storage medium is executed by the processor of the electronic device, the electronic device is able to perform the message display method as described in any one of claims 1 to 7, or implement the message processing method as described in any one of claims 8 to 10.