Message display method and device, equipment and storage medium

By configuring and managing banner message display policies on the server side of the instant messaging application, and obtaining and applying them on the client, the problem of poor configuration flexibility in the existing technology is solved, and more flexible and efficient policy management is achieved, improving the user experience.

CN119182746APending Publication Date: 2024-12-24BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411223680.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

In existing instant messaging applications, the banner message display policy configuration is poor, which affects the user experience, and requires re-release of the application version to modify the policy, resulting in inconvenience.

Method used

Configure the banner message display policy on the instant messaging application server and obtain the policy when the client starts, allowing modification and personalization without affecting the client.

Benefits of technology

Improves the configuration flexibility and user experience of banner message display policies, avoids the need to re-release application versions, and enhances the management and use convenience of policies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119182746A_ABST
    Figure CN119182746A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message display method and device, equipment and a storage medium, and the method comprises the steps: obtaining a banner message display strategy of an instant messaging application from an instant messaging application server in response to the starting of an instant messaging application client; receiving an instant messaging message sent by the target message sender; if the target user interface currently displayed by the instant messaging application client is not a session interface for performing a session with the target message sender, generating a banner message corresponding to the instant messaging message according to a preset banner message style; determining a target banner message display strategy corresponding to the target user interface in the banner message display strategies; and determining a display result of the banner message corresponding to the instant messaging message in the target user interface according to the target banner message display strategy and the target message sender. Through the scheme, the configuration flexibility of the banner message display strategy can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a message display method, device, equipment and storage medium. Background Art

[0002] In Instant Messaging (IM) applications, banner messages are a type of prompt message. In terms of content, the content of a banner message can be the content of an ordinary chat session message or the content of an application notification message (such as a promotional event notification, etc.). In terms of display form, the display of banner messages is different from the display of conversation messages in the chat interface. Banner messages are usually displayed in a more conspicuous and prominent form in a specific area of ​​the application interface, such as in a pop-up window or bubble at the top or bottom of a chat or non-chat interface. Banner messages can attract users' attention through their special display form, ensuring that users pay attention to the content of the banner message.

[0003] In actual applications, when developing applications, a corresponding banner message display strategy is usually configured for each interface in the application, for example, a banner message is not displayed in a certain interface, or a banner message corresponding to a message sent by a specific user is not displayed in a certain interface, etc. However, the way of configuring the banner message display strategy in the application is to build the banner message display strategy into the application client, which has the problems of poor configuration flexibility and poor user experience. Summary of the invention

[0004] Embodiments of the present invention provide a message display method, apparatus, device and storage medium to enhance the flexibility of banner message display strategy configuration.

[0005] In a first aspect, an embodiment of the present invention provides a message display method, which is applied to an instant messaging application client, wherein the instant messaging application client is in communication connection with an instant messaging application server, and the method includes:

[0006] In response to the instant messaging application client being started, obtaining a banner message display strategy of the instant messaging application from the instant messaging application server;

[0007] Receiving an instant messaging message sent by a target message sender;

[0008] If the target user interface currently displayed by the instant messaging application client is not a conversation interface for conversing with the target message sender, generating a banner message corresponding to the instant messaging message according to a preset banner message style;

[0009] Determine a target banner message display strategy corresponding to the target user interface in the banner message display strategy;

[0010] According to the target banner message display strategy and the target message sender, a display result of the banner message corresponding to the instant messaging message in the target user interface is determined.

[0011] In a second aspect, an embodiment of the present invention provides a message display device, which is applied to an instant messaging application client, wherein the instant messaging application client is connected to an instant messaging application server for communication, and the device includes:

[0012] An acquisition module, configured to acquire a banner message display strategy of an instant messaging application from the instant messaging application server in response to the startup of the instant messaging application client;

[0013] A processing module, configured to receive an instant messaging message sent by a target message sender; if the target user interface currently displayed by the instant messaging application client is not a conversation interface for a conversation with the target message sender, generating a banner message corresponding to the instant messaging message according to a preset banner message style;

[0014] A determination module is used to determine the target banner message display strategy corresponding to the target user interface in the banner message display strategy; based on the target banner message display strategy and the target message sender, determine the display result of the banner message corresponding to the instant messaging message in the target user interface.

[0015] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the message display method described in the first aspect.

[0016] In a fourth aspect, an embodiment of the present invention provides a non-temporary machine-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor can at least implement the message display method described in the first aspect.

[0017] In a fifth aspect, an embodiment of the present invention provides a computer program product, comprising: a computer program, when the computer program is executed by a processor of an electronic device, the processor can at least implement the message display method as described in the first aspect.

[0018] The message display method provided by the embodiment of the present invention is used to display a banner message in an instant messaging application. In the specific implementation process, the instant messaging application client responds to its own startup and first obtains the banner message display strategy of the instant messaging application from the instant messaging application server of the communication connection. Afterwards, if an instant messaging message sent by a target message sender corresponding to other instant messaging application clients is received, it is determined whether the target user interface currently displayed by the instant messaging application client is a session interface for conducting a conversation with the target message sender. If the target user interface is a session interface for conducting a conversation with the target message sender, the instant messaging message is displayed in the target user interface (i.e., the session interface) in the form of a session message. If the target user interface is not a session interface for conducting a conversation with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style, and the target banner message display strategy corresponding to the target user interface in the banner message display strategy obtained from the instant messaging application server is determined, so as to determine the display result of the banner message corresponding to the instant messaging message in the target user interface according to the target banner message display strategy and the target message sender. In this solution, by configuring the banner message display strategy of the instant messaging application on the instant messaging application server, and obtaining the banner message display strategy from the instant messaging application server when the instant messaging application client is started, it can not only ensure that the banner message is displayed based on the banner message display strategy, but also can achieve the modification of the banner message display strategy in the instant messaging application server without affecting the instant messaging application client, which can effectively improve the flexibility of the banner message display strategy configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A flowchart of a message display method provided by an embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a visual display effect of an instant messaging message provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of an application of a message display method provided by an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of a scenario of a target banner message display strategy application process provided by an embodiment of the present invention;

