Notification message display method, device and equipment

By using a large language model to identify and mark important notifications, and combining cards and controls to optimize notification display, the problem of users finding it difficult to quickly identify important notifications among a large number of notifications is solved, thus improving the efficiency of receiving notification messages.

CN121334293APending Publication Date: 2026-01-13VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511397087.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-26
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

When faced with a large number of unread notifications, important notifications are difficult to identify and retrieve quickly, leading to inefficiency and the possibility of missing important information.

Method used

The system uses a large language model to determine the importance of notification messages and marks important notifications in the display interface. It also optimizes the display of notification messages through cards and controls, including collapsible display and sub-area management.

Benefits of technology

It improves the reach and efficiency of important notifications, allowing users to quickly identify and view them, reducing the time and hassle of searching for important notifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121334293A_ABST
    Figure CN121334293A_ABST
Patent Text Reader

Abstract

The invention discloses a notification message display method, device and equipment, and belongs to the technical field of artificial intelligence. The method comprises the following steps: inputting a received notification message into a large language model, and outputting a message importance degree judgment result of the notification message through the large language model; when the message importance degree judgment result indicates that the notification message is an important notification, displaying the notification message and an important notification identifier; wherein the important notification identifier is used for indicating that the notification message is an important notification.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of artificial intelligence, and particularly relates to a notification message display method, device and equipment. BACKGROUND

[0002] With the in-depth use of electronic devices by users, the electronic devices will receive more and more notification messages. Due to too many unread notification messages, the cost of reading them one by one is high, some important notification messages need to be actively found by the user, which is inefficient, and directly ignoring them is easy to miss important notification information. SUMMARY

[0003] The purpose of the embodiments of the present application is to provide a notification message display method, device and equipment, which can improve the reach rate and acquisition efficiency of important notification messages.

[0004] In a first aspect, the embodiments of the present application provide a notification message display method, which comprises:

[0005] inputting the received notification message into a large language model, and outputting a message importance degree judgment result of the notification message through the large language model;

[0006] in the case that the message importance degree judgment result indicates that the notification message is an important notification, displaying the notification message and an important notification identifier;

[0007] The important notification identifier is used to indicate that the notification message is an important notification.

[0008] In some embodiments of the present application, the displaying of the notification message and the important notification identifier comprises:

[0009] displaying the notification message and the important notification identifier on an important notification card.

[0010] In some embodiments of the present application, in the case that N notification messages are received, the message importance degree judgment results of the N notification messages indicate that the N notification messages are important notifications; N is an integer greater than 1.

[0011] The displaying of the notification message and the important notification identifier on the important notification card comprises:

[0012] in the case that N is greater than a threshold number of messages, displaying M notification messages, a first number identifier and a message display control on the important notification card;

[0013] The threshold number of messages is the maximum number of messages that can be displayed on the important notification card; M is a positive integer, and M < N; the first number identifier is used to indicate the number of notification messages that are folded and displayed among the N notification messages except the M notification messages, and the message display control is used to trigger the display of the notification messages that are folded and displayed.

[0014] In some embodiments of the present application, optionally, after displaying the M notification messages, the first quantity identifier and the message display control on the important notification card, the method further comprises:

[0015] receiving a first input on the message display control;

[0016] in response to the first input, displaying the N notification messages respectively on the N important notification cards.

[0017] In some embodiments of the present application, optionally, the display area of the important notification card comprises at least one display sub-area;

[0018] In the case that M is greater than 1, displaying the M notification messages on the important notification card comprises:

[0019] In the case that K notification messages in the M notification messages are notification messages of the same application, displaying the first notification message and a second quantity identifier in the first display sub-area; K is an integer greater than 1, K≤M;

[0020] wherein the first display sub-area is any one of the at least one display sub-area, the first notification message is the notification message with the latest message receiving time among the K notification messages, and the second quantity identifier is used to indicate the number of the K notification messages.

[0021] In some embodiments of the present application, optionally, after displaying the first notification message and the second quantity identifier in the first display sub-area, the method further comprises:

[0022] receiving a second input on the first notification message or the second quantity identifier;

[0023] in response to the second input, displaying the K notification messages respectively on the K important notification cards.

[0024] In some embodiments of the present application, optionally, the display area of the important notification card comprises at least one display sub-area; the M notification messages comprise a second notification message;

[0025] displaying the M notification messages on the important notification card comprises:

[0026] in the case that the message content of the second notification message exceeds the display range of the second display sub-area, displaying part of the message content of the second notification message in the second display sub-area;

[0027] wherein the second display sub-area is any one of the at least one display sub-area, and the second notification message is any one of the M notification messages.

[0028] In some embodiments of the present application, optionally, after displaying part of the message content of the second notification message in the second display sub-region, the method further comprises:

[0029] receiving a third input on the second notification message;

[0030] in response to the third input, displaying all of the message content of the second notification message.

[0031] In some embodiments of the present application, optionally, before inputting the received notification message into the large language model and outputting the message importance judgment result of the notification message by the large language model, the method further comprises:

[0032] annotating a plurality of training samples to obtain a sample importance label of each training sample, the sample importance label being used to indicate a message importance judgment result of a notification message sample; the training sample including a notification message sample and an application program name corresponding to the notification message sample;

[0033] training an initial model based on the plurality of training samples and the sample importance label of each training sample to obtain the large language model.

[0034] In some embodiments of the present application, optionally, after training the initial model based on the plurality of training samples and the sample importance label of each training sample to obtain the large language model, the method further comprises:

[0035] installing the large language model into the electronic device.

[0036] In some embodiments of the present application, optionally, in the case where the message importance judgment result indicates that the notification message is an important notification, displaying the notification message comprises:

[0037] in the case where the message importance judgment result indicates that P pieces of received notification messages are important notifications, extracting event elements of the P pieces of notification messages by the large language model to output summary information of the P pieces of notification messages; the summary information being used to summarize the message content of the P pieces of notification messages; P being a positive integer;

[0038] displaying the summary information and a notification summary identifier; the notification summary identifier being used to indicate that the displayed content is the summary information of the notification message;

[0039] wherein the event elements include at least one of the following: an event object, an event content, an event time, and an event location.

[0040] In some embodiments of the present application, optionally, extracting the event elements of the P pieces of notification messages by the large language model to output the summary information of the P pieces of notification messages comprises:

[0041] determining message source information of the P pieces of notification messages;

[0042] inputting the P pieces of notification messages and the message source information of the P pieces of notification messages into the large language model, extracting event elements of the P pieces of notification messages through the large language model, and outputting summary information of the P pieces of notification messages;

[0043] The message source information includes at least one of the following: a program name of an application sending the notification messages, and a contact name of a contact sending the notification messages.

[0044] In some embodiments of the present application, optionally, in the case of receiving N pieces of notification messages, the message importance degree judgment result of the N pieces of notification messages indicates that the N pieces of notification messages are important notifications; N is an integer greater than 1.

[0045] inputting the P pieces of notification messages and the message source information of the P pieces of notification messages into the large language model, extracting event elements of the P pieces of notification messages through the large language model, and outputting summary information of the P pieces of notification messages, including:

[0046] inputting the N pieces of notification messages and the message source information of the N pieces of notification messages into the large language model, grouping the N pieces of notification messages according to a message grouping condition based on the message source information of the N pieces of notification messages through the large language model, to obtain T message source groups, each message source group including P pieces of notification messages; T is a positive integer.

[0047] extracting event elements of the P pieces of notification messages in each message source group through the large language model, and outputting summary information of the P pieces of notification messages in each message source group.

[0048] The message grouping condition includes any one of the following:

[0049] The notification messages in the same message source group are notification messages of the same application;

[0050] The notification messages in the same message source group are notification messages sent by a contact with the same contact label in the same application;

[0051] The notification messages in the same message source group are notification messages sent by a contact with the same contact label in different applications.

[0052] In some embodiments of the present application, optionally, after displaying the summary information and the notification summary identifier, the method further includes:

[0053] receiving a fourth input to the summary information;

[0054] In response to the fourth input, displaying message content of the P pieces of notification messages corresponding to the summary information.

[0055] In some embodiments of the present application, optionally, before the P pieces of summary information of the P pieces of notification messages are output by the large language model, the method further comprises:

[0056] The notification message management interface is displayed; the notification message management interface comprises an important notification function control and a notification summary function control.

[0057] In response to a fifth input to the important notification function control, a first function setting interface is displayed; the first function setting interface comprises a first switch control and a second switch control, the first switch control being used for setting the opening and closing of the important notification intelligent display function, and the second switch control being used for setting the starting and stopping of the large language model.

[0058] In response to a sixth input to the first switch control and the second switch control, the important notification intelligent display function and the large language model are started.

[0059] In some embodiments of the present application, after the notification message management interface is displayed, the method further comprises:

[0060] In response to a seventh input to the notification summary function control, a second function setting interface is displayed; the second function setting interface comprises a third switch control and a fourth switch control, the third switch control being used for setting the opening and closing of the notification intelligent summary function, and the fourth switch control being used for setting the starting and stopping of the large language model.

[0061] In response to an eighth input to the third switch control and the fourth switch control, the notification intelligent summary function and the large language model are started.

[0062] In some embodiments of the present application, optionally, in the case where a plurality of notification messages are received, the plurality of notification messages comprise a third notification message, and a message importance degree judgment result of the third notification message indicates that the third notification message is a non-important notification.

[0063] The method further comprises:

[0064] The third notification message is displayed on the non-important notification card.

[0065] In a second aspect, the embodiments of the present application provide a notification message display device, the device comprising:

[0066] A processing module is configured to input a received notification message into a large language model and output a message importance degree judgment result of the notification message by the large language model.

[0067] A display module is configured to display the notification message and an important notification identifier in the case where the message importance degree judgment result indicates that the notification message is an important notification.

[0068] The important notification identifier is used for indicating that the notification message is an important notification.

[0069] In some embodiments of the present application, the display module is further configured to:

[0070] The notification message and the important notification identifier are displayed on the important notification card.

[0071] In some embodiments of the present application, optionally, in a case where N notification messages are received, the message importance degree judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1.

[0072] The display module is further configured to:

[0073] In a case where N is greater than the threshold number of messages, the M notification messages, the first number identifier and the message display control are displayed on the important notification card.

[0074] The threshold number of messages is the maximum number of messages that can be displayed in the important notification card display area; M is a positive integer, and M < N; the first number identifier is used for indicating the number of messages of the notification messages that are folded and displayed in addition to the M notification messages in the N notification messages; and the message display control is used for triggering the display of the notification messages that are folded and displayed.

[0075] In some embodiments of the present application, the apparatus further comprises:

[0076] The receiving module is configured to receive a first input to the message display control.

[0077] The display module is further configured to:

[0078] In response to the first input, the N notification messages are respectively displayed on the N important notification cards.

[0079] In some embodiments of the present application, optionally, the important notification card display area comprises at least one display sub-area.

[0080] In a case where M is greater than 1, the display module is further configured to:

[0081] In a case where K notification messages in the M notification messages are notification messages of a same application program, the first notification message and a second number identifier are displayed in the first display sub-area; K is an integer greater than 1, and K ≤ M.

[0082] The first display sub-area is any one of the at least one display sub-area, the first notification message is the notification message with the latest message receiving time in the K notification messages, and the second number identifier is used for indicating the number of messages of the K notification messages.

[0083] In some embodiments of the present application, the apparatus further comprises:

[0084] receive a second input on the first notification message or the second quantity identifier;

[0085] The display module is further configured to:

[0086] In response to the second input, display the K notification messages on the K important notification cards, respectively.

[0087] In some embodiments of the present application, optionally, the display area of the important notification card includes at least one display sub-area; the M notification messages include the second notification message;

[0088] The display module is further configured to:

[0089] In a case where the message content of the second notification message exceeds the display range of the second display sub-area, display part of the message content of the second notification message in the second display sub-area.

[0090] The second display sub-area is any one of the at least one display sub-area, and the second notification message is any one of the M notification messages.

[0091] In some embodiments of the present application, optionally, the apparatus further includes:

[0092] receive a third input on the second notification message;

[0093] The display module is further configured to:

[0094] In response to the third input, display the entire message content of the second notification message.

[0095] In some embodiments of the present application, optionally, the apparatus further includes a model training module configured to:

[0096] label a plurality of training samples to obtain a sample importance label of each training sample, the sample importance label being used to indicate a message importance determination result of a notification message sample; the training sample including the notification message sample and an application program name corresponding to the notification message sample;

[0097] train an initial model based on the plurality of training samples and the sample importance label of each training sample to obtain the large language model.

[0098] In some embodiments of the present application, optionally, the apparatus further includes:

[0099] a fitting module configured to install the large language model into the electronic device.

[0100] In some embodiments of the present application, optionally, the processing module is further configured to:

[0101] In a case where the message importance degree judgment result indicates that the received P pieces of notification messages are important notifications, event elements of the P pieces of notification messages are extracted through the large language model, and summary information of the P pieces of notification messages is output; the summary information is used to summarize message content of the P pieces of notification messages; P is a positive integer;

[0102] The display module is further configured to:

[0103] display the summary information and a notification summary identifier; the notification summary identifier is used to indicate that the displayed content is the summary information of the notification messages.

[0104] The event elements include at least one of the following: an event object, event content, an event time, and an event location.

[0105] In some embodiments of the present application, the processing module is further configured to:

[0106] determine message source information of the P pieces of notification messages;

[0107] input the P pieces of notification messages and the message source information of the P pieces of notification messages into the large language model, extract event elements of the P pieces of notification messages through the large language model, and output summary information of the P pieces of notification messages;

[0108] The message source information includes at least one of the following: a program name of an application that sends the notification messages, and a contact name of a contact that sends the notification messages.

[0109] In some embodiments of the present application, in a case where N pieces of notification messages are received, message importance degree judgment results of the N pieces of notification messages indicate that the N pieces of notification messages are important notifications; N is an integer greater than 1.

[0110] The processing module is further configured to:

[0111] input the N pieces of notification messages and message source information of the N pieces of notification messages into the large language model, group the N pieces of notification messages according to message grouping conditions based on the message source information of the N pieces of notification messages through the large language model, obtain T message source groups, and each message source group includes P pieces of notification messages; T is a positive integer.

[0112] extract event elements of the P pieces of notification messages in each message source group through the large language model, and output summary information of the P pieces of notification messages in each message source group.

[0113] The message grouping conditions include any one of the following:

[0114] The notification messages in the same message source group are notification messages of the same application.

[0115] The notification messages in the same message source group are notification messages sent by the same contact with the same contact label in the same application;

[0116] The notification messages in the same message source group are notification messages sent by the same contact with the same contact label in different applications.

[0117] In some embodiments of the present application, optionally, the apparatus further comprises:

[0118] The receiving module is configured to receive a fourth input of the summary information;

[0119] The display module is further configured to display, in response to the fourth input, message content of P notification messages corresponding to the summary information.

[0120] In some embodiments of the present application, optionally, the display module is further configured to:

[0121] display a notification message management interface; the notification message management interface comprises an important notification function control and a notification summary function control;

[0122] In response to a fifth input of the important notification function control, display a first function setting interface; the first function setting interface comprises a first switch control and a second switch control, the first switch control is used to set the opening and closing of the important notification intelligent display function, and the second switch control is used to set the starting and closing of the large language model;

[0123] The processing module is further configured to:

[0124] In response to a sixth input of the first switch control and the second switch control, start the important notification intelligent display function and the large language model.

[0125] In some embodiments of the present application, optionally, the display module is further configured to:

[0126] In response to a seventh input of the notification summary function control, display a second function setting interface; the second function setting interface comprises a third switch control and a fourth switch control, the third switch control is used to set the opening and closing of the notification intelligent summary function, and the fourth switch control is used to set the starting and closing of the large language model;

[0127] The processing module is further configured to:

[0128] In response to an eighth input of the third switch control and the fourth switch control, start the notification intelligent summary function and the large language model.

[0129] In some embodiments of the present application, optionally, in the case of receiving a plurality of notification messages, the plurality of notification messages comprise a third notification message, and a message importance degree judgment result of the third notification message indicates that the third notification message is a non-important notification;

[0130] The display module is further configured to:

[0131] display the third notification message on a non-important notification card.

[0132] In a third aspect, an electronic device is provided, which includes a processor and a memory. The memory stores programs or instructions executable on the processor. When the programs or instructions are executed by the processor, the steps of the method according to the first aspect are implemented.

[0133] In a fourth aspect, a readable storage medium is provided. The readable storage medium stores programs or instructions. When the programs or instructions are executed by a processor, the steps of the method according to the first aspect are implemented.

[0134] In a fifth aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to execute programs or instructions to implement the method according to the first aspect.

[0135] In a sixth aspect, a computer program product is provided. The program product is stored in a storage medium. When the program product is executed by at least one processor, the method according to the first aspect is implemented.

[0136] In the embodiments of the present application, the received notification message is input into the large language model, and the message importance degree judgment result of the notification message is output through the large language model. In the case that the message importance degree judgment result indicates that the notification message is an important notification, the notification message and the important notification identifier are displayed. The important notification identifier is used to indicate that the notification message is an important notification.

[0137] In this way, the powerful semantic understanding capability of the large language model can be used to more accurately judge whether the notification message is an important notification or a non-important notification. Furthermore, the notification message and the important notification identifier with the message importance degree judgment result of important notification can be displayed, so that the user can quickly view the important notification message, and the user does not need to search for important notifications from a large number of notification messages, thereby improving the reach rate and acquisition efficiency of important notifications. BRIEF DESCRIPTION OF DRAWINGS

[0138] Figure 1 FIG. 1 is a flowchart of a notification message display method according to some embodiments of the present application;

[0139] Figure 2 FIG. 3 is an interface diagram of a notification display interface in a notification message display method according to some embodiments of the present application;

[0140] Figure 3is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0141] Figure 4 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0142] Figure 5 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0143] Figure 6 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0144] Figure 7 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0145] Figure 8 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0146] Figure 9 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0147] Figure 10 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0148] Figure 11 is an interface schematic diagram of a notification display interface in a notification message display method provided by some embodiments of the present application;

[0149] Figure 12 is a scenario embodiment flow schematic diagram of a notification message display method provided by some embodiments of the present application;

[0150] Figure 13 is another scenario embodiment flow schematic diagram of a notification message display method provided by some embodiments of the present application;

[0151] Figure 14 is a structure schematic diagram of a notification message display apparatus provided by some embodiments of the present application;

[0152] Figure 15 is a structure schematic diagram of an electronic device provided by some embodiments of the present application;

[0153] Figure 16 is a hardware structure schematic diagram of an electronic device provided by some embodiments of the present application. DETAILED DESCRIPTION

[0154] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art are within the scope of protection of the present application.

[0155] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the objects before and after are in an "or" relationship.

[0156] The terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. The terms related to the embodiments of the present application are explained below.

[0157] End-side model: refers to a model that is finally deployed to electronic devices such as mobile phones after training in the cloud, model compression and conversion.

[0158] 3B large language model: mainly refers to a large language model with 3 billion parameters, which can be directly built into electronic devices to process various scene tasks on the end side.

[0159] Unread notification message: refers to the prompt marked as "unread" by the system when the notification information pushed by the application has not been viewed by the user, which is usually displayed in the form of a digital badge, a red dot or a text annotation, reminding the user that there is a new notification message to be processed.

[0160] Important notification: refers to a notification message that is determined to be more critical to the user according to the content priority and is pushed in a more eye-catching way.

[0161] Notification summary: refers to the integration and induction of multiple notification messages within a period of time to form concise summary information, helping users quickly understand the content of the notification message.

[0162] Card: a UI (User Interface, user interface) design element that usually displays information in the form of a rectangular block, containing structured data, pictures, text, buttons and other interactive components. Cards are widely used in mobile terminals, communication applications and message platforms to clearly and aesthetically present information.

[0163] The identifier in the present application is a word, symbol, image, etc. used to indicate information, which can take a control or other container as a carrier to display information, including but not limited to a word identifier, a symbol identifier, and an image identifier.

[0164] It should be noted that the notification message display method provided by the embodiments of the present application can be executed by an electronic device such as a mobile phone, a tablet computer, a notebook computer, a palm computer, and a vehicle-mounted electronic device. In some embodiments of the present application, the electronic device is taken as an example to execute the notification message display method, and the notification message display method provided by the embodiments of the present application is described.

[0165] The notification message display method provided by the embodiments of the present application can be applied to a notification message display scenario in which an electronic device receives notification messages pushed by various application programs installed on the electronic device. For example, the application scenario can be that the electronic device receives a notification message “Please send the operating analysis report of last month to my email after writing, and complete it before 4:00 pm” sent by A manager in an instant messaging application, a notification message “You are invited to attend a meeting A, the meeting theme is supplier cooperation exchange, and the meeting time is 2025 / 06 / 17 10:00-12:00 (GMT+08:00). Click the link to join the meeting, or add it to the meeting list: https: / / XXXXXXXXXXXXXXXXXXXXXXX, # meeting number: 000-000-000, copy the information, and open the mobile meeting A application to participate” sent by a group chat in the instant messaging application, and a notification message “Player A made a buzzer-beating shot to kill, A team 120:119 defeated B team, and successfully entered the top four” pushed by a news information application.

[0166] The notification message display method provided by the embodiments of the present application will be described in detail in combination with the accompanying drawings, specific embodiments, and application scenarios.

[0167] Figure 1 is a flowchart of the notification message display method provided by some embodiments of the present application. The notification message display method can include the following steps.

[0168] In step 101, the received notification message is input into a large language model, and a message importance degree judgment result of the notification message is output by the large language model.

[0169] In step 101, the electronic device can receive notification messages pushed by various applications, and the notification messages that have not been viewed by the user are unread notification messages, which need to be displayed to remind the user to view and process. The notification message described below can be an unread notification message received by the electronic device and not viewed by the user.

[0170] Based on this, the notification message can be input into the large language model before the notification message is displayed, and the message importance degree judgment result of the notification message is output by the large language model. The message importance degree judgment result can indicate whether the notification message is an important notification or a non-important notification.

[0171] For example, the large language model can determine whether the message type corresponding to the notification message belongs to an important message type through semantic recognition processing of the notification message. If it belongs to an important message type, it can be judged as an important notification. If it does not belong to an important message type, it can be judged as a non-important notification.

[0172] Among them, the important message type can be a message type related to the user preset by the system, or a message type customized by the user.

[0173] For example, the important message type can include the following:

[0174] 1. Notification messages related to personal safety, such as notification messages related to the user, such as family illness, accident help, etc.

[0175] 2. Notification messages related to personal experience, such as exam scores, admission notices, award notifications, job adjustments, salary changes, interviews, employment notifications, merit awards, and bonus notifications.

[0176] 3. Notification messages related to work, such as work meeting reminders, including meeting start, cancellation or change, key business notification information, including contract changes, project adjustments, important node progress, and work instructions from superiors.

[0177] 4. Notification messages that need to be acted upon immediately after excluding marketing advertisements, such as express delivery overdue and will be returned / charged, delivery arrival notification, etc.

[0178] 5. Life service reminders, such as rent, mortgage, water, electricity, and gas payment notifications.

[0179] It can be understood that the important message type can also be added or deleted based on the user's input. For example, an important message type management interface can be displayed, which can include multiple important message types; receive user input related to the management interface; and perform a message type management operation in response to the input, which can include at least one of the following: adding an important message type, an important preset message type.

[0180] For example, the electronic device receives a notification message pushed by an instant messaging application. If the notification message is one that needs to be quickly known by the user and an action needs to be taken, such as "There is a report material that needs to be prepared now and completed before 3 pm", the notification message belongs to the important message type, and the large language model outputs the notification message as an important notification. If the notification message is one that does not need to be reacted immediately or does not have much impact if not known, such as "It is a sunny day today", the notification message does not belong to the important message type, and the large language model outputs the notification message as a non-important notification.

