Notification information display method and device, terminal equipment and readable storage medium

By receiving notification display requests in the smart terminal device and determining the message type, differentiated display is solved, and the user experience is improved.

CN119883448APending Publication Date: 2025-04-25BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311394707.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

When displaying messages, existing smart terminal devices have limited layout and are difficult to highlight the information that users are concerned about for different types of messages, affecting the user's experience.

Method used

By receiving a notification display request, determine whether the notification message belongs to the preset message type that is allowed to be displayed. If it belongs, the message content is differentiated and the appropriate display template and components are selected to highlight the main information.

Benefits of technology

Reduce frequent output of notification messages and avoid bombardment of notification messages. At the same time, when displaying notification messages, highlight the information that users really pay attention to, and improve the user's user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883448A_ABST
    Figure CN119883448A_ABST
Patent Text Reader

Abstract

The invention relates to a notification message display method and device, terminal equipment and a readable storage medium, and the method comprises the steps: responding to a received notification display request, and determining whether a first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed; and if the first notification message belongs to the preset notification message allowed to be displayed, differentially displaying the message content of the first notification message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a smart terminal, and in particular to a method, an apparatus, a terminal device and a readable storage medium for displaying notification information. Background Art

[0002] Message push and notification reminders are an important means for smart terminal devices to complete intelligent interaction with users.

[0003] In the related art, the layout of the area for displaying messages is limited and is only used to highlight the tasks in progress. It is difficult to highlight the information that users really care about for different types of messages, thus affecting the user's usage experience. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a method, an apparatus, a terminal device and a readable storage medium for displaying notification information.

[0005] According to a first aspect of the present disclosure, a method for displaying notification information is provided, comprising:

[0006] In response to the received notification display request, determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed;

[0007] If the first notification message belongs to the preset notification message allowed to be displayed, the message content of the first notification message is displayed differentially.

[0008] Optionally, the determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed includes at least one of the following:

[0009] Determining, based on the application information carried in the notification display request, whether the application sending the notification display request is an application with display permission;

[0010] According to the message content carried in the notification display request, it is determined whether the message type of the first notification message belongs to the message type allowed to be displayed.

[0011] Optionally, the message types allowed to be displayed include at least one of the following:

[0012] Task-related messages of a first task triggered by a user or a second task currently being performed by the terminal;

[0013] A timed reminder message preset by the user;

[0014] Warning messages;

[0015] Asset change messages.

[0016] Optionally, the displaying the message content of the first notification message in a differentiated manner includes:

[0017] Determining a target display template for displaying the first notification message;

[0018] extracting at least two pieces of to-be-displayed information matching the target display template from the first notification message;

[0019] According to the at least two pieces of information to be displayed, a second notification message conforming to the target display template is generated and displayed; wherein the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

[0020] Optionally, before determining, in response to the received notification display request, whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed, the method further includes:

[0021] Configuring multiple notification display templates for applications in the terminal; wherein different notification display templates correspond to different message types and / or message application scenarios;

[0022] The determining a target display template for displaying the first notification message includes:

[0023] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined from the multiple notification display templates.

[0024] Optionally, the notification display template includes at least one of the following:

[0025] A first display component, used for differentially displaying primary information and secondary information in the first notification message;

[0026] A second display component, used to display an identification graphic and / or an action button corresponding to the first notification message;

[0027] A third display component, used to display the execution progress corresponding to the first notification message;

[0028] Among them, different display components have different positions in the notification display template.

[0029] Optionally, the generating and displaying a second notification message conforming to the target display template according to the at least two pieces of information to be displayed includes:

[0030] Determine whether the current display interface of the terminal is an application interface of the application program;

[0031] If the current display interface of the terminal is not the application interface, a second notification message conforming to the target display template is generated and displayed according to the at least two pieces of information to be displayed.

[0032] Optionally, the method further includes:

[0033] If the current display interface of the terminal is the application interface, the at least two pieces of information to be displayed of the first communication message are displayed in a status bar.

[0034] Optionally, configuring multiple notification display templates for the application in the terminal includes:

[0035] A plurality of notification display template sets are respectively configured for the application programs in the terminals of the plurality of different device types; wherein the notification display template set includes at least one notification display template; and the notification display templates in the notification display template set corresponding to the terminals of the different device types are different;

[0036] The determining a target display template for displaying the first notification message further includes:

[0037] Based on the device type to which the terminal belongs, determining a target notification display template set corresponding to the device type to which the terminal belongs;

[0038] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined in the target notification display template set.

[0039] According to a second aspect of the present disclosure, a device for displaying notification information is provided, comprising:

[0040] a determination module, configured to determine, in response to a received notification display request, whether a first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed;

[0041] The display module is used to display the message content of the first notification message in a differentiated manner if the first notification message belongs to the preset notification message allowed to be displayed.

[0042] Optionally, the determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed includes at least one of the following:

[0043] Determining, based on the application information carried in the notification display request, whether the application sending the notification display request is an application with display permission;

[0044] According to the message content carried in the notification display request, it is determined whether the message type of the first notification message belongs to the message type allowed to be displayed.

[0045] Optionally, the message types allowed to be displayed include at least one of the following:

[0046] Task-related messages of a first task triggered by a user or a second task currently being performed by the terminal;

[0047] A timed reminder message preset by the user;

[0048] Warning messages;

[0049] Asset change messages.

[0050] Optionally, the display module is further used for:

[0051] Determining a target display template for displaying the first notification message;

[0052] extracting at least two pieces of to-be-displayed information matching the target display template from the first notification message;

[0053] According to the at least two pieces of information to be displayed, a second notification message conforming to the target display template is generated and displayed; wherein the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

[0054] Optionally, the determining module is further used to:

[0055] Configuring multiple notification display templates for applications in the terminal; wherein different notification display templates correspond to different message types and / or message application scenarios;

[0056] The display module is also used for:

[0057] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined from the multiple notification display templates.

[0058] Optionally, the notification display template includes at least one of the following:

[0059] A first display component, used for differentially displaying primary information and secondary information in the first notification message;

[0060] A second display component, used to display an identification graphic and / or an action button corresponding to the first notification message;

[0061] A third display component, used to display the execution progress corresponding to the first notification message;

[0062] Among them, different display components have different positions in the notification display template.

[0063] Optionally, the display module is further used for:

[0064] Determine whether the current display interface of the terminal is an application interface of the application program;

[0065] If the current display interface of the terminal is not the application interface, a second notification message conforming to the target display template is generated and displayed according to the at least two pieces of information to be displayed.

[0066] Optionally, the display module is further used for:

[0067] If the current display interface of the terminal is the application interface, the at least two pieces of information to be displayed of the first communication message are displayed in a status bar.

[0068] The determining module is further used for:

[0069] A plurality of notification display template sets are respectively configured for the application programs in the terminals of the plurality of different device types; wherein the notification display template set includes at least one notification display template; and the notification display templates in the notification display template set corresponding to the terminals of the different device types are different;

[0070] The display module is also used for:

[0071] Based on the device type to which the terminal belongs, determining a target notification display template set corresponding to the device type to which the terminal belongs;

[0072] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined in the target notification display template set.

[0073] According to a third aspect of the present disclosure, a terminal device is provided, including:

[0074] a memory for storing processor-executable instructions;

[0075] A processor connected to the memory;

[0076] The processor is configured to execute the method for displaying notification information as described in any one of the embodiments of the first aspect of the present disclosure.

[0077] The fourth aspect of the present disclosure provides a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the terminal device, the terminal device can execute the method for displaying notification information as described in any embodiment of the first aspect of the present disclosure.

[0078] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0079] In the disclosed embodiment, the terminal device can determine whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed by receiving a notification display request and responding to the notification display request; if the first notification message belongs to a preset notification message allowed to be displayed, the terminal device can display the message content of the first notification message differentially. In this process, the terminal device can first filter the first notification message requested to be displayed, and when it is determined that the first notification message requested to be displayed belongs to a preset notification message allowed to be displayed, the message content of the notification message allowed to be displayed can be displayed differentially, which can reduce the frequent output of notification messages and avoid notification message bombardment on the one hand, and display the message content differentially when displaying notification messages, highlight the information that the user really cares about, and enhance the user's user experience.

[0080] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0082] Figure 1 It is a schematic diagram of a display layout of notification information shown in the related art.

[0083] Figure 2 The present invention is a flowchart of a method for displaying notification information according to an exemplary embodiment of the present invention. Figure 1 .

[0084] Figure 3 The present invention is a flowchart of a method for displaying notification information according to an exemplary embodiment of the present invention. Figure 2 .

[0085] Figure 4a is a schematic diagram showing a first display component according to an exemplary embodiment of the present disclosure.

[0086] Figure 4b is a schematic diagram showing a second display component according to an exemplary embodiment of the present disclosure.

[0087] Figure 4c is a schematic diagram showing a third display assembly according to an exemplary embodiment of the present disclosure.

[0088] Figure 5 It is a schematic diagram of a notification display template according to an exemplary embodiment of the present disclosure.

[0089] Figure 6ais a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 1 .

[0090] Figure 6b is a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 2 .

[0091] Figure 6c is a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 3 .

[0092] Figure 7 Schematic diagram 4 of a display interface according to an exemplary embodiment of the present disclosure.

[0093] Figure 8 It is a schematic diagram of a business logic framework according to an exemplary embodiment of the present disclosure.

[0094] Fig. 9 The figure is a schematic diagram of the structure of a device for displaying notification information according to an exemplary embodiment of the present disclosure.

[0095] Fig.10 The present invention is a block diagram of a terminal device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0096] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.

[0097] Initially, notification messages only handled basic necessary notifications such as SMS, phone calls, emails, and system status notifications. Later, when the terminal could install applications, notification messages could present various application notifications. Later, the terminal system had built-in service programs, which enabled notification messages to push promotional information from the Internet. Today, notification messages have become a platform-based functional form with multiple sources of information, complex information types, and huge amounts of information.

[0098] Figure 1 is a schematic diagram of a display layout of notification information shown in the related art, such as Figure 1As shown, in the related art, a camera area 105 may be provided at the upper part of the display screen of the terminal device. When displaying the notification message corresponding to the real-time task, the system divides the display screen into different areas, specifically including: a middle area 101 located below the camera area 105, a leading area 102 and a trailing area 103 surrounding the middle area 101, and a bottom area 104 located below all the above areas.

[0099] The layout of the above-mentioned areas is fixed, and the application (Application, App) will set the notification content displayed in each of the above-mentioned areas according to its own needs, resulting in the system's weak control over notification messages, and the final display effect of the notification message display interface is not good. Moreover, the system cannot provide a differentiated display interface that can highlight different key information for each type of message or each type of scene, which greatly affects the user experience.

[0100] The present invention provides a method for displaying notification information. Figure 2 The present invention is a flowchart of a method for displaying notification information according to an exemplary embodiment of the present invention. Figure 1 ,like Figure 2 As shown, the method for displaying the notification information includes:

[0101] Step S201, in response to a received notification display request, determining whether a first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed;

[0102] Step S202: If the first notification message is one of the preset notification messages that is allowed to be displayed, the message content of the first notification message is displayed in a differentiated manner.

[0103] In the embodiments of the present disclosure, the method for displaying notification information can be applied to a terminal device, which can be a smart phone, a tablet computer, a wearable device, etc., without specific limitation.