[0024] Figure 5 A flowchart of another message display method provided by an embodiment of the present invention;

[0025] Figure 6 A flowchart of a method for configuring a banner message display strategy provided by an embodiment of the present invention;

[0026] Figure 7 A schematic diagram of the structure of a message display device provided by an embodiment of the present invention;

[0027] Figure 8 For Figure 7 A schematic structural diagram of an electronic device corresponding to the message display device provided in the illustrated embodiment. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0030] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0031] Before introducing the message display method provided by the embodiment of the present invention, the terms or concepts involved in the embodiment of the present invention are explained:

[0032] Instant Messaging (IM) application is a software application that allows users to send and receive text messages, voice messages, pictures, videos and other types of media content in real time through the Internet. Generally, IM applications adopt a client-server architecture, that is, they include an IM application client and an IM application server. Among them, the IM application client refers to the part of the IM application where users interact directly. The IM application client is installed on the user's terminal device (such as a smartphone, tablet computer, personal computer, etc.) to enable users to send and receive instant messages. The IM application server refers to the part of the IM application that is responsible for handling communication, data management and business logic between IM application clients. The IM application server usually runs on a remote server and provides necessary services and support for the IM application client.

[0033] Session Messages refer to chat messages between users in instant messaging applications, including one-on-one messages between two users and group chat messages between multiple users. During a session, session messages are displayed in the session interface in the order in which they were sent.

[0034] Application notification messages are used to convey system-level information, such as application updates, system maintenance notifications, marketing information (such as promotional event notifications), operation feedback, etc.

[0035] A banner message is a type of prompt message. In terms of content, the content of a banner message can be the content of an ordinary chat session message or the content of an application notification message (such as a promotional activity notification, etc.). In terms of display form, a banner message has a visual display effect that is different from other messages. For example, the display of a banner message is different from the display of a session message in a session interface. Banner messages are usually displayed in a more conspicuous and prominent form in a specific area of ​​the application interface, such as in a pop-up window, bubble, etc. at the top or bottom of a session or non-session interface. Banner messages can attract users' attention through their special display form, ensuring that users pay attention to the content of the banner message.

[0036] In the related art, when developing an instant messaging application, a corresponding banner message display strategy is usually configured for each interface in the instant messaging application, such as: not displaying a banner message in a certain user interface, or not displaying a banner message corresponding to a message sent by a specific user in a certain user interface, etc. Since the judgment of whether to display a banner message is executed in the instant messaging application client, when configuring the banner message display strategy in the instant messaging application, the banner message display strategy is usually built into the instant messaging application client. Based on this banner message display strategy configuration method, if the banner message display strategy is to be modified, a new version of the instant messaging application needs to be re-released, wherein the new version of the instant messaging application corresponds to the modified banner message display strategy, resulting in poor flexibility in the configuration of the banner message display strategy. In addition, in this banner message display strategy configuration method, the banner message display strategy is completely configured by the instant messaging application provider, and the user cannot perform personalized settings, which affects the user's experience.

[0037] In order to solve at least one of the above technical problems, an embodiment of the present invention provides a message display method, which ensures that the banner message is displayed based on the banner message display policy by configuring the banner message display policy of the instant messaging application on the instant messaging application server, and obtaining the banner message display policy from the instant messaging application server when the instant messaging application client is started. Since the banner message display policy of the instant messaging application is configured on the instant messaging application server, the instant messaging application client obtains the configured banner message display policy from the instant messaging application server. Therefore, the modification of the banner message display policy does not require the re-release of a new version of the instant messaging application, that is, the banner message display policy can be modified without affecting the instant messaging application client, thereby effectively improving the flexibility of the banner message display policy configuration and the user experience.

[0038] The following combination Figure 1 The message display method provided by the embodiment of the present invention is described in detail.

[0039] Figure 1 A flowchart of a message display method provided by an embodiment of the present invention is applied to an instant messaging application client, and the instant messaging application client is connected to an instant messaging application server for communication, such as Figure 1 As shown, the following steps may be included:

[0040] 101. In response to starting an instant messaging application client, obtain a banner message display strategy of the instant messaging application from an instant messaging application server.

[0041] 102. Receive an instant messaging message sent by a target message sender.

[0042] 103. If the target user interface currently displayed by the instant messaging application client is not a conversation interface for conversing with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style.

[0043] 104. Determine a target banner message display strategy corresponding to the target user interface in the banner message display strategy.

[0044] 105. Determine a display result of the banner message corresponding to the instant messaging message in the target user interface according to the target banner message display strategy and the target message sender.