[0181] As shown in FIG. 1, the electronic device receives a notification message "Please send the operating analysis report of last month to my email after writing, and complete it before 4 pm" sent by A manager in an instant messaging application, a notification message of a meeting invitation "You are invited to attend meeting A, the meeting theme is supplier cooperation exchange, the meeting time is 2025 / 06 / 17 10:00-12:00 (GMT+08:00). Click the link to join the meeting, or add it to the meeting list: https: / / XXXXXXXXXXXXXXXXXXXXXXX, # meeting number: 000-000-000, copy the information and open the mobile meeting A application to participate", and a notification message pushed by a news information application "Player A made a buzzer-beating shot to kill, A team 120:119 defeated B team and successfully entered the top four". Figure 2 The notification messages can be input into the large language model, and the large language model outputs the notification message sent by A manager and the notification message of the meeting invitation as important notifications 2011, and the notification message automatically pushed by the application as a non-important notification 2021.

[0182] In some examples, all notification messages pushed by all application programs in the electronic device can be input into the large language model to output the message importance degree judgment result by the large language model, or only the notification messages pushed by the application programs in the preset application set can be input into the large language model to output the message importance degree judgment result by the large language model. The application programs in the preset application set can be pre-set by the system or customized by the user, which is not limited here.

[0183] In some examples, the large language model can be installed on the terminal side, that is, the large language model is pre-installed in the electronic device, and the large language model can be started locally in the electronic device to process the notification message without uploading to the cloud. The large language model can also be deployed in the cloud, so that the electronic device can upload the received notification message to the cloud to be semantically recognized by the large language model in the cloud to determine whether it is an important notification, and return the message importance degree judgment result to the electronic device.

[0184] In step 102, in the case where the message importance degree judgment result indicates that the notification message is an important notification, the notification message and the important notification identifier are displayed.

[0185] The important notification identifier is used to indicate that the notification message is an important notification.

[0186] In step 102, as mentioned above, if the message importance determination result indicates that the message is an important notification, then the notification message and an important notification icon can be displayed on the notification display interface of the electronic device. The notification display interface can be the lock screen, desktop, or application interface, etc.

[0187] like Figure 2 As shown, taking the lock screen interface 200 of an electronic device displaying important notifications 2011 and important notification identifiers 2012 as an example. As mentioned above, the large language model can output that the notification message sent by Manager A and the meeting invitation message are important notifications 2011, and the notification message automatically pushed by the application is a non-important notification 2021. Therefore, the important notification can be displayed in the display area corresponding to the important notification identifier 2012. This allows users to quickly know that the notification message displayed in this area is an important notification, enabling them to quickly view it. This display area can be an independently defined area within the lock screen interface, distinct from the area displaying non-important notifications. This display area can also be a message display card or a message pop-up, etc., without specific limitations here.

[0188] In some examples, the AI ​​(Artificial Intelligence) identifier 2013 may also be displayed, which can be used to indicate that the message importance judgment result of the notification message is determined and output by the large language model.

[0189] In this embodiment of the application, the notification message display method can input the received notification message into a large language model, and output the message importance judgment result of the notification message through the large language model; if the message importance judgment result indicates that the notification message is an important notification, the notification message and an important notification identifier are displayed; wherein, the important notification identifier is used to indicate that the notification message is an important notification.

[0190] In this way, the powerful semantic understanding capabilities of large language models can be leveraged to more accurately determine whether a notification is important or not. This allows for the display of notifications that are deemed important, along with an important notification identifier, so that users can quickly view important notifications without having to search through numerous notifications, thus improving the reach and efficiency of important notifications.

[0191] In some embodiments of this application, optionally, displaying notification messages and important notification identifiers may include:

[0192] The important notification card displays the notification message and the important notification identifier.

[0193] In the embodiments of the present application, the notification message and the important notification identifier indicated by the message importance judgment result can be displayed in the form of a card.

[0194] As shown in Figure 2 The important notification 2011 and the important notification identifier 2012 can be displayed on the important notification card 201, so that the user can clearly know that the notification messages displayed on the important notification card 201 are important notifications 2011.

[0195] In this way, the important notifications are displayed in a structured manner by the important notification card, which can more intuitively distinguish important notifications from non-important notifications and increase the readability of the notification messages.

[0196] In some embodiments of the present application, optionally, in the case of receiving N notification messages, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1.

[0197] The important notification card displays the notification message and the important notification identifier, which can include:

[0198] In the case of N being greater than the threshold number of messages, the important notification card displays M notification messages, a first number identifier, and a message display control.

[0199] The threshold number of messages is the maximum number of messages that can be displayed in the display area of the important notification card; M is a positive integer, and M < N; the first number identifier is used to indicate the number of notification messages that are folded and displayed among the N notification messages; and the message display control is used to trigger the display of the notification messages that are folded and displayed.

[0200] In the embodiments of the present application, in the case of the electronic device receiving multiple important notifications, theoretically, these important notifications all need to be displayed on the important notification card. However, due to the limited display screen area of the electronic device, the display area of the important notification card is naturally limited, and cannot display too many important notifications.

[0201] At this time, in the case of the number of received important notifications being greater than the threshold number of messages, the important notification card displays M notification messages, a first number identifier, and a message display control.

[0202] The message count threshold is the maximum number of messages that can be displayed in the important notification card display area. This maximum message count can be flexibly adjusted; for example, it can be determined based on the length of each important notification's content, the source information of each important notification, etc. The M notification messages can be a subset of all received important notifications, while the remaining important notifications can be collapsed. The first quantity identifier can be used to indicate the number of notification messages that are collapsed out of the N notification messages (excluding the M notification messages). The message display control is used to trigger the display of the collapsed notification messages.

[0203] like Figure 2 As shown, the important notification card can display M notification messages, a first quantity indicator, and a message display control. The M notification messages can include message 1: "Manager A: [3 messages] Please send the completed business analysis report for last month to my email address before 4 PM" and message 2: "Meeting Invitation: You are invited to attend Meeting A, Meeting Topic: Supplier Cooperation Exchange. Click to view detailed meeting information >>". The first quantity indicator 2014 can display "1 more notification", and the important notification card can also display a message display control 2015 in the upper right corner.

[0204] In this way, when the number of important notifications exceeds the threshold, only a portion of the important notifications can be displayed, while the remaining important notifications are collapsed, preventing the important notification card area from becoming cluttered due to too many notifications and improving the interface's simplicity. Simultaneously, a first quantity indicator showing the number of collapsed important notifications and a message display control showing the expanded collapsed important notifications are displayed are shown. This allows users to know how many important notifications are still collapsed and to expand the collapsed important notifications using the message display control, thus flexibly controlling the amount of notifications displayed.

[0205] In some embodiments of this application, optionally, after displaying M notification messages, a first quantity identifier, and a message display control on the important notification card, the method may further include:

[0206] Receive the first input to the message display control;

[0207] In response to the first input, display N notification messages on N important notification cards respectively.

[0208] In this embodiment of the application, a first input to the message display control can be received. The first input may be an input used to trigger the expansion display of a collapsed notification message.

[0209] The first input can be a user's click input on the message display control, or a voice instruction input by the user, or a specific gesture input by the user, which can be determined according to actual use requirements, and the embodiments of this application do not make any limitation in this regard. The specific gesture in the embodiments of this application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture. The click input in the embodiments of this application can be a single-click input, a double-click input, or any number of click inputs, and can also be a long-press input or a short-press input.

[0210] In response to the first input, N notification messages can be displayed on N important notification cards respectively. Figure 2 and Figure 3 As shown in FIGS. 1, 2, and 3, the user can click the message display control 2015, and in response to the user's click input, three important notification cards 201 can be displayed, and the three important notification cards 201 respectively display three important notifications 2011. The three important notifications 2011 include message 1: "A manager: [3] After writing the operating analysis report last month, send it to my email, complete it before 4 o'clock in the afternoon", message 2: "Meeting invitation: invite you to attend meeting A, the theme of the meeting is supplier cooperation exchange, click to view detailed meeting information >>", and message 3: "A city traffic police: license plate number 12345, parked near D number on C street in B district in A city, parking is prohibited here, please move your car quickly". The message 3 is an important notification that is folded and displayed.

[0211] In this way, the user is allowed to expand and view the important notification that is currently folded and displayed by one click, and the problem that only a small number of important notifications can be displayed due to limited area space, and the user cannot view all important notifications is solved. Meanwhile, the user can quickly view all important notifications without leaving the current interface, and the user operation efficiency and information acquisition convenience are improved.

[0212] In some embodiments of the application, optionally, the important notification card display region includes at least one display sub-region;

[0213] In the case where M is greater than 1, displaying M notification messages on the important notification card can include:

[0214] In the case where K notification messages in the M notification messages are notification messages of the same application program, displaying a first notification message and a second quantity identifier in the first display sub-region; K is an integer greater than 1, and K≤M;

[0215] The first display sub-region is any one of the at least one display sub-region, the first notification message is the notification message with the latest message receiving time among the K notification messages, and the second quantity identifier is used to indicate the message quantity of the K notification messages.

[0216] In the embodiments of the present application, the message source of each notification message can also be acquired, and the message source can include at least one of the program name of the application sending the notification message and the contact name of the contact sending the notification message.

[0217] The important notification card display area can include at least one display sub-area, and each display sub-area can be used to display one notification message or foldedly display multiple notification messages sent by the same application.

[0218] If there are K notification messages sent by the same application in the M notification messages, the K notification messages can be foldedly displayed. That is, the first notification message and the second quantity identifier can be displayed in any display sub-area. The first notification message is the notification message with the latest message receiving time in the K notification messages, and the second quantity identifier is used to indicate the message quantity of the K notification messages.

[0219] As shown in FIG. 1, the electronic device can receive three important notification messages sent by A manager in an application. At this time, the latest important notification 2011 can be displayed in any display sub-area of the important notification card, such as “A manager: send me an email after writing the last month's business analysis report, complete before 4 pm this afternoon”. The second quantity identifier 2016 can also be displayed, such as “3” displayed on the second quantity identifier 2016 in FIG. 1, which indicates that the application is associated with three important notifications, and the other important notifications are foldedly displayed in addition to the displayed important notification. Figure 2 Figure 2

[0220] In this way, the multiple important notification messages sent by the same application can be displayed in the foldedly display manner, and the large number of notification messages of the same application will not occupy too much screen space, and the simplicity of the interface is improved.

[0221] In some embodiments of the present application, optionally, after the first notification message and the second quantity identifier are displayed in the first display sub-area, the method can further include:

[0222] receiving a second input on the first notification message or the second quantity identifier;

[0223] in response to the second input, respectively displaying the K notification messages on the K important notification cards.

[0224] In the embodiments of the present application, the second input on the first notification message or the second quantity identifier can be received. The second input can be an input of triggering the display of the foldedly displayed notification messages in the K notification messages.

[0225] ​​The second input can be a click input of a user on the first notification message or the second quantity identifier, or a voice instruction input by the user, or a specific gesture input by the user. The specific gesture can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture. The click input can be a single-click input, a double-click input, or any number of click inputs, or can be a long-press input or a short-press input.

[0226] In response to the second input, the K notification messages can be displayed on the K important notification cards respectively. For example, as shown in FIG. 4B, the value of K can be 3, and the K notification messages 401 can include message 1: "Manager A: Hold a meeting for business analysis tomorrow", message 2: "Manager A: Summarize and analyze the business operation of last month", and message 3: "Manager A: Send the report of the business analysis of last month to my email, and complete it before 4 o'clock in the afternoon". Figure 4

[0227] In this way, in the case of folding display of multiple notification messages sent by the same application, the user can view the folded notification messages by a simple operation, so that when the user does not need to view all the notification messages, the simple interface of the notification message folding is maintained, and when the user needs to view all the notification messages, the notification messages can be quickly unfolded and viewed, thereby achieving a dynamic balance between the simplicity of the interface and the completeness of the information.

[0228] In some embodiments of the present application, optionally, the display area of the important notification card includes at least one display sub-area; the M notification messages include a second notification message;

[0229] Displaying the M notification messages on the important notification card can include:

[0230] In the case where the message content of the second notification message exceeds the display range of the second display sub-area, part of the message content of the second notification message is displayed in the second display sub-area.

