Notification message display method and electronic equipment

Through the display method of aggregating and updating notification messages, the problem of too many notification messages in electronic devices is solved, and the user can quickly find notification messages and improve human-computer interaction efficiency is achieved.

CN119440320APending Publication Date: 2025-02-14HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310978111.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-03
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

There are too many SystemUI notification messages in electronic devices, making it difficult for users to quickly find the required notification messages, resulting in low human-computer interaction efficiency.

Method used

Provide a method of displaying notification messages, by aggregating multiple real-time progress notification messages for a service, updating the first real-time progress notification message to the second real-time progress notification message, reducing the number of displayed items and improving the simplicity of the interface.

Benefits of technology

Users can quickly find the required real-time progress notification messages, improve human-computer interaction efficiency, and make the display interface simpler.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440320A_ABST
    Figure CN119440320A_ABST
Patent Text Reader

Abstract

The invention discloses a notification message display method and electronic equipment, and relates to the technical field of terminals, according to the method, a plurality of real-time progress notification messages of one service are aggregated and displayed according to a real-time progress notification message template, the display number of the real-time progress notification messages is reduced, the real-time progress notification messages are displayed by adopting a unified template, and a display interface is cleaner. According to the method, real-time progress notification messages and non-real-time progress notification messages are displayed in different regions, important messages and non-important messages in the non-real-time progress notification messages are displayed in different regions, the important notification messages are displayed above an interface, multiple notification messages are displayed in order, a user can quickly find the needed notification messages, and the user experience is improved. And the man-machine interaction efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a method for displaying a notification message and an electronic device. Background Art

[0002] System UI (system user interface, SystemUI) notification messages can be displayed in the status bar or drop-down notification panel of the electronic device. The status bar or drop-down notification panel displays SystemUI notification messages to convey important system messages or application messages in an intuitive way, and is the main channel for system applications and ecological applications to actively interact with users in real time.

[0003] In the related art, there are many SystemUI notification messages in electronic devices, and it is difficult for users to quickly find the required notification messages, resulting in low human-computer interaction efficiency. Summary of the invention

[0004] The present application provides a method for displaying notification messages and an electronic device, which can aggregate and display multiple real-time progress notification messages of a business, so that users can quickly find the required real-time progress notification messages, thereby improving the efficiency of human-computer interaction.

[0005] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:

[0006] In a first aspect, the present application provides a method for displaying a notification message, the method comprising: obtaining a first real-time progress notification message parameter; displaying the first real-time progress notification message according to the first real-time progress notification message parameter; obtaining a second real-time progress notification message parameter; updating the first real-time progress notification message according to the second real-time progress notification message parameter and displaying it as a second real-time progress notification message.

[0007] In this way, multiple real-time progress notification messages are displayed in an aggregated manner, which reduces the number of displayed real-time progress notification messages, makes the display interface more concise, and allows users to quickly find the real-time progress notification messages they need, thereby improving human-computer interaction efficiency.

[0008] For example, take a takeaway notification message as an example. Fig.14 As shown in (a), after the rider accepts the order, the first real-time progress notification message 1002 is displayed, indicating that the rider has accepted the order and is rushing to the merchant. Fig.14 As shown in (b), after the rider picks up the food, a second real-time progress notification message 1002' is displayed, indicating that the rider has picked up the food and is rushing to the user. The second real-time progress notification message 1002' is updated based on the first real-time progress notification message 1002.

[0009] For example, take a takeaway notification message as an example. Fig.23 As shown in (a), after the rider accepts the order, the first real-time progress notification message 2005 is displayed, indicating that the rider has accepted the order and is rushing to the merchant. After the rider picks up the takeaway, the second real-time progress notification message 2005' is displayed, indicating that the rider has picked up the takeaway and is rushing to the user. The second real-time progress notification message 2005' is updated based on the first real-time progress notification message 2005.

[0010] In a possible implementation, the method further includes: displaying a second real-time progress notification message according to the first real-time progress notification message parameter and the second real-time progress notification message parameter. In this way, the second real-time progress notification message includes the content of the first real-time progress notification message parameter and the second real-time progress notification message parameter, and the user can obtain part of the content of the first real-time progress notification message and the historical status of the real-time progress notification message through the second real-time progress notification message, and better understand the content of the second real-time progress notification message.

[0011] For example, take a takeaway notification message as an example. Fig.14 As shown in (b), after the rider picks up the takeaway, a second real-time progress notification message 1002' is displayed. The expansion area 1006' in the second real-time progress notification message 1002' also includes the rider's historical status from the rider having received the order to the merchant time.

[0012] In a possible implementation, updating the first real-time progress notification message to the second real-time progress notification message includes: generating the second real-time progress notification message according to the second real-time progress notification message parameters; replacing the first real-time progress notification message with the second real-time progress notification message. The replacement process is simple and the algorithm is simple.

[0013] For example, take a takeaway notification message as an example. Fig.14 As shown in FIG. 1 , the second real-time progress notification message 1002 ′ replaces the first real-time progress notification message 1002 , and the second real-time progress notification message 1002 ′ is displayed.

[0014] In a possible implementation, updating the first real-time progress notification message to the second real-time progress notification message includes: updating part of the content in the first real-time progress notification message according to the second real-time progress notification message parameter to generate the second real-time progress notification message and displaying the second real-time progress notification message. In this way, only part of the content in the first real-time progress notification message is updated, saving resources and improving update efficiency.

[0015] For example, take a takeaway notification message as an example. Fig.14As shown, the main information area 1003, sub-information area 1005 and extension area 1006 in the first real-time progress notification message 1002 are updated to main information area 1003', sub-information area 1005' and extension area 1006' according to the second real-time progress notification message parameters, and the second real-time progress notification message 1002' is displayed.

[0016] In a possible implementation manner, the application framework layer applied to the terminal device obtains the first real-time progress notification message parameter, including: the application framework layer obtains the first real-time progress notification message parameter from the first application.

[0017] In this way, after the application framework layer of the terminal device obtains the first real-time progress notification message parameters, it can uniformly generate and manage the first real-time progress notification message.

[0018] In a possible implementation, displaying the first real-time progress notification message includes: displaying the first real-time progress notification message according to a real-time progress notification message template; the real-time progress notification message template includes an icon area; the icon area is used to display an application icon, a business icon, or a superimposed icon of an application icon and a business icon. In this way, a unified real-time progress notification message template can be used to display the real-time progress notification message, and the real-time progress notification message can be neatly displayed to improve the user's visual experience.

[0019] Optionally, the real-time progress notification message template can be as follows Figure 6 The real-time progress notification template of the notification bar shown, or Fig. 20 The Live Capsule template for the status bar is shown.

[0020] Optionally, the business icon is used to represent an icon related to the business running in the application. For example, the business icon includes a contact avatar icon of a call notification message in a call application, a music cover icon of a music playback notification message, or a direction icon of a navigation application.

[0021] For example, the icon area may be as follows: Fig.10 The icon of the food delivery application shown in (a) of FIG. 1 may also be as shown in FIG. Fig. 9 The direction icon of the navigation application shown in (b); it can also be the superimposed icon of the call application and the contact avatar shown in (a) of 7.

[0022] In a possible implementation, displaying a first real-time progress notification message according to a real-time progress notification message template includes: the first real-time progress notification message parameter includes a first parameter, and when the first parameter indicates that the first real-time progress notification message parameter is a real-time progress notification message parameter, displaying the first real-time progress notification message according to the real-time progress notification message template.

[0023] Exemplarily, when the first real-time progress notification message parameter includes the first parameter, and the first real-time progress notification message parameter is a real-time progress notification message parameter, the first real-time progress notification message is displayed according to the real-time progress notification message template.

[0024] In another exemplary embodiment, when the first parameter is true, and the first real-time progress notification message parameter is a real-time progress notification message parameter, the first real-time progress notification message is displayed according to the real-time progress notification message template. The embodiment of the present application does not impose any specific limitation on this.

[0025] In a possible implementation, the real-time progress notification message template includes a first real-time progress notification message template; the first real-time progress notification message template includes an icon area, a main information area, and a secondary information area; the main information area includes a rich text control or a timing control; and the secondary information area includes a rich text control. The necessary information of the real-time progress notification message is displayed to ensure that the user understands the content of the real-time progress notification message.

[0026] Optionally, the real-time progress notification message generated by the first real-time progress notification message template (real-time progress notification message template) is displayed in the notification bar.

[0027] For example, the high-speed rail notification message is as follows: Fig. 9 As shown in (a), the icon area 903 is the icon of the high-speed rail application. The main information area 904 displays a rich text control "A place xxx train 20:35 to depart", which can be rich text, such as bold font. The secondary information area 905 includes a rich text control "Ticket gate 6B seat 03 car 12F", which can be rich text.

[0028] For example, Figure 7 As shown in (c), the icon area 723 of the recording notification message 722 is the icon of the recording application. The main information area 724 is a timing control for the duration of the recording. The secondary information area 725 is a "recording" text, which can be rich text.

[0029] In a possible implementation, the first real-time progress notification message template further includes at least one of an auxiliary area and an extended area; the auxiliary area includes at least one of an operation control and a progress control of the service corresponding to the first real-time progress notification message; the extended area includes at least one of progress information, detailed information, and operation information of the service corresponding to the first real-time progress notification message. In this way, a simple operation can be performed on the real-time progress notification message, or more detailed information of the real-time progress notification message can be displayed, thereby improving the viewing and use experience of the user.

[0030] For example, Figure 7 As shown in (a) of FIG. 1 , the call notification message 702 further includes an auxiliary area 706, and the auxiliary area 706 includes operation controls of the call notification message 702. Figure 8 As shown in (a), the Bluetooth transmission notification message 802 also includes an auxiliary area 806, and the auxiliary area 806 includes a progress control of the Bluetooth transmission notification message 802.

[0031] For example, Fig.10 As shown in (a), the takeout notification message 1002 includes an extension area 1006, and the extension area 1006 includes progress information of the takeout notification message 1002.

[0032] In a possible implementation, the real-time progress notification message template includes a second real-time progress notification message template; the second real-time progress notification message template includes at least one of a text control, a progress control, and a timing control.

[0033] Optionally, the real-time progress notification message generated by the second real-time progress notification message template (live capsule template) is displayed in the status bar.

[0034] Optionally, the second real-time progress notification message template does not include a main information area and a sub-information area.

[0035] For example, Fig.21 As shown in (b), the status bar 2112 may include a screen recording capsule 2113 and a call live capsule 2114. The screen recording capsule 2113 includes an icon of a screen recording application and a timing control, indicating the screen recording duration. The call live capsule 2114 includes an icon of a call application and a timing control, indicating the call duration.

[0036] In a possible implementation, the method further includes: carrying a second parameter in the second real-time progress notification message parameter, determining to end display of the second real-time progress notification message according to the second parameter; when the display duration of the second real-time progress notification message reaches a preset duration, end display of the second real-time progress notification message; or, when the difference between the creation time of the first real-time progress notification message and the last refresh time of the second real-time progress notification message is greater than a preset time, end display of the second real-time progress notification message. In this way, the display of the real-time progress notification message can be actively or passively ended to prevent the real-time progress notification message from occupying the interface position for a long time.

[0037] Optionally, when the second parameter is carried in the second real-time progress notification message parameter, it can indicate that when the display time of the second real-time progress notification message reaches a preset time, the display of the second real-time progress notification message ends. Alternatively, when the second parameter carried in the second real-time progress notification message parameter is true, it indicates that when the display time of the second real-time progress notification message reaches a preset time, the display of the second real-time progress notification message ends.

[0038] In a possible implementation, the method further includes: displaying real-time progress notification messages in the first area; displaying non-real-time progress notification messages in the second area; the first area is located above the second area; the non-real-time progress notification messages include service notification messages and / or content information; the service notification messages include notification messages of social applications and / or notification messages of important applications; the content information includes notification messages of advertising applications. In this way, multiple notification messages can be displayed in order, and will not drown out important real-time progress notification messages. Real-time progress notification messages are presented first, thereby improving the user experience.

[0039] For example, Fig.16 As shown, the first area is for real-time progress notification messages, and the second area is for non-real-time progress notification messages.

[0040] In a possible implementation, displaying the non-real-time progress notification message in the second area includes: displaying the service notification message in the third area; displaying the content information in the fourth area; the third area and the fourth area are sub-areas of the second area; and the third area is located above the fourth area. In this way, the non-real-time progress notification messages are classified according to their categories, and multiple non-real-time progress notification messages can be displayed in order, and the service notification message is displayed above the content information, which is convenient for users to view more important service notification messages and improve the user experience.

[0041] For example, Fig.16 As shown, the second area also includes a third area and a fourth area, the third area displays service notification messages, and the fourth area displays content information. The third area is located above the fourth area.

[0042] In a possible implementation, non-real-time progress notification messages are displayed in the second area; the first area is located above the second area, and further includes: non-real-time progress notification messages include important notification messages and / or non-important notification messages; important notification messages are displayed in the third area; non-important notification messages are displayed in the fourth area; the third area and the fourth area are sub-areas of the second area; the third area is located above the fourth area. In this way, non-real-time progress notification messages are classified according to their importance and displayed in partitions. Important notification messages are displayed above non-important notification messages, which makes it convenient for users to view more important notification messages and improves the user experience.

[0043] In a possible implementation, the method further includes: calibrating the importance of the non-real-time progress notification message, and determining the area where the non-real-time progress notification message is displayed according to the calibration result. In this way, the importance of the non-real-time progress notification message can be re-determined to prevent the flooding of important notification messages.

[0044] In a possible implementation, the importance of the non-real-time progress notification message is calibrated, and the area where the non-real-time progress notification message is displayed is determined according to the calibration result, including: weighted calculation based on at least one of the importance of the non-real-time progress notification message sending channel, the importance of the application corresponding to the non-real-time progress notification message, and the importance of the content in the non-real-time progress notification message and the first importance of the non-real-time progress notification message to obtain the second importance of the non-real-time progress notification message; the first importance is the importance set for the non-real-time progress notification message by the application corresponding to the non-real-time progress notification message; if the second importance is greater than or equal to a preset threshold, the non-real-time progress notification message is displayed in the third area; if the second importance is less than the preset threshold, the non-real-time progress notification message is displayed in the fourth area. The importance of the non-real-time progress notification message is evaluated from multiple aspects, and the accuracy of the calibration result is improved.