[0045] The message display method provided in the embodiment of the present invention specifically relates to a method for displaying a banner message. Among them, a banner message can be understood as a prompt message with a visual display effect that is different from other instant messaging messages (such as conversation messages, application notification messages, etc.). As a prompt message, the content of the banner message can be an instant messaging message such as a conversation message or an application notification message.

[0046] For ease of understanding, combined Figure 2 , taking the visual display effect of a conversation message and the visual display effect of a banner message corresponding to the conversation message as an example, the message content of the banner message corresponding to the conversation message is the same as the message content of the conversation message. Figure 2 A schematic diagram of a visual display effect of an instant messaging message provided by an embodiment of the present invention.

[0047] Figure 2 The left picture in the figure is a diagram showing the visual display effect of the conversation message. Figure 2 As shown in the left figure in , during a conversation between user A and user B, if the current user interface of user A is the conversation interface between user A and user B, after receiving the instant messaging message "Is the price negotiable?" sent by user B, the instant messaging application client of user A displays the instant messaging message in the conversation interface in a preset conversation message style.

[0048] Figure 2 The right picture in the figure is a schematic diagram of the visual display effect of the banner message. Figure 2As shown in the right figure in , during the conversation between user A and user B, if the current user interface of user A is not the conversation interface between user A and user B, for example, the current user interface is the conversation interface between user A and user C or a non-conversation interface (for example, a product details page), then after receiving the instant messaging message "Is the price negotiable?" sent by user B, the instant messaging application client of user A displays the instant messaging message in the current user interface in a preset banner message style, for example, at the top of the conversation interface between user A and user C, in the form of covering part of the conversation interface between user A and user C, etc. Among them, the non-conversation interface is other user interfaces except the conversation interface.

[0049] Based on the above example, the banner message is actually a special display form of the instant messaging message. The banner message attracts the user's attention through its prominent visual display effect, ensuring that the user pays attention to the message content of the instant messaging message. Among them, the visual display effect of the banner message, such as: the banner message display position, the banner message style, etc., can refer to the relevant technology, and this embodiment will not be described in detail.

[0050] In this embodiment, the banner message display policy of the instant messaging application is pre-configured in the instant messaging application server. Among them, the banner message display policy of the instant messaging application includes: banner message display policies corresponding to multiple user interfaces of the instant messaging application. Optionally, the banner message display policy corresponding to a certain user interface includes at least one of the following: allowing the banner message corresponding to the instant messaging message sent by the first message sender to be displayed in the user interface, and prohibiting the banner message corresponding to the instant messaging message sent by the second message sender from being displayed in the user interface, etc.

[0051] To facilitate the configuration of the banner message display strategy of the instant messaging application, the banner message display strategy of the instant messaging application is configured on the instant messaging application server. In order to reduce the communication interaction between the instant messaging application client and the instant messaging application server and improve the display efficiency of the banner message, the instant messaging application client obtains the banner message display strategy of the instant messaging application from the instant messaging application server in response to its own startup, so that the banner message display strategy of the instant messaging application can be stored locally. Afterwards, the instant messaging application client can determine the display result of each banner message by using the banner message display strategy of the instant messaging application stored locally, without having to interact with the instant messaging application server every time to determine the display result of the banner message.

[0052] During the working process, the instant messaging application client will receive various instant messaging messages, such as single chat messages, group chat messages, application notification messages, etc. In the specific implementation process, after receiving the instant messaging message sent by the target message sender, the instant messaging application client first determines whether the target user interface currently displayed by the instant messaging application client is a conversation interface for a conversation with the target message sender; then, based on the judgment result, determines whether to display the instant messaging message in the form of a banner message.

[0053] It is understandable that if the instant messaging application client currently displays the target user interface as a conversation interface for conversing with the target message sender, the instant messaging message sent by the target message sender will be displayed in the target user interface, i.e., the conversation interface, in the style of a conversation message.

[0054] If the target user interface currently displayed by the instant messaging application client is not a conversation interface for conducting a conversation with the target message sender, for example, the target user interface is a conversation interface for conducting a conversation with other message senders, a non-conversation interface, etc., then a banner message corresponding to the instant messaging message is generated according to a preset banner message style to display the instant messaging message in the form of a banner message.

[0055] Afterwards, the target banner message display strategy corresponding to the target user interface is determined from the multiple banner message display strategies included in the banner message display strategy of the instant messaging application. Optionally, each user interface and its corresponding banner message display strategy have the same and unique page identifier, and based on the page identifier of the target user interface, the target banner message display strategy having the same page identifier as the target user interface can be screened out from the multiple banner message display strategies included in the banner message display strategy of the instant messaging application.

[0056] The target banner message display policy is used to restrict whether to allow the banner message to be displayed in the target user interface. Specifically, the target banner message display policy may include: which message senders are allowed to display the banner messages corresponding to the instant messaging messages in the user interface, and which message senders are prohibited from displaying the banner messages corresponding to the instant messaging messages in the user interface.

[0057] Finally, based on the target banner message display policy and the target message sender, the display result of the banner message corresponding to the instant messaging message in the target user interface is determined. Specifically, if the target banner message display policy indicates that the banner message corresponding to the instant messaging message sent by the target message sender is allowed to be displayed in the user interface, the banner message is displayed in the target user interface; if the target banner message display policy indicates that the banner message corresponding to the instant messaging message sent by the target message sender is prohibited from being displayed in the user interface, the banner message is not displayed in the target user interface.