[0104] In step S201, by receiving a notification display request and responding to the received notification display request, a first notification message indicated by the notification display request can be determined, and further, it can be determined whether the first notification message belongs to a preset notification message allowed to be displayed.

[0105] The preset notification message is a preset notification message that can be displayed. Specifically, it can be determined whether the first notification message belongs to a preset preset notification message based on the message content, message scenario and / or application sending the message and other related information of the first notification message, and the embodiment of the present disclosure does not specifically limit this.

[0106] It is understandable that the message content, message scenario, and application sending the message of the first notification message indicated by the notification display request can be determined based on the identification information, message information, and other information carried in the notification display request. Then, it is determined whether the first notification message belongs to the preset notification message allowed to be displayed based on the above relevant information.

[0107] In one embodiment, the preset notification message is a notification message including multiple message types, wherein each message type corresponds to different message content, message scenario, and other related information. When the first notification message belongs to the preset notification message, the first notification message may correspond to one message type.

[0108] In step S202, when it is determined that the first notification message belongs to the preset notification message allowed to be displayed, the message content of the first notification message may be extracted to display the message content of the first notification message in a differentiated manner.

[0109] Here, the differentiated display may mean that when each first notification message belonging to the preset notification message is displayed, the display layout of the message content of each first notification message and / or the display style of each first notification message may be different.

[0110] Among them, the display layout may include the arrangement of message content, the arrangement of message logos, etc.; the display style may include the display form and design pattern of the notification message, etc.

[0111] It is understandable that different display layouts and / or display styles are provided for different first notification messages, so that different key message contents can be highlighted, making it easier for users to intuitively obtain the highlighted key message contents, speeding up the user's processing efficiency of notification messages, and improving the user's user experience.

[0112] In one embodiment, the differentiated display may refer to displaying message contents of different types of notification messages using different display layouts and / or display styles according to different message types of the notification messages.

[0113] It can be understood that for notification messages belonging to the same message type, the same display layout and / or display style is provided, so as to ensure that the layout position of the key message content of notification messages of the same message type remains unchanged, which not only has better display consistency but also makes it easier for users to quickly determine the type of notification information and improve information reading efficiency.

[0114] In some embodiments, if the first notification message does not belong to the preset notification message allowed to be displayed, the received notification display request is deleted, and the message content of the first notification message is not displayed.

[0115] In the disclosed embodiment, the terminal device can determine whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed by receiving a notification display request and responding to the notification display request; if the first notification message belongs to a preset notification message allowed to be displayed, the terminal device can display the message content of the first notification message differentially. In this process, the terminal device can first filter the first notification message requested to be displayed, and when it is determined that the first notification message requested to be displayed belongs to a preset notification message allowed to be displayed, the message content of the notification message allowed to be displayed can be displayed differentially, which can reduce the frequent output of notification messages and avoid notification message bombardment on the one hand, and display the message content differentially when displaying notification messages, highlight the information that the user really cares about, and enhance the user's user experience.

[0116] Optionally, the determining in step S201 whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed includes at least one of the following:

[0117] Determining, based on the application information carried in the notification display request, whether the application sending the notification display request is an application with display permission;

[0118] According to the message content carried in the notification display request, it is determined whether the message type of the first notification message belongs to the message type allowed to be displayed.

[0119] In the embodiment of the present disclosure, the preset notification message may be a notification message sent by an application having display permission, and / or may be a notification message of a message type that is allowed to be displayed.

[0120] It is understandable that, based on the application information carried in the notification display request, the application sending the notification display request can be determined; based on whether the application is an application with display permission, it can be determined whether the first notification message is a preset notification message.

[0121] The application information may include application name, application ID and other information.

[0122] In one embodiment, the system of the terminal may determine whether the application is an application with display permission according to the application information.

[0123] In one embodiment, the application may apply to the system for display permission according to the notification information to be displayed, and the system may determine whether to determine the application as an application with display permission according to the application application information.

[0124] In one embodiment, the application may apply to the user for display permission based on the notification information to be displayed, and the system may determine whether the application is an application with display permission based on the user's confirmation information on the application's display permission.

[0125] It should be noted that by determining whether the application has display permission, the application can be supervised, effectively preventing the application from abusing notification messages, effectively reducing unnecessary disturbances to users by notification messages, and improving the user experience.

[0126] It can be understood that the message type of the first notification message can be determined based on the message content and / or message application scenario carried in the notification display request; and whether the first notification message belongs to the preset notification message can be determined based on whether the message type belongs to the message type allowed to be displayed.

[0127] The message content includes text, numbers, etc. in the message.

[0128] It is understandable that the purpose of the first notification message can be determined by extracting information such as text or numbers in the message, and based on the purpose of the first notification message, it is determined whether the first notification message belongs to the message type allowed to be displayed.

[0129] Exemplarily, the first notification message can be determined to be an instant task triggered by the user based on the verification code in the message content. When the notification message of the instant task belongs to the message type allowed to be displayed, it can be determined that the first notification message belongs to a preset notification message, so that the first notification message is displayed differentially.

[0130] The message application scenarios include financial applications, social applications, e-commerce applications, news applications, etc.

[0131] It is understandable that the purpose of the first notification message can be determined by extracting the message application scenario carried in the notification display request, and based on the purpose of the first notification message, it is determined whether the first notification message belongs to the message type allowed to be displayed.

[0132] Exemplarily, when it is determined that the message application scenario carried in the notification request for display is an e-commerce application, and the notification message corresponding to the e-commerce application belongs to a message type that is not allowed to be displayed, it can be determined that the first notification message does not belong to the preset notification message, and thus the first notification message is not displayed.

[0133] It should be noted that by determining whether the first notification message belongs to the message type allowed to be displayed, notification messages for different purposes can be supervised, effectively reducing unnecessary disturbances to users by notification messages such as advertising and promotional messages, and improving the user experience.