[0231] The second display sub-area is any one of the at least one display sub-area, and the second notification message is any one of the M notification messages.

[0232] In the embodiments of the present application, as described above, the display area of the important notification card can include at least one display sub-area, and each display sub-area can be used to display a notification message or fold display of multiple notification messages sent by the same application.

[0233] ​At this time, if the message content of the second notification message in the M notification messages is more than the display range of any one display sub-region, only part of the message content of the second notification message can be displayed in any one display sub-region.

[0234] As shown in Figure 2 , the electronic device can receive an important notification message, which is "Meeting invitation: invite you to attend meeting A, meeting theme: supplier cooperation exchange, meeting time: 2025 / 06 / 17 10:00-12:00 (GMT+08:00). Click the link to join the meeting, or add it to the meeting list: https: / / XXXXXXXXXXXXXXXXXXXXXXX, # meeting number: 000-000-000, copy the information and open the mobile meeting A application to participate". The notification message content is too much to be displayed completely in any display sub-region, and at this time only part of the message content can be displayed, such as the displayed notification message is "Meeting invitation: invite you to attend meeting A, meeting theme: supplier cooperation exchange, click to view detailed meeting information >>".

[0235] In this way, when the message content is too long, only part of the message content can be displayed, different lengths of notification messages can be adaptively displayed, the card structure can be avoided from being damaged, and the simplicity of the interface can be maintained.

[0236] In some embodiments of the present application, optionally, after displaying part of the message content of the second notification message in the second display sub-region, the method can further include:

[0237] receiving a third input on the second notification message;

[0238] in response to the third input, displaying all the message content of the second notification message.

[0239] In the embodiments of the present application, a third input on the second notification message can be received. The third input can be an input for triggering the display of all the message content of the second notification message.

[0240] The third input can be a click input of the user on the second notification message, or a voice instruction input by the user, or a specific gesture input by the user, which can be determined according to actual use requirements, and the embodiments of the present application do not limit this. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, and can also be a long-press input or a short-press input.

[0241] As shown in Figure 5As shown, in response to the third input, the entire message content 501 of the second notification message can be displayed.

[0242] In this way, for the notification message displaying only part of the message content, a convenient operation is provided to expand and view the entire message content on demand, so that the interface can be kept simple when the user does not need to view the entire message content, and the user can quickly expand and view when the user needs to view the entire message content, thereby achieving a dynamic balance between the simplicity of the interface and the completeness of the information.

[0243] In some embodiments of the present application, optionally, the received notification message is input into the large language model, and before the large language model outputs the message importance judgment result of the notification message, the method can further include:

[0244] The plurality of training samples are labeled to obtain a sample importance label of each training sample, and the sample importance label is used to indicate the message importance judgment result of the notification message sample; the training sample includes the notification message sample and the application program name corresponding to the notification message sample;

[0245] Based on the plurality of training samples and the sample importance label of each training sample, the initial model is trained to obtain the large language model.

[0246] In the embodiments of the present application, a plurality of training samples can be obtained, and the training sample can include the notification message sample and the application program name corresponding to the notification message sample, so that the notification scene of the notification message sample can be supplemented, so that the training sample information is more comprehensive and accurate, and the training accuracy of the subsequent large language model is improved.

[0247] The plurality of training samples can be labeled to obtain a sample importance label of each training sample, and the sample importance label is used to indicate the message importance judgment result of the notification message sample. For example, a notification message sample from a certain instant messaging application sends a notification message sample content including "message 1: tomorrow morning 8 o'clock, hold a business analysis report meeting; message 2: our department also needs to participate in the report; message 3: send me an email after writing the business analysis report last month, complete before 4 o'clock in the afternoon". The notification message sample can be labeled as a work conference reminder, which is a work-related notification message, in other words, the sample importance label of the notification message sample indicates that the notification message sample is an important notification.

[0248] The initial model can be trained based on the sample importance label of each training sample of the plurality of training samples to obtain the large language model. The trained large language model can output the message importance judgment result of the notification information.

[0249] In this way, the large language model is trained by using real notification message samples and application names corresponding to the notification message samples, and is labeled whether it belongs to important notifications, so that the large language model is trained for the judgment task of the message importance judgment result of the notification message, and is more suitable and more accurate.

[0250] In some embodiments of the present application, optionally, based on the plurality of training samples and the sample importance labels of each training sample, the initial model is trained to obtain the large language model, and the method can further include:

[0251] The large language model is installed in the electronic device.

[0252] In the embodiments of the present application, the trained large language model can be installed in the electronic device.

[0253] In some examples, the large language model can be a 3B large language model. The 3B large language model has a small number of parameters and requires less memory space, and can be installed in the electronic device, so that the above process is closed in the end, without the need to upload user-related notification messages to the cloud, avoiding information leakage, and the 3B large language model also has good ability in text understanding, which can meet the needs of notification message processing.

[0254] In this way, the trained large language model is directly deployed on the electronic device for running, avoiding uploading user-sensitive notification message content to the cloud server for processing, improving user privacy security and data security. The local model has faster processing speed than network request, and can complete notification message processing faster.

[0255] In some embodiments of the present application, optionally, in the case where the message importance judgment result indicates that the notification message is an important notification, displaying the notification message can include:

[0256] In the case where the message importance judgment result indicates that the P notification messages received are important notifications, the event elements of the P notification messages are extracted by the large language model, and the summary information of the P notification messages is output; the summary information is used to summarize the message content of the P notification messages; P is a positive integer;

[0257] The summary information and a notification summary identifier are displayed; the notification summary identifier is used to indicate that the displayed content is the summary information of the notification message.

[0258] Among them, the event elements include at least one of the following: event object, event content, event time and event location.

[0259] In this embodiment, the large language model can also have the function of summarizing the key information in the notification message. When the message importance judgment result indicates that the P notification messages received are important notifications, the large language model can be used to extract the event elements of the P notification messages and output the summary information of the P notification messages.

[0260] The event elements can include at least one of the following: event object, event content, event time, and event location. The event object can be the subject of the corresponding event in the notification message, which needs to be judged in combination with the text content. If it cannot be judged, it does not need to be summarized. The event content can be the specific action or behavior corresponding to the event, which is the core of the summary and is usually the necessary content. The event time can be the occurrence time of the event, and the event location can be the occurrence location of the event. The event time and the event location can be extracted in combination with the text content, and if there is no text, it is not extracted.

[0261] The large language model can extract these event elements from the message content of the important notification, and then obtain and output the summary information.

[0262] In some examples, the large language model can extract event elements from a notification message to obtain a summary information corresponding to the notification message.

[0263] For example, the electronic device receives an important notification message sent by an instant messaging application, and the message content is "Dear user: Hello! B company has arranged for you to have a physical examination at A hospital. The physical examination time is scheduled for June 20, 2025, and you must arrive at the hospital physical examination center before 11:00 in the morning. In order to ensure the accuracy of the physical examination results, please maintain a normal diet and regular schedule for three days before the physical examination, and strictly avoid drinking, staying up late, and strenuous exercise. On the day of the physical examination, you need to come on an empty stomach, and do not eat breakfast, because some physical examination items, such as liver function and blood sugar, will affect the test results after eating. We look forward to your timely arrival for the physical examination, and let us work together to protect your health! A hospital".

[0264] The summary information of the notification message can be output according to the message content: "A company arranges you to have a physical examination at B hospital on June 20, and please pay attention to the matters before the physical examination".

[0265] In some examples, the large language model can extract event elements from multiple notification messages in the same message source group to obtain a summary information corresponding to the notification messages.

[0266] For example, the electronic device receives a plurality of work-related notification messages, including message 1: "Manager A: There are some problems with the market research data last week, especially regarding the channel sales and inventory of the supplier", message 2: "Manager A: You work hard and organize your colleagues to check the data, and then submit it to me after checking", message 3: "Assistant B: There will be a department meeting in the afternoon to summarize the operation of last month, and you need to prepare an operation report in PPT form and send it to me before the meeting", and message 4: "Group leader C: Remember to send your work report this week to me before leaving work on Friday".

[0267] These notification messages can be summarized into one abstract information: "Market research data needs to be checked; prepare operation report PPT before the meeting; submit work report before leaving work on Friday".

[0268] The abstract information and a notification abstract identifier can be displayed; the notification abstract identifier is used to indicate that the displayed content is the abstract information of the notification message.

[0269] As shown in Figure 6 , the abstract information 6011 can be displayed through the notification abstract card 601, and the notification abstract identifier 6012 can also be displayed at the corresponding position, such as the display content on the notification abstract identifier 6012, which can be "notification summary". Taking the two abstract information 6011 displayed in Figure 6 as an example, the two abstract information 6011 can be displayed on two notification abstract cards 601 respectively, abstract information 1: "Market research data needs to be checked; prepare operation report PPT before the meeting; submit work report before leaving work on Friday", and abstract information 2: "A company arranges you to have a physical examination on June 20th in B hospital, please pay attention to the matters needing attention before the physical examination".

[0270] In some examples, as mentioned above, since the abstract information 1: "Market research data needs to be checked; prepare operation report PPT before the meeting; submit work report before leaving work on Friday" is summarized from a plurality of notification messages, it can be displayed through the notification abstract card 601 stacking display mode to prompt that the abstract information corresponds to a plurality of notification messages.

[0271] In some examples, as shown in Figure 6 , an AI identifier 6013 can also be displayed, which can be used to indicate that the abstract information of the notification message is extracted and output by a large language model.

[0272] In this way, by using the event element extraction capability of the large language model, the core information is automatically refined from the notification message to form a concise abstract information. In the case of long notification information, the user can understand the core points of the notification message in a very short time, greatly improving the information acquisition efficiency.

[0273] In some embodiments of the present application, the event elements of the P pieces of notification messages are extracted by the large language model, and the summary information of the P pieces of notification messages is outputted, which can include:

[0274] determining the message source information of the P pieces of notification messages;

[0275] The P pieces of notification messages and the message source information of the P pieces of notification messages are inputted into the large language model, the event elements of the P pieces of notification messages are extracted by the large language model, and the summary information of the P pieces of notification messages is outputted;

[0276] The message source information includes at least one of the following: the program name of the application sending the notification message, and the contact name of the contact sending the notification message.

[0277] In the embodiments of the present application, the message source information of the notification messages received by the electronic device can be determined, and the message source information includes at least one of the following: the program name of the application sending the notification message, and the contact name of the contact sending the notification message.

[0278] In this way, the classification of the message source information is increased, the notification information provided to the large language model is pre-classified, and the large language model can accurately summarize the message content of the notification messages sent by different applications or even different contacts.

[0279] The P pieces of notification messages and the message source information of the P pieces of notification messages can be inputted into the large language model, the event elements of the P pieces of notification messages are extracted by the large language model, and the summary information of the P pieces of notification messages is outputted.

[0280] In some examples, before the P pieces of notification messages and the message source information of the P pieces of notification messages are inputted into the large language model, the event elements of the P pieces of notification messages are extracted by the large language model, and the summary information of the P pieces of notification messages is outputted, the large language model can be trained first.

[0281] For example, a plurality of notification summary training samples can be obtained, each notification summary training sample includes a notification message sample and summary information corresponding to the notification message sample, and the notification message sample carries message source information of the notification message sample. Based on the plurality of notification summary training samples, the initial model is trained to obtain the large language model. The trained large language model has the ability to extract event elements of the content of the notification messages corresponding to different message source information to obtain summary information, wherein the notification messages corresponding to different message source information may have different event elements in the content of the notification messages.

[0282] For example, the event element extraction rule for adjusting the summary information of the notification scenario can be determined based on the message source information, the output effect of the large language model can be optimized, and the large language model can accurately understand the content of the notification information and summarize. For the problem of stacking multiple unread notification messages with correlation, which causes the amount of summary information to be large, the event element extraction rule can be adjusted, the form of short sentences can be increased, the expression language can be simplified, and the highlights can be focused on the extracted event content. The extraction of event content is focused on, and the conciseness of the summary information under the condition of multiple notification messages is improved.