[0058] To facilitate understanding of the message display method provided by the embodiment of the present invention, the following Figure 3 The message display method provided by the embodiment of the present invention is described from the perspective of the functional modules of the instant messaging application client.

[0059] Figure 3 The following is a schematic diagram of an application of a message display method provided by an embodiment of the present invention. Figure 3 As shown, the instant messaging application client includes: a communication module, a message manager and a banner message display control module.

[0060] Among them, the communication module is used to provide basic instant messaging message sending and receiving capabilities, such as: receiving instant messaging messages such as single chat messages, group chat messages, application notification messages, etc. sent by the target message sender.

[0061] The message manager is used to determine whether the target user interface currently displayed by the instant messaging application client is a conversation interface for a conversation with the target message sender after the communication module receives the instant messaging message sent by the target message sender. If the target user interface currently displayed by the instant messaging application client is a conversation interface for a conversation with the target message sender, the instant messaging message sent by the target message sender is displayed on the target user interface in the style of a conversation message; if the target user interface currently displayed by the instant messaging application client is not a conversation interface for a conversation with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style, so as to display the instant messaging message in the form of a banner message.

[0062] A banner message display control module is used to obtain the banner message display strategy of the instant messaging application from the instant messaging application server in response to the startup of the instant messaging application client; and, when it is determined that the target user interface currently displayed by the instant messaging application client is not a conversation interface for a conversation with a target message sender, based on the page identifier of the target user interface sent by the message manager, filter out the target banner message display strategy with the same page identifier as the target user interface from multiple banner message display strategies included in the banner message display strategy of the instant messaging application, and determine the display result of the banner message corresponding to the instant messaging message in the target user interface based on the target banner message display strategy and the target message sender corresponding to the banner message. For example, if it is determined that the banner message corresponding to the instant messaging message is displayed in the target user interface, the banner message display control module distributes the banner message to the target user interface to add the banner message to the target user interface.

[0063] In summary, in the message display method provided by the embodiment of the present invention, in response to its own startup, the instant messaging application client first obtains the banner message display strategy of the instant messaging application from the instant messaging application server of the communication connection. Afterwards, if an instant messaging message sent by the target message sender corresponding to other instant messaging application clients is received, it is determined whether the target user interface currently displayed by the instant messaging application client is a session interface for conducting a conversation with the target message sender. If the target user interface is a session interface for conducting a conversation with the target message sender, the instant messaging message is displayed in the target user interface (i.e., the session interface) in the form of a session message. If the target user interface is not a session interface for conducting a conversation with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style, and the target banner message display strategy corresponding to the target user interface in the banner message display strategy obtained from the instant messaging application server is determined, so as to determine the display result of the banner message corresponding to the instant messaging message in the target user interface according to the target banner message display strategy and the target message sender. By configuring the banner message display policy of the instant messaging application on the instant messaging application server and obtaining the banner message display policy from the instant messaging application server when the instant messaging application client is started, it can not only ensure that the banner message is displayed based on the banner message display policy, but also modify the banner message display policy in the instant messaging application server without affecting the instant messaging application client, which can effectively improve the flexibility of the banner message display policy configuration.

[0064] In actual applications, in different application scenarios, the configuration results of the banner message display strategy corresponding to the user interface are often diverse. For the banner message display strategy corresponding to a certain user interface, for example, it can be configured from the interface dimension as follows: allow all banner messages to be displayed on the user interface; or prohibit all banner messages from being displayed on the user interface; for another example, it can be configured from the dimension of the message sender (i.e., the user dimension): except for the banner messages corresponding to the instant messaging messages sent by certain message senders, all banner messages are allowed to be displayed on the user interface, or, except for the banner messages corresponding to the instant messaging messages sent by certain message senders, all banner messages are prohibited from being displayed on the user interface; for another example, it can be configured from the dimension of the message type of the instant messaging message as follows: allow all banner messages corresponding to the instant messaging messages of the message type group chat message to be displayed on the user interface; or prohibit all banner messages corresponding to the instant messaging messages of the message type single chat message or application notification message from being displayed on the user interface, etc.

[0065] It should be noted that the configuration method of the banner message display strategy corresponding to the above-mentioned user interface is only an exemplary description. In actual applications, the banner message display strategy corresponding to the user interface can be configured using one of the configuration methods, or it can be flexibly configured using multiple configuration methods (for example: from the dimensions of the message sender and the message type of the instant messaging message, the banner message display strategy corresponding to a certain user interface is configured as follows: except for the banner messages corresponding to instant messaging messages whose message types are single chat messages or application notification messages sent by certain message senders, all banner messages are allowed to be displayed on the user interface, etc.). In this embodiment, there are no excessive restrictions on the configuration method corresponding to the banner message display strategy corresponding to the user interface.

[0066] For a banner display strategy configured for a user interface from different dimensions, in order to improve the display efficiency of banner messages, optionally, it is possible to determine whether the banner message should be displayed in the user interface based on the display priority of the strategies of various configuration dimensions in the banner message display strategy, in order from high to low display priority.

[0067] For ease of understanding, in the embodiment of the present invention, the target banner message display strategy corresponding to the target user interface is taken as an example. Figure 4 Give an example. Figure 4 A schematic diagram of a scenario of a target banner message display strategy application process provided by an embodiment of the present invention.