[0134] In the embodiment of the present disclosure, by determining whether the application that sends the notification display request is an application that has display permission, and determining whether the message type of the first notification message is a message type that is allowed to be displayed, it is possible to display notification messages that meet user expectations, and not display notification messages that do not meet user expectations, thereby effectively improving the user experience.

[0135] Optionally, the message types allowed to be displayed include at least one of the following:

[0136] Task-related messages of a first task triggered by a user or a second task currently being performed by the terminal;

[0137] A timed reminder message preset by the user;

[0138] Warning messages;

[0139] Asset change messages.

[0140] In the embodiment of the present disclosure, the message types allowed to be displayed include: task-related messages of a first task triggered by a user or a second task currently being performed by the terminal.

[0141] Among them, the first task can be an instant task triggered by a user, and the instant task can include a task of receiving a text message verification code, a task of receiving a verification email, etc.

[0142] The second task may be a currently ongoing task, the progress or result of which the user is concerned about, such as a taxi-hailing task, a food delivery task, etc.

[0143] The message types allowed to be displayed include: timed reminder messages preset by the user.

[0144] Here, the user schedules a reminder time with the application, and the application can send a timed reminder message to the user. The timed reminder message includes: schedule reminder, alarm reminder, to-do reminder, travel plan reminder, anniversary reminder, etc., which are not specifically limited.

[0145] The message types allowed to be displayed include: warning messages.

[0146] The warning message may be a message for reminding the user of safety, such as special weather warning, earthquake warning, home safety warning, etc.

[0147] The message types that are allowed to be displayed include: asset change messages.

[0148] The asset change message may be a message to remind the user of property safety, for example, a payment reminder, a repayment reminder, a transfer reminder, etc.

[0149] It should be noted that the message types allowed to be displayed may also be other types of messages, which can be set according to actual needs and are not specifically limited.

[0150] In one embodiment, different types of messages may correspond to different type identifiers. When the type identifier is carried in the received notification display request, it can be determined that the first notification message belongs to a Class A message among the preset notification messages allowed to be displayed, thereby enabling the first notification information to be displayed differentially based on the display layout and / or display style corresponding to the Class A message.

[0151] In the embodiment of the present disclosure, the message types allowed to be displayed include multiple types, thereby meeting the various needs of users and bringing better interactive experience to users.

[0152] Optional, Figure 3 The present invention is a flowchart of a method for displaying notification information according to an exemplary embodiment of the present invention. Figure 2 ,like Figure 3 As shown, the differentiated display of the message content of the first notification message in step S202 includes:

[0153] Step S301, determining a target display template for displaying the first notification message;

[0154] Step S302: extracting at least two pieces of information to be displayed that match the target display template from the first notification message;

[0155] Step S303: Generate and display a second notification message conforming to the target display template according to the at least two pieces of information to be displayed; wherein the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

[0156] In the embodiment of the present disclosure, when the message content of the first notification message is displayed in a differentiated manner, a target display template of the first notification message may be determined first.

[0157] It can be understood that, based on the received notification display request, the first notification message indicated by the notification display request can be obtained; and based on the message information carried by the notification display request, the target display template of the first notification message can be determined.

[0158] It should be noted that the system side may pre-set multiple notification display templates; after receiving the notification display request, the system may select a notification display template that matches the message information of the first notification message as the target display template of the first notification message according to the message information of the first notification message. The message information includes the message type, text information, identification information, etc. of the first notification message, which is not specifically limited.

[0159] Exemplarily, a display template corresponding to the message type may be determined according to the message type carried in the notification display request, and the display template is the target display template of the first notification message.

[0160] Exemplarily, the application sending the first notification message may be determined according to the identification information carried in the notification display request, and the target display template of the first notification message may be determined based on the display template corresponding to the application.

[0161] In step S302, after the target display template is determined, at least two pieces of to-be-displayed information matching the target display template may be extracted from the message content of the first notification message.

[0162] It is understandable that the message content of the first notification message may include a plurality of information to be displayed. Before displaying the first notification message, at least two information to be displayed that match the target display template may be extracted from the plurality of information to be displayed.

[0163] The number of the at least two pieces of information to be displayed may be determined according to the target display template.

[0164] In one embodiment, at least two pieces of information to be displayed that match the target display template may be determined by the information to be displayed preset in the target display template.

[0165] Exemplarily, when the target display template is display template B, the to-be-displayed information preset in display template B may be the to-be-displayed event information and the time information of the to-be-displayed event. Therefore, when it is determined that the target display template for displaying the first notification message is the target display template B, the to-be-displayed event information and the time information of the to-be-displayed event may be extracted from the first notification message, thereby obtaining two to-be-displayed information matching the target display template.

[0166] In step S303, a second notification message conforming to the target display template may be generated and displayed according to the at least two pieces of information to be displayed extracted in step S302.

[0167] Among them, the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

[0168] It can be understood that, based on the at least two pieces of information to be displayed, the importance of each piece of information to be displayed can be determined from the at least two pieces of information to be displayed.

[0169] Furthermore, according to the importance of each piece of information to be displayed, each piece of information to be displayed may be associated with a display position in the target display template; based on the different display positions associated with each piece of information to be displayed, the at least two pieces of information to be displayed may be displayed to obtain a second notification message that conforms to the target display template. Alternatively, according to the importance of each piece of information to be displayed, different display effects may be associated with each piece of information to be displayed, so that the at least two pieces of information to be displayed may be displayed with different display effects to obtain a second notification message that conforms to the target display template.

[0170] The display position may be the position of the display component included in the target display template. The display effect may be determined according to a preset display style. For example, when the preset display style is to display the font in bold, a display effect of the font in bold may be presented.