[0045] In a second aspect, the present application provides a method for displaying a notification message, the method comprising: displaying a first real-time progress notification message; displaying the first real-time progress notification message according to a real-time progress notification message template; the real-time progress notification message template comprising an icon area; the icon area is used to display an application icon, a business icon, or an overlay icon of an application icon and a business icon; updating the first real-time progress notification message to a second real-time progress notification message; the second real-time progress notification message conforms to the real-time progress notification message template. In this way, a unified real-time progress notification message template can be used to display the real-time progress notification message, and the real-time progress notification message can be neatly displayed to improve the user's visual experience.

[0046] In a possible implementation, the first real-time progress notification message is displayed according to a real-time progress notification message template, including: the first real-time progress notification message parameters include a first parameter, and when the first parameter indicates that the first real-time progress notification message parameter is a real-time progress notification message parameter, the first real-time progress notification message is displayed according to the real-time progress notification message template.

[0047] In a possible implementation, the real-time progress notification message template includes a first real-time progress notification message template; the first real-time progress notification message template includes an icon area, a main information area, and a sub-information area; the main information area includes a rich text control or a timing control; and the sub-information includes a rich text control.

[0048] In one possible implementation, the first real-time progress notification message template also includes at least one of an auxiliary area and an extended area; the auxiliary area includes at least one of an operation control and a progress control of the business corresponding to the first real-time progress notification message; the extended area includes at least one of progress information, detailed information, and operation information of the business corresponding to the first real-time progress notification message.

[0049] In a possible implementation, the real-time progress notification message template includes a second real-time progress notification message template; the second real-time progress notification message template includes at least one of a text control, a progress control, and a timing control.

[0050] In a third aspect, the present application provides an electronic device, comprising: a processor, the processor being coupled to a memory; the processor being used to execute a computer program stored in the memory, so that the electronic device executes the method as described in the first aspect, or executes the method as described in the second aspect.

[0051] In a fourth aspect, the present application provides a computer-readable storage medium, which includes a computer program or instructions. When the computer program or instructions are executed on an electronic device, the electronic device executes the method as described in the first aspect, or executes the method as described in the second aspect.

[0052] In a fifth aspect, the present application provides a chip system comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor. When the at least one processor executes the instructions, the at least one processor executes a method as described in any one of the first aspects above, or executes a method as described in the second aspect.

[0053] In a sixth aspect, the present application also provides a computer program product, comprising instructions, which, when executed on a computer, enables the computer to execute the method as described in any one of the first aspects, or execute the method as described in the second aspect.

[0054] In a seventh aspect, an embodiment of the present application provides a circuit system, the circuit system includes a processing circuit, and the processing circuit is configured to execute the method of the first aspect or any one of the implementations of the first aspect, or to execute the method described in the second aspect.

[0055] The technical effects corresponding to the second to seventh aspects and any one of the implementation methods of the second to seventh aspects can be referred to the technical effects corresponding to the above-mentioned first aspect and any one of the implementation methods of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 A flowchart of a notification message sending method provided in an embodiment of the present application;

[0057] Figure 2 A schematic diagram of a notification message interface provided in an embodiment of the present application;

[0058] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0059] Figure 4 A schematic diagram of the structure of a mobile phone provided in an embodiment of the present application;

[0060] Figure 5 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0061] Figure 6 A schematic diagram of a notification message template provided in an embodiment of the present application;

[0062] Figure 7 A schematic diagram of a notification message provided in an embodiment of the present application;

[0063] Figure 8 Another notification message schematic diagram provided for an embodiment of the present application;

[0064] Fig. 9 Another notification message schematic diagram provided for an embodiment of the present application;

[0065] Fig.10 Another notification message schematic diagram provided for an embodiment of the present application;

[0066] Fig.11 Another notification message schematic diagram provided for an embodiment of the present application;

[0067] Fig.12 A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0068] Fig.13 A schematic diagram of a notification message update provided in an embodiment of the present application;

[0069] Fig.14 Another notification message update schematic diagram provided in an embodiment of the present application;

[0070] Fig.15 A flowchart of a notification message display provided in an embodiment of the present application;

[0071] Fig.16 A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0072] Fig.17A A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0073] Fig. 17B A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0074] Fig.18 A schematic diagram of another process of displaying a notification message provided in an embodiment of the present application;

[0075] Fig.19 A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0076] Fig. 20 Another notification message schematic diagram provided for an embodiment of the present application;

[0077] Fig.21 A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0078] Fig. 22 A schematic diagram of another notification message interface provided in an embodiment of the present application;

[0079] Fig.23 Another notification message update schematic diagram provided in an embodiment of the present application;

[0080] Fig.24 A flowchart of another notification message display method provided in an embodiment of the present application;

[0081] Fig.25 A flowchart of another notification message display method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0082] A method for displaying a notification message and an electronic device provided in an embodiment of the present application are described in detail below with reference to the accompanying drawings.

[0083] The terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0084] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0085] In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" refers to two or more. The "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0086] Notification is a reminder method for applications to interact with users. Figure 1 As shown, the current notification methods include application notification and agent notification.

[0087] Among them, the application notification is a notification sent directly through the notification interface in the application, and the sender of the application notification is the application. Optionally, the application notification may include local notifications and third-party push (PUSH) notifications. Local notifications can be directly triggered and sent by the third-party application side (such as a terminal with a third-party application installed) through interactive logic. The third-party PUSH notification requires the third-party application server on the cloud side or other cloud-side servers to interact with the third-party application side. After the third-party application server on the cloud side or other cloud-side servers trigger the third-party PUSH notification, it is sent by the third-party application.

[0088] The proxy notification is a notification sent through the channel and interface for the Push client to send notifications on behalf of the Push client. The sender of the proxy notification is the Push client. Among them, the channel and interface for the proxy to send notifications are provided by the push service (PushKit) of Huawei Mobile Core Services (Huaweimobile services core, HMS Core). After the third-party application is connected to PushKit, the third-party application server on the cloud side sends a notification message to the PUSH server on the cloud side through PUSH. After receiving the notification message, the PUSH server sends the notification message to the Push client on the end side. After that, the Push client agent sends the notification message. Optionally, the target party of the proxy notification is the application. When the Push client sends the proxy notification, the third-party application does not need to be kept alive.

[0089] In the related art, application notifications or proxy notifications are displayed in a pull-down notification bar. There are many application notifications or proxy notifications in the pull-down notification bar, which are disorganized and difficult for users to quickly find the required notification messages, resulting in a low user experience.

[0090] Take mobile phones as an example. Figure 2 As shown in (a) of FIG. 1 , the mobile phone can simultaneously display a status bar 101 when displaying applications such as the desktop. The status bar 101 can display time, power, signal strength, Bluetooth status, etc.

[0091] If it is detected that the user performs a pull-down operation on the status bar 101, such as Figure 2As shown in (b) in the figure, the mobile phone can display a drop-down notification bar 102. When there are notification messages of applications in the mobile phone, the mobile phone can display these notification messages in the drop-down notification bar 102. The mobile phone can display the received notification messages one by one in the form of notification messages (such as weather messages) or notification message groups (a notification message group contains multiple notification messages, such as takeaway messages) in the notification bar 102 in chronological order. When there are too many notification messages in the drop-down notification bar 102, the identification of the application of the earlier notification message is displayed in the notification management bar 103.

[0092] When a user wants to find a text message notification message of a text message contact Zhang San or an earlier notification message, he needs to slide the message in the notification bar to find an earlier notification message among many notification messages. The user is slow to find notification messages and has a poor user experience.

[0093] To solve the above problems, an embodiment of the present application proposes a method for displaying notification messages, which can aggregate multiple notification messages of real-time progress in the operating system of an electronic device, and then display the aggregated notification messages. The aggregated real-time progress notification messages can dynamically display the services that the user is concerned about, and can refresh the business progress in real time, and aggregate and display key notification information. Among them, the real-time progress notification message is a time-based notification message with state changes, wherein the state change may include a change in progress. The method can also provide a unified real-time progress notification message display template. The method can also classify notification messages according to the type and importance level of the notification message, and notification messages of different categories are displayed in different areas. Important notification messages are placed in a location that is easy for users to view, and unimportant notification messages can be placed in a location that is not easy for users to view, or folded and displayed to reduce interference to users.

[0094] In this way, multiple notification messages can be displayed in order without overwhelming important notification messages. Important notifications and notifications that users are interested in are presented first, improving the user experience.

[0095] In a possible implementation, the embodiment of the present application can be applied to an electronic device, which can implement the display method of the above notification message. The electronic device can be a personal computer (PC), a mobile phone, a tablet computer (Pad), a laptop computer, a desktop computer, a laptop computer, a computer with a transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable device, a vehicle-mounted device and other terminal devices. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device.

[0096] Figure 3 The figure shows a hardware structure diagram of an electronic device provided in an embodiment of the present application. The electronic device includes at least one processor 401, a communication line 402, a memory 403 and at least one communication interface 404. The memory 403 may also be included in the processor 401.

[0097] The processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. In the embodiment of the present application, the processor 401 may aggregate multiple real-time progress notification messages, calibrate the importance of non-real-time progress notification messages, etc.

[0098] The communication link 402 may include a pathway to transmit information between the above-mentioned components.

[0099] Communication interface 404, used to communicate with other devices. The communication interface can be a module, circuit, bus, interface, transceiver or other device capable of implementing communication functions, used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiments of the present application do not limit the specific implementation of the transceiver.

[0100] The memory 403 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The memory may be independent and connected to the processor 401 via the communication line 402. The memory 403 may also be integrated with the processor 401.

[0101] The memory 403 is used to store computer-executable instructions for implementing the solution of the present application, and is controlled to be executed by the processor 401. The processor 401 is used to execute the computer-executable instructions stored in the memory 403, thereby implementing the method for displaying notification messages provided in the following embodiments of the present application.

[0102] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer program or other names, which are not specifically limited in the embodiments of the present application.

[0103] In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as Figure 3 CPU0 and CPU1 in.

[0104] In a specific implementation, as an embodiment, the electronic device may include multiple processors, such as Figure 3 401 and processor 405 in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0105] The above-mentioned electronic device may be a general device or a special device, and the embodiment of the present application does not limit the type of the electronic device.

[0106] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0107] In the embodiments of the present application, the electronic device is described as a mobile phone, but this does not constitute a limitation on the form, function, etc. of the electronic device. Figure 4 , is a schematic diagram of the structure of a mobile phone provided in an embodiment of the present application. The methods in the following embodiments can be implemented in a mobile phone having the above hardware structure.

[0108] like Figure 4 As shown, the mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a camera 193, and a display screen 194. Optionally, the mobile phone may also include a mobile communication module 150, etc.

[0109] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0110] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0111] The controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0112] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved. In the embodiment of the present application, the processor 401 may aggregate multiple real-time progress notification messages, calibrate the importance of non-real-time progress notification messages, etc.

[0113] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a USB interface, etc.

[0114] The charging management module 140 is used to receive charging input from the charger. While the charging management module 140 is charging the battery 142, it can also power the mobile phone through the power management module 141. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 can also receive input from the battery 142 to power the mobile phone.

[0115] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0116] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0117] When the mobile phone includes the mobile communication module 150, the mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the mobile phone. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.

[0118] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal.

[0119] The wireless communication module 160 can provide wireless communication solutions for mobile phones, including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), NFC, infrared technology (IR), etc. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.

[0120] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.

[0121] The mobile phone realizes the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0122] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1. In some embodiments of the present application, the display screen 194 of the mobile phone may display the following: Figure 7-Figure 14 , Fig.16 , Fig.17A , Fig. 17B , Figure 19-Figure 23 The interface or content shown in the above figure.

[0123] The mobile phone can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor, etc. In some embodiments, the mobile phone can include 1 or N cameras 193, where N is a positive integer greater than 1.

[0124] The external memory interface 120 can be used to connect an external memory card to expand the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0125] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the mobile phone (such as audio data, a call book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0126] The mobile phone can realize audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0127] like Figure 5 , which is a system architecture diagram of an embodiment of the present application, and includes a cloud architecture and a software structure block diagram of a mobile phone.

[0128] Optionally, the cloud includes a PUSH server application market server, a third-party application server, and other application servers.

[0129] Among them, the third-party application server can be the provider of the notification message, and can be connected to the PUSH server to achieve interaction and notification message display with the third-party application.

[0130] The PUSH server is the service provider of notification messages. It interacts with the PUSH client, can send proxy notification messages, and provides a classification engine for notification message classification and a recommendation engine for aggregated recommendations of notifications.

[0131] Optionally, in the software structure diagram of the mobile phone, the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In the embodiment of the present application, the system can be divided into three layers, from top to bottom, namely, the application layer, the application framework layer, and the local service layer. It should be understood that: this article uses the illustrated system as an example to illustrate that in other electronic devices, as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solution of the present application can also be implemented.

[0132] Optionally, the application layer may include basic applications, cloud server applications, system pre-installed applications, third-party applications, etc.

[0133] Optionally, the basic application may include a system user interface notification component (component), a desktop component, a mobile phone manager component, a lock screen component, a lock screen display (always on display, AOD) component, etc.

[0134] Among them, the SystemUI notification component includes multiple modules such as notification module, navigation bar, volume panel, status bar, etc., which can provide users with reminders and displays of notification messages.

[0135] Optionally, for important notification messages, the SystemUI notification component can provide multiple reminder methods such as desktop pop-up reminders, ringtone reminders, and vibration reminders.

[0136] Optionally, the SystemUI notification component can display different notification messages in the notification bar according to the category and importance of the notification messages, and provide notification interaction and notification management functions.

[0137] Optionally, the desktop component includes modules such as icons and notification badges. The mobile phone manager component includes modules such as permission management and notification switch management. Optionally, the user can set the permissions of the application and whether the application enables notifications in the mobile phone manager component. The lock screen component includes modules such as lock screen unlock and lock screen notification. The lock screen display component includes modules such as lock screen display and screen off notification. Optionally, the user can set whether the notification message is displayed on the lock screen and whether to turn off the screen notification.