[0283] In this way, the message source information is input as important context information into the large language model, which helps the large language model to more accurately understand the semantic background of the notification, so as to extract more relevant and reliable event elements and improve the accuracy of the summary information.

[0284] In some embodiments of the present application, optionally, in the case of receiving N notification messages, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1;

[0285] Inputting P notification messages and message source information of P notification messages into the large language model, extracting event elements of P notification messages through the large language model, and outputting summary information of P notification messages can include:

[0286] Inputting N notification messages and message source information of N notification messages into the large language model, grouping N notification messages according to message grouping conditions based on the message source information of N notification messages through the large language model, obtaining T message source groups, and each message source group includes P notification messages; T is a positive integer;

[0287] Extracting event elements of P notification messages in each message source group through the large language model, and outputting summary information of P notification messages in each message source group;

[0288] The message grouping condition includes any one of the following:

[0289] The notification messages in the same message source group are notification messages of the same application program;

[0290] The notification messages in the same message source group are notification messages sent by a contact with the same contact label in the same application program;

[0291] The notification messages in the same message source group are notification messages sent by a contact with the same contact label in different application programs.

[0292] In this embodiment of the application, N notification messages and their source information can be input into a large language model. Based on the source information of the N notification messages, the N notification messages are grouped according to the message grouping conditions to obtain T message source groups, and each message source group includes P notification messages.

[0293] For example, notification messages from the same application can be grouped as a single message source. Similarly, notification messages sent by contacts with the same contact tag within the same application can be grouped as a single message source. Furthermore, notification messages sent by contacts with the same contact tag from different applications can also be grouped as a single message source. The specific settings depend on your actual needs and are not limited here.

[0294] This allows us to retrieve P notification messages from each message source group after grouping. In other words, a message source group can contain one notification message or multiple notification messages.

[0295] By using a large language model, the event elements of P notification messages in each message source group can be extracted, and the summary information of P notification messages in each message source group can be output.

[0296] by Figure 6 For example, if a message source group contains P notification messages, where P=3, the P notification messages include message 1: "Manager A: There are some problems with the market research data from last week, especially regarding channel sales and inventory of suppliers, there are discrepancies", message 2: "Manager A: Could you please organize the relevant colleagues to do a data verification and submit it to me after verification", message 3: "Assistant B: There will be a department meeting this afternoon to summarize and exchange last month's business situation. I need you to prepare a business report in PPT format and send it to me before the meeting", and message 4: "Team Leader C: Remember to send me your weekly work report before you leave work on Friday".

[0297] Multiple notification messages can be summarized into a single summary message: "Market research data needs to be verified; prepare the business report PPT before the meeting; submit the weekly work report before the end of the workday on Friday."

[0298] For example, if a message source group includes one notification message, the notification message can be "Dear user: Hello! B company has arranged for you to have a physical examination at A hospital. The physical examination is scheduled for June 20, 2025, and you must arrive at the hospital physical examination center by 11:00 am. In order to ensure the accuracy of the physical examination results, please maintain a normal diet for three days before the physical examination, and strictly avoid drinking, staying up late, and strenuous exercise. On the day of the physical examination, you need to come on an empty stomach, and do not eat breakfast, because some physical examination items, such as liver function and blood sugar, will be affected after eating. We look forward to your timely participation in the physical examination and let us together escort your health! A hospital".

[0299] The notification message can be summarized as a summary information: "A company arranges you to have a physical examination at B hospital on June 20, and please pay attention to the matters before the physical examination".

[0300] In this way, the message source information is grouped first, and then one or more notification messages in the same message source group are jointly analyzed to extract event elements, so that the relevance between the notification messages in the same message source group can be recognized, and more coherent and comprehensive summary information can be generated.

[0301] In some embodiments of the present application, optionally, after the summary information and the notification summary identifier are displayed, the method can further include:

[0302] receiving a fourth input of the summary information;

[0303] in response to the fourth input, displaying message content of P notification messages corresponding to the summary information.

[0304] In the embodiments of the present application, the fourth input of the summary information can be received. The fourth input can be an input for triggering the display of the full message content of the notification messages corresponding to the summary information.

[0305] The fourth input can be a click input of the summary information by the user, or a voice instruction input by the user, or a specific gesture input by the user, which can be determined according to actual use requirements, and the embodiments of the present application are not limited thereto. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, and can also be a long-press input or a short-press input.

[0306] As shown in FIGS. 6 and 7, in response to the sixth input, the message content of the P notification messages corresponding to the summary information can be displayed. Figure 7 Figure 8

[0307] ​​For example, as shown in Figure 6 and Figure 7 , the user clicks on the summary information "Market research data needs to be checked; Prepare the operation report PPT before the meeting; Submit the work weekly report before leaving work on Friday", the full message content of the multiple notification messages 701 corresponding to the summary information can be displayed, including message 1: "Manager A: There are some problems with the market research data last week, especially regarding the channel sales and inventory of suppliers", message 2: "Manager A: You work hard and organize relevant classmates to do a data check, and submit it to me after checking", message 3: "Assistant B: In the afternoon, a department meeting will be held to summarize and exchange the operation of last month, you need to prepare an operation report material in the form of PPT and send it to me before the meeting", and message 4: "Group leader C: Remember to send your work weekly report to me before leaving work on Friday".

[0308] For another example, as shown in Figure 6 and Figure 8 , the user clicks on the summary information "A company arranges you to have a physical examination in B hospital on June 20, please pay attention to the matters before the physical examination", the full message content of the notification message 801 corresponding to the summary information can be displayed "Dear user: Hello! A hospital arranges a physical examination for you. The physical examination time is scheduled for June 20, 2025, please arrive at the hospital physical examination center before 11:00 in the morning. In order to ensure the accuracy of the physical examination results, please maintain normal diet and strictly avoid drinking, staying up late and strenuous exercise three days before the physical examination. You need to come to the hospital on an empty stomach on the day of the physical examination, do not eat breakfast, because some physical examination items, such as liver function, blood sugar, etc., will affect the test results. I hope you will come to the physical examination on time, let us together for your health! A hospital".

[0309] In this way, the full message content of the notification message corresponding to the summary information can be directly displayed through simple operation, and the user will not be unable to trace back to the original notification message because the summary information may lose detailed information, ensuring the completeness and accessibility of the information.

[0310] In some embodiments of the present application, optionally, before outputting the summary information of the P notification messages by the large language model, the method can further include:

[0311] displaying a notification message management interface; the notification message management interface includes an important notification function control and a notification summary function control;

[0312] in response to a fifth input to the important notification function control, displaying a first function setting interface; the first function setting interface includes a first switch control and a second switch control, the first switch control is used to set the opening and closing of the important notification intelligent display function, and the second switch control is used to set the starting and closing of the large language model;

[0313] In response to the sixth input to the first switch control and the second switch control, the important notification intelligent display function and the large language model are started.

[0314] In the embodiments of the present application, in order to protect the privacy of the user, before the notification message is intelligently displayed by the large language model, the corresponding function needs to be started first. As shown in Figure 9 The notification message management interface 900 can be displayed, and the notification message management interface 900 includes an important notification function control 901 and a notification summary function control 902. The important notification function control 901 can be a control related to the important notification intelligent display function, for example, the content displayed on the important notification function control 901 can be "important notification". The notification summary function control 902 can be a control related to the notification intelligent summary function, for example, the content displayed on the notification summary function control 902 can be "notification summary".

[0315] The fifth input to the important notification function control 901 can be received. The fifth input can be an input for triggering the display of a setting interface corresponding to the important notification intelligent display function, that is, a first function setting interface.

[0316] The fifth input can be a click input of the user to the important notification function control, or a voice instruction input by the user, or a specific gesture input by the user, which can be determined according to actual use requirements, and the embodiments of the present application do not limit this. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiments of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long-press input or a short-press input.

[0317] As shown in Figure 10 In response to the fifth input, the first function setting interface 1000 can be displayed. The first function setting interface 1000 can include a first switch control 1001 and a second switch control 1002. The first switch control 1001 is used to set the opening and closing of the important notification intelligent display function, and the second switch control 1002 is used to set the starting and closing of the large language model.

[0318] The sixth input to the first switch control 1001 and the second switch control 1002 can be received. The sixth input can be an input for triggering the starting of the important notification intelligent display function and the large language model.

[0319] The sixth input can be a user's click input on the first switch control and the second switch control, or a voice instruction input by the user, or a specific gesture input by the user, which can be determined according to actual use requirements, and the embodiments of the present application do not make any limitation in this regard. The specific gesture in the embodiments of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture. The click input in the embodiments of the present application can be a single-click input, a double-click input, or a click input of any number of times, and can also be a long-press input or a short-press input.

[0320] In response to the sixth input, the important notification intelligent display function and the large language model can be started. In this way, after the electronic device receives the notification message, the large language model can be started to perform voice recognition on the notification message, and output a message importance judgment result.

[0321] For example, the user can click the "important notification" control to open the "important notification" setting interface, and then the "important notification" function can be opened. After the user opens the function, it can be determined whether the "text document processing large model" switch has been opened by the user. If the "text document processing large model" switch has been opened, the large language model can be started to determine whether the notification message is an important notification. If the "text document processing large model" switch has not been opened, the user is prompted to open the "text document processing large model".

[0322] In this way, through the notification message management interface, the first switch control and the second switch control, the user can autonomously determine whether to start the important notification intelligent display function and the large language model, thereby improving the flexibility of notification message processing. The starting of the important notification intelligent display function and the large language model are controlled separately, thereby enhancing the flexibility and understandability of system configuration.

[0323] In some embodiments of the present application, after the notification message management interface is displayed, the method further includes:

[0324] In response to a seventh input on the notification summary function control, a second function setting interface is displayed; the second function setting interface includes a third switch control and a fourth switch control, the third switch control is used to set the opening and closing of the notification intelligent summary function, and the fourth switch control is used to set the starting and closing of the large language model;

[0325] In response to an eighth input on the third switch control and the fourth switch control, the notification intelligent summary function and the large language model are started.

[0326] In the embodiments of the present application, in order to protect the privacy of the user, before the event elements of the notification message are extracted by the large language model and the summary information is output, the corresponding function needs to be started first. As described above, as shown in FIG. 9, the notification message management interface 900 can further include a notification summary function control 902. Figure 9 ​

[0327] It can receive a seventh input to the notification summary function control 902. The seventh input can be the input used to trigger the display of the settings interface corresponding to the notification intelligent summary function, i.e., the second function settings interface.

[0328] The seventh input can be: a user's click on the notification summary function control, a voice command input by the user, or a specific gesture input by the user. The specific gesture can be determined according to actual usage needs, and this application embodiment does not limit this. The specific gesture in this application embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. The click input in this application embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input.

[0329] like Figure 11 As shown, in response to the seventh input, a second function settings interface 1100 can be displayed. The second function settings interface 1100 may include a third switch control 1101 and a fourth switch control 1102. The third switch control 1101 is used to set the notification intelligent summary function to be turned on and off, and the fourth switch control 1102 is used to set the large language model to be turned on and off.

[0330] It can receive an eighth input to the third switch control 1101 and the fourth switch control 1102. The eighth input can be used to trigger the intelligent summary function of the startup notification and the large language model.

[0331] The eighth input can be: a user's click input on the third and fourth switch controls, a voice command input by the user, or a specific gesture input by the user. The specific gesture can be determined according to actual usage needs, and this application embodiment does not limit this. The specific gesture in this application embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. The click input in this application embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input.

[0332] In response to the eighth input, the notification intelligent summary function and the large language model can be activated. Thus, after an electronic device receives an important notification message, the large language model can be activated to extract the event elements of the notification message and output summary information.

[0333] For example, a user can click the "Notification Summary" control to open the "Notification Summary" settings interface, and then enable the "Notification Summary" function. After the user enables this function, the system can determine whether the user has enabled the "Text Document Processing Big Model" switch. If it is enabled, the system can start generating a summary message for the notification message using the language big model. If it is not enabled, the system will prompt the user to enable the "Text Document Processing Big Model".

[0334] In some examples, the first function setting interface and the second function setting interface can also share the same interface, where the second switch control and the fourth switch control can be the same control, without specific limitations here.