[0171] In some embodiments, when there is target information to be displayed among the at least two pieces of information to be displayed, a second notification message conforming to the target display template may be generated and displayed according to a preset position of the target information to be displayed in the target display template.

[0172] The target information to be displayed can be set according to actual needs, and no specific limitation is made thereto. The preset position of the target information to be displayed in the target display template can also be set according to actual needs, and no specific limitation is made thereto.

[0173] Exemplarily, the target information to be displayed may be an icon of an application, and the preset position of the icon in the target display template may be the upper right corner. Then, when displaying the at least two information to be displayed including the target information to be displayed, the target information to be displayed is preferentially set in the upper right corner, and the positions of other information to be displayed are determined according to their importance.

[0174] In the disclosed embodiment, the information to be displayed in the first notification information can be filtered, and the information to be displayed that is more consistent with the target template can be displayed, so that important information corresponding to the target display template can be highlighted and the user experience can be improved.

[0175] Optionally, before determining, in response to the received notification display request in step S201, whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed, the method further includes:

[0176] Configuring multiple notification display templates for applications in the terminal; wherein different notification display templates correspond to different message types and / or message application scenarios;

[0177] The step S301 of determining a target display template for displaying the first notification message includes:

[0178] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined from the multiple notification display templates.

[0179] In the embodiment of the present disclosure, before receiving the notification display request, multiple notification display templates may be configured for the application in the terminal.

[0180] Among them, different notification display templates correspond to different message types and / or message application scenarios.

[0181] It is understandable that configuring multiple notification display templates for each application can meet the needs of each application to send different notification messages. Specifically, different notification display templates correspond to different message types and / or message application scenarios, so that when the application determines the message type of the notification message to be sent and / or the message application scenario of the notification message to be sent, the corresponding notification display template can be used, and the template identification information of the notification display template can be sent to the terminal system through a notification display request.

[0182] The terminal system can receive a notification display request, and based on the template identification information carried in the notification display request, determine the notification display template indicated by the template identification information as the target display template of the first notification message. There is no need for the system side to perform the notification display template selection operation, which speeds up the system's processing speed for the notification display request and achieves a more efficient notification message display solution.

[0183] Furthermore, different applications can use the same notification display template when sending notification messages of the same message type and / or sending notification messages of the same message application scenario, thereby ensuring the consistency of the terminal display notification messages and improving the user's notification message recognition efficiency.

[0184] After configuring multiple notification display templates for the application, the application can select the corresponding target display template according to needs, and carry the template identification information corresponding to the target display template when sending a notification display request; based on the template identification information carried in the notification display request, the target display template for displaying the first notification message can be determined from the multiple notification display templates.

[0185] In the disclosed embodiment, multiple notification display templates are configured for the application in the terminal, so that the application can select the corresponding target display template according to the demand, which not only reduces the difficulty of application development but also ensures the consistency of notification message display.

[0186] Optionally, the notification display template includes at least one of the following:

[0187] A first display component, used for differentially displaying primary information and secondary information in the first notification message;

[0188] A second display component, used to display an identification graphic and / or an action button corresponding to the first notification message;

[0189] A third display component, used to display the execution progress corresponding to the first notification message;

[0190] Among them, different display components have different positions in the notification display template.

[0191] In the embodiment of the present disclosure, the notification display template may be composed of display components, and the notification display template includes at least one display component.

[0192] The display component includes: a first display component, a second display component and a third display component.

[0193] The first display component is used to differentially display primary information and secondary information in the first notification message.

[0194] It is understandable that in order to highlight the notification information that the user is concerned about, the information in the notification message can be divided, and at least divided into primary information and secondary information.

[0195] Among them, the primary information corresponds to the information with the highest user attention, and the secondary information corresponds to the information with the second highest user attention; when displaying the primary information and the secondary information, the primary information and the secondary information need to be displayed differently to highlight the primary information more, and generally highlight the secondary information.

[0196] It is understandable that, since users have the reading habit of reading from left to right, the first display component for differentially displaying primary information and secondary information may be set on the left side of the notification display template.

[0197] It should be noted that the first display component can also be used to differentially display other information in the first notification message, for example, pre-information, and the pre-information can correspond to the information that triggers the current notification message.

[0198] For example, Figure 4ais a schematic diagram of a first display component according to an exemplary embodiment of the present disclosure, such as Figure 4a As shown, the first display component 401 can have at least three styles shown in the figure, namely style 1, style 2 and style 3. Among them, style 1 can differentiate between displaying secondary information and primary information; style 2 can differentiate between displaying secondary information and primary information; style 3 can differentiate between displaying secondary information and primary information.

[0199] The second display component is used to display the identification graphic and / or action button corresponding to the first notification message.

[0200] It is understandable that images are more conducive to users obtaining notification messages intuitively, so the second display component can be set to display the identification graphic and / or action button corresponding to the notification message.

[0201] Here, the identification graphic may be an identification graphic representing the purpose of the notification message, or may be an application icon representing the source of the notification message. The identification graphic may also be other graphics, which are not specifically limited.

[0202] The action button may be associated with the task corresponding to the notification message. Based on the action button, the user may control the task corresponding to the notification message.

[0203] Exemplarily, the notification message may be an alarm task notification message, and the action button may be a stop button. Based on the stop button, the user can close the alarm task notification message.

[0204] It is understandable that, since the action button in the second display component usually needs to be triggered by the user later, the second display component can be set on the right side of the notification display template to facilitate the user to operate with the right hand.

[0205] For example, Figure 4b is a schematic diagram of a second display component according to an exemplary embodiment of the present disclosure, such as Figure 4b As shown, the second display component 402 can have at least four styles shown in the figure, namely style 4, style 5, style 6 and style 7. Among them, style 4 can display identification graphics and application icons differentially; style 5 can display identification graphics; style 6 can display application icons; style 7 can display action buttons.

