Display method, readable medium, terminal device and program product
By determining the display level and strategy based on the urgency and importance of the notification message in the terminal device, the problem that important notification messages in the prior art cannot be displayed in a timely manner is solved, and the efficiency of obtaining notification messages is improved.
Patent Information
- Application Number
- CN202410046011.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-10
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, the notification message display rules for different business events lead to the inability to display important message notifications in certain scenarios, and users cannot obtain them in time, resulting in low notification efficiency.
By pre-storing the display level and corresponding display policies in the terminal device, the display level is determined based on the urgency and importance of the notification message, and different display strategies are used to display notification messages in different display interfaces to ensure that important or urgent messages are displayed on multiple interfaces, and non-urgent or unimportant messages are displayed on some interfaces.
It realizes that users can obtain important or urgent notification messages in a timely manner without being disturbed by unimportant messages, improving the efficiency of accessing notification messages.
Smart Images

Figure CN120343141A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technologies, and in particular, to a display method, a readable medium, a terminal device, and a program product. Background Art
[0002] Currently, the display rules for notification messages of different service events (such as express delivery, taxi-hailing) are usually set by the corresponding application (application, APP, for short). For example, the display rule for the vehicle arrival message of a taxi-hailing application is: not displayed on the screen-off interface, not displayed on the lock screen interface, and displayed in the form of a dynamic notification on the unlock interface (such as Figure 1a the dynamic notification 101 shown). The display rule for the software update message of an express delivery application is: displayed in the form of an application icon on the screen-off interface (such as Figure 1b the application icon 102 shown), displayed in the form of a notification box on the lock screen interface (such as Figure 1c the notification box 103 shown), and displayed in the form of a desktop widget on the unlock interface (such as Figure 1d the desktop widget 104 shown), etc.
[0003] As a result, it may cause important message notifications not to be displayed in certain scenarios (such as on the lock screen interface). For example, the display rule for the vehicle arrival message of a taxi-hailing application is: not displayed on the screen-off interface, not displayed on the lock screen interface, and displayed in the form of a dynamic notification on the unlock interface. When the user does not use the mobile phone immersively, for example, the user's attention is not on the mobile phone, and the mobile phone is in the screen-off interface or the lock screen interface, the user cannot obtain the vehicle arrival message of the taxi-hailing application on the current display interface of the mobile phone, thereby resulting in a low efficiency for the user to obtain important notification messages. Summary of the Invention
[0004] The purpose of this application is to provide a display method, a readable medium, a terminal device, and a program product.
[0005] A first aspect of this application provides a display method, which is applied to a terminal device. The method includes: receiving a first notification message, determining that the first notification message has a first display level; displaying the first notification message according to a first display policy corresponding to the first display level; receiving a second notification message, determining that the second notification message has a second display level; displaying the second notification message according to a second display policy corresponding to the second display level; where the first display level is different from the second display level, and the second display policy is different from the first display policy.
[0006] In the embodiments of the present application, by displaying corresponding notification messages according to the display policy corresponding to the display level, relatively urgent or important notification messages can be displayed on each display interface of the terminal device, and only non-urgent and unimportant notification messages are displayed on some display interfaces. This enables users not to miss relatively urgent or important notification messages and avoids being disturbed by non-urgent and unimportant notification messages.
[0007] In a possible implementation of the first aspect above, determining that the first notification message has a first display level includes: determining that the first notification message has a first display level according to the urgency level and / or importance level of the first notification message; wherein, the higher the urgency level or importance level, the higher the level of the first display level.
[0008] In a possible implementation of the first aspect above, the urgency level indicates whether the first notification message needs to be viewed or processed within at least one of the following time intervals: the first time interval, the second time interval, the third time interval, wherein the levels of the display levels corresponding to the time intervals from high to low are the first time interval, the second time interval, the third time interval; the importance level indicates whether ignoring the first notification message will cause at least one of the following impacts: life threat, property loss, time waste, wherein the levels of the display levels corresponding to the impacts from high to low are life threat, property loss, time waste.
[0009] In a possible implementation of the first aspect above, determining that the first notification message has a first display level further includes: determining that the first notification message has a first display level according to the first information of the first notification message; wherein, the first information includes at least one of the following: application package name, notification content, notification time, notification location.
[0010] In a possible implementation of the first aspect above, the display policy includes at least one of the following: display interface, display form corresponding to each display interface, display priority corresponding to each display form, and display parameters, vibration parameters, and ringtone parameters corresponding to each display form.
[0011] In a possible implementation of the first aspect above, the display interface includes at least one of the following: lock screen interface, lock screen interface, home screen interface, negative first screen, notification center, display interface of an associated device of the terminal device, wherein the associated device logs in to the same account as the terminal device, or the associated device is connected to the terminal device by wireless communication.
[0012] In a possible implementation of the above first aspect, corresponding to the display interface being the screen-off interface, the display form of the screen-off interface includes: capsule form; corresponding to the display interface being the lock screen interface, the display form of the lock screen interface includes: dynamic notification form; corresponding to the display interface being the home screen interface, the display form of the home screen interface includes: card form, capsule form, dynamic notification form; corresponding to the display interface being the negative first screen, the display form of the negative first screen includes: card form; corresponding to the display interface being the notification center, the display form of the notification center includes: dynamic notification form; corresponding to the display interface of the associated device, the display form of the display interface of the associated device includes: card form, capsule form.
[0013] In a possible implementation of the above first aspect, corresponding to the display form being the capsule form, the display parameters include application icon, font size, color, keyword, display duration; corresponding to the display form being the dynamic notification form, the display parameters include application icon, font size, color, display content, display duration, display animation effect; corresponding to the display form being the card form, the display parameters include application icon, font size, color, display content, display duration.
[0014] In a possible implementation of the above first aspect, corresponding to the first display level being higher than the second display level, the first display strategy includes: the screen-off interface is displayed in capsule form, the lock screen interface is displayed in dynamic notification form, the home screen interface is displayed in card form and capsule form, the negative first screen is displayed in card form, the notification center is displayed in dynamic notification form, and the display priority corresponding to each display form is the first display level; the second display strategy includes: the home screen interface is displayed in card form and capsule form, the negative first screen is displayed in card form, and the display priority corresponding to each display form is the second display level.
[0015] In a possible implementation of the above first aspect, the higher the display level, the smaller the probability that the corresponding notification message is covered.
[0016] The second aspect of the present application provides a readable medium, on which instructions are stored, and when the instructions are executed on a terminal device, the terminal device is caused to execute any one of the methods in the above first aspect.
[0017] The third aspect of the present application provides a terminal device, including: a memory for storing instructions executed by one or more processors of the terminal device; and a processor, which is one of the processors of the terminal device, for executing the instructions stored in the memory to implement any one of the methods in the above first aspect.
[0018] The fourth aspect of the present application provides a program product, which includes instructions, and when the instructions are executed by a terminal device, the terminal device can be caused to implement any one of the methods in the above first aspect. Description of the Drawings
[0019] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0020] Figure 1a A schematic diagram of a main interface is shown according to an embodiment of the present application;
[0021] Figure 1b A schematic diagram of a screen-off interface is shown according to an embodiment of the present application;
[0022] Figure 1c A schematic diagram of a lock screen interface is shown according to an embodiment of the present application;
[0023] Figure 1d A schematic diagram of another main interface is shown according to an embodiment of the present application;
[0024] Figure 1e A schematic diagram of a negative first screen interface is shown according to an embodiment of the present application;
[0025] Figure 1f A schematic diagram of a notification center is shown according to an embodiment of the present application;
[0026] Figure 2 A schematic diagram of a flowchart of a display method is shown according to an embodiment of the present application;
[0027] Figure 3 A schematic diagram of corresponding display levels for different importance levels and urgency levels is shown according to an embodiment of the present application;
[0028] Figure 4 A schematic diagram of corresponding display strategies for different importance levels and urgency levels is shown according to an embodiment of the present application;
[0029] Figures 5a to 5i A schematic diagram of the display effect of notification messages of a terminal device is shown according to an embodiment of the present application;
[0030] Figures 6a to 6d A schematic diagram of the display effect of notification messages of a smart watch is shown according to an embodiment of the present application;
[0031] Figures 7a to 7f A schematic diagram of the display effect of notification messages of another terminal device is shown according to an embodiment of the present application;
[0032] Figure 8A schematic structural diagram of a terminal device is shown according to an embodiment of the present application;
[0033] Figure 9 A software structure block diagram of a terminal device is shown according to an embodiment of the present application. Detailed implementation manners
[0034] Exemplary embodiments of the present application include, but are not limited to, a display method, a readable medium, a terminal device, and a program product.
[0035] It can be understood that the display method mentioned in the embodiments of the present application can be used in a terminal device. Among them, the terminal device can also be referred to as a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device can be a mobile phone, a wearable device, a tablet computer (Pad), a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in intelligent driving, and so on. For the convenience of description, the terminal device is taken as a mobile phone as an example in the following.
[0036] To make the purpose, technical solutions, and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and exhaustively described below with reference to the accompanying drawings.
[0037] Before introducing the technical solutions in the embodiments of the present application, the display interface provided by the embodiments of the present application will be described first with reference to the accompanying drawings.
[0038] The "off-screen interface" refers to the user interface displayed when the mobile phone is in the locked and black screen (or turned off) state. The "off-screen interface" can also be referred to as the "always on display (AOD) interface", the "screen-off interface", or the "turned-off screen interface", etc. It can be understood that the "off-screen interface" of the mobile phone can include different display contents. For example, as Figure 1b shown, the "off-screen interface" of the mobile phone can display one or more of the following: text such as time and date, pictures, battery level icons, application icons, etc.
[0039] The "lock screen interface" refers to the user interface displayed when the mobile phone is in the lit and locked state. For example, as Figure 1c shown, the "lock screen interface" can be a wallpaper with one or more of the following displayed on it: time and date, fingerprint unlock icon, message notification box, etc.
[0040] "Unlock interface" refers to the user interface displayed when the phone is in the bright screen and has been unlocked. It is understood that after the phone is unlocked, the interface before the phone is locked can continue to be displayed. This interface can be the running interface of any application, or the main interface (desktop) of the phone, the negative one screen interface, the notification center interface, etc. For example, Figure 1a or Figure 1d The main interface of the mobile phone 100 shown is an "unlock interface".
[0041] Among them, the negative one screen, also known as the "-1 screen", refers to sliding the screen to the right on the main screen of the electronic device until sliding to the leftmost split screen user interface. Figure 1e As shown, the negative first screen of the mobile phone 100 can display some quick service functions and notification messages, such as global search, instant information and reminders (express information, sports information, taxi travel information, schedule information, etc.).
[0042] The notification center is a drop-down message notification bar of an electronic device, that is, a user interface displayed by the electronic device when the user starts to operate downward from the top of the electronic device. Figure 1f As shown, the notification center of the mobile phone 100 can display message notifications, and the user can open the corresponding application through the message notifications in the notification center.
[0043] As mentioned above, currently notification display rules for different business events are usually set by corresponding applications, which may result in the failure to display important message notifications in certain scenarios (such as on the lock screen interface), thereby causing the user to be unable to obtain the important message notifications.
[0044] In order to ensure that users can obtain important notification information in a timely manner in various scenarios of terminal devices and avoid being disturbed by unimportant notification messages, an embodiment of the present application provides a display method, in which the terminal device pre-stores various display levels and corresponding display strategies, and the display level is used to indicate the urgency and / or importance of the notification message. When the terminal device receives a first notification message, the display level of the first notification message (hereinafter referred to as the first display level) is determined based on the urgency and / or importance of the first notification message, and the corresponding display strategy (hereinafter referred to as the first display strategy) is determined based on the first display level, so as to display the first notification message on a preset display interface based on the first display strategy.
[0045] For example, for more urgent or more important notification messages, they can be displayed on the AOD, lock screen, desktop, negative one screen, notification center, display interface of applications other than the application corresponding to the notification message, etc. In this way, the user can be informed of the notification message of this level in each display interface, ensuring that the user will not miss more urgent or more important notification messages.
[0046] For another example, for notification messages that are neither urgent nor important, they can be displayed on interfaces such as the desktop and the negative first screen. This enables that the user cannot receive notification messages of this level on all display interfaces, thus avoiding being disturbed by notification messages that are neither urgent nor important.
[0047] It can be understood that by displaying corresponding notification messages according to the display policy corresponding to the display level, relatively urgent or relatively important notification messages can be displayed on all display interfaces of the terminal device, and notification messages that are neither urgent nor important are only displayed on some display interfaces. This enables that the user will not miss relatively urgent or relatively important notification messages and avoids being disturbed by notification messages that are neither urgent nor important.
[0048] In some other embodiments, when the terminal device receives a second notification message, determine the display level of the second notification message (hereinafter referred to as the second display level) based on the urgency and / or importance level of the second notification message, and determine the corresponding display policy (hereinafter referred to as the second display policy) based on the second display level, so as to display the second notification message on a preset display interface based on the second display policy. It can be understood that the second display level of the second notification message may be the same as the first display level of the first notification message, and then the corresponding first display policy and second display policy are the same. The second display level of the second notification message may also be different from the first display level of the first notification message, and then the corresponding first display policy and second display policy are different.
[0049] For example, if the first notification message is a very urgent and very important notification message, the terminal device displays the first notification message on all display interfaces; if the second notification message is a notification message that is neither urgent nor important, the terminal device only displays the second notification message on some display interfaces (such as the negative first screen display interface). This enables that when the second display level of the second notification message is different from the first display level of the first notification message and the first display level is higher than the second display level, the user will not miss the first notification message and avoids being disturbed by the second notification message.
[0050] In some embodiments, the measurement criterion for the urgency level can be: whether the user needs to immediately view or process the content of the notification message. For example, the urgency level can be divided into four levels: very urgent, urgent, generally urgent, and not urgent according to the time when the user needs to process it.
[0051] Exemplarily, a very urgent notification message can be a notification message that requires the user to process within a first preset time interval (for example, 5 minutes), such as a notification message that strongly warns the user. For example, a notification message from a ride-hailing application that prompts the user to go to a designated location to wait for boarding.
[0052] An urgent notification message can be a notification message that needs to be processed within a second preset time interval (such as 60 minutes), for example, a system reminder message. For example, a notification message that the system prompts the user that the storage space of the mobile phone is insufficient.
[0053] A generally urgent notification message can be a notification message of a service in progress within a third time interval (such as 24 hours). For example, a flight travel application reminds the user of relevant reminders for taking a flight one day in advance, such as check-in, boarding, etc.
[0054] A non-urgent notification message can be a notification message that does not require the user to process, such as an update reminder message of an application.
[0055] In some embodiments, the measurement criterion of the importance level can be: if the user ignores the notification message, whether it will have a significant impact, such as loss of property. For example, the importance level can be divided into four levels: very important, important, generally important, and unimportant according to the loss caused by the user ignoring the notification message.
[0056] Exemplarily, a very important notification message can be a notification message that may pose a threat to life if the user does not process it. For example, a notification message about major natural disasters such as earthquakes and typhoons.
[0057] An important notification message can be a notification message that may cause property damage if the user does not process it. For example, a notification message for picking up an express delivery, etc.
[0058] A generally important notification message can be a notification message that may cause the user to waste time if the user misses it. For example, a notification during express delivery.
[0059] An unimportant notification message can be a notification message that has no impact on the user if the user misses it. For example, a reminder from the system about the healthy usage time of the mobile phone.
[0060] It can be understood that the higher the urgency level or the importance level, the higher the level of the corresponding display level, that is, the higher the priority. The display level can be determined only according to the urgency level, or the importance level, or also according to the urgency level and the importance level. That is, the display level can be used to represent the corresponding relationship between the urgency level and the display level, or the corresponding relationship between the importance level and the display level, or also the corresponding relationship between the urgency level and the importance level jointly determining the display level. The present application does not make specific limitations on the method for determining the display level.
[0061] In some embodiments, the display strategy includes but is not limited to: a display interface, a display form corresponding to each display interface, a display priority corresponding to each display form, and display parameters, vibration parameters, ringtone parameters, etc. corresponding to each display form.
[0062] Among them, the display interface includes but is not limited to: the screen-off interface, the lock screen interface, the main interface, the negative first screen, the notification center, and the display interface of the associated devices of the terminal device.
[0063] In some embodiments, corresponding to the screen-off interface, the display form of the screen-off interface includes: the capsule form; corresponding to the lock screen interface, the display form of the lock screen interface includes: the dynamic notification form; corresponding to the main interface, the display form of the main interface includes: the card form, the capsule form, the dynamic notification form; corresponding to the negative first screen, the display form of the negative first screen includes: the card form; corresponding to the notification center, the display form of the notification center includes: the dynamic notification form; corresponding to the display interface of the associated devices, the display form of the display interface of the associated devices includes: the card form, the capsule form.
[0064] In some embodiments, corresponding to the capsule form of the display form, the display parameters include the application icon, font size, color, keyword, display duration; corresponding to the dynamic notification form of the display form, the display parameters include the application icon, font size, color, display content, display duration, display animation effect; corresponding to the card form of the display form, the display parameters include the application icon, font size, color, display content, display duration.
[0065] To better understand the technical solutions of the embodiments of the present application, the following takes the first notification message as the notification message of a taxi application and the terminal device 100 as a mobile phone as an example to introduce some technical solutions of the present application in detail.
[0066] Figure 2 According to the embodiments of the present application, a flowchart of a display method is shown. It can be understood that Figure 2 The execution subject of each step of the shown process is the terminal device 100. For the sake of simplicity of description, the execution subject of each step will not be repeatedly described hereinafter when introducing Figure 2 each step of the shown process. As Figure 2 shown, the process includes but is not limited to the following steps:
[0067] S201: Receive the first notification message.
[0068] Among them, the first notification message can be understood as the notification message of an application, which can be used to remind or push the user to view the content related to the application. For example, when the application is a short message application, the notification message of the short message application can be the reminder of the newly received short message. When the application is an application mall application, the notification message of the application mall application can be the reminder of the download completion. When the application is a taxi application, the notification message of the taxi application can be the reminder of the vehicle arrival, etc.
[0069] It can be understood that the notification message can be generated by the application, or sent by the server corresponding to the application to the client where the application is located. The different generation methods of the notification message do not affect the implementation of the embodiments of the present application, and the present application does not limit this.
[0070] S202: Determine the first display level of the first notification message according to the importance level and urgency level of the first notification message.
[0071] The terminal device 100 determines the first display level of the first notification message based on the importance level and urgency level of the first notification message.
[0072] In some embodiments, the measurement criterion for the urgency level can be: whether the user needs to immediately view or process the content of the notification message. For example, according to the time when the user needs to process it, the urgency level can be divided into four levels: very urgent, urgent, generally urgent, and not urgent.
[0073] Among them, a very urgent notification message can be a notification message that requires the user to process it within the first preset time interval. An urgent notification message can be a notification message that requires the user to process it within the second preset time interval. A generally urgent notification message can be a notification message of a service that is ongoing within the third time interval. A not urgent notification message can be a notification message that does not require the user to process it.
[0074] Among them, the order of the levels of the display levels corresponding to each time interval from high to low is the first time interval, the second time interval, and the third time interval. The first time interval can be 5 minutes, the second time interval can be 1 hour, and the third time interval can be 24 hours. Or, the first time interval can also be 10 minutes, the second time interval can be 30 minutes, and the third time interval can be 12 hours. It can be understood that the present application does not specifically limit the numerical values of the first time interval, the second time interval, and the third time interval, as long as they can meet the corresponding different urgency levels.
[0075] In other embodiments, the measurement criterion for the importance level can be: if the user ignores the notification message, whether it will have a significant impact, such as a threat to life, property loss, or time waste. For example, according to the loss caused by the user ignoring the notification message, the importance level can be divided into four levels: very important, important, generally important, and unimportant.
[0076] Among them, a very important notification message can be a notification message that may pose a threat to life if the user does not process it. An important notification message can be a notification message that may cause property loss if the user does not process it. A generally important notification message can be a notification message that may cause the user to waste time if the user misses it. An unimportant notification message can be a notification message that has no impact on the user if the user misses it.
[0077] Among them, the levels of the corresponding display levels of each influence from high to low are life threat, property loss, and time waste.
[0078] It can be understood that in the embodiments of the present application, only the importance level is divided into four levels: very important, important, generally important, and unimportant, and the urgency level is divided into four levels: very urgent, urgent, generally urgent, and non-urgent as an example to illustrate the importance level and the urgency level. In other embodiments, the importance level and the urgency level can also be divided into more or fewer levels, and the present application does not limit this.
[0079] Exemplarily, Figure 3 According to the embodiments of the present application, a schematic diagram of the corresponding display levels of different importance levels and urgency levels is shown.
[0080] As Figure 3 shown, the notification message that is unimportant and non-urgent corresponds to the display level L11, the notification message that is unimportant and generally urgent corresponds to the display level L12, the notification message that is unimportant and urgent corresponds to the display level L13, and the notification message that is unimportant and very urgent corresponds to the display level L14; the notification message that is generally important and non-urgent corresponds to the display level L21, the notification message that is generally important and generally urgent corresponds to the display level L22, the notification message that is generally important and urgent corresponds to the display level L23, and the notification message that is generally important and very urgent corresponds to the display level L24; the notification message that is important and non-urgent corresponds to the display level L31, the notification message that is important and generally urgent corresponds to the display level L32, the notification message that is important and urgent corresponds to the display level L33, and the notification message that is important and very urgent corresponds to the display level L34; the notification messages that are very important and non-urgent, very important and generally urgent, very important and urgent, and very important and very urgent all correspond to the display level L44.
[0081] It can be understood that in other embodiments, the importance level and the urgency level can also be determined by other methods. For example, the importance level and the urgency level can be determined according to the user's attention level, or set by the user customarily. Among them, the user's attention level can be determined by, for example, the user's historical opening frequency, etc.
[0082] In some embodiments, the highest display level set by the user customarily can correspond to Figure 3 the display level L34 in . That is to say, the highest level of the importance level set by the user customarily is important, and the highest level of the urgency level is urgent, so as to ensure that the priority of the very important notification message in the embodiments of the present application is the highest, that is, the priority of the notification message that may pose a life threat if not processed by the user is the highest.
[0083] It can be understood that the importance level of the notification message may have no correlation with the urgency level. That is, a notification message with a higher importance level may have a higher urgency level or a lower urgency level. For example, a notification message for system upgrade reminder, although its importance level is high, its urgency level is low, and the user can view the notification message when idle and then perform system upgrade processing.
[0084] It can be understood that the importance level and the urgency level of the first notification message can be determined by the terminal device 100 according to the first information of the first notification message, such as information carried in the first notification message like application package name, notification content, notification time, notification location, etc. The importance level and the urgency level of the first notification message can also be determined by looking up the corresponding relationship of display levels pre-stored in the terminal device 100. This application does not limit this.
[0085] S203: Determine the first display policy of the first notification message according to the first display level of the first notification message.
[0086] It can be understood that the terminal device 100 determines different display policies corresponding to different display levels, so that users will not miss urgent and important notification messages, and at the same time, avoid non-urgent and unimportant notification messages from disturbing users.
[0087] Exemplarily, corresponding to Figure 3 the display policies for the different display levels shown can refer to Figure 4 the schematic diagram of the display policies corresponding to different importance levels and urgency levels shown. As Figure 4 shown:
[0088] For the notification message corresponding to the display level L44, it is displayed on interfaces such as AOD, lock screen, desktop, negative first screen, notification center, global display interface, etc. And, the AOD interface can be displayed in the form of a capsule; the lock screen interface can be displayed in the form of a dynamic notification; the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card; the notification center can be displayed in the form of a dynamic notification; the global display interface can be displayed in the form of a status bar capsule, dynamic notification, etc. Among them, the global display interface can include the desktop and the display interfaces of applications other than the application corresponding to the notification message. So that the user can learn the notification messages of this level in each display interface, ensuring that the user will not miss the notification messages of this level.
[0089] Notification messages corresponding to display levels L33 and L34 are displayed on interfaces such as the Always-on Display (AOD), lock screen, desktop, negative first screen, notification center, and global display interface. Moreover, the AOD interface can be displayed in the form of a capsule; the lock screen interface can be displayed in the form of a dynamic notification; the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card; the notification center can be displayed in the form of a dynamic notification; the global display interface can be displayed in the forms of a status bar capsule, dynamic notification, etc. Among them, the global display interface can include the desktop and the display interfaces of applications other than the application corresponding to the notification message. So that users can learn about the notification messages of this level on each display interface, ensuring that users will not miss the notification messages of this level.
[0090] Notification messages corresponding to display level L32 are displayed on interfaces such as the AOD, lock screen, desktop, negative first screen, notification center, and global display interface. Moreover, the AOD interface can be displayed in the form of a capsule; the lock screen interface can be displayed in the form of a dynamic notification; the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card; the notification center can be displayed in the form of a dynamic notification; the global display interface can be displayed in the form of a status bar capsule. Among them, the global display interface can include the desktop and the display interfaces of applications other than the application corresponding to the notification message. So that users can learn about the notification messages of this level on each display interface, ensuring that users will not miss the notification messages of this level.
[0091] Notification messages corresponding to display level L31 are displayed on interfaces such as the desktop and the negative first screen. Moreover, the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card. So that users cannot learn about the notification messages of this level on each display interface, avoiding disturbing users with the notification messages of this level.
[0092] Notification messages corresponding to display levels L23 and L24 are displayed on interfaces such as the AOD, lock screen, desktop, negative first screen, notification center, and global display interface. Moreover, the AOD interface can be displayed in the form of a capsule; the lock screen interface can be displayed in the form of a dynamic notification; the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card; the notification center can be displayed in the form of a dynamic notification; the global display interface can be displayed in the forms of a status bar capsule, dynamic notification, etc. Among them, the global display interface can include the desktop and the display interfaces of applications other than the application corresponding to the notification message. So that users can learn about the notification messages of this level on each display interface, ensuring that users will not miss the notification messages of this level.
[0093] The notification message corresponding to the display level L22 is displayed on interfaces such as the desktop and the negative first screen. Moreover, the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card. So that the user cannot learn the notification message of this level on all display interfaces, avoiding disturbing the user with the notification message of this level.
[0094] The notification message corresponding to the display level L21 is displayed on interfaces such as the negative first screen. Moreover, the negative first screen can be displayed in the form of a card. So that the user cannot learn the notification message of this level on all display interfaces, avoiding disturbing the user with the notification message of this level.
[0095] The notification messages corresponding to the display levels L13 and L14 are displayed on interfaces such as the desktop and the negative first screen. Moreover, the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card. So that the user cannot learn the notification messages of this level on all display interfaces, avoiding disturbing the user with the notification messages of this level.
[0096] The notification messages corresponding to the display levels L11 and L12 are displayed on interfaces such as the negative first screen. Moreover, the negative first screen can be displayed in the form of a card. So that the user cannot learn the notification messages of this level on all display interfaces, avoiding disturbing the user with the notification messages of this level.
[0097] It can be understood that in some other embodiments, in order to ensure that the user will not miss important notification messages, the first notification message can also be synchronized to the display interface of an electronic device (hereinafter referred to as the associated device) associated with the terminal device 100. Wherein, the associated device is an electronic device logged in to the same account as the terminal device 100, or an electronic device that performs wireless communication with the terminal device 100 through wireless communication methods such as Bluetooth, such as a smart watch, etc.
[0098] For example, synchronize the notification messages on the lock screen and / or the home screen of the mobile phone to the negative first screen of the smart watch, synchronize the notification messages in the notification center of the mobile phone to the notification center of the smart watch, and synchronize the global dynamic notifications of the mobile phone to the global status capsule of the watch.
[0099] In some embodiments, in order to further ensure that the user will not miss important notification messages, for relatively important or urgent notification messages, the terminal device 100 can also remind the user through feedback methods such as ringing, voice reminder, and vibration.
[0100] Exemplarily, relatively important or urgent notification messages can correspond to Figure 3 the notification messages with the display levels L44, L34, L33, or L24 shown as follows.
[0101] It can be understood that in some embodiments, the colors and font sizes corresponding to the same display form in different display interfaces can be the same or different. For example, the colors corresponding to the dynamic notifications in the lock screen interface and the notification center can be different, corresponding to the wallpaper color of the lock screen interface and the background color of the notification center respectively, and the present application does not limit this.
[0102] In some other embodiments, in the same display interface, for the same display form corresponding to notification messages with different display levels, the colors and font sizes can be the same or different. For example, the higher the display level, the darker the color and the larger the font size corresponding to the display form. For example, the display level of the first notification message is higher than that of the second notification message. The color of the dynamic notification corresponding to the first notification message in the lock screen interface is red, and the color of the dynamic notification corresponding to the second notification message in the lock screen interface is yellow. The present application does not limit this.
[0103] S204: Display the first notification message on a preset display interface based on the first display policy.
[0104] The terminal device 100 determines the first display policy corresponding to the first notification message and displays the first notification message on a preset display interface.
[0105] In some embodiments, the first notification message is a notification message of a taxi application, the corresponding first display level is L44, and the corresponding first display policy is: display on interfaces such as the AOD, lock screen, desktop, negative first screen, notification center, and global display interface. And, the AOD interface can be displayed in the form of a capsule; the lock screen interface can be displayed in the form of a dynamic notification; the desktop can be displayed in the form of a desktop card; the negative first screen can be displayed in the form of a card; the notification center can be displayed in the form of a dynamic notification; the global display interface can be displayed in the forms of a status bar capsule, dynamic notification, etc.
[0106] It can be understood that the preset display interface can include one or more of the AOD, lock screen, desktop, negative first screen, notification center, global display interface, etc. of the terminal device 100.
[0107] Exemplarily, the notification display effect can refer to the Figures 5a to 5i schematic diagram of the notification message shown below.
[0108] As Figure 5a shown, the AOD interface 50a includes text such as time and date, pictures, and the "vehicle has arrived" capsule 501. It can be understood that application icons (such as Figure 1b the application icon 102 shown) can also be displayed in the AOD interface 50a, that is, the capsule and the application icon can coexist in the AOD interface.
[0109] As Figure 5bAs shown, the wallpaper is displayed on the lock screen interface 50b, and time, date, fingerprint unlock icon, dynamic notification 502, etc. are displayed on the wallpaper. It can be understood that a message notification box (ordinary notification) can also be displayed on the lock screen interface, such as Figure 1c the message notification box 103 shown.
[0110] Such as Figure 5c shown, application icons of applications such as a mall, browser, video, etc., a "weather clock" desktop card, a "sports health" desktop card, and a "YOYO suggestion" desktop card 503 are displayed on the desktop 50c. Moreover, the content of the notification message "xxxx - The vehicle has arrived at the designated location" is displayed in the "YOYO suggestion" desktop card 503.
[0111] Such as Figure 5d shown, the negative first screen interface 50d includes global search, a card 504 showing taxi travel information, a card showing express delivery information, a card showing sports information, a card showing schedule information, etc. Among them, the content of the notification message "xxxx - The vehicle has arrived at the designated location" is displayed in the card 504 showing taxi travel information.
[0112] Such as Figure 5e shown, time information and a dynamic card 505 are displayed on the notification center interface 50e. Among them, the content of the notification message "xxxx - The vehicle has arrived at the designated location" is displayed in the dynamic card 505.
[0113] Such as Figure 5f shown, application icons of applications such as a mall, browser, video, etc. and desktop cards are displayed on the desktop 50f, and time, power indicator, and status bar capsule 506, etc. are displayed in the status bar. Among them, the information "The vehicle has arrived" is displayed in the status bar capsule 506.
[0114] It can be understood that the illustrated status bar capsule is located on the left side of the status bar. In some other embodiments, the status bar capsule can also be located at other positions of the status bar, such as the right side position, the centered position, or any other position, and the present application does not make any limitation thereto.
[0115] Such as Figure 5g shown, application icons of applications such as a mall, browser, video, etc., desktop cards, and a dynamic notification 507 are displayed on the desktop 50g. Among them, the content of the notification message "xxxx - The vehicle has arrived at the designated location" is displayed in the dynamic notification 507.
[0116] In some embodiments, Figure 5g the dynamic notification 507 shown can be Figure 5f the expanded state of the status bar capsule 506 shown. For example, after the user clicks or long-presses the Figure 5f status bar capsule 506 shown, it is displayedFigure 5g The dynamic notification 507 shown. Or for example, the user swipes up Figure 5g After the dynamic notification 507 shown, the Figure 5f Status bar capsule 506 shown is displayed.
[0117] As Figure 5h As shown, the display interface 50h of the video application includes the video picture being played by the user and the capsule 508. Among them, the information "The vehicle has arrived" is displayed in the capsule 508.
[0118] As Figure 5i As shown, the display interface 50i of the terminal device 100 includes the dynamic notification 509. Among them, the content of the notification message "xxxx - The vehicle has arrived at the specified location" is displayed in the dynamic notification 509. It can be understood that Figure 5i The dynamic notification 509 shown can be Figure 5h The expanded state of the capsule 508 shown. For example, when the user clicks or long - presses the Figure 5h Capsule 508 shown, the Figure 5i Display interface 50i and dynamic notification 509 shown are displayed.
[0119] In some other embodiments, the first display policy corresponding to the first notification message further includes synchronizing the first notification message to the display interface of the smart watch associated with the terminal device 100. That is, the preset display interface can also include the negative - one screen interface, notification center interface, global display interface, etc. of the smart watch.
[0120] Exemplarily, the notification display effect in the display interface of the smart watch can refer to the Figures 6a to 6d Schematic diagram of the notification message shown.
[0121] As Figure 6a As shown, the negative - one screen interface 60a of the smart watch includes weather information, the card 601 for displaying taxi ride information, etc. Among them, the content of the notification message "The vehicle has arrived at White xxxxxx" is displayed in the card 601 for displaying taxi ride information.
[0122] As Figure 6b As shown, the notification center interface 60b of the smart watch includes the notification card 602 of B application (taxi - related application), the notification card of the SMS application, etc. Among them, the content of the notification message "The vehicle (White xxxxxx) has arrived at the specified location. Please go to the specified location to get on the car" is displayed in the notification card 602 of B application. It can be understood that the user can also click on the notification card 602 of the B application to view the detailed information of the notification message.
[0123] As Figure 6cAs shown, the main interface 60c of the smartwatch displays a wallpaper, on which time information and a capsule 603 are shown. Among them, the content of the notification message "The vehicle has arrived" is shown in the capsule 603.
[0124] As Figure 6d shown, the main interface 60d of the smartwatch displays a wallpaper, on which time information and a capsule 604 are shown. Among them, the content of the notification message "The vehicle has arrived at White xxxxxxx…" is shown in the capsule 604.
[0125] In addition, in some embodiments, if the terminal device 100 receives a first notification message, and after determining the first display level and the first display policy corresponding to the first notification message, and there is already a notification message displayed on the preset display interface of the first notification message, the terminal device 100 compares the display levels of the first notification message and the already displayed notification message, and displays the notification message with a higher display level above the notification message with a lower display level.
[0126] In other embodiments, if the display levels of the first notification message and the already displayed notification message are the same, the terminal device 100 may display them according to the time when the first notification message and the already displayed notification message are received. For example, the first notification message is displayed below the already displayed notification message. The terminal device 100 may also display them according to the remaining processing time corresponding to the notification message. For example, the notification message with a smaller remaining processing time is displayed above the notification message with a larger remaining processing time. This application does not make specific limitations on this.
[0127] It can be understood that the higher the display level, the smaller the probability that the corresponding notification message is covered.
[0128] Among them, the way of displaying one notification message above another notification message can be: side-by-side display on the left and right, vertical arrangement display, overlay display, etc. For example, if it is side-by-side display on the left and right, the notification message with a higher display level is displayed on the left side of the notification message with a lower display level. If it is vertical arrangement display, the notification message with a higher display level is displayed above the notification message with a lower display level. If it is overlay display, the notification message with a higher display level is displayed on the upper layer of the notification message with a lower display level. This application does not make limitations on this.
[0129] Exemplarily, taking the notification message of a taxi-hailing application as the first notification message, the corresponding first display level as L44, the already displayed notification message as the notification message of a food delivery application, and the corresponding level as L32 as an example, the notification display effect can refer to the Figures 7a to 7f schematic diagram of the notification message shown below.
[0130] As Figure 7aAs shown, the AOD interface 70a includes text such as time and date, pictures, the "Vehicle Arrived" capsule 701, and the "In Delivery" capsule 702. It can be understood that the display level of the notification messages of ride-hailing apps is higher than that of food delivery apps, and the "Vehicle Arrived" capsule 701 is displayed above the "In Delivery" capsule 702.
[0131] As Figure 7b shown, the lock screen interface 70b displays a wallpaper, and on the wallpaper, there are displayed time and date, a fingerprint unlock icon, a dynamic notification 703 showing "xxxx - Vehicle Has Arrived at the Specified Location", a dynamic notification 704 showing "In Delivery - xxx km Away from You", etc. It can be understood that the display level of the notification messages of ride-hailing apps is higher than that of food delivery apps, and the dynamic notification 703 showing "xxxx - Vehicle Has Arrived at the Specified Location" is displayed above the dynamic notification 704 showing "In Delivery - xxx km Away from You".
[0132] As Figure 7c shown, on the desktop 70c, there are displayed app icons of apps such as a mall, a browser, a video, etc., a "Weather Clock" desktop card, a "Sports Health" desktop card, and a "YOYO Suggestion" desktop card set. Among them, the "YOYO Suggestion" desktop card set includes a card 705 displayed at the lower layer and a card 706 displayed at the upper layer. It can be understood that the display level of the notification messages of ride-hailing apps is higher than that of food delivery apps, and the card 706 showing "xxxx - Vehicle Has Arrived at the Specified Location" is displayed above the card 705, and the card 705 is the card showing "In Delivery - xxx km Away from You".
[0133] As Figure 7d shown, the negative first screen interface 70d includes a global search, a card 707 showing ride-hailing travel information, a card 708 showing food delivery information, a card showing express delivery information, a card showing schedule information, etc. Among them, the card 707 showing ride-hailing travel information displays the content of the notification message "xxxx - Vehicle Has Arrived at the Specified Location", and the card 708 showing food delivery information displays the content of the notification message "In Delivery - xxx km Away from You". It can be understood that the display level of the notification messages of ride-hailing apps is higher than that of food delivery apps, and the card 707 showing ride-hailing travel information is displayed on the left side of the card 708 showing food delivery information.
[0134] As Figure 7eAs shown, the time information is displayed in the notification center interface 70e, and the dynamic card 709 showing "xxxx - The vehicle has arrived at the specified location" and the dynamic card 710 showing "In delivery - xxx km away from you" are also displayed. It can be understood that the display level of the notification messages of the taxi application is higher than that of the food delivery application. The dynamic card 709 showing "xxxx - The vehicle has arrived at the specified location" is displayed above the dynamic card 710 showing "In delivery - xxx km away from you".
[0135] As Figure 7f shown, the application icons and desktop cards of applications such as the mall, browser, and video are displayed on the desktop 70f, and the time, battery level indicator, the status bar capsule 711 showing "The vehicle has arrived", and the status bar capsule 712 of the food delivery application are displayed in the status bar. It can be understood that the display level of the notification messages of the taxi application is higher than that of the food delivery application. The status bar capsule 711 showing "The vehicle has arrived" is displayed above the status bar capsule 712 of the food delivery application.
[0136] In some other embodiments, when the terminal device receives a second notification message, the second display level of the second notification message is determined based on the urgency and / or importance of the second notification message, and the corresponding second display policy is determined based on the second display level, so as to display the second notification message on the preset display interface based on the second display policy. Among them, the process of determining the second display level and the second display policy of the second notification message and displaying the second notification message can refer to Figure 2 the specific steps in the flowchart shown, which will not be elaborated in this application.
[0137] It can be understood that if the second display level of the second notification message is the same as the first display level of the first notification message, the corresponding second display policy and the first display policy are the same. If the second display level of the second notification message is different from the first display level of the first notification message, the corresponding second display policy and the first display policy are different. For example, if the first notification message is a very urgent and very important notification message, the terminal device displays the first notification message on all display interfaces; if the second notification message is a non-urgent and unimportant notification message, the terminal device only displays the second notification message on some display interfaces. So that when the second display level of the second notification message is different from the first display level of the first notification message, and the first display level is higher than the second display level, the user will not miss the first notification message and the second notification message will not disturb the user.
[0138] Exemplarily, corresponding to the first display level being higher than the second display level, the first display strategy may include: the screen-off interface is displayed in the form of a capsule, the lock screen interface is displayed in the form of a dynamic notification, the main interface is displayed in the form of a card and a capsule, the negative first screen is displayed in the form of a card, and the notification center is displayed in the form of a dynamic notification. The display priority corresponding to each display form is the first display level. The second display strategy may include: the main interface is displayed in the form of a card and a capsule, and the negative first screen is displayed in the form of a card. The display priority corresponding to each display form is the second display level.
[0139] It can be understood that during the process of the terminal device displaying a notification message, the display method provided by the embodiments of the present application has the highest priority. That is to say, for a notification message whose display level can be determined based on the importance level and / or urgency level, the terminal device displays it according to the display strategy corresponding to the display level. For a notification message whose display level cannot be determined based on the importance level and / or urgency level, such as the display level corresponding to the notification message is not stored in the terminal device, or the terminal device cannot determine the importance level and / or urgency level of the notification message, etc., the terminal device displays it according to the display strategy set by the system initially or the application corresponding to the notification message or the user's custom settings.
[0140] In summary, for the display method provided by the embodiments of the present application, the terminal device pre-stores each display level and the corresponding display strategy, and the display level is used to represent the urgency level and / or importance level of the notification message. When the terminal device receives a first notification message, it determines the first display level of the first notification message based on the urgency level and / or importance level of the first notification message, and determines the corresponding first display strategy based on the first display level, so as to display the first notification message on the preset display interface based on the first display strategy.
[0141] It can be understood that by displaying the corresponding notification message according to the display strategy corresponding to the display level, relatively urgent or relatively important notification messages can be displayed on each display interface of the terminal device, and only non-urgent and unimportant notification messages are displayed on some display interfaces. So that the user will not miss relatively urgent or relatively important notification messages, and avoid non-urgent and unimportant notification messages disturbing the user.
[0142] To better understand the technical solution of the embodiments of the present application, the structure of the terminal device involved in the present application will be introduced below with reference to the accompanying drawings.
[0143] Exemplarily, Figure 8 According to the embodiments of the present application, a schematic structural diagram of a terminal device 100 is shown.
[0144] As Figure 8As shown, the terminal device 100 may include a processor 110, a memory 120, an interface module 130, a power module 140, a wireless communication module 150, a mobile communication module 160, an audio module 170, a sensor module 180, a button 190, a camera 191, a display screen 192, etc.
[0145] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0146] 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 processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors. The processor 110 may be used to execute the display method provided in the embodiments of the present application.
[0147] 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. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0148] The interface module 130 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 subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0149] The MIPI interface may be used to connect the processor 110 to peripheral devices such as the display screen 192. The MIPI interface includes a display serial interface (DSI), etc. In some embodiments, the processor 110 and the display screen 192 communicate through the DSI interface to implement the display function of the terminal device. For example, in the embodiments of the present application, the processor 110 and the display screen 192 communicate through the DSI interface to display a notification message on the display screen 192.
[0150] The power module 140 is connected to the processor 110 to supply power to the processor 110, the memory 120, the camera 191, the display screen 192, the mobile communication module 160, etc.
[0151] The wireless communication function of the terminal device 100 may be implemented through the wireless communication module 150, the mobile communication module 160, the antenna, the modulation and demodulation processor, and the baseband processor, etc.
[0152] The wireless communication module 150 can provide solutions for wireless communications applied to the terminal device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc.
[0153] In some embodiments, the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TDSCDMA), LTE, NR, BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. In some embodiments, the terminal device 100 may send a request for a display notification message to an associated device through the wireless communication module 150.
[0154] The mobile communication module 160 can provide solutions for wireless communications applied to the terminal device 100, including 2G / 3G / 4G / 5G, etc.
[0155] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals.
[0156] The sensor module 180 may include a pressure sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
[0157] The terminal device 100 implements a display function through a GPU, a display screen 192, and an application processor, etc.
[0158] The GPU is a microprocessor for image processing, connecting the display screen 192 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information. For example, in the embodiments of the present application, the GPU can be used to display a notification message on the display screen 192.
[0159] The display screen 192 is used to display images, videos, etc. The display screen 192 includes a display panel. The display panel can adopt a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 192, where N is a positive integer greater than 1.
[0160] The terminal device 100 can implement the shooting function through the ISP, the camera 191, the video codec, the GPU, the display screen 192, and the application processor, etc.
[0161] The camera 191 is used to capture still images or videos. In some embodiments, the terminal device 100 may include 1 or N cameras 191, where N is a positive integer greater than 1.
[0162] The memory 120 can be used to store computer-executable program code, and the executable program code includes instructions. The memory 120 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the terminal device 100 (such as audio data, phone book, etc.). In addition, the memory 120 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the memory 120 and / or the instructions stored in the memory provided in the processor. In some implementation examples, the processor 110 executes the display method provided in the embodiments of the present application by running the instructions stored in the memory 120.
[0163] The button 190 includes a power-on button, a volume button, etc. The button 190 can be a mechanical button or a touch button.
[0164] In some embodiments, a computer-readable storage medium is also provided. The computer-readable storage medium stores at least one instruction, at least one segment of program, a code set or an instruction set, and the at least one instruction, at least one segment of program, code set or instruction set is loaded and executed by a processor to implement the display methods provided in the above various method embodiments.
[0165] The software system of the terminal device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present invention, taking the system as an example, the software structure of the terminal device 100 is exemplarily described.
[0166] Figure 9 According to the embodiments of the present application, a software structure block diagram of a terminal device 100 is shown.
[0167] 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 some embodiments, the Android system is divided into four layers, from top to bottom, namely the application layer, the application framework layer, the Android runtime and the system libraries, and the kernel layer.
[0168] The application layer can include a series of application program packages.
[0169] Such as Figure 9As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
[0170] In addition, the application package may further include: home screen (i.e., desktop), minus one screen, control center, notification center and other applications.
[0171] Among them, the minus one screen, also known as the "-1 screen", refers to the user interface obtained by swiping the screen to the right on the home screen of the terminal device until the leftmost split screen is reached. For example, the minus one screen can be used to place some quick service functions and notification messages, such as global search, quick entry to a certain page of an application (such as payment code), instant messages and reminders (express information, expenditure information, commuting traffic conditions, taxi ride information, schedule information, etc.) and follow-up dynamics (football stands, basketball stands, stock information, etc.). In some embodiments, the terminal device 100 may display notification messages on the minus one screen.
[0172] The control center is the upward sliding message notification bar of the terminal device, that is, the user interface displayed by the terminal device when the user starts an upward sliding operation at the bottom of the terminal device.
[0173] The notification center is the downward message notification bar of the terminal device, that is, the user interface displayed by the terminal device when the user starts a downward operation at the top of the terminal device. In some embodiments, the terminal device 100 may display notification messages in the notification center.
[0174] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.
[0175] As Figure 9 shown, the application framework layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.
[0176] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0177] The content provider is used to store and obtain data, and make this data accessible to applications. The data may include videos, images, audio, dialed and received calls, browsing history and bookmarks, phone book, etc.
[0178] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0179] The telephone manager is used to provide the communication function of the terminal device 100. For example, the management of call states (including answering, hanging up, etc.).
[0180] The resource manager provides various resources for applications, such as localized strings, icons, pictures, layout files, video files, and so on.
[0181] The notification manager enables applications to display notification messages on various display interfaces of the terminal device. For example, displaying notification information in the status bar can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as a notification of a background-running application, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompting text information in the status bar, emitting a prompt sound, device vibration, indicator light flashing, etc. In some embodiments, the notification manager causes applications to display notification messages in at least one display interface of the terminal device according to a display policy.
[0182] Android Runtime includes core libraries and a virtual machine. Android Runtime is responsible for the scheduling and management of the Android system.
[0183] The core libraries contain two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core libraries of Android.
[0184] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0185] The system libraries can include multiple functional modules. For example: surface manager, Media Libraries, 3D graphics processing libraries (such as: OpenGL ES), 2D graphics engines (such as: SGL), etc.
[0186] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
[0187] The media library supports the playback and recording of multiple common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0188] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.
[0189] The 2D graphics engine is a graphics engine for 2D drawing.
[0190] The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
[0191] It should be noted that although the embodiments of this application are described by taking the Android system as an example, its basic principles are equally applicable to terminal devices based on operating systems such as iOS or Windows.
[0192] The embodiments of the mechanism disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of this application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memories and / or storage elements), at least one input device, and at least one output device.
[0193] The program code can be applied to the input instructions to execute the various functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.
[0194] The program code can be implemented in a high-level procedural language or an object-oriented programming language to communicate with the processing system. When needed, the program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In any case, the language can be a compiled language or an interpreted language.
[0195] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or via other computer-readable media. Thus, machine-readable media may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including but not limited to, floppy disks, optical disks, optical discs, CD-ROMs, magneto-optical disks, read only memory (ROM), random access memory (RAM), erasable programmable read only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) in the form of electrical, optical, acoustic, or other propagated signals using the Internet. Thus, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
[0196] In the drawings, some structural or method features may be shown in a particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or ordering may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Additionally, the inclusion of a structural or method feature in a particular figure does not imply that such a feature is required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0197] It should be noted that the various units / modules mentioned in the device embodiments of the present application are all logical units / modules. Physically, a logical unit / module may be a physical unit / module, a part of a physical unit / module, or may be implemented as a combination of multiple physical units / modules. The physical implementation manner of these logical units / modules themselves is not the most important. The combination of the functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application. This does not mean that there are no other units / modules in the above device embodiments.
[0198] It should be noted that in the examples and the specification of this patent, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one" does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.
[0199] Although this application has been illustrated and described by reference to certain preferred embodiments thereof, those of ordinary skill in the art should understand that various changes may be made thereto in form and detail without departing from the spirit and scope of this application.
Claims
1. A display method, applied to a terminal device, characterized in that, The method includes: Receiving a first notification message and determining that the first notification message has a first display level; Displaying the first notification message according to a first display strategy corresponding to the first display level; Receiving a second notification message and determining that the second notification message has a second display level; Displaying the second notification message according to a second display strategy corresponding to the second display level; wherein the first display level is different from the second display level, and the second display strategy is different from the first display strategy.
2. The method according to claim 1, characterized in that The determining that the first notification message has a first display level includes: Determining that the first notification message has a first display level according to the urgency and / or importance of the first notification message; wherein, the higher the urgency or importance, the higher the level of the first display level.
3. The method according to claim 2, wherein The urgency indicates whether the first notification message needs to be viewed or processed within at least one of the following time intervals: a first time interval, a second time interval, a third time interval, wherein the levels of the display levels corresponding to the respective time intervals are in descending order: the first time interval, the second time interval, the third time interval; The importance indicates whether ignoring the first notification message will cause at least one of the following effects: life threat, property loss, time waste, wherein the levels of the display levels corresponding to the respective effects are in descending order: life threat, property loss, time waste.
4. The method according to claim 1, characterized in that, The determining that the first notification message has a first display level further includes: Determining that the first notification message has a first display level according to first information of the first notification message; wherein the first information includes at least one of the following: application package name, notification content, notification time, notification location.
5. The method according to claim 1, wherein The display strategy includes at least one of the following: A display interface, a display form corresponding to each display interface, a display priority corresponding to each display form, and display parameters, vibration parameters, and ringtone parameters corresponding to each display form.
6. The method according to claim 5, wherein The display interface includes at least one of the following: a screen-off interface, a lock screen interface, a home screen interface, a negative first screen, a notification center, a display interface of an associated device of the terminal device, wherein the associated device logs in to the same account as the terminal device, or the associated device is connected to the terminal device by wireless communication.
7. The method according to claim 6, wherein Corresponding to the display interface being the screen-off interface, the display form of the screen-off interface includes: a capsule form; Corresponding to the display interface being the lock screen interface, the display form of the lock screen interface includes: a dynamic notification form; Corresponding to the display interface being the home screen interface, the display forms of the home screen interface include: a card form, a capsule form, a dynamic notification form; Corresponding to the display interface being the negative first screen, the display form of the negative first screen includes: a card form; Corresponding to the display interface being the notification center, the display form of the notification center includes: a dynamic notification form; Corresponding to the display interface being the display interface of an associated device, the display forms of the display interface of the associated device include: card form, capsule form.
8. The method according to claim 7, wherein Corresponding to the display form being the capsule form, the display parameters include application icon, font size, color, keyword, display duration; Corresponding to the display form being the dynamic notification form, the display parameters include application icon, font size, color, display content, display duration, display animation effect; Corresponding to the display form being the card form, the display parameters include application icon, font size, color, display content, display duration.
9. The method according to claim 8, wherein Corresponding to the first display level being higher than the second display level The first display policy includes: the lock screen interface is displayed in capsule form, the lock screen interface is displayed in dynamic notification form, the home screen is displayed in card form and capsule form, the negative first screen is displayed in card form, and the notification center is displayed in dynamic notification form. The display priority corresponding to each display form is the first display level; The second display policy includes: the home screen is displayed in card form and capsule form, and the negative first screen is displayed in card form. The display priority corresponding to each display form is the second display level.
10. The method according to claim 1, wherein The higher the display level, the smaller the probability that the corresponding notification message is covered.
11. A readable medium, characterized in that, The readable medium stores instructions that, when executed on a terminal device, cause the terminal device to execute the method according to any one of claims 1 to 10.
12. A terminal device, characterized in that, Comprising: A memory for storing instructions executed by one or more processors of the terminal device, and A processor, which is one of the processors of the terminal device, for executing the method according to any one of claims 1 to 10.
13. A program product, characterized in that, The program product includes instructions that, when executed on a terminal device, cause the terminal device to implement the method according to any one of claims 1 to 10.