[0138] Optionally, the cloud server application includes a PUSH client component, an application market component, a music component, etc.

[0139] Among them, the PUSH client component can act as an agent to send notifications from third-party applications and is the sender of notification messages. Specifically, the PUSH client component can receive notification messages from third-party applications from the PUSH server in the cloud, and push the notification messages to the notification bar of the mobile phone for display. The third-party application is the business party of the notification message. The third-party application interacts with the third-party application server in the cloud. The third-party application server can provide the display and interaction methods of the notification message content on the mobile phone. At the same time, the third-party application also supports the local sending of notification messages.

[0140] Optionally, the application market component includes modules such as application management and permission manager. The music component includes modules such as music playback and notification service.

[0141] Optionally, the system pre-installed applications may include a call component, a Bluetooth transmission component, and other components.

[0142] Among them, the call component may include modules such as audio and video call, threshold service, etc. The Bluetooth transmission component may include modules such as Bluetooth transmission, notification service, etc. Other application components may include modules such as user interface, notification service, etc.

[0143] Optionally, the third-party applications may include important information applications, navigation applications, social applications, food delivery applications, and other applications.

[0144] Among them, important information applications may include modules such as important information and notification services. For example, important information applications may be banking applications, etc. Navigation applications include modules such as navigation services and notification services. Social applications include modules such as user interfaces and notification services. Takeaway applications include modules such as user interfaces and notification services. Other applications may also include modules such as user interfaces and notification services.

[0145] Optionally, the application framework layer may include an activity manager service (AMS), a window manager service (WMS), a package manager service (PMS), a control (UIKit), a view manager (View), an input manager (Input Manager), a lock screen manager (KayGuard Manager), a lock screen control (KayGuard Controller), a notification manager (Notification Manager), a notification service (Notification Service), etc.

[0146] The application framework layer can provide framework capabilities for application operation and interaction. The notification manager can interact with SystemUI notifications and provide management capabilities for system notification information.

[0147] Optionally, the native server layer may include modules such as input distribution, cryptographic services, surface rendering, multimedia services, and audio.

[0148] It should be understood that the applications or modules included in the above-mentioned layers are only examples, and each layer may also include other applications or modules, and the embodiments of the present application do not impose specific limitations on this.

[0149] In one embodiment, the embodiment of the present application may not include a cloud server, and the notification message is sent and received locally and displayed.

[0150] As follows, taking a third-party application sending a local notification message to the operating system of a mobile phone as an example, the method for displaying a real-time progress notification message in an embodiment of the present application is introduced.

[0151] Optionally, the real-time progress notification message refers to a notification message with a time period and state changes, wherein the state change may include a change in progress. For example, a call notification message in progress, a countdown notification message in progress, a recording notification message in progress, a screen recording notification message in progress, a notification message during Bluetooth transmission, a takeaway notification message in progress, a taxi notification message in progress, a navigation notification message in progress, a music playback notification message in progress, etc. Optionally, the real-time progress notification message may also be other time period and state change notification messages, wherein the state change may include a change in progress, and the embodiments of the present application do not impose specific restrictions on this.

[0152] In one embodiment, the notification message sent by the third-party application to the operating system carries an extended parameter, and the extended parameter may indicate whether the notification message is a real-time progress notification message.

[0153] Notification#extras of standard notification is additional data of notification message, which supports notification message to carry extended parameters and can add additional information or parameters to notification message.

[0154] Optionally, the third-party application may add an identifier of the notification message category in the extended parameter of Notification#extras to distinguish the real-time progress notification messages and display the real-time progress notification messages in an aggregated manner.

[0155] Exemplarily, when a third-party application can set the extended parameter of the extended field 0 in the notification message to true (true), it indicates that the notification message is a real-time progress notification message; when the extended parameter of the extended field 0 in the notification message is false (false), it indicates that the notification message is not a real-time progress notification message.

[0156] In this way, after the operating system receives a notification message from a third-party application, if the extended parameter in the notification message is identified as true, the notification message is determined to be a real-time progress notification message, and the notification message is displayed using the real-time progress notification message template. If the extended parameter in the notification message is identified as false, the notification message is determined not to be a real-time progress notification message, and the notification message is displayed normally.

[0157] Optionally, the embodiments of the present application may also set the extended parameters in the notification message to other situations to indicate whether the notification message is a real-time progress notification message. For example, a third-party application may set the extended parameters in the notification message to false, indicating that the notification message is a real-time progress notification message; when the extended parameters in the notification message are true, it indicates that the notification message is not a real-time progress notification message. The embodiments of the present application do not impose specific restrictions on this.

[0158] Optionally, the extended parameters and their interface information may be reflected in the specification of display template parameters of the real-time progress notification message.

[0159] Optionally, the extended parameters and interfaces may only be agreed upon between the third-party application and the operating system, and no software development kit (SDK) interface and definition may be provided to the outside. The present application embodiment does not impose any specific restrictions on this.

[0160] For example, the embodiment of the present application can reflect the extended parameters and their interfaces in the parameter specification of the real-time progress notification message display template. The third-party application uses the extended parameters and their interfaces specified in the specification to interact with the operating system, and the operating system can parse and process the received extended parameters to determine whether the notification message carrying the extended parameters is a real-time progress notification message.

[0161] In one embodiment, if the notification message received by the operating system is a real-time progress notification message, the real-time progress notification message is displayed using a unified real-time progress notification message display template.

[0162] Optionally, the real-time progress notification message display template can be as follows Figure 6 The real-time progress notification message display template 601 may include an icon area 602, a main information area 603, a secondary information area 604, an auxiliary area 605, and an extended area 606. The icon area 602, the main information area 603, and the secondary information area 604 are required areas, and the auxiliary area 605 and the extended area 606 are optional areas.

[0163] Optionally, the icon area 602 can display the application icon of a third-party application (which can also be a system preset application or other application), or a service icon, or an overlay icon of the application icon and the service icon; the main information area 603 can display the main information of the real-time progress notification message in text form, such as the notification message title, the time of real-time progress, etc.; the secondary information area 604 can display the secondary information of the real-time progress notification message in text form, support multi-field rich text, and highlight the key information of the notification message; the auxiliary area 605 can display operation controls (such as the mute control and hang-up control of the call) or the progress of the service (such as the progress of file transfer), etc., and support the combined view of extending multiple controls, etc. The embodiment of the present application can provide a standard control implementation for use by third-party applications; the extension area 606 can display the extended information of the real-time progress notification message, such as progress visualization (such as progress bar, progress node), detailed operation (such as music playback control), detailed information supplement (such as navigation multi-lane), etc.

[0164] In one embodiment, the real-time progress notification message templates can be further classified according to the type of the real-time progress message. Specifically, as shown in Table 1:

[0165] Table 1

[0166]

[0167]

[0168] Optionally, the real-time progress notification message template can be further divided into system operation template, system progress template, important information reminder template, rich media progress display template and rich media detailed display template. Each template includes an icon area, a main information area and a sub-information area, wherein the main information area and the sub-information area can display rich text.

[0169] Optionally, the system operation class template includes an icon area, a main information area, a secondary information area and an auxiliary area, but does not include an extended area. Among them, the auxiliary area can be some operation controls. Optionally, the auxiliary area generally includes 1-3 operation controls. Of course, the auxiliary area can also include more operation controls, and the embodiment of the present application does not make specific restrictions on this.

[0170] Optionally, the system operation template can be applied to scenarios such as call notification messages, timer notification messages, recording notification messages, and screen recording notification messages.

[0171] For example, Figure 7 (a) is a schematic diagram of a call notification message 701 before using the real-time progress notification message template and a call notification message 702 after using the real-time progress notification message template.

[0172] Among them, the call notification message 702 includes an icon area 703, which includes an avatar image of the contact Xiao Ming and an icon of the call application; the main information area 704 is the call time "13:12"; the sub-information area 705 is the contact "Xiao Ming" of the call; the auxiliary area 706 includes call operation controls: mute control, hands-free control and hang up control.

[0173] For example, Figure 7 (b) is a schematic diagram of a timer notification message 711 before using the real-time progress notification message template and a timer notification message 712 after using the real-time progress notification message template.

[0174] Among them, the timer notification message 712 includes an icon area 713, which includes an icon of the timer application; the main information area 714 is the timing time "17:37"; the sub-information area 715 is the countdown indication "Countdown"; the auxiliary area 716 includes timing operation controls: a timing off control, and a timing pause control.

[0175] For example, Figure 7 (c) is a schematic diagram of a recorded notification message 721 before using the real-time progress notification message template and a recorded notification message 722 after using the real-time progress notification message template.

[0176] Among them, the recording notification message 722 includes an icon area 723, and the icon area 723 includes an icon of the recording application; the main information area 724 is the recording time "00:07"; the sub-information area 725 is the recording indication "recording"; the auxiliary area 726 includes recording operation controls: recording off controls.

[0177] For example, Figure 7 (d) is a schematic diagram of a screen recording notification message 731 before using the real-time progress notification message template and a screen recording notification message 732 after using the real-time progress notification message template.

[0178] Among them, the screen recording notification message 732 includes an icon area 733, and the icon area 733 includes the icon of the screen recording application; the main information area 734 is the screen recording time "00:09"; the sub-information area 735 is the screen recording indication "recording"; the auxiliary area 736 includes the screen recording operation controls: the screen recording close control.

[0179] Optionally, the system operation template may also be applied to other message display scenarios, and the embodiments of the present application do not impose any specific limitations thereto.

[0180] In some embodiments, the system operation template may also include an extension area, such as adding an extension area to a call notification message to display the historical call records of the contact, etc. The embodiments of the present application do not impose specific restrictions on this.

[0181] Optionally, the system progress template includes an icon area, a main information area, a secondary information area and an auxiliary area, but does not include an extended area. The auxiliary area may be a progress display control.

[0182] Optionally, the system progress template can be applied to scenarios such as Bluetooth transmission notification messages and step counting notification messages in sports health.

[0183] For example, Figure 8 (a) is a schematic diagram of a Bluetooth transmission notification message 801 before using the real-time progress notification message template and a Bluetooth transmission notification message 802 after using the real-time progress notification message template.

[0184] Among them, the Bluetooth transmission notification message 802 includes an icon area 803, which includes a Bluetooth icon; the main information area 804 is the Bluetooth transmission progress "35% received"; the sub-information area 805 is the content of the Bluetooth transmission "File 1"; the auxiliary area 806 includes a Bluetooth transmission progress display control: a Bluetooth transmission progress bar, which can be circular.

[0185] For example, Figure 8(b) is a schematic diagram of a sports health notification message 811 before using the real-time progress notification message template and a sports health notification message 812 after using the real-time progress notification message template.

[0186] Among them, the sports health notification message 812 includes an icon area 813, which includes the icon of the sports health application; the main information area 814 is the user's steps and energy consumed in sports health "9204 steps | 302 kcal"; the sub-information area 815 is the sports health indication "sports health"; the auxiliary area 816 includes a step counting progress display control in sports health: a step counting progress bar, which can be the ratio of the user's actual steps to the preset steps.

[0187] Optionally, the system progress template may also be applied to other message display scenarios, and the embodiments of the present application do not impose any specific limitations thereto.

[0188] In some embodiments, the system progress template may also include an extension area, such as adding an extension area to a Bluetooth transmission notification message to display a history record of Bluetooth transmission, etc. The present application embodiment does not impose any specific limitation on this.

[0189] Optionally, the important information reminder template may include an icon area, a main information area and a sub-information area, but does not include an auxiliary area and an extended area.

[0190] Optionally, the important information reminder template can be applied to scenarios such as high-speed rail (or train, flight, etc.) notification messages, navigation notification messages, etc.

[0191] For example, Fig. 9 (a) is a schematic diagram of a high-speed rail notification message 901 before using the real-time progress notification message template and a high-speed rail notification message 902 after using the real-time progress notification message template.

[0192] Among them, the high-speed rail notification message 902 includes an icon area 903, which includes an icon of a high-speed rail application; the main information area 904 is the destination of the high-speed rail, the train and the departure time "A place xxx train is to depart at 20:35"; the secondary information area 905 is the ticket gate and seat number of this high-speed rail "Ticket gate: 6B seat: 03 car 12F". Optionally, the main information area 904 and the secondary information area 905 can also include other content, such as the main information area 904 can also include the departure place, and the secondary information area 905 can also include the arrival time, etc. This embodiment of the application does not make specific restrictions on this.

[0193] For example, Fig. 9 (b) is a schematic diagram of a navigation notification message 911 before using the real-time progress notification message template and a navigation notification message 912 after using the real-time progress notification message template.

[0194] Among them, the navigation notification message 912 includes an icon area 913, and the icon area 913 includes a right turn icon for the real-time navigation service. Exemplarily, the icons of the real-time navigation service may include a "left turn icon", a "straight ahead icon", and a "right turn icon". When the navigation application indicates a left turn, the icon area 913 displays a "left turn icon"; when the navigation application indicates a straight ahead, the icon area 913 displays a "straight ahead icon"; when the navigation application indicates a right turn, the icon area 913 displays a "right turn icon"; the main information area 914 is the real-time navigation information "turn right after 118 meters"; the secondary information area 915 is the real-time navigation result "go to xx road", that is, turn right after 118 meters and enter xx road. Optionally, the main information area 904 and the secondary information area 905 may also include other content, such as the main information area 904 may also include the current road name, and the secondary information area 905 may also include the navigation destination, etc. The embodiment of the present application does not make specific restrictions on this.

[0195] In some embodiments, the important information reminder template may also include an auxiliary area and an extended area, such as adding an extended area to the high-speed rail notification message to display the stations that the high-speed rail passes through, etc. The embodiments of the present application do not impose specific restrictions on this.

[0196] Optionally, the rich media progress display template includes an icon area, a main information area, a secondary information area and an extension area, but does not include an auxiliary area. The extension area may be a progress visualization control for some services.

[0197] Optionally, the rich media progress display template can be applied to scenarios such as takeaway notification messages and taxi notification messages.

[0198] For example, Fig.10 (a) is a schematic diagram of a takeaway notification message 1001 before using the real-time progress notification message template and a takeaway notification message 1002 after using the real-time progress notification message template.