[0206] The third display component is used to display the execution progress corresponding to the first notification message.

[0207] It is understandable that when the first notification message corresponds to an ongoing task, the execution progress of the task can be displayed through a progress visualization graphic (such as a progress bar).

[0208] Exemplarily, notification messages that need to display execution progress may include taxi notification messages, food delivery notification messages, etc.

[0209] For example, Figure 4c is a schematic diagram of a third display component according to an exemplary embodiment of the present disclosure, such as Figure 4c As shown, the third display component 403 may at least have the style 8 shown in the figure. The style 8 may display a progress description file and a progress visualization graphic.

[0210] It can be understood that since the larger the display area occupied by the progress visualization graphic, the better the display effect, the third display component can be set at the bottom of the notification display template so that the entire area with the same width as the display screen can be used to display the execution progress of the task.

[0211] It can be understood that the first display component, the second display component and the third display component can be freely combined to form a plurality of notification display templates.

[0212] Figure 5 is a schematic diagram of a notification display template according to an exemplary embodiment of the present disclosure, such as Figure 5 As shown, the notification display template may have at least nine templates shown in the figure, namely, template 1 to template 9. Each template may be composed of the above-mentioned first display component, second display component and / or third display component.

[0213] For example, template 1 may consist of style 1 in the first display component 401, style 4 in the second display component 402, and style 8 in the third display component 403. Template 6 may consist of style 2 in the first display component 401, and style 7 in the second display component 402.

[0214] In the disclosed embodiment, by setting different display components at different positions within the notification display template, different information can be displayed at different positions. This not only makes the layout reasonable and facilitates user interaction, but also ensures the display consistency of notification messages, effectively improving the user experience.

[0215] Optionally, the step S302 of generating and displaying a second notification message conforming to the target display template according to the at least two pieces of information to be displayed includes:

[0216] Determine whether the current display interface of the terminal is an application interface of the application program;

[0217] If the current display interface of the terminal is not the application interface, a second notification message conforming to the target display template is generated and displayed according to the at least two pieces of information to be displayed.

[0218] In the embodiment of the present disclosure, after receiving the notification display request, it can be determined whether the current display interface of the terminal is the application interface of the application, that is, it can be determined whether the terminal currently has an application running in the foreground.

[0219] If the current display interface of the terminal is not the application interface of the application, that is, the application is not running in the foreground, a second notification message conforming to the target display template can be generated and displayed according to at least two pieces of information to be displayed that match the target display template.

[0220] The process of generating and displaying the second notification message that conforms to the target display template can be referred to in Figure 3 For the sake of brevity of the specification, the description of one or more corresponding embodiments will not be repeated here.

[0221] It is understandable that the system can first determine the display state of the terminal. When it is determined that the terminal does not display the display interface of the application, the at least two pieces of information to be displayed can be displayed based on the target display template, thereby ensuring the complete display of the notification message.

[0222] In some embodiments, the displaying of the second notification message conforming to the target display template includes at least one of the following:

[0224] Displaying the second notification message on the lock screen interface of the terminal;

[0225] Floating and displaying the second notification message on the main interface of the terminal;

[0226] The second notification message is displayed in the pull-down notification bar of the terminal.

[0227] For example, Figure 6a is a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 1 . Figure 6b is a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 2 . Figure 6c is a schematic diagram of a display interface according to an exemplary embodiment of the present disclosure Figure 3 .like Figures 6a to 6c As shown, when the terminal does not display the display interface of the application, the second notification message can be displayed through the target display template. Figure 6a The second notification message is shown as being suspended and displayed on the main interface of the terminal; Figure 6b The second notification message is shown to be displayed in the pull-down notification bar of the terminal; Figure 6c As shown, the second notification message is displayed in a floating manner on the main interface of the terminal.

[0228] Optionally, the method further includes:

[0229] If the current display interface of the terminal is the application interface, the at least two pieces of information to be displayed of the first communication message are displayed in a status bar.

[0230] In the embodiment of the present disclosure, the status bar may be a window in the terminal that displays prompt information in a fixed manner. The prompt information includes: device signal, device power, current time, etc.

[0231] It can be understood that if the current display interface of the terminal is an application interface of an application and the application is running in the foreground, the at least two pieces of information to be displayed of the first communication message can be displayed in the status bar.

[0232] It is understandable that when the system determines the display interface of the terminal display application, the system can display the at least two to-be-displayed information of the first communication message in the status bar, thereby not affecting the user's use of the application and better meeting the user's needs.

[0233] Optionally, configuring multiple notification display templates for the application in the terminal includes:

[0234] A plurality of notification display template sets are respectively configured for the application programs in the terminals of the plurality of different device types; wherein the notification display template set includes at least one notification display template; and the notification display templates in the notification display template set corresponding to the terminals of the different device types are different;

[0235] The determining of a target display template for displaying the first notification message in step S301 further includes:

[0236] Based on the device type to which the terminal belongs, determining a target notification display template set corresponding to the device type to which the terminal belongs;

[0237] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined in the target notification display template set.

[0238] In the embodiment of the present disclosure, based on the device type of the terminal, a notification display template set can be configured for the application in each device type of the terminal, and multiple terminals of different device types can be configured with multiple different notification display template sets.

[0239] Each of the notification display template sets includes at least one notification display template.

[0240] It is understandable that the display screen sizes of terminals of different device types are different, and the same set of notification display templates may cause size mismatch when displaying notification messages. Therefore, different notification template sets can be configured according to different device types to ensure the display effect of notification messages when displayed on terminals of different device types.

[0241] Here, different types of terminals may be divided according to the size of the terminal's display screen, may be divided according to the terminal's device identification, or may be divided according to the terminal's system type, and comparison is not specifically limited.