[0068] exist Figure 4 In the illustrated embodiment, it is assumed that the target banner message display strategy includes three display strategies corresponding to different display priorities, which are respectively in order from high to low display priorities: the first list display strategy, the second list display strategy and the interface display strategy. Among them, the first list display strategy and the second list display strategy configure the target banner message display strategy from the user dimension, and the interface display strategy configures the target banner message display strategy from the interface dimension. Specifically, the first list display strategy includes a first list, and the first list includes at least one message sender that is allowed to display a banner message on the target user interface. The second list display strategy includes a second list, and the second list includes at least one message sender that is prohibited from displaying a banner message on the target user interface. The interface display strategy can be to allow the banner message to be displayed on the user interface, or to prohibit the banner message from being displayed on the user interface.

[0069] like Figure 4 As shown, according to the target banner message display strategy and the target message sender, determining the display result of the banner message corresponding to the instant messaging message in the target user interface includes:

[0070] First, obtain the first list in the target banner message display strategy. If the target message sender is included in the first list, the banner message corresponding to the instant messaging message sent by the target message sender is displayed in the target user interface. In layman's terms, the first list display strategy has the highest display priority. No matter what the display strategy of the second list display strategy and the interface display strategy is, as long as the target message sender is in the first list, the banner message corresponding to the instant messaging message sent by the target message sender can be displayed in the target user interface. For example, the interface display strategy prohibits banner messages from being displayed on the user interface, but as long as the target message sender is in the first list, the banner message corresponding to the instant messaging message sent by the target message sender can be displayed in the target user interface. Optionally, the message senders corresponding to instant messaging messages with higher importance levels, such as application notification messages, can be added to the first list.

[0071] If the first list does not include the target message sender, the display result of the banner message corresponding to the instant messaging message in the target user interface is determined according to the second list display strategy and the interface display strategy.

[0072] Specifically, the second list in the target banner message display strategy is obtained. If the target message sender is included in the second list, the banner message corresponding to the instant messaging message sent by the target message sender is not displayed in the target user interface. It can be understood that the priority of the second list strategy is higher than the interface display strategy. No matter what the display strategy of the interface display strategy is, as long as the target message sender is not in the first list, but in the second list, the banner message corresponding to the instant messaging message sent by the target message sender will not be displayed in the target user interface. For example, the interface display strategy is to allow banner messages to be displayed on the user interface, but the target message sender is not in the first list, but in the second list, then the banner message corresponding to the instant messaging message sent by the target message sender will not be displayed in the target user interface.

[0073] Optionally, the second list policy can be set to prohibit the message types of instant messaging messages from being displayed as banner messages on the target user interface, for example: setting a prohibition on displaying banner messages corresponding to single chat messages or application notification messages sent by message senders in the second list on the target user interface.

[0074] Therefore, in an optional embodiment, if the second list includes the target message sender, then the banner message corresponding to the instant messaging message sent by the target message sender is not displayed in the target user interface, including:

[0075] If the second list includes the target message sender, determine the message type of the instant messaging message; and determine the display result of the banner message corresponding to the instant messaging message sent by the target message sender in the target user interface according to the message type of the instant messaging message. The message types of the instant messaging message include: single chat message, group chat message, and application notification message.

[0076] Specifically, if the message type of the instant messaging message is a single chat message or an application notification message, the banner message corresponding to the instant messaging message sent by the sender of the target message is not displayed in the target user interface. If the message type of the instant messaging message is a group chat message, the interface display policy information in the target banner message display policy is obtained; according to the interface display policy information, the display result of the banner message corresponding to the instant messaging message in the target user interface is determined. If the interface display policy information indicates that the banner message is allowed to be displayed in the target user interface, the banner message corresponding to the instant messaging message sent by the sender of the target message is displayed in the target user interface; if the interface display policy information indicates that the banner message is prohibited from being displayed in the target user interface, the banner message corresponding to the instant messaging message sent by the sender of the target message is not displayed in the target user interface.

[0077] If the target message sender is not included in the second list, the interface display policy information in the target banner message display policy is obtained to determine the display result of the banner message corresponding to the instant messaging message sent by the target message sender in the target user interface according to the interface display policy information. For example, if the interface display policy information indicates that the banner message is allowed to be displayed in the target user interface, the banner message corresponding to the instant messaging message sent by the target message sender is displayed in the target user interface; if the interface display policy information indicates that the banner message is prohibited to be displayed in the target user interface, the banner message corresponding to the instant messaging message sent by the target message sender is not displayed in the target user interface.

[0078] In an embodiment of the present invention, whether the banner message is displayed in the target user interface is determined according to the display priorities of the strategies of various configuration dimensions in the target banner message display strategy, in order of display priority from high to low. When a display strategy with a higher priority is hit, the display result can be determined without traversing all strategies in the target banner message display strategy, thereby effectively improving the display efficiency of the banner message.

[0079] Figure 5 A flowchart of another message display method provided by an embodiment of the present invention, the message display method is applied to an instant messaging application client, the instant messaging application client is connected to an instant messaging application server, such as Figure 5 As shown, the following steps may be included:

[0080] 501. In response to starting the instant messaging application client, obtain a banner message display strategy of the instant messaging application from the instant messaging application server.

[0081] 502. Determine the difference information between the historical banner message display policy and the banner message display policy stored locally in the instant messaging application client; and update the banner message display policy locally in the instant messaging application client according to the difference information.