[0199] Among them, the takeaway notification message 1002 includes an icon area 1003, which includes the icon of the takeaway application; the main information area 1004 is the current progress of the takeaway "the rider has accepted the order"; the sub-information area 1005 is the rider's current specific progress "300 meters away from the merchant, delivered at 12:50"; the extended area 1006 includes a takeaway progress visualization control: including three progress points: rider accepting the order, rider picking up the meal and delivered, and the current rider is between the rider accepting the order progress point and the rider picking up the meal progress point.

[0200] Optionally, the takeaway extension area 1006 may also include other controls, such as progress point controls such as the merchant is preparing food and the merchant has completed food preparation, etc., and the embodiment of the present application does not impose specific restrictions on this.

[0201] For example, Fig.10 As shown in (b) of , it is a schematic diagram of the ride-hailing notification message 1011 before using the real-time progress notification message template and the ride-hailing notification message 1012 after using the real-time progress notification message template.

[0202] Among them, the ride-hailing notification message 1012 includes an icon area 1013, and the icon area 1013 includes the icon of the ride-hailing application; the main information area 1014 is the current progress of the ride-hailing "the driver is about to arrive"; the secondary information area 1015 is the vehicle information "Shanghai A P8xx white"; the expansion area 1016 includes the ride-hailing progress visualization control: including the user's current location, the driver's current location, and the route between the driver and the user.

[0203] Optionally, the expansion area 1016 of the ride-hailing can also include other controls, such as controls for the distance between the driver and the user, etc. The embodiments of the present application do not make specific limitations on this.

[0204] In some embodiments, the rich media progress display template can also include an auxiliary area. For example, an auxiliary area is added to the food delivery notification message to display the rider's call contact information; an auxiliary area is added to the ride-hailing notification message to display the driver's call contact information, etc. The embodiments of the present application do not make specific limitations on this.

[0205] Optionally, the rich media detailed display template includes an icon area, a main information area, a secondary information area, and an expansion area, and does not include an auxiliary area. Among them, the expansion area can be detailed information controls for some services.

[0206] Optionally, the rich media detailed display template can be applied to scenarios such as multi-lane navigation notification messages, music playback notification messages, etc.

[0207] Exemplarily, as Fig.11 As shown in (a) of , it is a schematic diagram of the multi-lane navigation notification message 1101 before using the real-time progress notification message template and the multi-lane navigation notification message 1102 after using the real-time progress notification message template.

[0208] Among them, the multi-lane navigation notification message 1102 includes an icon area 1103, and the icon area 1103 includes the right-turn icon of the multi-lane navigation service. Exemplarily, the icons of the real-time navigation service can include "left-turn icon", "straight-ahead icon", "right-turn icon", etc.; the main information area 1104 is the real-time multi-lane navigation information "turn right after 118 meters"; the secondary information area 915 is the real-time multi-lane navigation result "going to xx Road", that is, turn right after 118 meters and enter xx Road; the expansion area 1106 includes detailed information controls for the multi-lane navigation service: left-turn control, straight-ahead control, right-turn control. Among them, the current navigation information of the multi-lane navigation service is "turn right after 118 meters", and the right-turn control in the expansion area 1106 can be displayed in another color, such as black.

[0209] For example, Fig.11 (b) is a schematic diagram of a music playing notification message 1111 before using the real-time progress notification message template and a music playing notification message 1112 after using the real-time progress notification message template.

[0210] The music playing notification message 1112 includes an icon area 1113, which includes the song cover image and the icon of the music application. Optionally, the icon area 1113 may also be a song album cover image or a singer portrait, etc. The main information area 1114 is the singer's name "Xiaohong"; the secondary information area 1115 is the song name "Song A"; the extended area 1116 includes detailed information controls for the music playing service: my favorite music control, the previous music play control, the music play control, the next music play control, and the lyrics display control.

[0211] In some embodiments, the rich media detailed display template may also include an auxiliary area, such as adding an auxiliary area to a multi-lane navigation notification message to display a voice prompt for starting navigation, etc. The embodiments of the present application do not impose specific restrictions on this.

[0212] In some embodiments, the real-time progress notification message can be displayed in the notification bar interface or in the lock screen interface. Fig.12 As shown in (a), it is a schematic diagram of a takeaway notification message displayed on the notification bar interface 1201, such as Fig.12 (b) is a schematic diagram of displaying a takeaway notification message on the lock screen interface 1202. The lock screen interface can refer to an interface in the screen-off state, or an interface displayed when the phone is awakened from the screen-off state. For example, the phone is currently off, and the user double-clicks the phone screen, the phone turns on the screen, and displays the real-time progress notification message.

[0213] In one embodiment, the real-time progress notification message template may be as follows: Figure 6 The basic style framework shown is then expanded to each subclass module, in which each area in the template is designed according to the actual needs of the notification message. Afterwards, the subclass modules are checked and combined according to the designed style.

[0214] Optionally, the real-time progress notification message template may uniformly specify parameters such as the size, quantity, position arrangement, and corresponding operations of icons in the notification message.

[0215] Optionally, the third-party application can fill in parameters such as icons, operation controls, and detailed information according to the style set in the real-time progress notification message template.

[0216] Optionally, the icon area may include application icons and / or service icons, and an extended field 1 may be set in the real-time progress notification message template to indicate whether the icon area is a composite icon of the application icon and the service icon.

[0217] Optionally, the business icon is used to represent an icon related to the business running in the application. For example, the business icon includes a contact avatar icon of a call notification message in a call application, a music cover icon of a music playback notification message, or a direction icon of a navigation application.

[0218] Optionally, when the operating system receives the real-time progress notification message parameter and the extended field 1 is true, it indicates that the icon area of ​​the real-time progress notification message is a composite icon, and the operating system can superimpose the application icon and the service icon into a composite icon and fill it in the icon area. When the extended field 1 is false, it indicates that the icon area is an application icon or a service icon. Afterwards, the operating system can display the corresponding application icon or service icon in the icon area.

[0219] Optionally, for scenarios that include contacts (such as call application scenarios and social application scenarios), if the extended field 1 is true, the contact icon (avatar) is superimposed with the application icon and filled in the icon area. Figure 7 In the call notification message 702 shown in (a), the icon area includes a contact avatar and a call application icon. Among them, the contact avatar is a large icon, and the call application icon is a small icon (smallIcon).

[0220] Optionally, for other business scenarios (such as music playback scenarios), if the extended field 1 is true, the business icon and the application icon are superimposed and filled in the icon area. Fig.11 In the call notification message 1112 shown in (b), the icon area includes a music cover icon and a music application icon. Among them, the music cover icon is a large icon, and the music application icon is a small icon.

[0221] Optionally, the main information area and the secondary information area need to support rich text (bold, italic, color, etc.), and the third-party application can use SpannableString to pass the tag carrying rich text information to the text of the notification message, and set the text of the notification message to bold, italic, color, etc. After that, the operating system can parse the tag and display the rich text. For example, Figure 7 As shown in (a), the main information area 704 "13:12" is bold text. Fig.11 As shown in (b), the sub-information area 1114 "Song A" is bold text.

[0222] Optionally, the auxiliary area is an optional area. An extension field 2 may be set in the real-time progress notification message template to indicate whether the real-time progress notification message includes the auxiliary area. Exemplarily, if the extension field 2 is true, it indicates that the real-time progress notification message includes the auxiliary area; if the extension field 2 is false, it indicates that the real-time progress notification message does not include the auxiliary area.

[0223] Optionally, the extension area is also an optional area. The extension field 3 can be set in the real-time progress notification message template to indicate whether the real-time progress notification message includes the extension area. Exemplarily, if the extension field 3 is true (true), it means that the real-time progress notification message includes the extension area; if the extension field 3 is false (false), it means that the real-time progress notification message does not include the extension area.

[0224] Optionally, a view stub can be hung at the bottom of the root layout of the operating system's real-time progress notification message. It is hidden by default. When the extended area needs to be displayed, the viewstub is replaced with the extended area layout view to display the extended area. Alternatively, when a control in the extended area needs to be displayed, the control view is unhidden.

[0225] Among them, the width and maximum height of the extension area are specified in the real-time progress notification message template, and the third-party application needs to fill in the extension area parameters according to the regulations.

[0226] Optionally, the extended area can display rich media content, such as Fig.11 As shown in (b), the extended area 1116 includes various song-related controls.

[0227] Alternatively, for relatively fixed extent views, strong format and local views can be used to display them. Fig.11 As shown in (b), the controls included in the extension area 1116 are fixed-form music playback service controls.

[0228] For the extended area view with complex structure, remote view can be used to implement it. Among them, the real-time progress notification message of remoteview needs to be in a limited range and restricted. The real-time progress notification message of remoteview gives priority to the view with standard range.

[0229] For example, if the music player notifies the user to display a music video (MV) of song A in the extended area, a remote view may be used to display the MV.

[0230] Among them, the width and maximum height of the extension area are specified in the real-time progress notification message template, and the third-party application needs to fill in the extension area parameters according to the regulations.

[0231] In one embodiment, the real-time progress notification message may be updated.

[0232] Optionally, the user can trigger the update of the real-time progress notification message. For example, for a music playback notification message, the user can click on the "play next music control" of the music playback notification message to update the music playback service.

[0233] Optionally, for the same third-party application service, the third-party application can send new real-time progress notification message parameters to the operating system. The real-time progress notification message parameters carry the notification message content of the status update, use the channel and importance level of the original real-time progress notification message, and specify the notification identifier (notificationid) of the original real-time progress notification message.

[0234] After receiving a new real-time progress notification message, the operating system can identify the notification identifier and confirm that the real-time progress notification message is an existing notification message. When displaying it in the notification bar, the operating system updates the content of the original real-time progress notification message based on the new real-time progress notification message.

[0235] For example, Fig.13 As shown in (a), it is the original real-time progress notification message 902 of the high-speed rail notification message. The main information area 903 can remind the user that the xxx train to A will depart at 20:35. When the high-speed rail needs to check the ticket, the high-speed rail application needs to send a new real-time progress notification message to remind the user to check the ticket. For example, Fig.13 (b) shows a new real-time progress notification message 902', which is updated based on the notification message 902. The icon area and the sub-information area in the notification message 902' are consistent with those in the notification message 902, and only the main information area 903' indicating the real-time progress of the high-speed rail is updated to "xxx train ticket inspection reminder".

[0236] For example, Fig.14 (a) shows the original real-time progress notification message 1002 of the takeaway notification message. The main information area 1003 can display the real-time progress of the takeaway as "the rider has accepted the order". The expansion area 1006 can visualize the progress of the takeaway, where the rider is between the rider's order acceptance progress point and the rider's meal pickup progress point. After the rider picks up the takeaway, the takeaway application can send a new real-time progress notification to remind the user of the current progress of the takeaway. For example, Fig.14As shown in (b), it is a new real-time progress notification message 1002', which is updated based on the notification message 1002. The icon area in the notification message 1002' is consistent with the icon area in the notification message 1002, and the main information area 1004', the secondary information area 1005' and the extended area 1006' indicating the real-time progress of the high-speed rail are updated.

[0237] Among them, the main information area 1004' is the latest progress of the takeaway "the rider has picked up the food"; the secondary information area 1005' is the rider's latest specific progress "500 meters away from the user, delivered at 12:50"; in the extended area 1006', the rider is located between the rider's meal pick-up progress point and the delivered progress point.

[0238] In one embodiment, the real-time progress notification message may be managed for its lifecycle. Specifically, when the task is completed, the real-time progress notification message may end.

[0239] Optionally, the termination mode of the real-time progress notification message can be divided into active termination and passive termination according to different triggering parties.

[0240] Optionally, a third-party application can trigger active termination and remove the real-time progress notification message.

[0241] Optionally, the third-party application can send a new real-time progress notification message to the operating system. The new real-time progress notification message uses the same notification channel, importance level and notification ID as the original real-time progress notification message, and the extended information of the new real-time progress notification message carries an end command word. The operating system receives the notification end indication and ends the real-time progress notification message after a preset duration has passed.

[0242] For example, when the food is delivered, the food delivery application can send a new real-time progress notification message to the operating system to indicate that the food has been delivered. The extended information of the new real-time progress notification message can carry an end command word. The operating system receives the notification end indication and actively ends the food delivery notification message after more than 10 seconds.

[0243] The operating system can trigger a passive end, removing the real-time progress notification message.

[0244] Optionally, the operating system can set a preset time for the real-time progress notification message of each business, and record the creation time and last refresh time of the real-time progress notification message of each business. If the difference between the creation time and the last refresh time of the real-time progress notification message of the business is greater than the preset time, it means that the real-time progress notification message of the business may be wrong, and the operating system needs to remove the real-time progress notification message of the business. Each business includes multiple real-time progress notification messages, and the notification IDs of the multiple real-time progress notification messages are the same.

[0245] Among them, the preset time of the real-time progress notification message of each business can be set according to the historical record of the real-time progress notification message or according to the developer's experience, and the embodiment of the present application does not impose specific restrictions on this.

[0246] Exemplarily, the takeaway notification message is generally displayed for 30 minutes to 120 minutes. The preset time of the takeaway notification message can be 240 minutes. If the difference between the creation time and the last refresh time of the takeaway notification message exceeds 240 minutes, the takeaway notification message may be wrong, and the operating system needs to remove the takeaway notification message.

[0247] In some embodiments, Fig.15 As shown, it is a flowchart of the creation, update, interaction, switching and removal of real-time progress notification messages in an embodiment of the present application. Among them, the notification service module supports the extended template of the real-time progress notification message (for example, adding extended parameters based on the real-time progress notification message template). The notification service module, notification control module, notification display module, and lock screen display module are located in the operating system. Specifically, it includes the following steps:

[0248] S101. The notification service module sends a real-time progress notification message template development guide to a third-party application.

[0249] Optionally, the third-party application may pre-agreed with the notification service module to use a real-time progress notification message template to display the real-time progress notification message.