[0335] In this way, through the notification message management interface, the third switch control, and the fourth switch control, users can independently decide whether to activate the intelligent notification summary function and the large language model, improving the flexibility of notification message processing. Furthermore, separating the intelligent notification summary function from the large language model that supports its operation enhances the flexibility and understandability of system configuration.

[0336] Optionally, in some embodiments of this application, when multiple notification messages are received, the multiple notification messages include a third notification message, and the message importance judgment result of the third notification message indicates that the third notification message is a non-important notification;

[0337] The method may also include:

[0338] On non-critical notification cards, display third-party notification messages.

[0339] In the embodiments of this application, such as Figure 2 As shown, non-important notifications, i.e., third notification messages 2021, can be displayed on non-important notification cards 202. For multiple third notification messages 2021, they can be displayed separately through multiple non-important notification cards 202, and multiple non-important notification cards 202 can be stacked to maintain the simplicity of the interface.

[0340] It is understandable that, in some examples, by taking advantage of the human eye’s visual habit of looking up first and then down, the important notification card 201 can be positioned above the non-important notification card 202, so that important notification messages can be noticed by users immediately.

[0341] This allows less important notifications to be displayed in a stacked manner on top of other less important notification cards, balancing the simplicity of the interface with the accessibility of less important notifications.

[0342] To facilitate understanding of the notification message display method provided in the above embodiments, the following describes the notification message display method using two specific scenario embodiments. Figure 12This is a schematic flowchart of a scenario embodiment of the notification message display method provided in this application.

[0343] like Figure 12 As shown, this scenario embodiment may specifically include the following steps:

[0344] Step 1201: Label multiple training samples to obtain the sample importance label for each training sample;

[0345] Step 1202: Based on multiple training samples and the sample importance label of each training sample, train the initial model to obtain the large language model;

[0346] Step 1203: Install the trained large language model on the electronic device;

[0347] Step 1204: In response to input to the important notification function control in the notification message management interface, display the first function setting interface including the first switch control and the second switch control, and in response to input to the first switch control and the second switch control, start the important notification intelligent display function and the large language model.

[0348] Step 1205: When the electronic device receives a notification message, the notification message is semantically recognized using a large language model, and the message importance judgment result is output.

[0349] Step 1206: Determine the importance of the message. Does the result indicate that the notification message is important? If yes, proceed to step 1207; otherwise, proceed to step 1209.

[0350] Step 1207: Display the notification message and important notification icon on the important notification card;

[0351] Step 1208: In response to input of an important notification card, display all important notifications;

[0352] Step 1209: Display the notification message on the non-important notification card.

[0353] Figure 13 This is a schematic flowchart of another scenario embodiment of the notification message display method provided in this application.

[0354] like Figure 13 As shown, this scenario embodiment may specifically include the following steps:

[0355] Step 1301: Obtain the message source information of the notification message;

[0356] Step 1302: Combine the notification message and its source information to train a large language model, enabling it to extract the event elements of the notification message and output a summary of the notification message for intelligent notification summarization.

[0357] Step 1303: Install the trained large language model on the electronic device;

[0358] Step 1304: In response to input to the notification summary function control in the notification message management interface, a second function setting interface including a third switch control and a fourth switch control is displayed, and in response to input to the third switch control and the fourth switch control, the notification intelligent summary function and the large language model are started.

[0359] Step 1305: If the notification message received by the electronic device is an important notification, extract the event elements of the notification message through a large language model and output the summary information of the notification message.

[0360] Step 1306: Display summary information and notification summary identifier;

[0361] Step 1307: In response to the input of summary information, display the message content of the notification message corresponding to the summary information.

[0362] In this way, the powerful semantic understanding capabilities of large language models can be leveraged to perform semantic recognition on notification messages, more accurately determining the importance of each message. This allows for the display of important notifications and their identifiers on key notification cards, enabling users to quickly view important notifications without having to search through numerous messages, thus improving the accessibility and efficiency of important notifications. Furthermore, the event element extraction capabilities of large language models can automatically extract core information from notification messages, forming concise summaries. Even with lengthy notifications, users can grasp the key points in a very short time, significantly improving information retrieval efficiency.

[0363] The notification message display method provided in this application can be executed by a notification message display device. This application uses the method of displaying notification messages by a notification message display device as an example to illustrate the notification message display device provided in this application.

[0364] like Figure 14 As shown, the notification message display device 1400 provided in this application embodiment may include:

[0365] Processing module 1401 is used to input the received notification message into the large language model and output the message importance judgment result of the notification message through the large language model;

[0366] Display module 1402 is used to display the notification message and an important notification identifier when the message importance judgment result indicates that the notification message is an important notification;

[0367] The important notification identifier is used to indicate that the notification message is an important notification.

[0368] In this way, the powerful semantic understanding capabilities of large language models can be leveraged to more accurately determine whether a notification is important or not. This allows for the display of notifications that are deemed important, along with an important notification identifier, so that users can quickly view important notifications without having to search through numerous notifications, thus improving the reach and efficiency of important notifications.

[0369] Optionally, in some embodiments of this application, the display module 1402 may also be used for:

[0370] The notification message and important notification icon are displayed on the important notification card.

[0371] By displaying important notifications in a structured manner through important notification cards, it is possible to more intuitively distinguish between important and unimportant notifications, thereby increasing the readability of notification messages.

[0372] Optionally, in some embodiments of this application, when N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1;

[0373] Display module 1402 can also be used for:

[0374] If N is greater than the number of messages threshold, display M notification messages, a first quantity indicator, and a message display control on the important notification card;

[0375] Among them, the number threshold is the maximum number of messages in the important notification card display area; M is a positive integer, M < N; the first quantity identifier is used to indicate the number of notification messages that are collapsed out of N notification messages excluding M notification messages; the message display control is used to trigger the display of the collapsed notification messages.

[0376] In this way, when the number of important notifications exceeds the threshold, only a portion of the important notifications can be displayed, while the remaining important notifications are collapsed, preventing the important notification card area from becoming cluttered due to too many notifications and improving the interface's simplicity. Simultaneously, a first quantity indicator showing the number of collapsed important notifications and a message display control showing the expanded collapsed important notifications are displayed are shown. This allows users to know how many important notifications are still collapsed and to expand the collapsed important notifications using the message display control, thus flexibly controlling the amount of notifications displayed.

[0377] Optionally, in some embodiments of this application, the notification message display device 1400 may further include:

[0378] The receiving module is used to receive the first input to the message display control;

[0379] Display module 1402 can also be used for:

[0380] In response to the first input, display N notification messages on N important notification cards respectively.

[0381] This allows users to expand and view currently collapsed important notifications with a single click, solving the problem of limited display space preventing the viewing of all important notifications. Simultaneously, users can quickly view all important notifications without leaving the current screen, improving user efficiency and ease of information access.

[0382] In some embodiments of this application, optionally, the important notification card display area includes at least one display sub-area;

[0383] When M is greater than 1, the display module 1402 can also be used for:

[0384] If K out of M notification messages are notification messages from the same application, the first notification message and the second quantity identifier are displayed in the first display sub-area; K is an integer greater than 1, and K≤M;

[0385] Wherein, the first display sub-area is any one of at least one display sub-area, the first notification message is the notification message with the latest message reception time among the K notification messages, and the second quantity identifier is used to indicate the number of messages among the K notification messages.

[0386] In this way, multiple important notification messages sent by the same application can be displayed in a collapsed manner, so that a large number of notification messages from the same application will not take up too much screen space and improve the simplicity of the interface.

[0387] Optionally, in some embodiments of this application, the notification message display device 1400 may further include:

[0388] The receiving module is used to receive a second input for the first notification message or the second quantity identifier;

[0389] Display module 1402 can also be used for:

[0390] In response to the second input, display K notification messages on K important notification cards respectively.

[0391] In this way, when multiple notification messages sent by the same application are displayed in a collapsed manner, the collapsed notification messages can be viewed with a simple operation. This maintains a clean interface with collapsed notification messages when the user does not need to view all notification messages, and allows for quick expansion when the user needs to view all notification messages, achieving a dynamic balance between interface simplicity and information integrity.

[0392] Optionally, in some embodiments of this application, the display area of ​​the important notification card includes at least one display sub-area; the M notification messages include a second notification message;

[0393] Display module 1402 can also be used for:

[0394] If the content of the second notification message exceeds the display range of the second display sub-area, then a portion of the content of the second notification message will be displayed in the second display sub-area.

[0395] Wherein, the second display sub-region is any one of at least one display sub-region, and the second notification message is any one of the M notification messages.

[0396] In this way, when the message content is too long, only part of the message content can be displayed, and notification messages of different lengths can be displayed adaptively, avoiding disruption of the card structure and maintaining the simplicity of the interface.

[0397] Optionally, in some embodiments of this application, the notification message display device 1400 may further include:

[0398] A receiving module is used to receive a third input in response to the second notification message;

[0399] Display module 1402 can also be used for:

[0400] In response to the third input, the full message content of the second notification message is displayed.

[0401] In this way, for notification messages that only display part of the message content, a convenient operation is provided to allow users to expand and view the full message content as needed. This maintains the simplicity of the interface when users do not need to view the full message content, and allows them to quickly expand and view the full message content when they need to, achieving a dynamic balance between interface simplicity and information completeness.

[0402] Optionally, in some embodiments of this application, the notification message display device 1400 may further include a model training module for:

[0403] Multiple training samples are labeled to obtain the sample importance label for each training sample. The sample importance label is used to indicate the message importance judgment result of the notification message sample. The training samples include the notification message sample and the application name corresponding to the notification message sample.

[0404] Based on multiple training samples and the importance labels of each training sample, an initial model is trained to obtain a large language model.

[0405] In this way, by training with real notification message samples and the corresponding application names, and labeling them as important notifications, the specially trained large language model is more adaptable and accurate in judging the importance of notification messages.

[0406] Optionally, in some embodiments of this application, the notification message display device 1400 may further include:

[0407] Assembly modules are used to install large language models into electronic devices.

[0408] This allows the trained large language model to be deployed directly on electronic devices, avoiding the need to upload sensitive user notification messages to cloud servers for processing, thus improving user privacy and data security. Furthermore, local model processing is faster than network requests, enabling quicker processing of notification messages.

[0409] Optionally, in some embodiments of this application, the processing module 1401 may also be used for:

[0410] If the message importance assessment result indicates that the received P notification messages are important notifications, the event elements of the P notification messages are extracted using a large language model, and summary information of the P notification messages is output; the summary information is used to summarize the message content of the P notification messages; P is a positive integer;

[0411] Display module 1402 can also be used for:

[0412] Display summary information and notification summary identifier; the notification summary identifier is used to indicate that the displayed content is a summary of the notification message;

[0413] The event elements include at least one of the following: event object, event content, event time, and event location.

[0414] In this way, by leveraging the event element extraction capabilities of the large language model, core information can be automatically extracted from notification messages to form concise summary information. Even when notification messages are lengthy, users can understand the core points of the notification message in a very short time, greatly improving information acquisition efficiency.

[0415] Optionally, in some embodiments of this application, the processing module 1401 may also be used for:

[0416] Determine the message source information for P notification messages;

[0417] Input P notification messages and their source information into a large language model. Then, extract the event elements of the P notification messages from the large language model and output a summary of the P notification messages.

[0418] The message source information includes at least one of the following: the application name of the application that sent the notification message, and the contact name of the contact who sent the notification message.

[0419] In this way, by inputting the source information of the message as important contextual information into the large language model, the large language model can more accurately understand the semantic background of the notification, thereby extracting more relevant and reliable event elements and improving the accuracy of the summary information.

[0420] Optionally, in some embodiments of this application, when N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1;

[0421] Processing module 1401 can also be used for:

[0422] Input N notification messages and their source information into the large language model. Based on the source information of the N notification messages, the large language model groups the N notification messages according to the message grouping conditions, resulting in T message source groups. Each message source group includes P notification messages; T is a positive integer.

[0423] Using a large language model, the event elements of P notification messages in each message source group are extracted, and the summary information of P notification messages in each message source group is output.

[0424] The message grouping conditions include any one of the following:

[0425] Notification messages in the same message source group are notification messages from the same application;

[0426] Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in the same application;

[0427] Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in different applications.

[0428] By first grouping messages according to their source information, and then jointly analyzing one or more notification messages in the same source group to extract event elements, the correlation between notification messages in the same source group can be identified, thereby generating more coherent and comprehensive summary information.

[0429] Optionally, in some embodiments of this application, the notification message display device 1400 may further include:

[0430] The receiving module is used to receive a fourth input of digest information;

[0431] The display module 1402 can also be used to display the message content of P notification messages corresponding to the summary information in response to the fourth input.

[0432] In this way, users can directly view the full message content of the notification message corresponding to the summary information through simple operations. Users will not be unable to trace the original notification message due to the possibility that the summary information may lose detailed information, thus ensuring the integrity and accessibility of the information.

[0433] Optionally, in some embodiments of this application, the display module 1402 may also be used for:

[0434] Displays the notification message management interface; the notification message management interface includes important notification function controls and notification summary function controls;

[0435] In response to the fifth input to the important notification function control, the first function setting interface is displayed; the first function setting interface includes a first switch control and a second switch control, the first switch control is used to set the intelligent display function of important notifications to be turned on and off, and the second switch control is used to set the large language model to be turned on and off;

[0436] Processing module 1401 can also be used for:

[0437] In response to the sixth input to the first and second switch controls, the important notification intelligent display function and the large language model are activated.

[0438] In this way, through the notification message management interface, the first switch control, and the second switch control, users can independently decide whether to activate the intelligent display function for important notifications and the large language model, improving the flexibility of notification message processing. Furthermore, separating the activation of the intelligent display function for important notifications from the large language model that supports its operation enhances the flexibility and understandability of system configuration.

[0439] Optionally, in some embodiments of this application, the display module 1402 may also be used for:

[0440] In response to the seventh input to the notification summary function control, the second function setting interface is displayed; the second function setting interface includes a third switch control and a fourth switch control, the third switch control is used to set the notification intelligent summary function to be turned on and off, and the fourth switch control is used to set the large language model to be turned on and off;

[0441] Processing module 1401 can also be used for:

[0442] In response to the eighth input to the third and fourth switch controls, the notification intelligent summary function and large language model are activated.

[0443] In this way, through the notification message management interface, the third switch control, and the fourth switch control, users can independently decide whether to activate the intelligent notification summary function and the large language model, improving the flexibility of notification message processing. Furthermore, separating the intelligent notification summary function from the large language model that supports its operation enhances the flexibility and understandability of system configuration.

[0444] Optionally, in some embodiments of this application, when multiple notification messages are received, the multiple notification messages include a third notification message, and the message importance judgment result of the third notification message indicates that the third notification message is a non-important notification;

[0445] Display module 1402 can also be used for:

[0446] On non-critical notification cards, display third-party notification messages.

[0447] This allows less important notifications to be displayed in a stacked manner on top of other less important notification cards, balancing the simplicity of the interface with the accessibility of less important notifications.

[0448] The notification message display device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0449] The notification message display device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0450] The notification message display device provided in this application embodiment can achieve... Figures 1 to 13 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0451] Optionally, such as Figure 15 As shown, this application embodiment also provides an electronic device 1500, including a processor 1501 and a memory 1502. The memory 1502 stores a program or instructions that can run on the processor 1501. When the program or instructions are executed by the processor 1501, they implement the various steps of the above-described notification message display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0452] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0453] Figure 16 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application.

[0454] The electronic device 1600 includes, but is not limited to, components such as: radio frequency unit 1601, network module 1602, audio output unit 1603, input unit 1604, sensor 1605, display unit 1606, user input unit 1607, interface unit 1608, memory 1609, and processor 1610.

[0455] Those skilled in the art will understand that the electronic device 1600 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1610 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 16 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0456] The processor 1610 is used to input the received notification message into the large language model and output the message importance judgment result of the notification message through the large language model;

[0457] Display unit 1606 is used to display the notification message and an important notification identifier when the message importance judgment result indicates that the notification message is an important notification;

[0458] The important notification identifier is used to indicate that the notification message is an important notification.

[0459] In this way, the powerful semantic understanding capabilities of large language models can be leveraged to more accurately determine whether a notification is important or not. This allows for the display of notifications that are deemed important, along with an important notification identifier, so that users can quickly view important notifications without having to search through numerous notifications, thus improving the reach and efficiency of important notifications.

[0460] Optionally, in some embodiments of this application, the display unit 1606 may also be used for:

[0461] The notification message and important notification icon are displayed on the important notification card.

[0462] By displaying important notifications in a structured manner through important notification cards, it is possible to more intuitively distinguish between important and unimportant notifications, thereby increasing the readability of notification messages.

[0463] Optionally, in some embodiments of this application, when N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1;

[0464] The display unit 1606 can also be used for:

[0465] If N is greater than the number of messages threshold, display M notification messages, a first quantity indicator, and a message display control on the important notification card;

[0466] Among them, the number threshold is the maximum number of messages in the important notification card display area; M is a positive integer, M < N; the first quantity identifier is used to indicate the number of notification messages that are collapsed out of N notification messages excluding M notification messages; the message display control is used to trigger the display of the collapsed notification messages.

[0467] In this way, when the number of important notifications exceeds the threshold, only a portion of the important notifications can be displayed, while the remaining important notifications are collapsed, preventing the important notification card area from becoming cluttered due to too many notifications and improving the interface's simplicity. Simultaneously, a first quantity indicator showing the number of collapsed important notifications and a message display control showing the expanded collapsed important notifications are displayed are shown. This allows users to know how many important notifications are still collapsed and to expand the collapsed important notifications using the message display control, thus flexibly controlling the amount of notifications displayed.

[0468] Optionally, in some embodiments of this application, the user input unit 1607 is configured to receive a first input to the message display control;

[0469] The display unit 1606 can also be used for:

[0470] In response to the first input, display N notification messages on N important notification cards respectively.

[0471] This allows users to expand and view currently collapsed important notifications with a single click, solving the problem of limited display space preventing the viewing of all important notifications. Simultaneously, users can quickly view all important notifications without leaving the current screen, improving user efficiency and ease of information access.

[0472] In some embodiments of this application, optionally, the important notification card display area includes at least one display sub-area;

[0473] When M is greater than 1, display unit 1606 can also be used for:

[0474] If K out of M notification messages are notification messages from the same application, the first notification message and the second quantity identifier are displayed in the first display sub-area; K is an integer greater than 1, and K≤M;

[0475] Wherein, the first display sub-area is any one of at least one display sub-area, the first notification message is the notification message with the latest message reception time among the K notification messages, and the second quantity identifier is used to indicate the number of messages among the K notification messages.

[0476] In this way, multiple important notification messages sent by the same application can be displayed in a collapsed manner, so that a large number of notification messages from the same application will not take up too much screen space and improve the simplicity of the interface.

[0477] Optionally, in some embodiments of this application, the user input unit 1607 is configured to receive a second input for the first notification message or the second quantity identifier;

[0478] The display unit 1606 can also be used for:

[0479] In response to the second input, display K notification messages on K important notification cards respectively.

[0480] In this way, when multiple notification messages sent by the same application are displayed in a collapsed manner, the collapsed notification messages can be viewed with a simple operation. This maintains a clean interface with collapsed notification messages when the user does not need to view all notification messages, and allows for quick expansion when the user needs to view all notification messages, achieving a dynamic balance between interface simplicity and information integrity.

[0481] Optionally, in some embodiments of this application, the display area of ​​the important notification card includes at least one display sub-area; the M notification messages include a second notification message;

[0482] The display unit 1606 can also be used for:

[0483] If the content of the second notification message exceeds the display range of the second display sub-area, then a portion of the content of the second notification message will be displayed in the second display sub-area.

[0484] Wherein, the second display sub-region is any one of at least one display sub-region, and the second notification message is any one of the M notification messages.

[0485] In this way, when the message content is too long, only part of the message content can be displayed, and notification messages of different lengths can be displayed adaptively, avoiding disruption of the card structure and maintaining the simplicity of the interface.

[0486] In some embodiments of this application, optionally, the user input unit 1607 is configured to receive a third input to the second notification message;

[0487] The display unit 1606 can also be used for:

[0488] In response to the third input, the full message content of the second notification message is displayed.

[0489] In this way, for notification messages that only display part of the message content, a convenient operation is provided to allow users to expand and view the full message content as needed. This maintains the simplicity of the interface when users do not need to view the full message content, and allows them to quickly expand and view the full message content when they need to, achieving a dynamic balance between interface simplicity and information completeness.

[0490] In some embodiments of this application, optionally, the processor 1610 may also be used for:

[0491] Multiple training samples are labeled to obtain the sample importance label for each training sample. The sample importance label is used to indicate the message importance judgment result of the notification message sample. The training samples include the notification message sample and the application name corresponding to the notification message sample.

[0492] Based on multiple training samples and the importance labels of each training sample, an initial model is trained to obtain a large language model.

[0493] In this way, by training with real notification message samples and the corresponding application names, and labeling them as important notifications, the specially trained large language model is more adaptable and accurate in judging the importance of notification messages.

[0494] In some embodiments of this application, optionally, the processor 1610 may also be used for:

[0495] Install large language models into electronic devices.

[0496] This allows the trained large language model to be deployed directly on electronic devices, avoiding the need to upload sensitive user notification messages to cloud servers for processing, thus improving user privacy and data security. Furthermore, local model processing is faster than network requests, enabling quicker processing of notification messages.

[0497] In some embodiments of this application, optionally, the processor 1610 may also be used for:

[0498] If the message importance assessment result indicates that the received P notification messages are important notifications, the event elements of the P notification messages are extracted using a large language model, and summary information of the P notification messages is output; the summary information is used to summarize the message content of the P notification messages; P is a positive integer;

[0499] The display unit 1606 can also be used for:

[0500] Display summary information and notification summary identifier; the notification summary identifier is used to indicate that the displayed content is a summary of the notification message;

[0501] The event elements include at least one of the following: event object, event content, event time, and event location.

[0502] In this way, by leveraging the event element extraction capabilities of the large language model, core information can be automatically extracted from notification messages to form concise summary information. Even when notification messages are lengthy, users can understand the core points of the notification message in a very short time, greatly improving information acquisition efficiency.

[0503] In some embodiments of this application, optionally, the processor 1610 may also be used for:

[0504] Determine the message source information for P notification messages;

[0505] Input P notification messages and their source information into a large language model. Then, extract the event elements of the P notification messages from the large language model and output a summary of the P notification messages.

[0506] The message source information includes at least one of the following: the application name of the application that sent the notification message, and the contact name of the contact who sent the notification message.

[0507] In this way, by inputting the source information of the message as important contextual information into the large language model, the large language model can more accurately understand the semantic background of the notification, thereby extracting more relevant and reliable event elements and improving the accuracy of the summary information.

[0508] Optionally, in some embodiments of this application, when N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1;

[0509] The 1610 processor can also be used for:

[0510] Input N notification messages and their source information into the large language model. Based on the source information of the N notification messages, the large language model groups the N notification messages according to the message grouping conditions, resulting in T message source groups. Each message source group includes P notification messages; T is a positive integer.

[0511] Using a large language model, the event elements of P notification messages in each message source group are extracted, and the summary information of P notification messages in each message source group is output.

[0512] The message grouping conditions include any one of the following:

[0513] Notification messages in the same message source group are notification messages from the same application;

[0514] Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in the same application;

[0515] Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in different applications.

[0516] By first grouping messages according to their source information, and then jointly analyzing one or more notification messages in the same source group to extract event elements, the correlation between notification messages in the same source group can be identified, thereby generating more coherent and comprehensive summary information.

[0517] Optionally, in some embodiments of this application, the user input unit 1607 is configured to receive a fourth input of summary information;

[0518] The display unit 1606 can also be used to display the message content of P notification messages corresponding to the summary information in response to the fourth input.

[0519] In this way, users can directly view the full message content of the notification message corresponding to the summary information through simple operations. Users will not be unable to trace the original notification message due to the possibility that the summary information may lose detailed information, thus ensuring the integrity and accessibility of the information.