[0082] 503. Receive an instant messaging message sent by the target message sender.

[0083] 504. If the target user interface currently displayed by the instant messaging application client is not a conversation interface for conversing with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style.

[0084] 505. Determine a target banner message display strategy corresponding to the target user interface among the banner message display strategies currently stored locally on the instant messaging application client.

[0085] 506. Determine a display result of the banner message corresponding to the instant messaging message in the target user interface according to the target banner message display strategy and the target message sender.

[0086] The specific implementation process of step 501 and step 503 to step 506 may refer to the aforementioned embodiment and will not be described in detail in this embodiment.

[0087] It is understandable that the banner message display policy of the instant messaging application in the instant messaging application server can be updated without the instant messaging application client being aware of it. In order to ensure that the banner message display policy of the instant messaging application stored locally in the instant messaging application client is the latest, in this solution, in response to the startup of the instant messaging application client, the banner message display policy of the instant messaging application is obtained from the instant messaging application server.

[0088] However, in actual applications, if the banner message display policy of the instant messaging application is obtained from the instant messaging application server and stored locally in the instant messaging application client each time in response to the startup of the instant messaging application client, some unnecessary waste of communication resources between the instant messaging application client and the instant messaging application server may occur, and it is not conducive to quickly storing the banner message display policy of the instant messaging application locally in the instant messaging application client. For example, if the banner message display policy of the instant messaging application in the instant messaging application server is the same when the instant messaging application client is started twice, then in the case that the banner message display policy of the instant messaging application has been obtained from the instant messaging application server and stored locally in the instant messaging application client when the instant messaging application client is started the previous time, it is actually not necessary to obtain the banner message display policy of the instant messaging application from the instant messaging application server when the instant messaging application client is started the next time.

[0089] Therefore, in order to reduce the waste of communication resources and improve the efficiency of storing the banner message display strategy of the instant messaging application locally in the instant messaging application client, optionally, in response to the startup of the instant messaging application client, the version information corresponding to the banner message display strategy of the instant messaging application is obtained from the instant messaging application server.

[0090] If the version information is different from the version information corresponding to the historical banner message display policy stored locally in the instant messaging application client, the difference information between the historical banner message display policy stored locally in the instant messaging application client and the banner message display policy is determined; based on the difference information, the banner message display policy is updated locally in the instant messaging application client, for example: the difference information is updated to the historical banner message display policy, and the updated historical banner message display policy is consistent with the current banner message display policy in the instant messaging application server.

[0091] If the version information is the same as the version information corresponding to the historical banner message display strategy stored locally on the instant messaging application client, the version information corresponding to the banner message display strategy of the instant messaging application is not obtained from the instant messaging application server. During the banner message display process, the historical banner message display strategy stored locally on the instant messaging application client is used.

[0092] In this embodiment, by using the version information corresponding to the banner message display policy of the instant messaging application and the difference information between the historical banner message display policy and the banner message display policy stored locally in the instant messaging application client, repeated acquisition of the same banner message display policy can be avoided, thereby effectively reducing the waste of communication resources and improving the efficiency of storing the banner message display policy of the instant messaging application locally in the instant messaging application client.

[0093] Figure 6A flowchart of a method for configuring a banner message display strategy provided by an embodiment of the present invention is applied to an instant messaging application client, and the instant messaging application client is connected to an instant messaging application server for communication, such as Figure 6 As shown, the following steps may be included:

[0094] 601. In the process of displaying a banner message corresponding to an instant messaging message in a target user interface, in response to a banner message display policy configuration request triggered by a user, a banner message display policy configuration interface of an instant messaging application is displayed.

[0095] 602. Generate banner message display policy configuration information corresponding to the configuration operation according to the configuration operation triggered by the user in the banner message display policy configuration interface.

[0096] 603. Send the banner message display policy configuration information to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

[0097] In an embodiment of the present invention, the banner message display strategy of the instant messaging application can be user-customized during the banner message display process, for example: by adding the target message sender to the second list, the currently displayed banner message is configured to be prohibited from being displayed in the target user interface, etc.

[0098] In order to facilitate users to flexibly configure the banner message display strategy of the instant messaging application, the instant messaging application client is configured with a banner message display strategy configuration interface. In a specific application, in response to a banner message display strategy configuration request triggered by a user, the banner message display strategy configuration interface of the instant messaging application is displayed. Among them, the banner message display strategy configuration interface contains controls for users to perform configuration operations.

[0099] Afterwards, the instant messaging application client generates banner message display policy configuration information corresponding to the configuration operation according to the configuration operation triggered by the user in the banner message display policy configuration interface.

[0100] Finally, the instant messaging application client sends the banner message display policy configuration information to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

[0101] In actual applications, the banner message display policy of the instant messaging application server includes some display policies that must be followed, that is, display policies that are not allowed to be modified. In order to avoid conflicts between the display policy configured by the user and the display policy that is not allowed to be modified, optionally, before the instant messaging application client sends the banner message display policy configuration information to the instant messaging application server, it also includes: determining whether the banner message display policy configuration information conflicts with the banner message display policy, if not, sending the banner message display policy configuration information to the instant messaging application server; if conflicting, outputting a prompt message to prompt the user to modify the corresponding custom settings.