[0250] Optionally, the notification service module can send the real-time progress notification message template development guide to the third-party application. Among them, the real-time progress notification message template development guide contains the filling rules for the real-time progress notification message template parameters. For example, it is stipulated that the real-time progress notification message needs to indicate that the notification message is a real-time progress notification message through extended parameters. For another example, it is stipulated that the third-party application needs to fill in the icon area parameters, the main information area parameters and the sub-information area parameters, and can fill in the extended area parameters and the auxiliary area parameters as needed. The third-party application can indicate whether the icon area is a composite icon through extended parameters, and / or the rich text information in the main information area and the sub-information area, and / or whether the real-time progress notification message includes an extended area or an auxiliary area, etc.

[0251] S1501. A user triggers a real-time progress service of a third-party application.

[0252] For example, taking the third-party application as a food delivery application, a user can place an order and pay for the food delivery order in the food delivery application to trigger the real-time progress of the food delivery service.

[0253] S1502: The third-party application generates a first real-time progress notification message parameter.

[0254] After the third-party application starts the real-time progress service, it will generate a first real-time progress notification message parameter to notify the user that the real-time progress service has started.

[0255] Optionally, the first real-time progress notification message parameters may include application or service icon parameters, main information parameters of the notification message, and secondary information parameters of the notification message. The first real-time progress notification message parameters may also include operation control parameters, detailed information parameters of the notification, etc. according to the needs of specific applications.

[0256] The first real-time progress notification message parameter may carry an extended parameter.

[0257] Exemplarily, when the extension parameter in the extension field 0 carried in the first real-time progress notification message parameter is true, it indicates that the notification message is a real-time progress notification message;

[0258] As another example, the extended parameter in the extended field 1 carried in the first real-time progress notification message parameter is true, indicating that the icon area of ​​the notification message is a composite icon.

[0259] S1503: The third-party application sends the first real-time progress notification message parameter to the notification service module.

[0260] S1504: The notification service module creates a first real-time progress notification message according to the first real-time progress notification message parameters, and sends it to the notification control module.

[0261] Optionally, the notification service module is located in the application framework layer of the operating system, that is, after the operating system receives the first real-time progress notification message parameters from the third-party application, it creates the first real-time progress notification message in the operating system.

[0262] Exemplarily, if the extension field 0 in the real-time progress service notification message parameters is true, the notification message is a real-time progress notification message. The notification service module creates a first real-time progress notification message according to the real-time progress notification message template, and fills the application or service icon, notification main message, notification secondary message, operation control, notification detailed information parameters and other contents in the real-time progress service notification message into the real-time progress notification message template.

[0263] Optionally, the notification service module may receive first real-time progress notification message parameters of multiple third-party applications, and then create multiple corresponding first real-time progress notification messages.

[0264] S1505: The notification control module receives the first real-time progress notification message and triggers the notification display module to display the first real-time progress notification message.

[0265] Optionally, the notification display module may be a notification center or a notification bar in a SystemUI notification component. This embodiment of the present application does not impose any specific restrictions on this.

[0266] S1506. The notification display module displays a first real-time progress notification message.

[0267] Exemplarily, the notification display module may display in the notification bar: Figure 7-Figure 11 The first real-time progress notification message shown in .

[0268] In one embodiment, the first real-time progress notification message may also be displayed in a pop-up window on the mobile phone desktop, on a lock screen interface, etc.

[0269] S1511. The user triggers the lock screen display module to enter the lock screen interface.

[0270] Exemplarily, the user can click the lock screen button of the mobile phone to trigger the lock screen.

[0271] S1512. The lock screen display module sends a lock screen notification to the notification control module.

[0272] S1513. The notification control module triggers the lock screen to display the first real-time progress notification message.

[0273] Optionally, after receiving the lock screen notification from the lock screen display module, the notification control module triggers the lock screen display module to display the first real-time progress notification message on the lock screen.

[0274] S1514. The lock screen display module displays the first real-time progress notification message on the lock screen.

[0275] For example, Fig.12 As shown in (b), the lock screen display module can display the takeaway notification message on the lock screen interface.

[0276] In one embodiment, when the service status of the third-party application changes, the real-time progress notification message may be updated.

[0277] Among them, the real-time progress update service can be triggered by the user or by a third-party application, and the embodiment of the present application does not impose any specific restrictions on this.

[0278] S1521. The user triggers the update of the real-time progress service.

[0279] Exemplarily, for a music playing notification message, the user may click on a “play next music control” of the music playing notification message to update the music playing service.

[0280] or,

[0281] S1521', a third-party application triggers an update of the real-time progress service.

[0282] For example, for a takeaway notification message, Fig.14 As shown, after the rider picks up the meal, the food delivery app can trigger an update of the real-time progress message of the food delivery.

[0283] S1522: The third-party application generates a second real-time progress notification message parameter.

[0284] Optionally, when the real-time progress service is updated, the third-party application generates a second real-time progress notification message parameter to notify the user that the real-time progress service has been updated.

[0285] In one embodiment, the second real-time progress notification message parameters may include application or service icon parameters, main information parameters of the notification message, and secondary information parameters of the notification message. The second real-time progress notification message parameters may also include operation control parameters, detailed information parameters of the notification, etc. according to the needs of specific applications.

[0286] Compared with the first real-time progress notification message parameters, the corresponding parameters of the updated content have changed. Fig.14 As shown, for a takeaway notification message, when the takeaway progress changes, parameters such as the main information parameter, the secondary information parameter, and the notification detailed information parameter in the second takeaway notification message parameters change.

[0287] In a possible embodiment, the second real-time progress notification message parameters also include the historical parameters in the first real-time progress notification message parameters.

[0288] Optionally, the history parameter may be a detailed information parameter of the notification message in the second real-time progress notification message parameter and the first real-time progress notification message parameter.

[0289] Exemplarily, the second takeaway notification message parameters also include detailed information parameters of the notification message in the first takeaway notification message parameters, etc.

[0290] Optionally, the second real-time progress notification message parameter may also carry an extended parameter.

[0291] In another embodiment, the second real-time progress notification message parameter may carry a mask parameter, and the mask parameter may indicate partial parameters of the area that needs to be updated in the first real-time progress notification message.

[0292] For example, it is shown in Table 2 below:

[0293] Table 2

[0294] Region Name Mask bits Icon Area 0x01 Main information area 0x02 Sub-information area 0x04 Auxiliary Area 0x08 Extension Area 0x10

[0295] Among them, when the icon area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x01; when the main information area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x02; when the sub-information area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x04; when the auxiliary area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x08; when the extended area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x10.

[0296] Optionally, when multiple areas of the first real-time progress notification message need to be updated, multiple mask bits may be carried in the second real-time progress notification message parameter.

[0297] Exemplarily, when the icon area and the main information area of ​​the first real-time progress notification message need to be updated, the mask bit 1 carried in the second real-time progress notification message parameter is 0x01, and the mask bit 2 is 0x02;

[0298] Optionally, the second real-time progress notification message parameters may also only include parameters of the update area and corresponding mask bits.

[0299] Exemplarily, when the icon area of ​​the first real-time progress notification message needs to be updated, the mask bit carried in the second real-time progress notification message parameter is 0x01, and the second real-time progress notification message parameter only includes relevant parameters of the icon area. This embodiment of the application does not impose specific restrictions on this.

[0300] S1523: The third-party application sends the second real-time progress notification message parameters to the notification service module.

[0301] S1524: The notification service module updates the first real-time progress notification message according to the second real-time progress notification message parameters, obtains the second real-time progress notification message, and sends it to the notification control module.

[0302] Optionally, the notification service module is located in the application framework layer of the operating system, that is, after the operating system receives the second real-time progress notification message parameters from the third-party application, it updates the first real-time progress notification message, obtains the second real-time progress notification message, and sends it to the notification control module.

[0303] Optionally, the notification service module may update the first real-time progress notification message according to the mask bit carried in the second real-time progress notification message parameter.

[0304] For example, for a takeaway notification message, if the mask bit 1 carried in the second takeaway notification message parameter is 0x02, the mask bit 2 is 0x04, and the mask bit 3 is 0x10, then the contents of the main information area, the secondary information area, and the extended area in the first takeaway notification message need to be updated, and the first takeaway notification message is updated according to the parameters of the main information area, the secondary information area, and the extended area in the second takeaway notification message parameter. Fig.14 As shown, the notification service module can update and replace the main information area 1004', the sub-information area 1005' and the extended area 1006' at the corresponding positions in the first take-out notification message.

[0305] Optionally, the second real-time progress notification message may further include historical information in the first real-time progress notification message.

[0306] For example, for a takeaway notification message, Fig.14 As shown, the extended area 1006 ′ of the second takeout notification message also includes the historical progress track in the first takeout notification message 1006 .

[0307] In a possible embodiment, the notification service module may create a second real-time progress notification message according to the second real-time progress notification message parameters, and then replace the first real-time progress notification message.

[0308] For example, for a high-speed rail notification message, Fig.13 As shown, the notification service module can create a second high-speed rail notification message 902' according to the second high-speed rail notification message parameters. Then, the second high-speed rail notification message 902' replaces the first high-speed rail notification message 902.

[0309] In a possible embodiment, the second real-time progress notification message parameters may also include historical parameters of the first real-time progress notification message parameters, and the notification service module may create a second real-time progress notification message according to the second real-time progress notification message parameters, and then replace the first real-time progress notification message.

[0310] For example, for a takeaway notification message, the second takeaway notification message parameters include parameters such as detailed information parameters of the notification information displayed in the extension area 1006 in the first takeaway notification message parameters. Fig.14 As shown, the notification service module can directly create a second takeaway notification message 1002' according to the second takeaway notification message parameters. Then, the second takeaway notification message 1002' replaces the first takeaway notification message 1002.

[0311] S1525. The notification control module receives the second real-time progress notification message and triggers the notification display module to display the second real-time progress notification message.

[0312] S1526. The notification display module displays a second real-time progress notification message.

[0313] Exemplarily, the notification display module may display in the notification bar: Fig.13 The second high-speed rail notification message 902' is shown.

[0314] In one embodiment, the second real-time progress notification message may also be displayed in a pop-up window on the mobile phone desktop, on a lock screen interface, etc.

[0315] S1531. The notification control module triggers the lock to display a second real-time progress notification message.

[0316] Optionally, after receiving the lock screen notification from the lock screen display module, the notification control module triggers the lock screen display module to display the second real-time progress notification message on the lock screen.

[0317] S1532. The lock screen display module displays the second real-time progress notification message on the lock screen.

[0318] For example, Fig.14 As shown, the lock screen display module can display the second takeaway notification message 1002' on the lock screen interface.

[0319] In one embodiment, the user may interact with the real-time progress notification messages.

[0320] S1541. The user clicks on the real-time progress notification message.

[0321] S1542: Notify the control module to respond to the user's click operation.

[0322] S1543. Notify the control module to control the application to jump to the application interface.

[0323] Optionally, the notification control module controls the mobile phone application to jump to the application interface corresponding to the real-time progress notification message.

[0324] In one embodiment, the user can also interact with the real-time progress notification message on the lock screen interface.

[0325] S1551. The user clicks on the real-time progress notification message on the lock screen interface.

[0326] S1552. Notify the control module to respond to the user's click operation.

[0327] Optionally, the notification control module responds to a click operation by the user to unlock the mobile phone screen.

[0328] S1553. Notify the control module to control the application to jump to the application interface.

[0329] Optionally, the notification control module controls the mobile phone application to jump to the application interface corresponding to the real-time progress notification message.

[0330] In one embodiment, the real-time progress notification message can be switched between the notification bar interface and the lock screen interface for display.

[0331] Optionally, when the real-time progress notification message is displayed on the notification bar interface, it can be switched to the lock screen interface for display.

[0332] S1561. The user triggers the lock screen display module to enter the lock screen interface.

[0333] Optionally, the user can click the lock screen button of the mobile phone to trigger the lock screen, triggering the lock screen display module to enter the lock screen interface.

[0334] S1562. The lock screen display module sends a lock screen notification to the notification control module.

[0335] S1563. The notification control module displays the real-time progress notification message on the lock screen interface.

[0336] S1564. The lock screen display module displays a real-time progress notification message on the lock screen.

[0337] For example, Fig.12 As shown in (b), the takeaway notification message 1002 is displayed on the lock screen interface 1202.

[0338] Optionally, when the real-time progress notification message is displayed on the lock screen interface, it can be switched to the notification bar interface for display.

[0339] S1571. The user triggers the lock screen display module to enter the unlock screen.

[0340] Optionally, the user can click the unlock button of the mobile phone to trigger unlocking.

[0341] S1572. The lock screen display module sends a notification to the notification control module to remove the real-time progress notification message of the lock screen interface.

[0342] S1573. The notification control module displays the real-time progress notification message on the notification bar interface.

[0343] S1574. The notification display module displays the real-time progress notification message in the notification bar interface.

[0344] For example, Fig.12 As shown in (a), the takeaway notification message 1002 is displayed on the notification bar interface 1201.

[0345] In one embodiment, the real-time progress notification message may be removed.

[0346] The end of the real-time progress notification message may be triggered by the user or by the third-party application itself; or the real-time progress notification message may be passively ended.

[0347] S1581. The user triggers the end of the real-time progress notification message.

[0348] Exemplarily, for a navigation notification message, the user can end navigation in the navigation application.

[0349] S1581', the third-party application triggers the end of the real-time progress notification message.

[0350] For example, for a food delivery notification message, when the rider arrives to deliver the food, the food delivery application can trigger a real-time progress message to end the food delivery.

[0351] S1582. The third-party application sends the end real-time progress notification message parameters to the notification service module.

[0352] Optionally, the third-party application may carry an end command when sending the real-time progress notification message parameters.

[0353] S1581”, passive end real-time progress notification message.

[0354] Optionally, a preset time for the real-time progress notification message of each service can be set, and the creation time and the last refresh time of the real-time progress notification message of each service can be recorded. If the difference between the creation time and the last refresh time of the real-time progress notification message of the service is greater than the preset time, it means that the real-time progress notification message of the service may be wrong, and the notification control module triggers a command to end the real-time progress notification message of the service.

[0355] S1582', the notification control module sends a command for triggering the end of the real-time progress notification message to the notification service module.

[0356] S1583. The notification service module sends a command to end the real-time progress notification message to the notification control module.

[0357] S1584. The notification control module sends a command to remove the real-time progress notification message to the notification display module according to the end of the real-time progress notification message.

[0358] Optionally, the notification display module removes the real-time progress notification message from the notification bar interface.