[0242] It is understandable that the applications in the terminals of different device types are respectively configured with different notification display template sets; therefore, based on the device type to which the terminal belongs, the target notification display template set corresponding to the device type to which the terminal belongs can be determined.

[0243] The device type of the terminal can be determined by obtaining the device identification, system identification and other information of the terminal. The type of the device to which the terminal belongs can also be obtained by other means, which are not specifically limited.

[0244] The terminal may determine a target display template for displaying the first notification message from the target notification display template set according to the template identification information carried in the notification display request.

[0245] It can be understood that, according to the template identification information, the terminal can determine the target display template for displaying the first notification message from the display template set adapted to the device type to which it belongs.

[0246] In one embodiment, the template identification information is the same, but the device types to which the terminals belong are different, and the obtained target display templates are also different.

[0247] In the embodiments of the present disclosure, by configuring different target notification display template sets for applications in terminals of different device types, notification messages of different notification display templates can be displayed on terminals of different device types, thereby further improving the adaptability of the notification message display style to the terminal and enhancing the user experience.

[0248] For example, Figure 7 FIG4 is a fourth schematic diagram of a display interface according to an exemplary embodiment of the present disclosure. Figure 7 As shown, when the terminal displays the display interface of the application, the at least two pieces of information to be displayed of the first communication message can be displayed in the status bar.

[0249] The following is a specific example to introduce the method for displaying notification information according to an embodiment of the present disclosure.

[0250] Figure 8 FIG. 1 is a schematic diagram of a business logic framework according to an exemplary embodiment of the present disclosure. Figure 8 As shown, the interactive process of implementing the method for displaying notification information involves at least: a developer 801, a push unit 802, a system 803 and a widget unit 804.

[0251] Specifically, in the interactive process of implementing the notification information display method, the system 803 can construct a notification display template and standardize the notification display template; the developer 801 can select the notification display template and complete the content upload and material upload; the push unit 802 reviews the content and material uploaded by the developer 801, and displays the content and material with the selected notification display template; then, the push unit 802 can send the processed notification message and complete the content display through the system 803.

[0252] The system 803 can call the widget unit 804 so that the message can be displayed on the off screen, lock screen, notification bar, status bar, bubble notification, and desktop widget.

[0253] It is understandable that through the above business logic, combined with Figures 1 to 7 The corresponding steps and methods in one or more embodiments can be implemented to first filter the first notification message requested to be displayed. When it is determined that the first notification message requested to be displayed belongs to a preset notification message allowed to be displayed, the message content of the notification message allowed to be displayed can be displayed in a differentiated manner. On the one hand, frequent notification message output is reduced to avoid notification message bombardment. On the other hand, when displaying notification messages, the message content is displayed in a differentiated manner to highlight the information that the user really cares about and enhance the user's usage experience.

[0254] The present disclosure provides a device for displaying notification information. Fig. 9 is a structural diagram of a device for displaying notification information according to an exemplary embodiment of the present disclosure. Fig. 9 As shown, the notification information display device 900 includes:

[0255] A determination module 901 is used to determine, in response to a received notification display request, whether a first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed;

[0256] The display module 902 is configured to display the message content of the first notification message in a differentiated manner if the first notification message belongs to the preset notification message that is allowed to be displayed.

[0257] Optionally, the determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed includes at least one of the following:

[0258] Determining, based on the application information carried in the notification display request, whether the application sending the notification display request is an application with display permission;

[0259] According to the message content carried in the notification display request, it is determined whether the message type of the first notification message belongs to the message type allowed to be displayed.

[0260] Optionally, the message types allowed to be displayed include at least one of the following:

[0261] Task-related messages of a first task triggered by a user or a second task currently being performed by the terminal;

[0262] A timed reminder message preset by the user;

[0263] Warning messages;

[0264] Asset change messages.

[0265] Optionally, the display module 902 is further used for:

[0266] Determining a target display template for displaying the first notification message;

[0267] extracting at least two pieces of to-be-displayed information matching the target display template from the first notification message;

[0268] According to the at least two pieces of information to be displayed, a second notification message conforming to the target display template is generated and displayed; wherein the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

[0269] Optionally, the determining module 901 is further configured to:

[0270] Configuring multiple notification display templates for applications in the terminal; wherein different notification display templates correspond to different message types and / or message application scenarios;

[0271] The display module 902 is further used for:

[0272] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined from the multiple notification display templates.

[0273] Optionally, the notification display template includes at least one of the following:

[0274] A first display component, used for differentially displaying primary information and secondary information in the first notification message;

[0275] A second display component, used to display an identification graphic and / or an action button corresponding to the first notification message;

[0276] A third display component, used to display the execution progress corresponding to the first notification message;

[0277] Among them, different display components have different positions in the notification display template.

[0278] Optionally, the display module 902 is further used for:

[0279] Determine whether the current display interface of the terminal is an application interface of the application program;

[0280] If the current display interface of the terminal is not the application interface, a second notification message conforming to the target display template is generated and displayed according to the at least two pieces of information to be displayed.

[0281] Optionally, the display module 902 is further used for:

[0282] If the current display interface of the terminal is the application interface, the at least two pieces of information to be displayed of the first communication message are displayed in a status bar.

[0283] Optionally, the determining module 901 is further configured to:

[0284] A plurality of notification display template sets are respectively configured for the application programs in the terminals of the plurality of different device types; wherein the notification display template set includes at least one notification display template; and the notification display templates in the notification display template set corresponding to the terminals of the different device types are different;

[0285] The display module 902 is further used for:

[0286] Based on the device type to which the terminal belongs, determining a target notification display template set corresponding to the device type to which the terminal belongs;

[0287] According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined in the target notification display template set.

[0288] Fig.10 1 is a block diagram of a terminal device according to an exemplary embodiment of the present disclosure. For example, the terminal device may be a smart phone, a tablet computer, etc.