[0102] In actual applications, the first list in the banner message display policy is usually a display policy that must be followed. Therefore, in an optional embodiment, the banner message display policy configuration information is sent to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information, including:

[0103] If the banner message display policy configuration information indicates that the banner message corresponding to the instant messaging message sent by the target message sender is allowed to be displayed in the target user interface, it is changed to prohibit the banner message corresponding to the instant messaging message sent by the target message sender from being displayed in the target user interface, then the first list in the target banner message display policy is obtained. If the first list does not include the target message sender, it is determined that the banner message display policy configuration information does not conflict with the banner message display policy, and the banner message display policy configuration information is sent to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

[0104] It is understandable that the banner message display policy updated by the instant messaging application server based on the message display policy configuration information can be obtained from the instant messaging application server and stored locally when the instant messaging application client is started next time.

[0105] In this embodiment, a certain configuration space of banner message display strategy is provided for the user, so that the user can use a more personalized banner message display strategy, thereby improving the user's usage experience.

[0106] The message display device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these devices can be configured using commercially available hardware components through the steps taught in this solution.

[0107] Figure 7 A schematic diagram of a message display device provided by an embodiment of the present invention is shown in FIG. Figure 7As shown, the device is applied to an instant messaging application client, which is in communication connection with an instant messaging application server, and includes: an acquisition module 11, a processing module 12, and a determination module 13.

[0108] The acquisition module 11 is used to acquire the banner message display strategy of the instant messaging application from the instant messaging application server in response to the startup of the instant messaging application client.

[0109] Processing module 12 is used to receive an instant messaging message sent by a target message sender; if the target user interface currently displayed by the instant messaging application client is not a conversation interface for conversing with the target message sender, a banner message corresponding to the instant messaging message is generated according to a preset banner message style.

[0110] Determination module 13 is used to determine the target banner message display strategy corresponding to the target user interface in the banner message display strategy; based on the target banner message display strategy and the target message sender, determine the display result of the banner message corresponding to the instant messaging message in the target user interface.

[0111] Optionally, the acquisition module 11 is further used to acquire a first list in the target banner message display strategy, where the first list includes at least one message sender that is allowed to display a banner message on the target user interface.

[0112] Correspondingly, the determining module 13 is specifically configured to display a banner message corresponding to the instant messaging message in the target user interface if the first list includes the target message sender.

[0113] Optionally, the acquisition module 11 is also used to obtain a second list in the target banner message display policy if the target message sender is not included in the first list, the second list containing at least one message sender for which banner message display is prohibited on the target user interface.

[0114] Correspondingly, the determination module 13 is specifically used to determine the message type of the instant messaging message if the second list includes the target message sender; and determine the display result of the banner message corresponding to the instant messaging message in the target user interface according to the message type of the instant messaging message.

[0115] Optionally, the determination module 13 is specifically used to, if the message type of the instant messaging message is a single chat message or an application notification message, not display the banner message corresponding to the instant messaging message in the target user interface; if the message type of the instant messaging message is a group chat message, obtain the interface display policy information in the target banner message display policy; and determine the display result of the banner message corresponding to the instant messaging message in the target user interface according to the interface display policy information.

[0116] Optionally, the acquisition module 11 is further used to acquire interface display strategy information in the target banner message display strategy if the second list does not include the target message sender.

[0117] Correspondingly, the determination module 13 is specifically configured to determine, according to the interface display strategy information, a display result of the banner message corresponding to the instant messaging message in the target user interface.

[0118] Optionally, the determination module 13 is specifically used to, if the interface display policy information indicates that the banner message is allowed to be displayed in the target user interface, display the banner message corresponding to the instant messaging message in the target user interface; if the interface display policy information indicates that the banner message is prohibited to be displayed in the target user interface, not display the banner message corresponding to the instant messaging message in the target user interface.

[0119] Optionally, after obtaining the banner message display strategy of the instant messaging application from the instant messaging application server, the determination module 13 is also used to determine the difference information between the historical banner message display strategy stored locally on the instant messaging application client and the banner message display strategy; based on the difference information, the banner message display strategy is updated locally on the instant messaging application client.

[0120] Optionally, the message display device also includes a configuration module, which is used to, in the process of displaying the banner message corresponding to the instant messaging message in the target user interface, in response to a banner message display policy configuration request triggered by the user, display the banner message display policy configuration interface of the instant messaging application; generate banner message display policy configuration information corresponding to the configuration operation according to the configuration operation triggered by the user in the banner message display policy configuration interface; and send the banner message display policy configuration information to the instant messaging application server so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

[0121] Optionally, the configuration module is specifically used to, if the banner message display policy configuration information indicates that the banner message corresponding to the instant messaging message sent by the target message sender is allowed to be displayed in the target user interface, change to prohibiting the banner message corresponding to the instant messaging message sent by the target message sender from being displayed in the target user interface, then obtain a first list in the target banner message display policy, the first list containing at least one message sender allowed to display banner messages on the target user interface; if the first list does not include the target message sender, sending the banner message display policy configuration information to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

[0122] Figure 7 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.

[0123] In one possible design, the above Figure 7 The structure of the message display device shown can be implemented as an electronic device, such as Figure 8 As shown, the electronic device may include: a memory 21, a processor 22, and a communication interface 23. The memory 21 stores executable codes, and when the executable codes are executed by the processor 22, the processor 22 can at least implement the message display method provided in the above embodiments.