[0359] S1594. The notification control module sends a command to remove the real-time progress notification message to the lock screen display module according to the end of the real-time progress notification message.

[0360] Optionally, the lock screen display module removes the real-time progress notification message on the lock screen interface.

[0361] Optionally, the notification message may be divided into a real-time progress notification message and a non-real-time progress notification message.

[0362] Optionally, real-time progress notification messages can be displayed in the first area; non-real-time progress notification messages can be displayed in the second area. The first area is located above the second area, so that users can quickly find important notifications.

[0363] In one embodiment, the non-real-time progress notification message may be divided into a service notification message and content information according to the category of the non-real-time progress notification message.

[0364] Among them, service notification messages include notification messages of social applications and important service reminders (such as bank service reminders), which are displayed in the third area; content information includes advertising messages, which are displayed in the fourth area. The third area and the fourth area are sub-areas of the second area.

[0365] Optionally, the third area is located above the fourth area, so that users can quickly find important notifications.

[0366] In another embodiment, the non-real-time progress notification messages may be divided into important notification messages and non-important notification messages according to their importance.

[0367] Optionally, important notification messages are displayed in the third area, and non-important notification messages are displayed in the fourth area. The third area and the fourth area are sub-areas of the second area. Optionally, the third area is located above the fourth area. This facilitates users to quickly find important notifications.

[0368] Optional. Generally, service notification messages are important notification messages, while content information is non-important notification messages.

[0369] For example, Fig.16 As shown, the notification bar interface 1601 includes multiple notification messages.

[0370] Among them, the takeaway notification message 1602 is a real-time progress notification message, which is displayed in the first area at the top of the notification bar interface 1601, so that the user can quickly view it. The other non-real-time progress notification messages are displayed in the second area below.

[0371] Optionally, the SMS notification message 1603 and the call notification message 1605 are notification messages of social applications, and the bank notification message 1604 is an important service reminder, which are displayed in the third area in the middle of the notification bar interface 1601 to facilitate users to quickly find important notification messages.

[0372] Optionally, the video notification message 1606 and the shopping notification message 1607 are advertising notification messages, which are displayed in the fourth area at the bottom of the notification bar interface 1601 to prevent the user from being disturbed by the advertising notification messages and being unable to quickly find important notification messages.

[0373] In one embodiment, a newly added notification message is displayed in a corresponding area according to the classification and importance of the notification message.

[0374] Optionally, if a new real-time progress notification message is added, it will be displayed in the first area at the top of the notification bar interface 1601. The new real-time progress notification message can be located above or below the takeaway notification message 1602. This embodiment of the present application does not limit this.

[0375] Optionally, if a new service notification message is added, it will be displayed in the third area in the middle of the notification bar interface 1601. The new notification message can be located below or above the existing notification message in the third area, and this embodiment of the present application does not limit this.

[0376] For example, Fig.16 As shown, the latest bank notification message 1604 in the third area is located above the call notification message 1605.

[0377] Optionally, the user can also set a notification message to be pinned to the top in each area. For example, Fig.16 As shown, the SMS notification message 1603 in the third area is earlier than the bank notification message 1604. The user sets the SMS notification message 1603 as a top message, and the SMS notification message 1603 is located at the top of the third area.

[0378] Optionally, if a new content information is added, it is displayed in the third area at the bottom of the notification bar interface 1601. The new content information can be located below or above the existing notification message in the fourth area, and this embodiment of the application does not limit this. Optionally, the content information can be displayed in the following manner: Fig.16 The More Notifications area is shown.

[0379] For example, Fig.16 As shown, the latest video notification message 1606 in the fourth area is located above the shopping notification message 1607.

[0380] In one embodiment, three view stubs may be attached to the original notification list root layout to implement the function of displaying notification messages in different regions.

[0381] Optionally, the notification message list of each area can be managed through a list view. Each area's notification list implements interfaces such as adding, sorting, and removing. When there is a notification message for a certain area, the notification message list view of that area replaces the original notification message list with the corresponding view stub under the layout to load the layout. The overall functional division can be shown in Table 3 below:

[0382] Table 3

[0383]

[0384] As shown in Table 3, the operating system in the mobile phone may include three sub-modules, namely, a notification display module, a notification control module, and a notification service module.

[0385] Optionally, the notification display module includes a notification message list view function. Specifically, the notification display module includes multiple core classes that can implement the notification message list view function.

[0386] Optionally, NotificationCenterRootView has the notification message list root layout function of the notification center (notification bar). INotificationListView can provide a notification message partition list operation interface. RealTimeProgressNotificationListView can implement the function of real-time progress notification message list view. ServiceNotificationListView can implement the function of service notification message list view. ContentInformationListView can implement the function of content information notification message list view.

[0387] Optionally, the notification display module includes a notification center (notification bar) view management function. Specifically, the core class NotificationCenterLayoutManager in the notification display module includes a notification center (notification bar) view management function.

[0388] Optionally, the notification control module includes an internal notification message management function. Specifically, the notification control module includes multiple core classes that can implement the internal notification message management function.

[0389] Optionally, NotificationController is a notification message controller that can implement management and control of notification messages. NotificationClassifier is a notification message classifier that identifies the category of notification messages. NotificationListener is a notification message listener that receives new notification message events.

[0390] Optionally, the notification service module includes an external notification data service function. Specifically, the notification service module includes multiple core classes that can implement the external notification data service function.

[0391] Optionally, NotificationManagerService is a notification management service that provides management of operating system-level notification messages and new notification messages. NotificationCache can implement notification message caching.

[0392] In one embodiment, different notification message reminder modes may be set for notification messages of different importance.

[0393] Optionally, for important notification messages, strong reminders can be given. For example, real-time progress notification messages and service notification messages can be reminded in a variety of ways and displayed first in the interface. For example, SMS notification messages are important notification messages, which can be displayed in the notification bar interface, mobile desktop pop-up window display, lock screen interface display, etc. You can also light up the screen after receiving SMS messages.

[0394] For unimportant notification messages, weak reminders are provided. For example, content information can be displayed only in the notification bar interface with low priority to avoid excessive interference to users.

[0395] Optionally, the content information can also be displayed in a folded form. Fig.17A As shown, it can be Fig.16 The video notification message 1606 and the shopping notification message 1607 in the more notifications are collapsed and displayed as Fig.17A More notifications collapse box 1701.

[0396] In one embodiment, when content information is displayed in a folded form, notification messages that may be of interest to the user may be intelligently recommended.

[0397] Specifically, based on data such as user click rate, application usage rate, content type, etc., notification messages that users are interested in are actively recommended and displayed.

[0398] Optionally, for a notification message, when the user click rate and the application usage rate corresponding to the notification message are both greater than a first threshold and the content type is of interest to the user (for example, the user likes ancient style types), the operating system can recommend the notification message in more notifications.

[0399] For example, if the first threshold is 10%, for the ancient music recommendation notification message, the click rate of users clicking on the music recommendation notification message is 12%, and the user's usage rate of the music application is 20%, both of which are greater than the first threshold, then it can be determined that the content type of the ancient music recommendation notification message is the type that the user likes. The operating system can recommend the ancient music recommendation notification message in more notifications.

[0400] For example, Fig. 17B As shown, the ancient music recommendation notification message 1703 in the more notifications 1702 is expanded and displayed, while the video notification message 1606 and the shopping notification message 1607 are collapsed.

[0401] In one embodiment, the display area of ​​the notification message may be determined based on the authorized user portrait.

[0402] Exemplarily, the notification messages that the user is interested in from more notifications can be displayed in the third area. For example, if the user uses the short video application frequently, with a usage rate greater than 40%, the notification message of the short video can be displayed in the third area.

[0403] In the related art, it is generally up to a third-party application to set whether a notification message is an important message. However, in order to increase their own exposure and importance, third-party applications often set most notification messages as important messages, resulting in an overflow of notification messages and excessive interference to users.

[0404] In the embodiment of the present application, each notification message can be recalibrated to determine whether the notification message is an important message, and the notification message can be displayed in the corresponding notification bar area.

[0405] Optionally, the importance of the feature message can be calibrated through the PUSH server. Specifically, the PUSH server can weight the importance of the notification message according to the original importance of the notification message, the importance of the notification message sending channel, the importance of the notification message application, and the importance of the notification message content. Among them, the importance of the notification message application has a higher weight.

[0406] Optionally, the notification message may be sent through a Push client agent or through other means.

[0407] Take the notification message sent by the Push client proxy as an example. When sending a notification message, the third-party application can select different channels to send the notification message based on the importance of the notification message and the extended field carried by the notification message. Different channels have different importance.

[0408] For example, when a food delivery application sends a notification message related to a system upgrade, it carries an extension field indicating that the system upgrade notification message is sent through channel 1. When a food delivery application sends an advertisement-related notification message, it carries an extension field indicating that the advertisement notification message is sent through channel 0. The importance of channel 1 is 8, and the importance of channel 0 is 2.

[0409] Optionally, the original importance of the notification message and the channel information through which the notification message is sent can be obtained from the notification message parameters sent by the third-party application. The importance of the notification message sending channel, the importance of the notification message application, and the importance of the notification message content can be determined based on big data or set based on the developer's experience. The embodiments of the present application do not impose any specific restrictions on this.

[0410] For example, the original importance weight of the notification message is 1, the original channel weight of the notification message is 2, the importance weight of the notification message application is 5, and the importance weight of the notification message content is 2. If the importance of the notification message is greater than or equal to the preset threshold, it is an important message and a strong reminder is given; if the importance of the notification message is less than the preset threshold, it is a non-important message and a weak reminder is given.

[0411] Exemplarily, the preset threshold can be set to 5. If the original importance of the SMS notification message is 8, the importance of the SMS notification message sending channel is 8, the importance of the SMS application is 8, and the importance of the SMS notification message content is 8, then the importance of the SMS notification message after calibration is 8, which is greater than the preset threshold. The SMS notification message is considered an important message and a strong reminder is issued.

[0412] For another example, the original importance of the video notification message is 8, the importance of the video notification message sending channel is 2, the importance of the video application is 2, and the importance of the SMS notification message content is 1. The calibrated importance of the video notification message is 2.4, which is less than the preset threshold. The video notification message is a non-important message and a weak reminder is given.

[0413] Optional, Huawei Push Service (HMS Core Push Service) is a solution platform that provides notification push for third-party applications in the ecosystem expansion. Combined with the use of Push push service, there are three typical scenarios for sending notification messages:

[0414] (1) In-app local notification scenarios

[0415] For example, in the scenario of a notification message triggered by local logic in a third-party application, or a notification message triggered by a third-party application through a third-party push platform, the sender of the notification message is the local third-party application, and the responder of the notification application is also the third-party application.

[0416] Optionally, in this scenario, when a notification message is received in the notification listener, the Push interface can be called back to calibrate the notification message to determine whether the notification message is an important message.

[0417] (2) Cloud Push in-app notification scenario

[0418] Specifically, the server on the Push cloud side sends a notification message to the Push client, and then the Push client triggers the third-party application to send a notification message. In this scenario, the sender of the notification message is the local third-party application, and the responder of the notification application is also the third-party application.

[0419] Optionally, in this scenario, the intelligent classification engine in the Push cloud server may calibrate the notification message, and carry the calibration result of the notification message when sending the notification message.

[0420] (3) Cloud Push cross-application notification scenarios

[0421] Specifically, the server on the Push cloud side sends a notification message to the Push client, and the Push client agent sends the notification. The sender of the notification message is the Push client, and the responder is the application.

[0422] Optionally, in this scenario, the intelligent classification engine in the Push cloud server may calibrate the notification message, and carry the calibration result of the notification message when sending the notification message.

[0423] Optionally, the notification process for the above three scenarios can be as follows: Fig.18 As shown:

[0424] The notification process for the local notification scenario within the application may include the following steps S1801-S1810:

[0425] Among them, steps S1801 to S1804 of creating a notification message can refer to the contents of steps S1501 to S1504 of creating the first real-time progress notification message, which will not be repeated here.

[0426] S1805 , the notification control module triggers the PUSH server calibration notification message.

[0427] S1806. PUSH server calibration notification message.

[0428] Optionally, the PUSH server may calculate the importance of the notification message by weighting according to the original importance of the notification message, the importance of the notification message sending channel, the importance of the notification message application, and the importance of the notification message content.

[0429] Exemplarily, the importance of the SMS notification message before calibration is 8, and the importance after calibration is 8; the importance of the video notification message before calibration is 8, and the importance of the video notification message after calibration is 2.4.

[0430] S1807. The PUSH server sends the notification message calibration result to the notification control module.

[0431] Exemplarily, the PUSH server sends the calibrated importance levels of the SMS notification message and the video notification message to the notification control module.

[0432] S1808. The notification control module determines a display area for the notification message according to the notification message calibration result.

[0433] Optionally, the notification control module can set the preset threshold to 5. When the importance of the notification message is greater than or equal to 5, it is displayed in the third area, and when the importance of the notification message is less than 5, it is displayed in the fourth area. Exemplarily, the SMS notification message is displayed in the third area, and the video notification message is displayed in the fourth area.

[0434] S1809. The notification control module triggers the notification display module to display the notification message.

[0435] S1810. The notification display module displays a notification message.

[0436] For example, Fig.16 As shown, the SMS notification message 1603 is displayed in the third area; and the video notification message 1606 is displayed in the fourth area.

[0437] For the notification scenario in the cloud push application, the notification process can be as follows: S1821-S1832:

[0438] S1821. User triggers notification service.

[0439] For example, a user opens a food delivery app.

[0440] Optionally, a third-party application server may also trigger a notification service, see the following step S1823 for details.

[0441] S1822. The third-party application triggers a third-party application server notification service.

[0442] Exemplarily, the food delivery application may trigger the food delivery application server to send a notification message in response to a user opening the food delivery application.

[0443] S1823. The third-party application server triggers a notification service.

[0444] Optionally, the third-party application server can determine when to send notification messages through internal logic and rules. For example, a food delivery application sends discount notification messages to users at 11:00 noon every day to remind users to use the food delivery application.

[0445] S1824. The third-party application server sends notification message parameters to the PUSH server.

[0446] Optionally, the food delivery application server may send notification message parameters via a PUSH server.