[0520] Optionally, in some embodiments of this application, the display unit 1606 may also be used for:

[0521] Displays the notification message management interface; the notification message management interface includes important notification function controls and notification summary function controls;

[0522] In response to the fifth input to the important notification function control, the first function setting interface is displayed; the first function setting interface includes a first switch control and a second switch control, the first switch control is used to set the intelligent display function of important notifications to be turned on and off, and the second switch control is used to set the large language model to be turned on and off;

[0523] The 1610 processor can also be used for:

[0524] In response to the sixth input to the first and second switch controls, the important notification intelligent display function and the large language model are activated.

[0525] In this way, through the notification message management interface, the first switch control, and the second switch control, users can independently decide whether to activate the intelligent display function for important notifications and the large language model, improving the flexibility of notification message processing. Furthermore, separating the activation of the intelligent display function for important notifications from the large language model that supports its operation enhances the flexibility and understandability of system configuration.

[0526] Optionally, in some embodiments of this application, the display unit 1606 may also be used for:

[0527] In response to the seventh input to the notification summary function control, the second function setting interface is displayed; the second function setting interface includes a third switch control and a fourth switch control, the third switch control is used to set the notification intelligent summary function to be turned on and off, and the fourth switch control is used to set the large language model to be turned on and off;

[0528] The 1610 processor can also be used for:

[0529] In response to the eighth input to the third and fourth switch controls, the notification intelligent summary function and large language model are activated.

[0530] In this way, through the notification message management interface, the third switch control, and the fourth switch control, users can independently decide whether to activate the intelligent notification summary function and the large language model, improving the flexibility of notification message processing. Furthermore, separating the intelligent notification summary function from the large language model that supports its operation enhances the flexibility and understandability of system configuration.

[0531] Optionally, in some embodiments of this application, when multiple notification messages are received, the multiple notification messages include a third notification message, and the message importance judgment result of the third notification message indicates that the third notification message is a non-important notification;

[0532] The display unit 1606 can also be used for:

[0533] On non-critical notification cards, display third-party notification messages.

[0534] This allows less important notifications to be displayed in a stacked manner on top of other less important notification cards, balancing the simplicity of the interface with the accessibility of less important notifications.

[0535] It should be understood that, in this embodiment, the input unit 1604 may include a graphics processing unit (GPU) 16041 and a microphone 16042. The GPU 16041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1606 may include a display panel 16061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1607 includes at least one of a touch panel 16071 and other input devices 16072. The touch panel 16071 is also called a touch screen. The touch panel 16071 may include a touch detection device and a touch controller. Other input devices 16072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0536] The memory 1609 can be used to store software programs and various data. The memory 1609 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1609 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1609 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0537] Processor 1610 may include one or more processing units; optionally, processor 1610 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1610.

[0538] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described notification message display method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0539] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0540] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described notification message display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0541] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0542] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the notification message display method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0543] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0544] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0545] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A method for displaying notification messages, characterized in that, The method includes: The received notification message is input into the large language model, and the large language model outputs the message importance judgment result of the notification message; If the message importance determination result indicates that the notification message is an important notification, the notification message and the important notification identifier are displayed; The important notification identifier is used to indicate that the notification message is an important notification.

2. The method according to claim 1, characterized in that, The display of the notification message and important notification identifier includes: The notification message and the important notification icon are displayed on the important notification card.

3. The method according to claim 2, characterized in that, When N notification messages are received, the message importance judgment results of the N notification messages indicate that the N notification messages are important notifications; N is an integer greater than 1; The display of the notification message and important notification identifier on the important notification card includes: If N is greater than the number of messages threshold, M notification messages, a first quantity identifier, and a message display control are displayed on the important notification card. Wherein, the number threshold is the maximum number of messages in the display area of ​​the important notification card; M is a positive integer, M < N; the first quantity identifier is used to indicate the number of notification messages that are collapsed and displayed out of the N notification messages excluding the M notification messages; and the message display control is used to trigger the display of the collapsed notification messages.

4. The method according to claim 3, characterized in that, After displaying M notification messages, a first quantity identifier, and a message display control on the important notification card, the method further includes: Receive the first input to the message display control; In response to the first input, the N notification messages are displayed on the N important notification cards respectively.

5. The method according to claim 3, characterized in that, The important notification card display area includes at least one display sub-area; When M is greater than 1, displaying M notification messages on the important notification card includes: If K out of the M notification messages are notification messages from the same application, the first notification message and the second quantity identifier will be displayed in the first display sub-area; K is an integer greater than 1, and K≤M; Wherein, the first display sub-region is any one of the at least one display sub-regions, the first notification message is the notification message with the latest message reception time among the K notification messages, and the second quantity identifier is used to indicate the number of messages in the K notification messages.

6. The method according to claim 5, characterized in that, After displaying the first notification message and the second quantity identifier in the first display sub-area, the method further includes: Receive a second input for the first notification message or the second quantity identifier; In response to the second input, the K notification messages are displayed on the K important notification cards respectively.

7. The method according to any one of claims 3 to 6, characterized in that, The display area of ​​the important notification card includes at least one display sub-area; the M notification messages include a second notification message; The method of displaying M notification messages on the important notification card includes: If the content of the second notification message exceeds the display range of the second display sub-area, then a portion of the content of the second notification message will be displayed in the second display sub-area. Wherein, the second display sub-region is any one of the at least one display sub-regions, and the second notification message is any one of the M notification messages.

8. The method according to claim 7, characterized in that, After displaying a portion of the message content of the second notification message in the second display sub-area, the method further includes: Receive a third input to the second notification message; In response to the third input, the full message content of the second notification message is displayed.

9. The method according to claim 1, characterized in that, Before inputting the received notification message into the large language model and outputting the message importance judgment result of the notification message through the large language model, the method further includes: Multiple training samples are labeled to obtain a sample importance label for each training sample. The sample importance label is used to indicate the message importance judgment result of the notification message sample. The training samples include the notification message sample and the application name corresponding to the notification message sample. Based on the multiple training samples and the sample importance label of each training sample, an initial model is trained to obtain a large language model.

10. The method according to claim 9, characterized in that, After training the initial model based on the multiple training samples and the sample importance label of each training sample to obtain the large language model, the method further includes: The large language model is installed in the electronic device.

11. The method according to claim 1, characterized in that, When the message importance determination result indicates that the notification message is an important notification, displaying the notification message includes: If the message importance determination result indicates that the received P notification messages are important notifications, the event elements of the P notification messages are extracted using the large language model, and summary information of the P notification messages is output; the summary information is used to summarize the message content of the P notification messages; P is a positive integer; Display the summary information and the notification summary identifier; the notification summary identifier is used to indicate that the displayed content is the summary information of the notification message; The event elements include at least one of the following: event object, event content, event time, and event location.

12. The method according to claim 11, characterized in that, The step of extracting event elements from the P notification messages using the large language model and outputting summary information for the P notification messages includes: Determine the message source information of the P notification messages; The P notification messages and their message source information are input into the large language model. The event elements of the P notification messages are extracted through the large language model, and the summary information of the P notification messages is output. The message source information includes at least one of the following: the application name of the application that sent the notification message, and the contact name of the contact who sent the notification message.

13. The method according to claim 12, characterized in that, When N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1; The process involves inputting the P notification messages and their message source information into the large language model, extracting the event elements of the P notification messages using the large language model, and outputting a summary of the P notification messages, including: The N notification messages and their source information are input into the large language model. Based on the source information of the N notification messages, the large language model groups the N notification messages according to the message grouping conditions to obtain T message source groups. Each message source group includes P notification messages; T is a positive integer. Using the large language model, the event elements of P notification messages in each message source group are extracted, and the summary information of P notification messages in each message source group is output. The message grouping conditions include any one of the following: Notification messages in the same message source group are notification messages from the same application; Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in the same application; Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in different applications.

14. The method according to any one of claims 11 to 13, characterized in that, After displaying the summary information and the notification summary identifier, the method further includes: Receive a fourth input regarding the summary information; In response to the fourth input, the message content of the P notification messages corresponding to the summary information is displayed.

15. The method according to claim 11, characterized in that, Before extracting event elements from the P notification messages using the large language model and outputting summary information of the P notification messages, the method further includes: Displays a notification message management interface; the notification message management interface includes important notification function controls and notification summary function controls; In response to a fifth input to the important notification function control, a first function setting interface is displayed; the first function setting interface includes a first switch control and a second switch control, the first switch control is used to set the intelligent display function of important notifications to be turned on and off, and the second switch control is used to set the large language model to be turned on and off; In response to a sixth input to the first switch control and the second switch control, the important notification intelligent display function and the large language model are activated.

16. The method according to claim 15, characterized in that, Following the display of the notification message management interface, the system also includes: In response to the seventh input to the notification summary function control, a second function setting interface is displayed; the second function setting interface includes a third switch control and a fourth switch control, the third switch control is used to set the notification intelligent summary function to be turned on and off, and the fourth switch control is used to set the large language model to be turned on and off; In response to an eighth input to the third switch control and the fourth switch control, the notification intelligent summary function and the large language model are activated.

17. The method according to claim 2, characterized in that, In the case of receiving multiple notification messages, the multiple notification messages include a third notification message, and the message importance judgment result of the third notification message indicates that the third notification message is a non-important notification; The method further includes: The third notification message is displayed on a non-essential notification card.

18. A notification message display device, characterized in that, The device includes: The processing module is used to input the received notification message into the large language model and output the message importance judgment result of the notification message through the large language model; The display module is used to display the notification message and an important notification identifier when the message importance determination result indicates that the notification message is an important notification; The important notification identifier is used to indicate that the notification message is an important notification.

19. The apparatus according to claim 18, characterized in that, The display module is also used for: The notification message and the important notification icon are displayed on the important notification card.

20. The apparatus according to claim 19, characterized in that, When N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1; The display module is also used for: If N is greater than the number of messages threshold, M notification messages, a first quantity identifier, and a message display control are displayed on the important notification card. Wherein, the number threshold is the maximum number of messages in the display area of ​​the important notification card; M is a positive integer, M < N; the first quantity identifier is used to indicate the number of notification messages that are collapsed and displayed out of the N notification messages excluding the M notification messages; and the message display control is used to trigger the display of the collapsed notification messages.

21. The apparatus according to claim 18, characterized in that, The processing module is further configured to: If the message importance determination result indicates that the received P notification messages are important notifications, the event elements of the P notification messages are extracted using the large language model, and summary information of the P notification messages is output; the summary information is used to summarize the message content of the P notification messages; P is a positive integer; The display module is also used for: Display the summary information and the notification summary identifier; the notification summary identifier is used to indicate that the displayed content is the summary information of the notification message; The event elements include at least one of the following: event object, event content, event time, and event location.

22. The apparatus according to claim 21, characterized in that, The processing module is further configured to: Determine the message source information of the P notification messages; The P notification messages and their message source information are input into the large language model. The event elements of the P notification messages are extracted through the large language model, and the summary information of the P notification messages is output. The message source information includes at least one of the following: the application name of the application that sent the notification message, and the contact name of the contact who sent the notification message.

23. The apparatus according to claim 22, characterized in that, When N notification messages are received, the message importance judgment result of the N notification messages indicates that the N notification messages are important notifications; N is an integer greater than 1; The processing module is further configured to: The N notification messages and their source information are input into the large language model. Based on the source information of the N notification messages, the N notification messages are grouped according to the message grouping conditions to obtain T message source groups, each of which includes P notification messages. T is a positive integer; Using the large language model, the event elements of P notification messages in each message source group are extracted, and the summary information of P notification messages in each message source group is output. The message grouping conditions include any one of the following: Notification messages in the same message source group are notification messages from the same application; Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in the same application; Notification messages in the same message source group are notification messages sent by contacts with the same contact tag in different applications.

24. The apparatus according to any one of claims 21 to 23, characterized in that, The device further includes: The receiving module is used to receive a fourth input of the summary information; The display module is also configured to, in response to the fourth input, display the message content of the P notification messages corresponding to the summary information.

25. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the method as described in any one of claims 1-17.