[0289] Reference Fig.10 The terminal device 80 may include one or more of the following components: a processing component 83, a memory 84, a power component 85, a multimedia component 86, an audio component 87, an input / output (I / O) interface 88, a sensor component 89, and a communication component 810.

[0290] The processing component 83 generally controls the overall operation of the terminal device 80, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 83 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 83 may include one or more modules to facilitate the interaction between the processing component 83 and other components. For example, the processing component 83 may include a multimedia module to facilitate the interaction between the multimedia component 86 and the processing component 83.

[0291] The memory 84 is configured to store various types of data to support operations on the terminal device 80. Examples of such data include instructions for any application or method operating on the terminal device 80, contact data, phone book data, messages, pictures, videos, etc. The memory 84 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0292] The power supply component 85 provides power to various components of the terminal device 80. The power supply component 85 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device 80.

[0293] The multimedia component 86 includes a screen that provides an output interface between the terminal device 80 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 86 includes a front camera and / or a rear camera. When the terminal device 80 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0294] The audio component 87 is configured to output and / or input audio signals. For example, the audio component 87 includes a microphone (MIC), and when the terminal device 80 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 84 or sent via the communication component 810. In some embodiments, the audio component 87 also includes a speaker for outputting audio signals.

[0295] I / O interface 88 provides an interface between processing component 83 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button and lock button.

[0296] The sensor assembly 89 includes one or more sensors for providing various aspects of status assessment for the terminal device 80. For example, the sensor assembly 89 can detect the open / closed state of the terminal device 80, the relative positioning of the components, such as the display and keypad of the terminal device 80, and the sensor assembly 89 can also detect the position change of the terminal device 80 or a component of the terminal device 80, the presence or absence of contact between the user and the terminal device 80, the orientation or acceleration / deceleration of the terminal device 80, and the temperature change of the terminal device 80. The sensor assembly 89 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 89 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 89 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0297] The communication component 810 is configured to facilitate wired or wireless communication between the terminal device 80 and other devices. The terminal device 80 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 810 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 810 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0298] In an exemplary embodiment, the terminal device 80 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0299] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 84 including instructions, and the instructions can be executed by the processor 820 of the terminal device 80 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0300] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0301] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for displaying notification information, characterized in that: include: In response to the received notification display request, determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed; If the first notification message belongs to the preset notification message allowed to be displayed, the message content of the first notification message is displayed differentially.

2. The method according to claim 1, characterized in that The determining whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed includes at least one of the following: Determining, based on the application information carried in the notification display request, whether the application sending the notification display request is an application with display permission; According to the message content carried in the notification display request, it is determined whether the message type of the first notification message belongs to the message type allowed to be displayed.

3. The method according to claim 2, characterized in that The message types allowed to be displayed include at least one of the following: Task-related messages of a first task triggered by a user or a second task currently being performed by the terminal; A timed reminder message preset by the user; Warning messages; Asset change messages.

4. The method according to claim 1, characterized in that: The differentially displaying the message content of the first notification message includes: Determining a target display template for displaying the first notification message; extracting at least two pieces of to-be-displayed information matching the target display template from the first notification message; According to the at least two pieces of information to be displayed, a second notification message conforming to the target display template is generated and displayed; wherein the display positions and / or display effects of the at least two pieces of information to be displayed in the second notification message are different.

5. The method according to claim 4, characterized in that Before determining, in response to the received notification display request, whether the first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed, the method further includes: Configuring multiple notification display templates for applications in the terminal; wherein different notification display templates correspond to different message types and / or message application scenarios; The determining a target display template for displaying the first notification message includes: According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined from the multiple notification display templates.

6. The method according to claim 5, characterized in that The notification display template includes at least one of the following: A first display component, used for differentially displaying primary information and secondary information in the first notification message; A second display component, used to display an identification graphic and / or an action button corresponding to the first notification message; A third display component, used to display the execution progress corresponding to the first notification message; Among them, different display components have different positions in the notification display template.

7. The method according to claim 4, characterized in that The generating and displaying a second notification message conforming to the target display template according to the at least two pieces of information to be displayed includes: Determine whether the current display interface of the terminal is an application interface of the application program; If the current display interface of the terminal is not the application interface, a second notification message conforming to the target display template is generated and displayed according to the at least two pieces of information to be displayed.

8. The method according to claim 7, characterized in that The method further comprises: If the current display interface of the terminal is the application interface, the at least two pieces of information to be displayed of the first communication message are displayed in a status bar.

9. The method according to claim 5, characterized in that The configuring of multiple notification display templates for the application in the terminal includes: A plurality of notification display template sets are respectively configured for the application programs in the terminals of the plurality of different device types; wherein the notification display template set includes at least one notification display template; and the notification display templates in the notification display template set corresponding to the terminals of the different device types are different; The determining a target display template for displaying the first notification message further includes: Based on the device type to which the terminal belongs, determining a target notification display template set corresponding to the device type to which the terminal belongs; According to the template identification information carried in the notification display request, a target display template for displaying the first notification message is determined in the target notification display template set.

10. A device for displaying notification information, characterized in that: include: a determination module, configured to determine, in response to a received notification display request, whether a first notification message indicated by the notification display request belongs to a preset notification message allowed to be displayed; The display module is used to display the message content of the first notification message in a differentiated manner if the first notification message belongs to the preset notification message allowed to be displayed.

11. A terminal device, characterized in that: include: a memory for storing processor-executable instructions; A processor connected to the memory; The processor is configured to execute the method for displaying notification information as claimed in any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of a computer, the terminal device is enabled to execute the method for displaying notification information as claimed in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Display method and device for task execution progress

    CN107193541A

  • Method, apparatus, terminal for displaying notification message and storage medium

    CN109005283A

  • Page display method and device, wearable equipment and storage medium

    CN112153218A