[0447] S1825. PUSH server calibration notification message parameters.

[0448] Optionally, the PUSH server may calculate the importance of the notification message by weighting according to the original importance of the notification message, the importance of the notification message sending channel, the importance of the notification message application, and the importance of the notification message content.

[0449] Exemplarily, the importance of the SMS notification message before calibration is 8, and the importance after calibration is 8; the importance of the video notification message before calibration is 8, and the importance of the video notification message after calibration is 2.4.

[0450] Optionally, the PUSH server may carry the notification message calibration result in an extended parameter.

[0451] S1826. The PUSH server sends the calibrated notification message parameters to the PUSH client.

[0452] S1827. The PUSH client sends the calibrated notification message parameters to the third-party application.

[0453] S1828. The third-party application sends the calibrated notification message parameters to the notification service module.

[0454] S1829. The notification service module creates a notification message and sends it to the notification control module.

[0455] Optionally, the notification service module may send the created notification message and the notification message calibration result to the notification control module.

[0456] Optionally, steps S1830-S1832 of determining the notification message display area and displaying the notification message may refer to the above steps S1808-S1810 and will not be repeated here.

[0457] The notification process for cloud push cross-application notification scenarios can be as follows: Steps S1841-S1849:

[0458] S1841. The third-party application server triggers a notification service.

[0459] Optionally, the user can also trigger a notification service.

[0460] S1842. The third-party application server sends the notification message parameters to the PUSH server.

[0461] S1843. PUSH server calibration notification message parameters.

[0462] For details, please refer to the above step S1825.

[0463] S1844. The PUSH server sends the calibrated notification message parameters to the PUSH client.

[0464] S1845. The PUSH client sends the calibrated notification message parameters to the notification service module.

[0465] Optionally, steps S1846-S1849 of creating a notification message, determining a notification message display area, and displaying the notification message may refer to the above steps S1829-S1832 and will not be repeated here.

[0466] In this way, the operating system can calibrate the importance of the notification message, display the notification message in the appropriate area, and improve the user experience.

[0467] In one embodiment, the real-time progress notification message can be displayed in the form of a unified live capsule in the status bar of the mobile phone and support interactive operations.

[0468] In related technologies, such as Fig.19 As shown in the figure, in the mobile phone desktop interface, the real-time progress notification messages are disorganized, affecting the user experience. To solve this problem, the embodiment of the present application can use the capsule information of the real-time progress notification message to uniformly display the real-time progress notification message on the mobile phone desktop using the live capsule. The mobile phone desktop is tidy, which improves the user experience.

[0469] Optionally, the notification message sent by the third-party application to the operating system carries an extended parameter, and the extended parameter may indicate whether the notification message can be displayed as a live capsule.

[0470] For example, the third-party application can add a notification message identifier in the extended parameter of Notification#extras to distinguish whether the notification message can be displayed as a live capsule. For specific parameter settings, please refer to the following Tables 4 and 5:

[0471] Table 4

[0472]

[0473]

[0474] Among them, notification.Capsule is a boolean type data. When this parameter is true, it means that the notification message supports live capsule display; when this parameter is false, it means that the notification message does not support live capsule display. notification.CapsuleAction is an int type data. When this parameter is 0, it means creating a live capsule display; when this parameter is 1, it means updating the live capsule display; when this parameter is -1, it means ending the live capsule display; notification.CapsuleParams is a Bundle type data, which indicates the parameters of the live capsule.

[0475] Optionally, the parameters of the real-time capsule in Table 4 may be as shown in Table 5 below:

[0476] Table 5

[0477]

[0478] Among them, notification.capsule.Type is Int type data, including multiple subcategories. When this parameter is 1, it means that the live capsule is displayed as an icon class, such as Fig. 20 The call live capsule 2001 shown in ; when this parameter is 2, it means that the live capsule is displayed as an icon text type, such as Fig. 20 The takeaway live video capsule 2005 shown in ; when this parameter is 3, it means that the live video capsule is displayed as a timer type, such as Fig. 20 The call live capsule 2002, screen recording live capsule 2003, and countdown live capsule 2004 shown in the figure; when the parameter is 4, it means that the live capsule is displayed as a progress type, such as Fig. 20 The Bluetooth transmission live capsule 2006 shown in FIG. 2; when the parameter is 5, it means that the live capsule is displayed as a percentage, such as Fig. 20The step counting live capsule in sports health 2007 shown in . The data of type Svg in notification.capsule.Icon is used to indicate the icon or icon animation of the live capsule. The data of type Int in notification.capsule.BgColor is used to indicate that the live capsule has a solid color background. The data of type Bitmap in notification.capsule.BgPic is used to indicate the background image of the live capsule. This parameter is optional. The data of type SpannbleString in notification.capsule.HintText is used to indicate the hint text of the live capsule (icon text class). The data of type Time in notification.capsule.ResumeTime is used to indicate the start time of the pause, resume / countdown class of the live capsule (timing class). The data of type Boolean in notification.capsule.TimeReverse is used to indicate that the live capsule is a countdown live capsule when the parameter is true; when the parameter is false, it indicates that the live capsule is not a countdown live capsule. The data of type int in notification.capsule.ProgressTotel is used to indicate the total progress of the task in the live capsule. notification.capsule.ProgressCurrent contains int type data, which is used to indicate the current progress (progress type, percentage type) in the live capsule.

[0479] In one embodiment, the live capsule may be adaptively lengthened when displayed on a larger screen.

[0480] Optionally, when the live capsule is displayed in an unfolded state on a wide-screen device such as a foldable screen mobile phone or a tablet, or in a horizontal state on a narrow-screen device such as a horizontal screen mobile phone, more content can be displayed in the live capsule.

[0481] For example, Fig. 20 As shown, the call real-time capsule 2012 includes the call application icon, the call time 00:20, and the contact person "Xiao Ming". The takeaway real-time capsule 2015 includes the takeaway application icon, the distance of the rider from the merchant to 500 meters, and the takeaway status "the rider has received the order".

[0482] Optionally, the Live Capsule can be adaptively extended to not display more content.

[0483] For example, Fig. 20 As shown, the Bluetooth transmission live capsule 2016 includes a Bluetooth icon and a Bluetooth transmission progress.

[0484] Optional, such as Fig.21 (a) is a schematic diagram of real-time progress messages displayed on the desktop 2101 in the related art, including a screen recording notification message 2102 and a call notification message 2103.

[0485] Optionally, in the embodiment of the present application, the screen recording notification message and the call notification message can be displayed in the status bar in the form of a live capsule. Fig.21 As shown in (b), the status bar 2112 in the desktop 2111 includes a screen recording live capsule 2113 and a call live capsule 2114.

[0486] Optionally, the original layout of the status bar (for example, the time control) can be displaced accordingly according to the display or exit of the live capsule, such as Fig.21 As shown in (b), the time control is moved from the original left side of the status bar to the middle of the status bar.

[0487] Optionally, a view stub may be mounted under the status bar root layout as a live capsule root layout. When the live capsule needs to be displayed, the live capsule root layout replaces the stub view.

[0488] Optionally, the icon in the live capsule can be a picture or an animation. The icon of the live capsule is an application icon or a service icon, which is not specifically limited in the embodiment of the present application.

[0489] Optionally, the background of the live capsule can be a solid color background or a background of other patterns. Fig.21 As shown in (b), the screen recording live capsule 2113 is a solid color background, and the call live capsule 2114 is a patterned background. The specific background may be determined by a third-party application or an operating system, and the present embodiment of the application does not make any specific restrictions on this.

[0490] Optionally, the text and time in the live capsule can be refreshed according to the business progress. Fig. 20 The time "00:20" in the call live capsule 2002 can be refreshed in real time according to the time. The text "The rider has received the order" in the takeaway live capsule 2005 can be refreshed according to the real-time progress of the takeaway. For example, when the rider picks up the takeaway, the text is refreshed to "The rider has picked up the meal."

[0491] Optionally, users can interact with the live capsules.

[0492] For example, take the interaction between a user and a live call capsule as an example. Fig. 22 As shown in (a) of FIG. 1 , the user can click on the call live capsule 2202 in the desktop 2201. The mobile phone responds to the user's operation of clicking on the notification live capsule 2202, as shown in FIG. Fig. 22As shown in (b), a call card 2204 may be displayed on the interface 2203. Afterwards, the user may click on the call card 2204 on the interface 2203. In response to the user clicking on the call card 2204 on the interface 2203, the mobile phone may display the following Fig. 22 The call interface 2205 shown in (c).

[0493] Optionally, the user clicks Fig. 22 In (c), the user can click the return control of the call interface 2205, or slide left (or right) to return to the interface 2203 and display the call card 2204. The user can click the mobile phone desktop or slide left (or right) to return to the desktop 2201 and display the call capsule 2202. Alternatively, the user can slide the call interface 2205 to return to the desktop 2201 and display the call capsule 2202.

[0494] Optionally, the user can click on the call live capsule 2202 in the desktop 2201. In response to the user clicking on the notification live capsule 2202, the mobile phone can directly display the following information: Fig. 22 The call interface 2205 shown in (c) of the present application is not specifically limited to this.

[0495] Optional. The live capsule display of the notification message is implemented based on the extended parameters of the standard notification. The sub-module division is shown in Table 6 below:

[0496] Table 6

[0497]

[0498] The capsule display module (status bar) is located in the display layer, and can display and refresh live capsules according to notification messages from third-party applications, and support the interaction of live capsules. Specifically, the capsule display module can realize the display and exit of live capsules; the capsule display module can also expand live capsules to cards according to user operations and open the corresponding application interface, such as Fig. 22 The capsule display module can also collapse the application interface into a card or a live capsule, and collapse the card into a live capsule according to the user operation.

[0499] The capsule control module is located in the control layer and can manage the status of the live capsule, refresh the live capsule, and manage multiple live capsules. Specifically, the capsule extension module can receive notification messages from the application to display and exit the live capsule. The capsule extension module can also receive update notification messages from the application's live capsule and refresh the live capsule.

[0500] The capsule extension template module is located in the service layer, supports the notification service module to extend the capsule parameters, supports the analysis and processing of the capsule parameters, and is compatible with notification messages that are not adapted to the capsule parameters. Specifically, the capsule extension template module can obtain and parse the capsule parameters carried in the notification message template.

[0501] Optionally, specific parameters in the capsule display module, the capsule control module, and the capsule extension template module may be as shown in Table 6 below:

[0502] The capsule display module includes the display and refresh functions of the live capsule. Specifically, the capsule display module includes a plurality of core classes that can realize the display and refresh functions of the live capsule.

[0503] Optionally, StatusBarCapsule is a live capsule object to manage a single live capsule; StatusBarCapsuleView is a live capsule view base class to implement the basic functions of live capsule display and refresh. TimeCapsuleView can implement the extension of the timer class live capsule and support timer refresh; ProgressCapsuleView supports the extension of the task progress class live capsule; PercentCapsuleView supports the extension of the percentage class live capsule; TextCapsuleView supports the extension of the icon text class live capsule.

[0504] Optionally, the capsule display module also includes displaying and refreshing the live capsule expanded into a card state. Specifically, the capsule display module includes a plurality of core classes to implement this function.

[0505] Optionally, ExpandCapsuleCard is a live capsule expansion card object to implement the management of live capsule cards; ExpandCapsuleCardView is a live capsule expansion card view base class to implement the basic functions of live capsule expansion card display and refresh; TimerExpandCapsuleCardView supports the extended implementation of timer-type live capsule expansion cards and supports timed refresh. ProgressExpandCapsuleCardView supports the extended implementation of task progress-type live capsule expansion cards; PercentExpandCapsuleCardView supports the extended implementation of percentage-type live capsule expansion cards; TextExpandCapsuleCardView supports the extended implementation of icon text-type live capsule expansion cards.

[0506] Optionally, the capsule control module includes functions of providing management of live capsules and external interaction. Specifically, the capsule control module includes multiple core classes to implement the functions.

[0507] Optionally, CapsuleManager is responsible for interacting with the outside world, receiving live capsule extension notification messages or broadcasts from the application, and refreshing the live capsule status through CapsuleController according to the parameters. CapsuleController can connect to external data and other internal modules, and is responsible for the creation, refresh, and exit of live capsules, as well as the priority management and display of multiple live capsules.

[0508] Optionally, the capsule service module includes a function of providing a live capsule extended parameter template. Specifically, the capsule service module includes multiple core classes to implement this function.

[0509] Optionally, CapsuleExtraTemplate is the base class of the live capsule extended parameter template; TimerCapsuleExtraTemplate is the live capsule extended parameter template class of the timing type; ProgressCapsuleExtraTemplate is the live capsule extended parameter template class of the task progress type; PercentCapsuleExtraTemplate is the live capsule extended parameter template class of the percentage type; TextCapsuleExtraTemplate is the live capsule extended parameter template class of the icon text type.

[0510] Table 7

[0511]

[0512]

[0513] In one embodiment, the content in the live capsule can be updated.

[0514] Optionally, for the same third-party application, the third-party application can send new live capsule parameters to the operating system, which carry the live capsule content of the updated state, use the channel and importance level of the original live capsule, and specify the notification ID of the original live capsule. Specifically, you can refer to the update method of the real-time progress notification message above, which will not be repeated here.

[0515] For example, take a take-away capsule as an example. Fig.23 As shown in (a), when the real-time progress notification message of the takeaway is updated, the "rider has accepted the order" in the takeaway live capsule 2005 is updated to the "rider has picked up the meal" in the takeaway live capsule 2005'.

[0516] For example, take the call live capsule as an example. Fig.23As shown in (b), as time goes by, the call duration is updated accordingly. After 1 second, the call duration "00:20" in the call live capsule 2002 is updated to the call duration "00:21" in the call live capsule 2002'.

[0517] In one embodiment, the life cycle management of the live capsule can be performed. Specifically, when the task is completed, the live capsule can be terminated (exit display).

[0518] Optionally, the end mode of the live capsule can be divided into active end and passive end according to different triggering parties. For details, please refer to the end mode of the above-mentioned real-time progress notification message.

[0519] In some embodiments, Fig.24 As shown, it is a flowchart of live capsule creation, update, interaction, and termination in an embodiment of the present application. Among them, the capsule service module supports the live capsule extension template. The capsule service module, capsule control module, and capsule display module are located in the operating system. Specifically, it includes the following steps:

[0520] S201. The capsule service module sends a live capsule template development guide to a third-party application.

[0521] Optionally, the third-party application may pre-agreed with the notification service module to display the live capsule using the live capsule template.

[0522] Optionally, the notification service module can send the live capsule template development guide to the third-party application. Among them, the live capsule template development guide contains the filling rules of the live capsule template parameters. For example, the parameters related to the live capsule display are specified: such as icons, texts, background colors, etc.; for another example, the parameters related to the live capsule management are specified: creation, update, end, etc.

[0523] S2401. The user collapses the live video capsule.

[0524] Optionally, the user can exit the mobile phone real-time progress service interface, display it on the mobile phone desktop, and collapse the real-time progress service into a live capsule. Fig. 22 As shown in (c), it is a call interface 2205. The user slides the screen to exit the call interface 2205. In response to the user's operation of exiting the call interface 2205, the mobile phone can collapse the call service into a call live capsule.

[0525] Optionally, steps S2402-2406 of creating and displaying a live capsule may refer to steps S1502-1506 of creating and displaying a real-time progress notification message, which will not be described in detail herein.

[0526] For example, the mobile phone may display Fig. 22The live call capsule 2202 shown in (a).

[0527] In some embodiments, when the service status of the third-party application changes, the live capsule may be updated.

[0528] Optionally, steps S2411-2416 of updating and displaying the live capsule may refer to steps S1521-1516 of creating and displaying the real-time progress notification message, which will not be described in detail here.

[0529] The second live capsule parameter may also carry a mask parameter, and the mask parameter may indicate an area where the first live capsule needs to be updated.

[0530] For example, it is shown in Table 8 below:

[0531] Table 8

[0532]

[0533]

[0534] When the icon of the first live capsule needs to be updated, the mask bit carried in the parameter of the second live capsule is 0x40; when the text of the first live capsule needs to be updated, the mask bit carried in the parameter of the second live capsule is 0x41; when the background of the first live capsule needs to be updated, the mask bit carried in the parameter of the second live capsule is 0x42;

[0535] For example, Fig.23 As shown in (a), when the rider picks up the takeaway, the mask bit carried in the second live capsule parameter is 0x41, and the "rider has accepted the order" in the first takeaway live capsule 2005 is updated to the "rider has picked up the meal" in the second takeaway live capsule 2005'.

[0536] For example, Fig.23 As shown in (b), as time goes by, the call duration is updated accordingly. After 1 second, the call duration "00:20" in the first call live capsule 2002 is updated to the call duration "00:21" in the second call live capsule 2002'.

[0537] In one embodiment, a user may interact with the live capsule.

[0538] S2421. The user clicks on the live capsule.

[0539] Optional, taking the call live capsule as an example, Fig. 22 As shown in (a), the user can click on the call live capsule 2202 in the desktop 2201.

[0540] S2422: The notification display module responds to the user's click on the live capsule operation and sends the user's click on the live capsule operation to the notification control module.

[0541] S2423. The notification control module triggers the notification display module to display the card.

[0542] S2424. Notify the display module to display the card.

[0543] Optionally, the card is a real-time progress notification message card.

[0544] For example, Fig. 22 As shown in (b), the notification display module can display a call card 2204 on the interface 2203.

[0545] S2425. The user clicks on a card.

[0546] For example, Fig. 22 As shown in (b), the user can click on the call card 2204 of the interface 2203.

[0547] S2426: The notification display module responds to the user clicking the card and sends the user clicking the card to the notification control module.

[0548] S2427. The notification control module triggers the notification display module to display the card.

[0549] For example, in response to the user clicking on the call card 2204 of the interface 2203, the mobile phone may display the following information: Fig. 22 The call interface 2205 shown in (c).

[0550] In one embodiment, the Live Capsule may be removed.

[0551] The end of the live capsule may be triggered by the user or by the third-party application itself; or the live capsule may be ended passively.

[0552] Optionally, steps S2431-S2434 of ending the live capsule may refer to steps S1581-S1584 of ending the real-time progress notification message, which will not be described in detail here.

[0553] In this way, the real-time progress notification messages are uniformly displayed on the mobile phone desktop using the live capsule, which makes the mobile phone desktop tidy and improves the user experience.

[0554] The following is a flow chart of a method for displaying a notification message provided in an embodiment of the present application. Fig.25 As shown, the method includes multiple steps S2501-S2504:

[0555] S2501. The operating system obtains a first real-time progress notification message parameter.

[0556] Specifically, the notification service module in the operating system may obtain the first real-time progress notification message parameter of the application service from the application.

[0557] S2502: The operating system displays a first real-time progress notification message.

[0558] The first real-time progress notification message is displayed according to the first real-time progress notification message parameters.

[0559] Optionally, the notification service module may create a first real-time progress notification message according to the first real-time progress notification message parameters and the real-time progress notification message template, and send the first real-time progress notification message to the notification display module to display the first real-time progress notification message.

[0560] For example, for a takeaway notification message, the mobile phone notification bar displays the following Fig.12 The real-time progress notification message shown in (a) of FIG. Or the mobile phone status bar can display the following Fig. 20 The live capsule shown in the takeaway live capsule 2005.

[0561] S2503: The operating system obtains a second real-time progress notification message parameter.

[0562] Specifically, the notification service module in the operating system may obtain the second real-time progress notification message parameter of the application service from the application.

[0563] S2504: The operating system updates the first real-time progress notification message to a second real-time progress notification message.

[0564] The second real-time progress notification message is displayed according to the second real-time progress notification message parameters.

[0565] Optionally, the notification service module in the operating system may obtain the second real-time progress notification message parameter of the application service from the application.

[0566] In one embodiment, the notification service module can create a second real-time progress notification message based on the second real-time progress notification message parameters and the real-time progress notification message template, and send the second real-time progress notification message to the notification display module, and the notification display module replaces the first real-time progress notification message with the second real-time progress notification message.

[0567] In another embodiment, the second real-time progress notification message parameter carries a mask parameter, and the mask parameter may indicate some parameters of the first real-time progress notification message that need to be updated.

[0568] The notification service module displays the second real-time progress notification message according to the first real-time progress notification message parameters and the partial parameters of the second real-time progress notification message parameters that need to be updated indicated by the mask parameter.

[0569] It should be noted that some operations in the processes of the above-mentioned method embodiments are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a limitation on the execution order between the steps. There may be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. A person of ordinary skill in the art will think of a variety of ways to reorder the operations described herein. In addition, it should be noted that the process details involved in a certain embodiment of this invention are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0570] In addition, some steps in the method embodiment may be equivalently replaced by other possible steps. Alternatively, some steps in the method embodiment may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiment.

[0571] Furthermore, the above method embodiments may be implemented separately or in combination.

[0572] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through lines. For example, the interface circuit can be used to receive signals from other devices. For another example, the interface circuit can be used to send signals to other devices. Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can execute the various steps executed by the mobile phone in the above embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiment of the present application.

[0573] An embodiment of the present application also provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the notification message display method in the above-mentioned embodiment.

[0574] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the method for displaying the notification message in the above-mentioned embodiment.

[0575] In addition, an embodiment of the present application also provides a device, which may specifically be a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the device executes the notification message display method in the above-mentioned method embodiments.

[0576] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0577] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0578] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. For example, the electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0579] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0580] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0581] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned readable storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program instructions.

[0582] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for displaying a notification message, characterized in that: include: Get the first real-time progress notification message parameters; Displaying a first real-time progress notification message; The first real-time progress notification message is displayed according to the first real-time progress notification message parameters; Get the second real-time progress notification message parameters; The first real-time progress notification message is updated to a second real-time progress notification message; and the second real-time progress notification message is displayed according to the second real-time progress notification message parameters.

2. The method according to claim 1, characterized in that The method further comprises: The second real-time progress notification message is displayed according to the first real-time progress notification message parameters and the second real-time progress notification message parameters.

3. The method according to claim 1, characterized in that The updating of the first real-time progress notification message to a second real-time progress notification message includes: generating a second real-time progress notification message according to the second real-time progress notification message parameters; The first real-time progress notification message is replaced by the second real-time progress notification message.

4. The method according to claim 2, characterized in that: The updating of the first real-time progress notification message to a second real-time progress notification message includes: Part of the content in the first real-time progress notification message is updated according to the second real-time progress notification message parameter to generate the second real-time progress notification message and display the second real-time progress notification message.

5. The method according to any one of claims 1 to 4, characterized in that: The application framework layer applied to the terminal device, the obtaining of the first real-time progress notification message parameter includes: The application framework layer obtains the first real-time progress notification message parameter from the first application.

6. The method according to any one of claims 1 to 5, characterized in that: The displaying of the first real-time progress notification message includes: Displaying the first real-time progress notification message according to a real-time progress notification message template; the real-time progress notification message template includes an icon area; The icon area is used to display application icons, service icons, or superimposed icons of application icons and service icons.

7. The method according to claim 6, characterized in that The displaying of the first real-time progress notification message according to the real-time progress notification message template includes: The first real-time progress notification message parameter includes a first parameter. When the first parameter indicates that the first real-time progress notification message parameter is a real-time progress notification message parameter, the first real-time progress notification message is displayed according to a real-time progress notification message template.

8. The method according to claim 6 or 7, characterized in that: The real-time progress notification message template includes a first real-time progress notification message template; The first real-time progress notification message template includes an icon area, a main information area, and a secondary information area; The main information area includes a rich text control or a timing control; the sub-information area includes a rich text control.

9. The method according to claim 8, characterized in that The first real-time progress notification message template further includes at least one of an auxiliary area and an extended area; The auxiliary area includes at least one of an operation control and a progress control of the service corresponding to the first real-time progress notification message; The extended area includes at least one of progress information, detailed information, and operation information of the service corresponding to the first real-time progress notification message.

10. The method according to claim 6 or 7, characterized in that: The real-time progress notification message template includes a second real-time progress notification message template; The second real-time progress notification message template includes at least one of a text control, a progress control, and a timing control.

11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: The second real-time progress notification message parameter carries a second parameter, and determines to end displaying the second real-time progress notification message according to the second parameter; when the display time of the second real-time progress notification message reaches a preset time, the display of the second real-time progress notification message ends; Alternatively, when the difference between the creation time of the first real-time progress notification message and the last refresh time of the second real-time progress notification message is greater than a preset time, the display of the second real-time progress notification message ends.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: Displaying the real-time progress notification message in the first area; displaying the non-real-time progress notification message in the second area; the first area is located above the second area; The non-real-time progress notification message includes a service notification message and / or content information; the service notification message includes a notification message of a social application and / or a notification message of an important application; the content information includes a notification message of an advertising application.

13. The method according to claim 12, characterized in that The displaying the non-real-time progress notification message in the second area includes: The service notification message is displayed in the third area; the content information is displayed in the fourth area; the third area and the fourth area are sub-areas of the second area; the third area is located above the fourth area.

14. The method according to any one of claims 1 to 11, characterized in that: said displaying said non-real-time progress notification message in the second area; The first area is located above the second area, and further includes: The non-real-time progress notification message includes an important notification message and / or a non-important notification message; the important notification message is displayed in a third area; the non-important notification message is displayed in a fourth area; the third area and the fourth area are sub-areas of the second area; the third area is located above the fourth area.

15. The method according to claim 14, characterized in that The method further comprises: The importance of the non-real-time progress notification message is calibrated, and the area where the non-real-time progress notification message is displayed is determined according to the calibration result.

16. The method according to claim 15, characterized in that The step of calibrating the importance of the non-real-time progress notification message and determining the area where the non-real-time progress notification message is displayed according to the calibration result includes: A second importance of the non-real-time progress notification message is obtained by weighted calculation according to at least one of the importance of the non-real-time progress notification message sending channel, the importance of the application corresponding to the non-real-time progress notification message, the importance of the content in the non-real-time progress notification message, and the first importance of the non-real-time progress notification message; the first importance is the importance set for the non-real-time progress notification message by the application corresponding to the non-real-time progress notification message; If the second importance is greater than or equal to a preset threshold; displaying the non-real-time progress notification message in the third area; If the second importance is less than a preset threshold, the non-real-time progress notification message is displayed in the fourth area.

17. A method for displaying a notification message, characterized in that: include: Displaying a first real-time progress notification message; The first real-time progress notification message is displayed according to a real-time progress notification message template; The real-time progress notification message template includes an icon area; the icon area is used to display an application icon, a service icon, or a superimposed icon of an application icon and a service icon; Updating the first real-time progress notification message to a second real-time progress notification message; The second real-time progress notification message complies with the real-time progress notification message template.

18. The method according to claim 17, characterized in that The first real-time progress notification message is displayed according to the real-time progress notification message template, including: The first real-time progress notification message parameter includes a first parameter. When the first parameter indicates that the first real-time progress notification message parameter is a real-time progress notification message parameter, the first real-time progress notification message is displayed according to a real-time progress notification message template.

19. The method according to claim 17 or 18, characterized in that The real-time progress notification message template includes a first real-time progress notification message template; The first real-time progress notification message template includes an icon area, a main information area, and a secondary information area; The main information area includes a rich text control or a timing control; the secondary information area includes a rich text control.

20. The method according to claim 19, characterized in that The first real-time progress notification message template further includes at least one of an auxiliary area and an extended area; The auxiliary area includes at least one of an operation control and a progress control of the service corresponding to the first real-time progress notification message; The extended area includes at least one of progress information, detailed information, and operation information of the service corresponding to the first real-time progress notification message.

21. The method according to claim 17 or 18, characterized in that The real-time progress notification message template includes a second real-time progress notification message template; The second real-time progress notification message template includes at least one of a text control, a progress control, and a timing control.

22. An electronic device, characterized in that: include: A processor, a memory and a display screen, wherein the memory is coupled to the processor, and the memory is used to store computer program code, wherein the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1 to 16, or executes the method as described in any one of claims 17 to 21.

23. A computer-readable storage medium having instructions stored therein, characterized in that: When the instruction is executed on an electronic device, the electronic device executes the method as claimed in any one of claims 1 to 16, or executes the method as claimed in any one of claims 17 to 21.