[0124] In addition, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the message display method provided in the aforementioned embodiment.

[0125] An embodiment of the present invention provides a computer program product, including: a computer program, when the computer program is executed by a processor of an electronic device, the processor is caused to execute the message display method provided in the above-mentioned embodiment.

[0126] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.

[0127] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course can also be implemented by combining hardware and software. Based on such an understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a computer product, and the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0128] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A message display method, characterized in that: Applied to an instant messaging application client, the instant messaging application client is connected to an instant messaging application server for communication, including: In response to the instant messaging application client being started, obtaining a banner message display strategy of the instant messaging application from the instant messaging application server; Receiving an instant messaging message sent by a target message sender; If the target user interface currently displayed by the instant messaging application client is not a conversation interface for conversing with the target message sender, generating a banner message corresponding to the instant messaging message according to a preset banner message style; Determine a target banner message display strategy corresponding to the target user interface in the banner message display strategy; According to the target banner message display strategy and the target message sender, a display result of the banner message corresponding to the instant messaging message in the target user interface is determined.

2. The method according to claim 1, characterized in that The determining, according to the target banner message display strategy and the target message sender, a display result of the banner message corresponding to the instant messaging message in the target user interface includes: Obtaining a first list in the target banner message display policy, the first list including at least one message sender that is allowed to display a banner message on the target user interface; If the first list includes the target message sender, a banner message corresponding to the instant messaging message is displayed in the target user interface.

3. The method according to claim 2, characterized in that The method further comprises: If the target message sender is not included in the first list, obtaining a second list in the target banner message display policy, wherein the second list includes at least one message sender for which banner message display is prohibited on the target user interface; If the second list includes the target message sender, determining the message type of the instant messaging message; According to the message type of the instant communication message, a display result of the banner message corresponding to the instant communication message in the target user interface is determined.

4. The method according to claim 3, characterized in that The determining, according to the message type of the instant communication message, a display result of the banner message corresponding to the instant communication message in the target user interface includes: If the message type of the instant messaging message is a single chat message or an application notification message, then a banner message corresponding to the instant messaging message is not displayed in the target user interface; If the message type of the instant messaging message is a group chat message, obtaining the interface display strategy information in the target banner message display strategy; According to the interface display strategy information, a display result of the banner message corresponding to the instant messaging message in the target user interface is determined.

5. The method according to claim 3, characterized in that: The method further comprises: If the second list does not include the target message sender, obtaining the interface display strategy information in the target banner message display strategy; According to the interface display strategy information, a display result of the banner message corresponding to the instant messaging message in the target user interface is determined.

6. The method according to claim 4 or 5, characterized in that: The determining, according to the interface display strategy information, a display result of the banner message corresponding to the instant messaging message in the target user interface includes: If the interface display policy information indicates that displaying a banner message in the target user interface is allowed, displaying a banner message corresponding to the instant messaging message in the target user interface; If the interface display policy information indicates that displaying a banner message in the target user interface is prohibited, the banner message corresponding to the instant messaging message is not displayed in the target user interface.

7. The method according to claim 1, characterized in that After obtaining the banner message display strategy of the instant messaging application from the instant messaging application server, the method further includes: Determine difference information between a historical banner message display strategy stored locally on the instant messaging application client and the banner message display strategy; The banner message display strategy is updated locally on the instant messaging application client according to the difference information.

8. The method according to claim 1, characterized in that The method further comprises: In the process of displaying the banner message corresponding to the instant messaging message in the target user interface, in response to a banner message display policy configuration request triggered by the user, displaying a banner message display policy configuration interface of the instant messaging application; According to the configuration operation triggered by the user in the banner message display policy configuration interface, generating banner message display policy configuration information corresponding to the configuration operation; The banner message display policy configuration information is sent to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

9. The method according to claim 8, characterized in that The sending the banner message display policy configuration information to the instant messaging application server so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information, including: If the banner message display policy configuration information indicates that the banner message corresponding to the instant messaging message sent by the target message sender is allowed to be displayed in the target user interface to be prohibited from being displayed in the target user interface, then a first list in the target banner message display policy is obtained, the first list including at least one message sender that is allowed to display a banner message on the target user interface; If the first list does not include the target message sender, the banner message display policy configuration information is sent to the instant messaging application server, so that the instant messaging application server updates the banner message display policy according to the banner message display policy configuration information.

10. A message display device, characterized in that: Applied to an instant messaging application client, the instant messaging application client is connected to an instant messaging application server for communication, including: An acquisition module, configured to acquire a banner message display strategy of an instant messaging application from the instant messaging application server in response to the startup of the instant messaging application client; A processing module, configured to receive an instant messaging message sent by a target message sender; if the target user interface currently displayed by the instant messaging application client is not a conversation interface for a conversation with the target message sender, generating a banner message corresponding to the instant messaging message according to a preset banner message style; A determination module is used to determine the target banner message display strategy corresponding to the target user interface in the banner message display strategy; based on the target banner message display strategy and the target message sender, determine the display result of the banner message corresponding to the instant messaging message in the target user interface.

11. An electronic device, characterized in that: include: A memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the message display method as described in any one of claims 1 to 9.

12. A non-transitory machine-readable storage medium, characterized in that: The non-transitory machine-readable storage medium stores executable code, and when the executable code is executed by a processor of an electronic device, the processor executes the message display method as described in any one of claims 1 to 9.