WO2023029913A1 - 消息提示方法和电子设备 - Google Patents

消息提示方法和电子设备 Download PDF

Info

Publication number
WO2023029913A1
WO2023029913A1 PCT/CN2022/111412 CN2022111412W WO2023029913A1 WO 2023029913 A1 WO2023029913 A1 WO 2023029913A1 CN 2022111412 W CN2022111412 W CN 2022111412W WO 2023029913 A1 WO2023029913 A1 WO 2023029913A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
interface
display
user
interface element
Prior art date
Application number
PCT/CN2022/111412
Other languages
English (en)
French (fr)
Inventor
杨洋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023029913A1 publication Critical patent/WO2023029913A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • H04M1/673Preventing unauthorised calls from a telephone set by electronic means the user being required to key in a code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Definitions

  • the present application relates to the technical field of electronic devices, and more specifically, to a message prompting method and electronic devices.
  • a notification management function which can facilitate the user to turn on or off the notification function of the application, so as to set whether the application is allowed to push messages to the user through the notification.
  • the present application provides a message prompting method and an electronic device, which can prompt the importance of a message, help a user quickly find the message of concern, and improve user experience.
  • an electronic device including: a processor and a display screen; the processor is used to receive at least one message; the display screen is used to display a third interface, and the third interface includes at least A second interface element, wherein the second interface element is used to indicate that one or more applications have pushed a message, and the display attribute of the second interface element is used to indicate that the message pushed by the one or more applications The importance class to which the most important message belongs.
  • messages may be divided into multiple levels of importance, and message push prompts and message importance prompts may be implemented through the second interface element.
  • the second interface element in the third interface may indicate that one or more applications have pushed messages, and indicate the importance level to which the message with the highest importance among the messages pushed by the one or more applications belongs. In this way, the prompt of the importance of the message is realized, which is convenient for the user to find the message he cares about in time, and improves the user experience.
  • the at least one message is a message that has not been processed (for example, viewed or deleted) by the user.
  • the display screen is further configured to: display a first interface, the first interface includes a first interface element, wherein the first interface element uses It is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message; A first operation of the first interface element; in response to the first operation, displaying a second interface through the display screen, the second interface is used to identify the identity of the user, and the second interface includes the first An interface element; after detecting that the user completes identity recognition, displaying the third interface through the display screen.
  • the message push prompt and the message importance prompt are realized through the first interface element and the second interface element.
  • the first interface element in the first interface may prompt the user that there is a message to push, and indicate the importance level to which the most important message among the messages received by the electronic device belongs.
  • the second interface element in the third interface may indicate that one or more applications have pushed messages, and indicate the importance level of the most important message among the messages pushed by one or more applications. In this way, different levels of classification and display of messages and reminders of the importance of messages are realized, which facilitates users to find the messages they care about in time and improves user experience.
  • the first operation may be a click operation.
  • the display screen displays the first interface before the display screen displays the third interface.
  • the display screen displays the first interface
  • the processor displays the first interface through the display screen.
  • the processor can control the display screen to display the first interface after executing the corresponding code.
  • the description of other interfaces displayed on the display screen the understanding is similar to this, so no more details are given here.
  • the display screen is further configured to: display a first interface, the first interface includes a first interface element, wherein the first interface element uses It is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message; A first operation of the first interface element; in response to the first operation, displaying the third interface through the display screen.
  • the message push prompt and the message importance prompt are realized through the first interface element and the second interface element.
  • the first interface element in the first interface may prompt the user that there is a message to push, and indicate the importance level to which the most important message among the messages received by the electronic device belongs.
  • the second interface element in the third interface may indicate that one or more applications have pushed messages, and indicate the importance level to which the message with the highest importance among the messages pushed by the one or more applications belongs. In this way, different levels of classification and display of messages and reminders of the importance of messages are realized, which facilitates users to find the messages they care about in time and improves user experience.
  • the display screen displays the first interface before the display screen displays the third interface.
  • the display attribute of the first interface element includes the first At least one of the color attribute, shape attribute, size attribute, position attribute, pattern attribute, text attribute, and motion attribute of the interface element; and/or, the display attribute of the second interface element includes the second interface element's At least one of color attributes, shape attributes, size attributes, position attributes, pattern attributes, text attributes, and motion attributes.
  • the message can be indicated.
  • the level of importance through the intuitiveness of the display attributes of the first interface element or the second interface element, the user can quickly find important information from numerous messages.
  • the second interface element satisfies any of the following Item:
  • the second interface element has a corresponding relationship with at least one first application, wherein the messages pushed by the at least one first application all belong to the first importance level, and the second interface element is in accordance with the at least one first application.
  • the display attribute specified by the application is displayed to indicate the first importance level; the second interface element has a corresponding relationship with at least one first application, wherein the message pushed by the at least one first application belongs to at least two
  • the at least two importance levels are in one-to-one correspondence with at least two display attributes, and the second interface element corresponds to the importance level of the message with the highest importance level among the messages pushed by the at least one first application.
  • the display attribute specified by the degree level is displayed; or, the second interface element has a corresponding relationship with the first type of message, the first type of message belongs to the first level of importance, and the second interface element is in accordance with the first type of message
  • the display attribute specified by the class message is displayed to indicate the first importance level.
  • the second interface elements have different display attributes, and the user can quickly find the message of interest through the second interface elements with different display attributes and applications to improve user experience.
  • the messages pushed by the same application have the same importance level, which can facilitate the user to set the importance level of the push message by setting the importance level of the application.
  • the second interface element can prompt the message with the highest level of importance, so the user can know which applications push the message through the display attribute of the second interface element Messages with a high level of importance, so that you can quickly find the messages and applications that users care about. Moreover, the messages pushed by the same application are prompted through a second interface element, which can facilitate the user to view all the messages pushed by a certain application at one time.
  • the second interface element is also used to indicate The number of messages pushed by the one or more applications.
  • the user can know which message of the importance level and the number of messages have been pushed.
  • the first interface element is also used to indicate All preset importance levels.
  • the first interface element may indicate how many levels the importance level of the message is divided into, and indicate the importance level to which the message with the highest importance level belongs to at least one message. In this way, it is convenient for the user to intuitively perceive the relative importance of the message with the highest importance among the pushed messages.
  • the first interface element is further used to indicate the total number of the at least one message and/or the distribution of the at least one message The number of each importance level in the overall importance level.
  • the user can know which message of the importance level is pushed and the corresponding number of messages.
  • the processor is further configured to: detect the user A second operation on the second interface element; in response to the second operation, displaying a fourth interface through the display screen, where the fourth interface includes messages pushed by the one or more applications.
  • one or more messages pushed by applications can be viewed.
  • the messages pushed by the application are not displayed in a tiled manner in the same dimension, but are displayed hierarchically.
  • the first interface element prompts the user that there is a message to push, and then the second interface element prompts the user to have one or more messages from the application level.
  • the application pushes the message, and finally, the message can be viewed by operating the second interface element. In this way, it is convenient for users to find the news they care about, which is fast and convenient, and improves user experience.
  • the second operation may be a click operation.
  • the messages pushed by the one or more applications are displayed sequentially in descending order of priority.
  • the processor is further configured to: detect the user's response to the first message In a third operation, the first message is one of the messages pushed by the one or more applications; in response to the third operation, the first message is deleted from the fourth interface.
  • the message can be deleted from the fourth interface by performing related operations on the message displayed on the fourth interface.
  • the user can understand the content of the message by viewing the title, or the user does not want to view the specific content of the message, and can delete the message from the fourth interface.
  • the third operation may be a sliding operation.
  • the processor is further configured to: detect the user's interest in the second The fourth operation of the message, the second message is one of the messages pushed by the one or more applications; in response to the fourth operation, displaying a fifth interface through the display screen, the fifth interface is a display interface of the application to which the second message belongs, and the fifth interface displays the second message.
  • the fourth operation may be a click operation.
  • the processor is further configured to: detect whether the user The fifth operation of the message display area, wherein the non-message display area is an area on the fourth interface other than the message display area, and the message display area is used to display messages pushed by the one or more applications ; In response to the fifth operation, displaying the third interface through the display screen.
  • the fifth operation may be a click operation.
  • the processor is further configured to: detect A sixth operation performed by the user on the second interface element; in response to the sixth operation, deleting the second interface element from the third interface.
  • the second interface element by operating the second interface element, the second interface element can be deleted from the third interface, and at the same time, the messages prompted by the second interface element can be deleted in batches, which is convenient for the user to operate.
  • the sixth operation may be a drag operation.
  • the display screen is also used to: display a sixth interface , the sixth interface includes a first control; the processor is further configured to: detect a seventh operation performed by the user on the first control; in response to the seventh operation, open and use the first interface element and the Describe the function of the second interface element for message prompting.
  • the embodiment of the present application may provide a first control for enabling or disabling the function of using the first interface element and the second interface element for message prompting. After this function is turned on, when the electronic device receives a push message, it can perform a message prompt.
  • the seventh operation may be a click operation.
  • the display screen is also used for: Displaying a seventh interface, the seventh interface includes at least one second control, the second control corresponds to the application one by one, and the second control is used to adjust the message pushed by the application corresponding to the second control level of importance.
  • the electronic device may provide a control for setting the importance level of the message. Users can adjust the importance level of application push messages from the application level.
  • the display screen is also used for:
  • An eighth interface is displayed, the eighth interface includes a plurality of third controls, and the third controls correspond to preset importance levels one by one, wherein the third controls are used to adjust the The display attribute specified by the importance level, the display attribute being the display attribute on which the first interface element and/or the second interface element are based.
  • the electronic device may provide a control for setting the display attributes on which the first interface elements and/or the second interface elements specified by different importance levels are based.
  • the display screen is also used for: A ninth interface is displayed, the ninth interface includes at least one fourth control, and the fourth control is in one-to-one correspondence with the messages, wherein the fourth control is used to adjust any of the following items: The display attribute specified by the message; the importance level of the message corresponding to the fourth control; the display priority of the message corresponding to the fourth control when the user views the message; or the message corresponding to the fourth control Whether the message is prompted through the first interface element and the second interface element; wherein, the display attribute is a display attribute on which the first interface element and/or the second interface element is based.
  • the fourth control is used to adjust the display attribute specified by the message corresponding to the fourth control, and the display attribute of the first interface element and the second interface element can be specified from the granularity of the message.
  • the fourth control is used to adjust the importance level of the message corresponding to the fourth control, which can facilitate the user to set the importance level of the message he cares about to the highest.
  • the fourth control is used to adjust the display priority of the message corresponding to the fourth control when the user views the message, so that the message with higher priority can be displayed first.
  • the fourth control is used to adjust whether the message corresponding to the fourth control is prompted through the first interface element and the second interface element, which can facilitate the user to choose which push message reminders to receive and which push message reminders to not receive.
  • the first message in the at least one message A message has first attribute information, and the first attribute information matches the first customized attribute information of the first message object, wherein the first message and the first message object correspond to the first concerned application and both have The first message format, the first message object is that the user packs the first customized attribute information according to the first message format and then retains it in the In the system layer of the electronic device; the first message object is used to filter messages that do not match the first custom attribute information among the messages pushed by the first concerned application; the first message is the Any one of at least one message.
  • the at least one message can be a message customized by the user, and the system layer of the electronic device can prompt the user to push the message that the user is interested in, and shield the message that the user is not interested in (such as messages other than the message that the user is interested in). Or filter the push of these messages without prompting the user.
  • the messages pushed by the application can be filtered and displayed, and some spam messages and advertisement messages can be filtered out, so as to effectively display the messages that the user cares about, realize more subtle message management that is close to the user's needs at the system level, and improve the user experience.
  • the first message format is a preset base message format, or is the The subclass message format formed by inheriting and extending the preset base class message format described above.
  • different applications can inherit and extend the preset base class message format to implement the subclass message format corresponding to each application.
  • the format of the message pushed by the application can be a base type message format or a subtype message format, so that the system of the electronic device can uniformly process the application pushed message according to the base type message format, or process the special application message individually according to the subtype message format.
  • the first interface is an AOD interface with the screen off.
  • Setting the first interface element on the AOD interface to prompt the user to push the message can not only properly remind the user with a slightly changed reminder, but also save power consumption.
  • the first interface element and the second Interface elements have the same or similar graphics.
  • the same or similar display attributes can be displayed, which is more suitable for the user's usage habits, and can also improve the aesthetics of the interface.
  • an electronic device including: a receiving unit, configured to receive at least one message; a display unit, configured to display a third interface, the third interface including at least one second interface element, wherein the The second interface element is used to indicate that one or more applications have pushed messages, and the display attribute of the second interface element is used to indicate the importance level of the most important message among the messages pushed by the one or more applications. .
  • the electronic device further includes a detection unit; the display unit is further configured to display a first interface, and the first interface includes a first interface element, Wherein, the first interface element is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message; the detection unit , configured to detect a first operation performed by the user on the first interface element; the display unit is further configured to display a second interface in response to the first operation, and the second interface is used to check the identity of the user identification, the second interface includes the first interface element; the display unit is further configured to display the third interface after the detection unit detects that the user completes the identification.
  • the detection unit may detect the user's operation on the interface, and in response to the corresponding operation, the display unit may display corresponding content on the interface.
  • the display unit is further configured to display the third interface after the detection unit detects that the user completes the identification, specifically: the detection unit detects that the user completes the identification; the display unit displays the third interface interface. That is, in this step, the detection unit needs to execute the process of detecting that the user has completed the identification.
  • the electronic device further includes a detection unit; the display unit is further configured to display a first interface, and the first interface includes a first interface element, Wherein, the first interface element is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message; the detection unit , configured to detect a first user operation on the first interface element; the display unit is further configured to display the third interface in response to the first operation.
  • the display attribute of the first interface element includes the first At least one of the color attribute, shape attribute, size attribute, position attribute, pattern attribute, text attribute, and motion attribute of the interface element; and/or, the display attribute of the second interface element includes the second interface element's At least one of color attributes, shape attributes, size attributes, position attributes, pattern attributes, text attributes, and motion attributes.
  • the second interface element satisfies any of the following Item:
  • the second interface element has a corresponding relationship with at least one first application, wherein the messages pushed by the at least one first application all belong to the first importance level, and the second interface element is in accordance with the at least one first application.
  • the display attribute specified by the application is displayed to indicate the first importance level; the second interface element has a corresponding relationship with at least one first application, wherein the message pushed by the at least one first application belongs to at least two
  • the at least two importance levels are in one-to-one correspondence with at least two display attributes, and the second interface element corresponds to the importance level of the message with the highest importance level among the messages pushed by the at least one first application.
  • the display attribute specified by the degree level is displayed; or, the second interface element has a corresponding relationship with the first type of message, the first type of message belongs to the first level of importance, and the second interface element is in accordance with the first type of message
  • the display attribute specified by the class message is displayed to indicate the first importance level.
  • the second interface element is also used to indicate The number of messages pushed by the one or more applications.
  • the first interface element is also used to indicate All preset importance levels.
  • the first interface element is further used to indicate the total number of the at least one message and/or the distribution of the at least one message The number of each importance level in the overall importance level.
  • the electronic device further includes a detection unit, so The detection unit is configured to detect a second operation performed by the user on the second interface element; the display unit is further configured to display a fourth interface in response to the second operation, wherein the fourth interface includes the Messages pushed by one or more apps.
  • the messages pushed by the one or more applications are displayed sequentially in descending order of priority.
  • the detection unit is further configured to detect the user's response to the first message
  • the third operation the first message is one of the messages pushed by the one or more applications
  • the display unit is further configured to, in response to the third operation, change the first message from the Deleted in the fourth interface mentioned above.
  • the detection unit is further configured to detect the user's response to the second In the fourth operation of a message, the second message is one of the messages pushed by the one or more applications; the display unit is further configured to display a fifth interface in response to the fourth operation, the The fifth interface is a display interface of the application to which the second message belongs, and the fifth interface displays the second message.
  • the detection unit is further configured to detect whether the user The fifth operation of the message display area, wherein the non-message display area is an area on the fourth interface other than the message display area, and the message display area is used to display messages pushed by the one or more applications ;
  • the display unit is further configured to display the third interface in response to the fifth operation.
  • the electronic device further includes a detection unit, The detection unit is configured to detect a sixth operation performed by the user on the second interface element; the display unit is also configured to change the second interface element from the third interface in response to the sixth operation Deleted in .
  • the display unit is further configured to display a sixth interface , the sixth interface includes a first control; the detection unit is further configured to detect a seventh operation performed by the user on the first control; the display unit is further configured to respond to the seventh operation and open the user The first interface element and the second interface element perform a message prompt function.
  • the display unit is further configured to: Displaying a seventh interface, the seventh interface includes at least one second control, the second control corresponds to the application one by one, and the second control is used to adjust the message pushed by the application corresponding to the second control level of importance.
  • the display unit is further configured to: An eighth interface is displayed, the eighth interface includes a plurality of third controls, and the third controls correspond to preset importance levels one by one, wherein the third controls are used to adjust the The display attribute specified by the importance level, the display attribute being the display attribute on which the first interface element and/or the second interface element are based.
  • the display unit is further configured to: A ninth interface is displayed, the ninth interface includes at least one fourth control, and the fourth control is in one-to-one correspondence with the messages, wherein the fourth control is used to adjust any of the following items: The display attribute specified by the message; the importance level of the message corresponding to the fourth control; the display priority of the message corresponding to the fourth control when the user views the message; or the message corresponding to the fourth control Whether the message is prompted through the first interface element and the second interface element; wherein, the display attribute is a display attribute on which the first interface element and/or the second interface element is based.
  • the first message in the at least one message A message has first attribute information, and the first attribute information matches the first customized attribute information of the first message object, wherein the first message and the first message object correspond to the first concerned application and both have The first message format, the first message object is that the user packs the first customized attribute information according to the first message format and then retains it in the In the system layer of the electronic device; the first message object is used to filter messages that do not match the first custom attribute information among the messages pushed by the first concerned application; the first message is the Any one of at least one message.
  • the first message format is a preset base message format, or is the The subclass message format formed by inheriting and extending the preset base class message format described above.
  • the first interface is an AOD interface with the screen off.
  • the first interface element and the second Interface elements have the same or similar graphics.
  • the beneficial effect of the electronic device described in the second aspect can refer to the beneficial effect of the electronic device in the first aspect, which will not be repeated here.
  • a method for prompting a message is provided, the method is applied to an electronic device, and the method includes: receiving at least one message; displaying a third interface, the third interface including at least one second interface element, wherein , the second interface element is used to indicate that one or more applications have pushed messages, and the display attribute of the second interface element is used to indicate which of the messages pushed by the one or more applications belongs to importance level.
  • the third interface before displaying the third interface, it further includes: displaying a first interface, where the first interface includes a first interface element, wherein the first interface element An interface element is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message;
  • the first operation of the element in response to the first operation, displaying a second interface, the second interface is used to identify the identity of the user, the second interface includes the first interface element; the displaying the second interface
  • the three interfaces include: detecting that the user completes the identification, and displaying the third interface.
  • the second implementation manner of the third aspect before displaying the third interface, it further includes: displaying a first interface, where the first interface includes a first interface element, wherein the first An interface element is used to prompt the user that there is a message to push, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message; the displaying the third interface includes: detecting A user performs a first operation on the first interface element; in response to the first operation, the third interface is displayed.
  • the display attribute of the first interface element includes the first At least one of the color attribute, shape attribute, size attribute, position attribute, pattern attribute, text attribute, and motion attribute of the interface element; and/or, the display attribute of the second interface element includes the second interface element's At least one of color attributes, shape attributes, size attributes, position attributes, pattern attributes, text attributes, and motion attributes.
  • the second interface element satisfies any of the following Item:
  • the second interface element has a corresponding relationship with at least one first application, wherein the messages pushed by the at least one first application all belong to the first importance level, and the second interface element is in accordance with the at least one first application.
  • the display attribute specified by the application is displayed to indicate the first importance level; the second interface element has a corresponding relationship with at least one first application, wherein the message pushed by the at least one first application belongs to at least two
  • the at least two importance levels are in one-to-one correspondence with at least two display attributes, and the second interface element corresponds to the importance level of the message with the highest importance level among the messages pushed by the at least one first application.
  • the display attribute specified by the degree level is displayed; or, the second interface element has a corresponding relationship with the first type of message, the first type of message belongs to the first level of importance, and the second interface element is in accordance with the first type of message
  • the display attribute specified by the class message is displayed to indicate the first importance level.
  • the second interface element is also used to indicate The number of messages pushed by the one or more applications.
  • the first interface element is also used to indicate All preset importance levels.
  • the first interface element is further used to indicate the total number of the at least one message and/or the distribution of the at least one message The number of each importance level in the overall importance level.
  • the eighth implementation of the third aspect it further includes: detecting that the user A second operation of two interface elements: in response to the second operation, displaying a fourth interface, where the fourth interface includes messages pushed by the one or more applications.
  • the messages pushed by the one or more applications are displayed sequentially in descending order of priority.
  • the tenth implementation manner of the third aspect it further includes: detecting the third operation of the user on the first message , the first message is one of the messages pushed by the one or more applications; in response to the third operation, deleting the first message from the fourth interface.
  • the eleventh implementation of the third aspect further includes: detecting that the user responds to the fourth message of the second message operation, the second message is one of the messages pushed by the one or more applications; in response to the fourth operation, a fifth interface is displayed, and the fifth interface is the message of the application to which the second message belongs A display interface, the fifth interface displays the second message.
  • the twelfth implementation of the third aspect also includes: detecting the user's attention to the non-message display area The fifth operation, wherein the non-message display area is an area on the fourth interface other than the message display area, and the message display area is used to display messages pushed by the one or more applications; in response to the The fifth operation is performed to display the third interface.
  • the thirteenth implementation of the third aspect it also includes: detecting that the user A sixth operation of the second interface element; in response to the sixth operation, deleting the second interface element from the third interface.
  • the fourteenth implementation of the third aspect before displaying the first interface, it further includes: Displaying a sixth interface, the sixth interface including the first control; detecting a seventh operation of the first control by the user; in response to the seventh operation, opening and using the first interface element and the second The function of interface elements to carry out message prompts.
  • the fifteenth implementation of the third aspect further includes: displaying a seventh interface,
  • the seventh interface includes at least one second control, and the second control corresponds to an application one by one, wherein the second control is used to adjust the importance level of the message pushed by the application corresponding to the second control.
  • the sixteenth implementation of the third aspect further includes: displaying an eighth interface,
  • the eighth interface includes a plurality of third controls, the third controls are in one-to-one correspondence with preset importance levels, and the third controls are used to adjust the specified level of importance corresponding to the third controls.
  • the display attribute of the display attribute is the display attribute on which the first interface element and/or the second interface element is based.
  • the seventeenth implementation of the third aspect further includes: displaying a ninth interface,
  • the ninth interface includes at least one fourth control, and the fourth control is in one-to-one correspondence with messages, wherein the fourth control is used to adjust any of the following items: the display specified by the message corresponding to the fourth control attribute; the importance level of the message corresponding to the fourth control; the display priority of the message corresponding to the fourth control when the user views the message; or whether the message corresponding to the fourth control passes through the The first interface element and the second interface element prompt; wherein, the display attribute is a display attribute on which the first interface element and/or the second interface element is based.
  • the first A message has first attribute information, and the first attribute information matches the first customized attribute information of the first message object, wherein the first message and the first message object correspond to the first concerned application and both have The first message format, the first message object is that the user packs the first customized attribute information according to the first message format and then retains it in the In the system layer of the electronic device; the first message object is used to filter messages that do not match the first custom attribute information among the messages pushed by the first concerned application; the first message is the Any one of at least one message.
  • the first message format is a preset base message format, or is the The subclass message format formed by inheriting and extending the preset base class message format described above.
  • the first interface is an AOD interface with the screen off.
  • the first interface element and the second Interface elements have the same or similar graphics.
  • the beneficial effect of the method described in the third aspect can refer to the beneficial effect of the electronic device in the first aspect, which will not be repeated here.
  • an electronic device including: one or more processors; one or more memories; one or more computer programs are stored in the one or more memories, and the one or more computer programs include An instruction, when the instruction is executed by the one or more processors, causes the electronic device to execute the third aspect and the method described in any one of the various implementation manners in the third aspect.
  • a chip including at least one processor and an interface circuit, the interface circuit is used to provide program instructions or data for the at least one processor, and the at least one processor is used to execute the program instructions, To implement the above third aspect and the method described in any one of the various implementation manners in the third aspect.
  • the present application provides a system-on-a-chip, which includes at least one processor, configured to support the implementation of the above-mentioned third aspect and any of the various implementations in the third aspect.
  • Functions such as, for example, receiving or processing data and/or information involved in the methods described above.
  • the chip system further includes a memory, the memory is used to store program instructions and data, and the memory is located inside or outside the processor.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • a computer-readable storage medium includes computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the above-mentioned third aspect and the third aspect The method described in any one of the various implementation manners in .
  • a computer program product containing instructions is provided, and when the computer program product is run on an electronic device, the electronic device is made to execute any one of the above-mentioned third aspect and various implementation manners in the third aspect The method described in an implementation.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application
  • Fig. 2 is a software structural block diagram that the embodiment of the present application provides
  • Fig. 3 is a schematic diagram of a graphical user interface of an existing message prompt method
  • FIG. 4 is a schematic diagram of a graphical user interface of an example of a message prompt method provided by an embodiment of the present application
  • FIG. 5 is a schematic diagram of a graphical user interface of an example of a message prompt method provided by an embodiment of the present application
  • FIG. 6 is a schematic diagram of a graphical user interface of an example of a message prompt method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a graphical user interface of another example of a message prompt method provided by an embodiment of the present application.
  • FIGS. 8-9 are schematic diagrams of graphical user interfaces of another example of the message prompting method provided by the embodiment of the present application.
  • FIG. 10 is a schematic diagram of a graphical user interface of another example of a message prompt method provided by an embodiment of the present application.
  • 11-13 are schematic diagrams of graphical user interfaces of another example of the message prompting method provided by the embodiment of the present application.
  • FIGS. 14-16 are schematic diagrams of graphical user interfaces of yet another example of a message prompt method provided by the embodiment of the present application.
  • 17-18 are schematic flowcharts of the message prompt method provided by the embodiment of the present application.
  • FIG. 19 is a schematic flowchart of a message prompt method provided by an embodiment of the present application.
  • Fig. 20 is a schematic flowchart of another message prompt method provided by the embodiment of the present application.
  • FIG. 21 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features.
  • references to "one embodiment” or “some embodiments” or the like in this specification means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application.
  • appearances of the phrases “in one embodiment,” “in some embodiments,” “in other embodiments,” “in other embodiments,” etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean “one or more but not all embodiments” unless specifically stated otherwise.
  • the terms “including”, “comprising”, “having” and variations thereof mean “including but not limited to”, unless specifically stated otherwise.
  • the embodiment of the present application provides a method for prompting a message, which can be applied to an electronic device, or can be a separate application program, and the application program can implement the method for prompting a message in this application.
  • the message prompting method provided by the present application can prompt the user to check the message in time by prompting the user of the importance of the message while prompting that there is a push message.
  • the message prompt method provided by the present application can classify and display messages and distinguish the importance of the message, so that the user can quickly find the message of concern in a timely manner and improve user experience.
  • the user can customize the notification message, and set the electronic device to filter the message pushed by the application at the system level, so that the notification management function is closer to the user's needs.
  • the user can be properly reminded through a slight change, and power consumption can also be saved.
  • the message prompt method provided by the embodiment of the present application can be applied to mobile phones, tablet computers, wearable devices (such as smart watches, smart bracelets, smart glasses, smart jewelry, etc.), vehicle-mounted devices, augmented reality (augmented reality, AR)/virtual Reality (virtual reality, VR) devices, notebook computers, ultra-mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks, personal digital assistants (personal digital assistants, PDAs), televisions, monitors, smart screens, and other devices with touch screens
  • augmented reality augmented reality, AR
  • VR virtual Reality
  • notebook computers ultra-mobile personal computers (ultra-mobile personal computers, UMPCs), netbooks
  • personal digital assistants personal digital assistants, PDAs
  • televisions monitors
  • smart screens smart screens
  • other devices with touch screens On electronic devices with graphical user interfaces, the embodiment of the present application does not impose any limitation on the specific types of electronic devices. Exemplary embodiments of electronic devices include, but are not limited to Or electronic devices with other operating systems.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold 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 be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the optical signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 .
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music or voice through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the electronic device can detect the user's touch operation according to the pressure sensor, so as to execute different operation instructions, such as deleting messages individually or in batches, entering the application interface to display the specific content of the message, setting the bubble ball notification function, etc.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from being shut down abnormally due to the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also known as "touch panel”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of this application uses a layered architecture
  • the system is taken as an example to illustrate the software structure of the electronic device 100 .
  • FIG. 2 shows a block diagram of a software system of an electronic device provided by an embodiment of the present application.
  • the software system 200 of the electronic device may adopt a layered architecture.
  • Layered architecture is to divide the software into several layers, each layer contains a large number of sub-modules or subsystems, and the layers communicate through software interfaces.
  • the software system 200 can be divided into four layers, from top to bottom are application program (application, APP) layer 210, application program framework (framework) layer 220, system runtime library layer (including system library and Android Runtime (Android runtime)) 230, and kernel (kernel) layer 240.
  • application program application, APP
  • application program framework framework
  • system runtime library layer including system library and Android Runtime (Android runtime)
  • kernel kernel
  • Application layer 210 may include a series of application packages. As shown in Figure 2, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the application program is mainly about the user interface (user interface), which is usually written by using the JAVA language to call the interface of the application program framework layer.
  • the application framework layer 220 is a series of services and systems hidden behind each application, and is used to provide application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer 210.
  • the application framework layer includes some predefined functions. As shown in FIG. 2, the application framework layer 220 may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
  • the window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • a content provider is used to store and retrieve data and make it accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • Content providers allow applications to publish and share data.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • a telephony manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager (notification manager) enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompting text information in the status bar issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the notification manager can also perform message reminders and the like on the off-screen display interface in the form of graphs.
  • the system runtime layer (libraries) 230 can be divided into two parts, namely the system library and the Android runtime.
  • Android runtime is the Android operating environment, including the core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application program layer 210 and the application program framework layer 220 run in a virtual machine.
  • the virtual machine executes the java files of the application program layer 210 and the application program framework layer 220 as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library is the support of the application framework, an important link connecting the application framework layer and the kernel layer, and can include multiple functional modules.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: open graphics library for embedded systems (OpenGL ES)
  • 2D graphics engine For example: Skia database (skia graphics library, SGL)), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer 240 is a layer between hardware and software, and is used to provide essential functions of the operating system such as file management, memory management, process management, network protocol stack, device management, and the like.
  • the kernel layer 240 includes at least a display driver, a camera driver, an audio driver, a sensor driver, a Bluetooth driver, and the like.
  • a notification management function which can facilitate the user to turn on or off the notification function of the application, so as to set whether the application is allowed to push messages to the user through the notification.
  • FIG. 3 provides a set of schematic diagrams of a graphical user interface (graphical user interface, GUI).
  • GUI graphical user interface
  • the notification mode of the message can be set on the notification setting interface 310 shown in (a) of FIG. 3 .
  • the notification setting interface 310 may include one or more of a "banner” control 301, a "desktop icon corner mark” control 302, a "notification bright screen reminder” control 303, and a "status bar display notification icon” control 304 for the user to select How to prompt the message.
  • the message pushed by the application will be displayed to the user in the form of a prompt box 305 .
  • the specific content of the message can be displayed in the prompt box 305, or the specific content of the message can be hidden, and only a reminder that a certain application has pushed the message.
  • the prompt box 305 can disappear by itself after staying for a short time, or it can be displayed until the user checks the message.
  • the desktop icon of the corresponding application will display the number of messages.
  • the screen of the electronic device may be lit to remind the user.
  • the sliding notification bar 320 includes messages pushed by all applications, and these messages can be classified and arranged according to the application category and push time, such as the messages pushed by the same application are concentrated in Displayed together, the messages are arranged in the order of push time.
  • the embodiment of the present application provides a message prompt method and an electronic device.
  • the electronic device has an application message push, it can perform message push prompts and message importance prompts, so that users can find the messages they care about in time and improve user experience. .
  • notification and “message” can be understood to express the same meaning, and in some embodiments, “notification message” and “push message” can also be used to express the same meaning.
  • FIG. 4 shows a schematic diagram of a graphical user interface of an example of a message prompting method provided by an embodiment of the present application.
  • a prompt ball 401 appears on the always on display (AOD) interface 410 of the electronic device to prompt the user that there is a message to push.
  • the prompt ball 401 does not display the specific content of the message, and is only used to remind the user that there is a message to be pushed or that there is an unprocessed message.
  • the off-screen display means that when the electronic device is in the locked state, some areas of the screen remain always on to display information such as time and notifications. Referring to (a) in FIG. 4 , only part of the pixels on the AOD interface 410 are lit to display time, date and prompt ball 401 , while the rest of the pixels are off to display pure black content.
  • the AOD interface 410 when the electronic device is in the locked state, the AOD interface 410 can be displayed all the time, and when a message is pushed, the prompt ball 401 can be directly displayed on the AOD interface 410 .
  • the screen when the electronic device is in the locked state, the screen is turned off, and when a message is pushed, the screen displays the AOD interface 410 , and the prompt ball 401 is displayed on the AOD interface 410 .
  • the "prompt ball appears” mentioned here refers to messages that have not been processed (for example, viewed, deleted, ignored, etc.) by the user before that. That is to say, before receiving the new message, the user has processed all the messages or has no message to push, and when the new message is pushed, the prompt ball 401 will appear in the AOD interface 410 . If there is a message pushed to the user before this but the user has not processed it, since the prompt ball 401 has been displayed in the AOD interface 410 before, after the new message is pushed, the prompt ball 401 is still displayed in the AOD interface 410, but the prompt ball 401
  • the display attributes may change, which will be introduced in conjunction with other drawings below, and will not be described in detail here.
  • the AOD interface 410 may only display one prompt ball 401, indicating that at least one push message has not been processed by the user.
  • the display attribute (such as color, shape, size, gray scale, transparency, position, pattern, number mark, word mark, movement speed, etc.) of the prompt ball 401 may indicate the most important message among the unprocessed messages of the user.
  • the notification messages may be divided into different importance levels, and the display properties of the hint balls specified by the messages of different importance levels are different. For example, different colors (for example, red, orange, and blue) may be displayed on the hint ball to indicate messages of different importance.
  • messages of different importance may be indicated by specifying that the cue ball displays different shapes (eg, pentagon, square, triangle).
  • you can indicate messages of different importance by specifying that the hint balls display different sizes.
  • messages of different importance may be indicated by specifying different gray scales or transparency of the prompt ball (for example, 30% transparency, 50% transparency, 80% transparency).
  • messages of different importance levels may be indicated by specifying different positions of the cue ball on the screen.
  • messages of different importance levels can be indicated by specifying that the prompt ball displays different patterns or has different numerical or textual identifiers.
  • the display attribute of the prompt ball 401 displayed on the AOD interface 410 corresponds to the most important message among the pushed messages.
  • the messages pushed by the phone application are of the highest importance; the messages pushed by the weather application are of medium importance, and the messages pushed by the news application are of the lowest importance.
  • the color of the prompt ball 401 is red. If the unprocessed messages of the user include the messages pushed by the weather application but not the messages pushed by the phone application, the color of the prompt ball 401 is orange. If the unprocessed messages of the user include the messages pushed by the news application, but do not include the messages pushed by the phone application and the weather application, the color of the prompt ball 401 is blue.
  • the color of the hint ball 401 can represent the importance of the message.
  • the color of the prompt ball 401 is displayed in the color specified by the message with the highest importance among the multiple messages.
  • the reminder ball 401 can have a fixed position on the screen, or it can move in multiple fixed positions according to a certain rule, or it can walk randomly on the screen like a bubble and be bounced when it encounters the edge of the screen. This application implements Examples are not limited to this.
  • the user may perform a click operation (such as single click or double click) on the hint ball 401 as shown in (a) of FIG. 4 , and in response to the click operation, the screen of the electronic device may display an unlock interface.
  • a click operation such as single click or double click
  • the screen displays an unlock interface 420 , wherein the unlock interface 420 still displays the hint ball 401 .
  • the unlocking interface 420 is mainly used to identify and verify the user's identity.
  • the unlocking interface 420 may include text information, pattern information, digital information, etc. that prompt the user to perform identification.
  • the unlocking interface 420 displays prompts such as "Use fingerprint or slide up to unlock", “Face ID”, “Enter password”, “Gesture password”, etc., or displays a fingerprint pattern, a nine-point pattern, a number plate, etc., thereby prompting the user to use a fingerprint. , face, digital password or gesture password for identity authentication.
  • the unlocking interface 420 also includes information prompting the user to unlock and view messages, for example, as shown in (b) of FIG.
  • the screen displays a message preview interface 430, including one or more message balls in the message preview interface 430, such as message balls 403a, 403b, 403c, 403d, 403e wait.
  • the message preview interface 430 is a transitional interface for the user to enter the main interface (such as the desktop of the mobile phone) after unlocking, and can be used for the user to process (such as view, delete, ignore) notification messages and the like.
  • each message ball corresponds to an application, that is, one message ball is used to prompt a message pushed by an application.
  • the message balls 403a, 403b, 403c, 403d, and 403e respectively correspond to mail applications, SMS applications, weather applications, sports and health applications, and browser applications.
  • each message ball may include a corresponding application icon and/or application name.
  • the display attributes of the message ball can indicate the importance of the message.
  • the display attributes of the message ball and the hint ball used to indicate the importance of the message may be the same, for example, color attributes are used to indicate messages of different importance.
  • the display property of the message ball may correspond to the application.
  • users can classify the importance level of messages by application type, so all messages pushed by an application are messages of the same importance level, so that the message ball corresponding to this application can follow the display attributes specified by the application show.
  • the color attribute of the message ball to indicate the importance of the message as an example. For example, if the user sets the SMS application to push the messages with the highest level of importance, correspondingly, the SMS application is the application with the highest importance.
  • the color of the message ball corresponding to the SMS application is displayed in the color (for example, red) specified by the application with the highest level of importance.
  • the display attribute of the message ball may correspond to the message with the highest level of importance among the messages pushed by the application.
  • the user can set different levels of importance for messages pushed by an application, for example, some messages have the highest level of importance, some messages have a middle level of importance, and some messages have the lowest level of importance.
  • the message ball corresponding to the application is displayed according to the display attribute specified by the message with the highest level of importance among the messages pushed by the application.
  • the color attribute of the message ball to indicate the importance of the message as an example.
  • the user sets the importance level of the current affairs news in the news application as the highest level, the importance level of the sports news as the middle level, and the importance level of the economic news. is the lowest.
  • the color of the news ball corresponding to the news application will be displayed in the color specified by the sports news in the middle of the importance level (for example, orange) .
  • the message ball may display different attributes due to the different importance of the messages pushed by the application. According to the display properties of the message ball, the user can find important applications and important messages conveniently and quickly.
  • the user can perform a click operation (such as single-click or double-click) on the message ball as shown in (c) in Figure 4, and in response to the click operation, the screen of the electronic device can display the clicked message ball on the message preview interface 430 and the message prompted by the message ball.
  • a click operation such as single-click or double-click
  • the message preview interface 430 displays the enlarged message ball 403b and the message list 404 prompted by the message ball 403b. According to the message list 404, the user can view the specific content of each message in the list.
  • the message preview interface 430 as shown in FIG. Ball display interface.
  • the message list 404 includes short messages from other users pushed by the SMS application. It can be understood that the two messages shown in the figure are only exemplary. In practical applications, the message list 404 may include one or more messages, and the area for displaying messages may display a part or part of the message list. All news. When the area used to display messages cannot display all the messages, the user can view hidden messages by sliding the message list or dragging the scroll bar.
  • the shape and/or size of the prompt ball 401 and the message ball in the message preview interface 430 may be the same or different. From the perspective of user experience, the prompt ball and the message ball can be designed to have the same graphics, for example, both are in the shape of a bubble or a balloon.
  • the message ball may be formed by splitting the hint ball 401 . It can be understood that the splitting of the prompt ball into the message ball is only an example of a display effect, and the embodiment of the present application does not specifically limit the transition effect from the prompt ball to the message ball.
  • control or interface element on the AOD interface 410 for prompting the user that there is a push message may also have other names, and "prompt ball” is just an exemplary name.
  • "prompt ball” should be understood in a broad sense, that is, it is a control or an interface element that realizes the function of prompting users to push messages.
  • the name does not limit the shape of the control or interface element to be a ball .
  • the control or interface element may also be cloud-shaped, petal-shaped, water-drop-shaped, and the like.
  • the controls or interface elements on the message preview interface 430 that are used to respond to user operations so as to facilitate the user to process notification messages may have other names, and "message ball” is just an exemplary name.
  • "message ball” should be understood in a broad sense, that is, it is a control or interface element used to respond to user operations in the process of processing notification messages, and the name does not limit the shape of the control or interface element to be a ball .
  • the control or interface element may also be cloud-shaped, petal-shaped, water-drop-shaped, and the like.
  • the message prompting method provided by the present application will be described by taking the prompt ball and the message ball in the shape of bubbles as an example.
  • the prompt ball and the message ball can be collectively referred to as a bubble ball. Therefore, when the description of the bubble ball is involved in the following embodiments, it should be understood that it includes the prompt ball displayed on the AOD interface and the message displayed on the message preview interface. ball.
  • Fig. 5 and Fig. 6 show a schematic diagram of a graphical user interface of an example of a message prompting method provided by an embodiment of the present application. The operations in the process of viewing messages by the user and the response of the electronic device will be introduced below with reference to FIG. 5 and FIG. 6 .
  • the user when viewing the message list 404, the user can perform operations of deleting messages and viewing messages.
  • the user may perform a sliding operation on a certain message, such as sliding to the right, sliding to the left, sliding down, or sliding up.
  • the message is deleted from the message list 404 as shown in (b) of FIG. 5 .
  • message list 404 including message 1 and message 2 as an example, when the user performs a sliding operation on message 2, message 2 in message list 404 is deleted in response to the operation, and message 1 remains.
  • the electronic device may return a message as shown in (c) in FIG. 4 Ball display interface. Since all the messages collected by the message ball viewed by the user are deleted, the returned message ball display interface does not include the message ball viewed by the user.
  • the message ball display interface may be a message ball display interface 460 as shown in (c) in FIG.
  • the returned message ball display interface may be a message ball display interface 470 as shown in (d) of FIG. 6 .
  • the electronic device will return to the upper user interface.
  • the user may perform a click operation on a certain message, such as single click or double click.
  • the screen may display the application interface 440 corresponding to the message, and the application interface 440 may display the specific content of the message.
  • message list 404 including message 1 and message 2 as an example
  • the electronic device can start or run the application corresponding to message 1, and display message 1
  • the application interface where it is located. In the application interface, message 1 is displayed.
  • the user may perform a return operation.
  • the user can perform a click operation on an area other than the message list 404 (that is, a non-message display area) in the message list display interface 450, for example, clicking on an area other than the message list 404 in the message ball , or click on an area other than the message list 404 in the entire interface.
  • the electronic device returns to the upper-level interface, that is, the message ball display interface 460 .
  • the operation of deleting messages in batches may be performed before or after the user finishes viewing the message list 404.
  • the user can perform a sliding or dragging operation on the message ball (such as the message ball 403d) in the message ball display interface 460, such as sliding on the message ball or dragging the message ball to the edge of the screen.
  • the message ball 403d disappears on the message ball display interface 460 , and is displayed as a message ball display interface 470 as shown in (d) of FIG. 6 .
  • all messages corresponding to the message ball 403d are deleted. It should be noted that the deletion of the messages mentioned here means that the prompt information of these messages in the message ball is deleted, that is, the message ball no longer prompts the push of these messages.
  • FIG. 7 shows a schematic diagram of a graphical user interface of another example of a message prompting method provided by an embodiment of the present application.
  • Other implementations of the message list display interface will be introduced below with reference to FIG. 7 .
  • the message ball display interface 510 may be the interface after the user completes identity authentication. Exemplarily, it may be after the user performs the unlocking operation as shown in (b) in FIG. The displayed interface.
  • the message ball display interface 510 includes one or more message balls, such as message balls 501 , 502 , 503 , 504 , and 505 respectively corresponding to sports and health applications, email applications, weather applications, SMS applications, and browser applications.
  • the user can perform a click operation (for example, single click or double click) on the message ball as shown in (a) in FIG.
  • a click operation for example, single click or double click
  • the message list display interface 520 displays the enlarged message ball 502 and the message list 506 prompted by the message ball 502 . Since the message ball 502 corresponds to the mailbox application, the messages pushed by the mailbox application are collected in the message list 506 .
  • the shape of the enlarged message ball 502 can be consistent with the message ball display interface
  • the shape of the message ball 502 in 510 is different.
  • the message ball 502 shown in (a) in FIG. 7 may be circular, and the enlarged message ball 502 shown in (b) in FIG. 7 may be square. In this way, when the message list 506 is displayed in the message ball 502 shown in (b) in FIG. 7 , the shape of the message ball 502 is adapted to the shape of the message list 506, and more message contents can be displayed in the message display area.
  • the message balls in different display interfaces may have the same shape (for example, they are all circular but with different sizes), or may display different shapes according to the actual situation, which is not limited in this embodiment of the present application. It should also be noted that when the user performs an operation on the message ball to view the message list, the clicked message ball can be enlarged independently, or can be formed by aggregation of all message balls. This is not limited. Because this is only an example of a display effect, the embodiment of the present application does not specifically limit the transition effect between different interfaces.
  • FIG. 8 and FIG. 9 show schematic diagrams of graphical user interfaces of another example of the message prompting method provided by the embodiment of the present application.
  • Other implementations of the message ball display interface and the message list display interface will be introduced below with reference to FIG. 8 and FIG. 9 .
  • the message ball display interface 610 may be the interface after the user completes identity authentication. Exemplarily, it may be after the user performs the unlocking operation as shown in (b) in FIG. The displayed interface.
  • the message ball display interface 610 includes one or more message balls.
  • each message ball corresponds to multiple applications, that is, one message ball is used to prompt messages pushed by multiple applications.
  • message ball 601 may correspond to mail application, phone application and SMS application
  • message ball 602 may correspond to sports health application and shopping application
  • message ball 603 may correspond to weather application and map application
  • message ball 604 may correspond to a browser application and a video application.
  • each message ball may include a corresponding application icon and/or application name.
  • the applications corresponding to each message ball can have the same importance level, so that the corresponding message ball can be displayed according to the display attribute specified by the corresponding application.
  • the notification messages corresponding to each message ball have the same importance level, so that the corresponding message balls can be displayed according to the attribute information specified by the corresponding message.
  • the user can set all the messages pushed by the mailbox application, phone application and SMS application as messages of the same importance level, and the message ball 601 is used to indicate that the mailbox application, phone application
  • the message ball 601 is used to indicate that the mailbox application, phone application
  • One or more of the application and the short message application pushes the message, and is used to indicate the importance of the message pushed by the mailbox application, the phone application and the short message application (for example, the highest level of importance).
  • the message ball 601 can be displayed according to the display attributes specified by the mailbox application, the phone application and the short message application.
  • the user can set the importance level of some messages to be A, the importance level of some messages to be B, the importance level of some messages to be C, etc. among all the messages to be pushed.
  • the message ball 601 is used to indicate the messages whose importance level is A, and the other message balls are used to indicate the messages whose importance level is B, C, etc.
  • the message ball 601 is displayed according to the display attribute specified by the message whose importance level is A. That is to say, in this case, since the messages pushed by an application may have different levels of importance, the messages prompted by the message ball 601 may include some of the messages pushed by the mailbox application, the phone application, and the SMS application.
  • the message ball may correspond to multiple applications, and the messages pushed by the multiple applications have different importance levels, and the corresponding message ball may be based on the message with the highest importance level among the messages pushed by the corresponding application.
  • the display attribute specified by the message is displayed.
  • the message ball 601 is used to prompt one or more applications in the mailbox application, phone application and SMS application to push a message, wherein the message pushed by the same application Messages can have different importance levels. Therefore, the message ball 601 can be displayed according to the display attribute specified by the message with the highest level of importance among all the messages pushed by the mailbox application, the phone application and the short message application.
  • the user can quickly and easily find important applications and important messages through the display properties of the message ball, and can preview and view all messages of the same application or all messages of the same importance level at one time .
  • the user can perform a click operation (for example, single-click or double-click) on the message ball as shown in (a) in FIG. 8 , and in response to the click operation, the electronic device can display the clicked message ball and The message prompted by the message ball.
  • a click operation for example, single-click or double-click
  • the message list display interface 620 displays the enlarged message ball 601 and the message list 605 prompted by the message ball 601 .
  • the message list 605 includes messages pushed by the mailbox application, the phone application and the SMS application.
  • the screen in response to the user's click operation on the message ball 601 , the screen can directly display a message list 605 .
  • the message ball 601 corresponds to multiple applications, and the message list 605 can display all messages pushed by the multiple applications. In other embodiments, the user may perform other operations after clicking the message ball 601 , and then display the message list 605 .
  • the user may perform a click operation on the message ball 601 as shown in (a) in FIG.
  • Message balls such as sub-message balls 601a, 601b, and 601c
  • each of the multiple message balls corresponds to an application
  • all the applications corresponding to the multiple message balls are the multiple applications corresponding to the message ball 601. That is to say, the message ball 601 corresponds to multiple applications, and when the message ball 601 is clicked, the electronic device may display a sub-message ball corresponding to each of the multiple applications. In this way, it is convenient for the user to choose to view the message pushed by an application.
  • the message list display interface 620 displays a sub-message ball 601b and a message list 605, wherein the message list 605 includes the application corresponding to the sub-message ball 601b (as shown in the figure) SMS application) push messages.
  • sub-message ball corresponding to one application and the message ball corresponding to multiple applications may have the same shape and/or size, or may be different.
  • sub-message spheres may be formed by splitting the message sphere. It can be understood that the splitting of the message ball into sub-message balls is only an example of a display effect, and this embodiment of the present application does not specifically limit the transition effect from the message ball to the sub-message balls.
  • sub-message ball is just an exemplary name, which is only used to illustrate that the control A corresponding to multiple applications can be further changed into multiple control B corresponding to the application one-to-one, and the name does not limit the shape of the control B. It is a ball, and it does not limit the transition effect from control A to control B. In fact, the "sub-message ball” can be regarded as a message ball corresponding to an application.
  • the sub-message ball corresponds to an application, which can be displayed according to the display attribute specified by the corresponding application, or according to the display attribute specified by the message with the highest level of importance. This is not limited, and detailed description may refer to the related description of FIG. 4 above, which is not repeated here for brevity.
  • the message ball may correspond to one application, or may correspond to multiple applications, which is not limited in this embodiment of the present application.
  • some message balls can correspond to one application, and some message balls can respectively correspond to multiple applications, which can be designed according to the classification of importance levels of applications or messages.
  • the electronic device can directly display The message list display interface 620 shown in (c) of FIG. 9 does not display the sub-message ball.
  • the message ball can be used to display the importance of the message, and users can find important messages conveniently and quickly through the display properties of the message ball.
  • the importance of the message may be indicated through the color attribute of the message ball.
  • different hues, lightnesses or saturations of the message ball may be used to represent different degrees of importance of the message. For example, the more saturated the color or the higher the lightness of the message ball, the higher the importance of the message.
  • the importance of the message may be indicated through the position attribute of the message ball.
  • different positions of the message ball may be used to indicate that the importance of the message is different. For example, the closer the message ball is to the bottom of the screen, the higher the importance of the message.
  • the importance of the message may be indicated through the shape attribute of the message ball.
  • different sizes of message balls may be used to represent different importance levels of messages. The larger the message ball, the higher the importance of the message.
  • the importance of the message may be indicated through the text attribute of the message ball.
  • different texts may be displayed on the message ball to indicate different degrees of importance of the message. For example, marking words “high/medium/low”, “important/moderately important/not important” and similar words on the message ball indicate messages of different levels of importance. Alternatively, marking letters “H/M/L” or numbers “1/2/3", “3/2/1” and similar marks on the message ball indicates messages of different levels of importance.
  • the importance of the message may also be indicated through other attributes of the message ball or attributes in combination with multiple aspects, which will not be described in detail here.
  • the user through the intuitiveness of the attribute information of the message ball, the user can quickly find important messages from numerous messages, which improves the user experience.
  • the message ball can display the number of messages in addition to the importance of the message.
  • the number of messages pushed by the corresponding application may be prompted on the message ball.
  • the message ball may prompt the sum of the number of messages pushed by the multiple applications, and/or display the number of messages pushed by each of the multiple applications.
  • FIG. 11 shows a schematic diagram of a graphical user interface of another example of a message prompting method provided by an embodiment of the present application.
  • Other implementations of the cue ball on the AOD interface will be introduced below with reference to FIG. 11 .
  • the AOD interface includes a prompt ball, which is used to indicate that at least one push message has not been processed by the user, and can also be used to indicate the importance of the message that has not been processed by the user top news.
  • the display attribute of the prompt ball is displayed according to the display attribute specified by the most important message among the pushed messages. It can be understood that this way of indicating the importance of the message is based on the user knowing all the display attributes specified by the importance levels. That is to say, the user needs to know the attribute information of the prompt ball specified by the message of each importance level.
  • the message with the highest importance level specifies that the prompt ball is displayed in red, and the importance level is centered (such as a general important message).
  • the message of the specified prompt ball is displayed in yellow, and the message with the lowest importance (such as an unimportant message) is designated to display the prompt ball in blue.
  • the prompt ball displays an attribute specified by a message of a certain importance level
  • the user knows which level of the message with the highest importance among the pushed messages is. For example, the reminder ball is yellow, and the user knows that the general important message specifies that the reminder ball is yellow, then the user can know that the most important message among the pushed messages is a general important message, and its importance level is in the middle.
  • the prompt ball displayed on the AOD interface can be used not only to indicate the message with the highest importance among the messages that have not been processed by the user, but also to indicate the importance of the message among all The level in the hierarchy.
  • the prompt ball 701 may be in the form of an arrow target, that is, a concentric ring composed of circles with the same center and different radii.
  • the number of concentric circles can indicate the total number of grades of importance, for example, it can be divided into five grades of A, B, C, D, and E.
  • Different radii of the concentric circles indicate different importance levels. The smaller the radius of the concentric circles, the higher (or lower) the level of importance indicated. For example, for the message with the highest importance among the pushed messages, if its importance level is B, when prompting the user, the concentric circle used to indicate the B level will be highlighted, for example, in a different color from other concentric circles , grayscale, transparency, etc. display.
  • the radius of the concentric circles is a fixed value, and the fixed value can be a system default or a user-set value. As long as there is no manual reset, the radius of the concentric circles will not change during use.
  • the hint ball 702 may be in the form of a pie chart.
  • the number of shares divided by the pie chart can indicate the total number of grades of importance, for example, it can be divided into four grades of A, B, C, and D. Different percentages of shares indicate different importance levels. The larger the share, the higher (or lower) the level of importance indicated. For example, for the message with the highest importance among the pushed messages, if its importance level is A, when prompting the user, the share used to indicate the A level is highlighted.
  • the share ratio is a fixed value, such as (1/2: 1/4: 3/16: 1/16), the fixed value can be the system default or user-set, as long as there is no artificial resetting If it is set, the share ratio will not change during use.
  • the hint ball 703 may be in the form of a ring diagram.
  • the number of stop lines in the ring diagram can indicate the total number of grades of importance, for example, it can be divided into four grades of A, B, C and D.
  • different arc angles corresponding to the stop line indicate different importance levels, that is, different positions of the tails of the dark parts on the ring chart are used to indicate different importance levels.
  • the greater the angle of the arc from the start point to the stop line ie, the darker portion), the higher (or lower) the level of importance indicated.
  • arc angles of 360°, 270°, 180°, and 90° correspond to four grades of A, B, C, and D respectively.
  • the arc angles corresponding to different importance levels are fixed values, such as (360°, 270°, 180°, 90°), this fixed value can be the system default or user-set, as long as there is no artificial If you reset it, the arc angle corresponding to a certain importance level will not change during use.
  • the hint ball 704 may be in the form of a scatter ball.
  • the number of scatter balls can indicate the total number of grades of importance, for example, it can be divided into four grades of A, B, C and D. Different numbers of scatter balls are highlighted to indicate different levels of importance. The greater the number of scatterballs highlighted, the higher (or lower) level of importance indicated. For example, for the message with the highest importance among the pushed messages, if its importance level is B, when prompting the user, three scatter balls will be highlighted.
  • the reminder ball displayed on the AOD interface can display all the preset importance levels. By setting the position, size, and area ratio of the reminder ball, it can further reflect the message with the highest importance level among the pushed messages. The relative importance of the message.
  • the prompt balls on the AOD interface can also display the number of messages.
  • the prompt ball may display the number of all messages pushed, or the number of messages with the highest importance level among the messages pushed, or both, which is not limited in this embodiment of the present application.
  • the display attributes of the above-mentioned highlighted concentric circles, shares, arcs, or scatter spheres can be displayed according to the display attributes specified by the message with the highest importance level in the push message, or according to the default display attributes.
  • the embodiment of the application does not limit this.
  • the prompt ball can prompt all the importance levels of the division and highlight the importance level of the most important message in the push message. Therefore, from the AOD interface, the user can intuitively determine the importance of the pushed message. The relative importance of the highest message to determine whether to view the message. In particular, when there are many levels of importance, the user does not need to remember the corresponding relationship between each level of importance and the display attribute of the prompt ball, and can judge the relative importance of the message through the prompt ball, which improves the user experience.
  • the prompt ball on the AOD interface can prompt the relevant information of the most important message in the push message.
  • the prompt ball can also prompt the relevant information of all the push messages.
  • FIG. 12 shows a schematic diagram of a graphical user interface of another example of a message prompting method provided by an embodiment of the present application.
  • the cue ball 705 may be in the form of an archery target.
  • the number of concentric circles may indicate the total number of grades of importance, such as five grades of A, B, C, D, and E. Different radii of the concentric circles indicate different importance levels, for example, the smaller the radius of the concentric circles, the higher the indicated importance level.
  • the prompt ball 705 prompts the importance of all the messages.
  • the concentric circles used to indicate grades A, B, and D are highlighted.
  • the concentric circles that need to be highlighted on the prompt ball that is, the concentric circles corresponding to the importance level to which the push message belongs
  • the color of the concentric circles that do not need to be highlighted on the prompt ball Set to color #2.
  • the pushed messages include messages of levels A, B, and D
  • the concentric circles used to indicate the levels of A, B, and D may be displayed as color #1, and the remaining concentric circles may be displayed as color #2.
  • the concentric circles of different importance levels can display different display attributes, such as displaying different colors, and when there is no push message, the concentric circles of different importance levels display a uniform default color, such as white.
  • the pushed messages include messages of grades A, B, and D
  • the concentric circles used to indicate grades A, B, and D are displayed according to their respective display attributes, and the remaining concentric circles are displayed in default colors.
  • different (or the same) display attributes may be set for concentric circles of different importance levels, and the concentric circles may display the number of messages corresponding to the importance levels.
  • the concentric circles used to indicate grades A, B, and D respectively display the number of messages of grade A, the number of messages of grade B, and the number of messages of grade D.
  • the other concentric circles do not display the number of messages or display 0.
  • the hint ball 706 may be in the form of a pie chart.
  • the number of shares divided by the pie chart can indicate the total number of grades of importance, for example, it can be divided into four grades of A, B, C and D. Different proportions of shares indicate different importance levels, for example, a larger share proportion indicates a higher importance level.
  • the prompt ball 706 prompts the importance of all the messages. For example, if the pushed messages include messages with grades A and C, when prompting the user, the concentric circles used to indicate grades A and C are highlighted. The way of highlighting is similar to the way described in (a) in FIG. 12 , for the sake of brevity, it will not be repeated here.
  • the hint ball 707 may be in the form of a scatter ball.
  • the number of scatter balls can indicate the total number of grades of importance, and each scatter ball is used to indicate a grade, for example, it can be divided into four grades of A, B, C, and D.
  • Scatter balls at different positions may indicate different importance levels. For example, among scatter balls arranged from left to right, the leftmost scatter ball indicates the lowest importance level, and the rightmost scatter ball indicates the highest importance level. For example, if the pushed messages include messages of grades A and C, when prompting the user, the scatter balls used to indicate grades A and C are highlighted. The way of highlighting is similar to the way described in (a) in FIG. 12 , for the sake of brevity, it will not be repeated here.
  • the user can know which importance levels the pushed messages belong to, and which level the most important message in the pushed messages is.
  • the hint ball when used to indicate the most important message among the push messages, it may also display the number of messages.
  • the hint ball when used to indicate the importance of all messages, it may also display the number of messages of each level.
  • the prompt ball as a scatter ball 708 as an example, each scatter ball indicates a level of importance, and each scatter ball also displays the information included in the pushed message.
  • the importance levels of messages can be divided into A, B, C, and D levels, which are respectively indicated by the four scatter balls from left to right shown in the figure.
  • 2 messages in the pushed messages are A Grade
  • 6 messages are grade B
  • 13 messages are grade C
  • 10 messages are grade D. If there is no news push for a certain level, the corresponding scatter ball may not display the number, or the number of displayed messages is 0.
  • the user can determine which importance levels the pushed messages belong to by the number of messages displayed on the cue ball, and which level the most important message in the pushed messages is, and can also determine the number of messages under each level how many.
  • the user may be prompted by displaying the number of messages on the hint ball, and in other embodiments, the user may also be prompted by displaying the proportions of the number of messages of different importance levels.
  • the hint ball 709 may be in the form of a pie chart.
  • the number of shares divided by the pie chart can indicate the total number of grades of importance, for example, it can be divided into four grades of A, B, C and D.
  • Different colors (or different positions, or different word marks) of shares may indicate different importance levels.
  • Different proportions of shares may indicate the quantity proportions of messages of different importance levels, wherein the greater the number of messages of a certain level, the greater the proportion of corresponding shares. For example, as shown in (a) in Figure 13, at the first moment, the number of messages of the four levels A, B, C, and D is 2, indicating that the four levels have the same proportion of shares, all of which are 25 %.
  • the form of the prompt ball in FIG. 13 is only exemplary, and when the prompt ball is represented in other ways such as a donut chart, the proportions of messages of different importance levels can also be displayed. It should also be understood that the prompt ball may not display the quantity of messages, or indicate the quantity proportions of messages of different levels by directly identifying the proportions such as 25%, 30% and other numerical values.
  • proportion of messages of different importance levels involved in the above embodiment refers to the proportion of messages of different importance levels in all push messages.
  • the electronic device may provide a switch for enabling the message prompt function provided by this application.
  • the notification setting interface 810 may include a "bubble ball" control 801.
  • the electronic device may open or close the The message prompt function provided.
  • the message prompt method provided by the embodiment of the present application can coexist with other existing message prompt functions, and the user can share the method of using the bubble ball for message prompt with other message prompt methods, for example, when opening the "bubble ball"
  • the status bar may also be opened to display one or more of message prompt functions such as notification icons, notification screen brightening prompts, desktop icon corner marks, and banners.
  • the message prompt method provided by the embodiment of the present application may be mutually exclusive with some or all of the existing message prompt functions, for example, when the "bubble ball" control 801 is opened, the notification status bar displaying notification icons and notification bright screen prompts are turned off by default.
  • One or more of message prompt functions such as , desktop icon corner mark, banner, etc.
  • the importance levels of the messages and the display properties of the corresponding bubble balls may be default.
  • messages pushed by applications of category A such as phone applications, social networking applications, SMS applications, email applications, etc.
  • the messages pushed by applications including weather applications, map applications, etc. are set as messages with a medium level of importance (such as "important" level)
  • the messages pushed by applications of category C such as shopping applications, news applications, etc.
  • the messages with the lowest level of importance Messages eg "not important" rating.
  • the color attribute of the balloon corresponding to the message with the highest importance is set to "red”
  • the color attribute of the balloon corresponding to the message with the middle importance is set to "yellow”
  • the bubble corresponding to the message with the lowest importance is set to "yellow”.
  • the color property of the ball is set to "blue”, etc.
  • the display attributes corresponding to the prompt ball displayed on the AOD interface and the display attributes corresponding to the message ball displayed on the message preview interface may be different or the same, which is not limited in this embodiment of the present application.
  • the prompt ball can only be used to indicate the message with the highest importance in the push message (refer to the prompt ball in the embodiment shown in FIG. 4 ), it can be used to indicate the relative importance of the message with the highest importance in the push message (refer to The cue ball in the embodiment shown in FIG. 11 ) can be used to indicate the importance of all push messages (refer to the cue ball in the embodiment shown in FIG. 12 ), so the cue ball has different functions and different forms of expression.
  • the display attributes of the prompt ball can be designed according to its different functions and forms.
  • the prompt ball is displayed according to the display attribute specified by the message with the highest importance in the push message; as another example, in the embodiment shown in Figure 12, the prompt ball is used to indicate each important Parts of degree grades are displayed according to the display attributes specified by the corresponding grades; for another example, in the embodiment shown in FIG.
  • the parts that need to be highlighted on the hint ball all display the same attribute information (such as displaying the same color), and so on.
  • the electronic device can perform message prompts through the prompt ball and the message ball, and in some other embodiments, the electronic device can only perform message prompts through the message ball.
  • the AOD interface may not display the prompt ball, or remind the user that there is a message to be pushed by means of a notification bright screen, or enter the "message ball display interface" described in the above embodiment in other ways.
  • the message ball display interface through at least A message ball to indicate the message pushed by the application and the importance level of the message.
  • the electronic device can provide the user with an interface and options for setting the display properties related to the cue ball, and can also provide an interface and options for setting the display properties related to the message ball .
  • the prompt ball shown in FIG. 4 is taken as an example to introduce related settings of the prompt ball and the message ball. In other cases, the settings of the reminder ball and the message ball are similar, and will not be described too much here.
  • those skilled in the art can make corresponding designs according to the embodiments given in this application.
  • an interface for the user to set the message prompt function provided by the present application may also be provided.
  • the notification setting interface 820 may include a "bubble ball" control 802.
  • the electronic device displays a setting bubble and message ball) to prompt the related function interface of the message. The following will be introduced in conjunction with FIG. 15 .
  • the user can set the importance level of the messages pushed by each application (which can also be regarded as the importance level of the application) in the “balloon setting” interface 910 .
  • the display properties of the balloons specified by each importance level may be default.
  • the classification of the importance level of the push message and the display attribute of the corresponding bubble ball can be shown in the following table 1:
  • the user may select one of four levels from “very important”, “important”, “general” and “not important”. For example, the user performs a click operation on a control related to "Application 1", and in response to the operation, the electronic device displays a "bubble ball setting" interface 920 as shown in (b) in Figure 15, wherein the "bubble ball setting" interface 920 A selection box 901 that includes an importance level. In the selection box 901, the user can select the importance level of the messages pushed by the application.
  • the attribute information of the balloons assigned to each importance level may be user-defined. In other words, the user can customize the attributes of the bubbles corresponding to different importance levels.
  • the user may set display properties of bubbles corresponding to various importance levels in the “bubble setting” interface 930 .
  • the color attribute of the balloon is taken as an example.
  • the system can provide the user with multiple candidate colors, and the user can select any color from the candidate colors as the color displayed by the balloon corresponding to a certain importance level.
  • the system may provide the user with a color wheel, and the user may select any color from the color wheel as the color displayed by the bubble ball corresponding to each importance level.
  • the electronic device may display the "bubble ball setting" as shown in (d) in Figure 15 Interface 940 , wherein the “bubble ball setting” interface 940 includes a selection box 902 for the color attribute.
  • the selection box 902 the user may select the color displayed by the bubble ball corresponding to the importance level.
  • the granularity of setting by the user may be a notification message. It should be noted that when the user sets the granularity of message importance as an application, generally the messages pushed by the same application have the same importance level. When the granularity of message importance set by the user is message, the messages pushed by the same application may have different importance levels.
  • the classification of the importance level of the push message and the attribute information of the corresponding bubble ball may be shown in Table 2 below:
  • the user can specify the importance level of each message (message) and the display attribute (such as display color) of the corresponding balloon.
  • the importance level of the message and the display attribute of the bubble ball may be independent of each other, or may be associated with each other.
  • the user can respectively set the importance level of the message and the color of the corresponding bubble ball according to personal habits or preferences.
  • the system can provide a default correspondence between the importance level and the color of the bubble ball, or the user can customize the correspondence between the importance level and the color of the bubble ball, so that the user can only set one of them, and the other one will be automatically updated according to the corresponding relationship. choose.
  • This embodiment of the present application does not limit it.
  • the user can also set whether the message is displayed in the balloon according to needs, and can also add or delete the message.
  • the user can set individual messages, such as setting the importance level of the message, setting the display attribute of the bubble ball corresponding to the message ball, and setting whether the message is displayed in the bubble ball etc.
  • the user can set non-customized messages not to be displayed in the bubble, so that spam messages to the user will be filtered out at the system level and will not be displayed in the bubble.
  • message 4 may include non-user-customized messages. If it is set to not be displayed, the user will not see non-user-customized messages in the bubble, such as spam messages and harassing calls.
  • the system level can realize more subtle message management close to the user's needs, instead of like the existing solution, once the notification function is turned on, all notification messages of the application will be pushed and displayed .
  • the notification function is used by a large number of applications to push advertising messages, and users generally only care about certain messages in the applications. A large number of advertising messages and the messages that users really care about are mixed and displayed, and users cannot find the messages they care about in time.
  • the system level can filter and display the messages that the user cares about (that is, the message customized by the user) and the advertisement message, reduce the spam messages pushed and displayed to the user, and facilitate the user to view the customized message, which improves the user experience.
  • the user can adjust the priority order of messages displayed in the balloon.
  • the message list displays the messages corresponding to the message ball. That is to say, the user can adjust the order in which the messages are displayed in the message list, so that the user can process the most concerned messages first.
  • the user can adjust the priority of the message by long pressing and dragging, or by moving the control, that is, the order in which the messages are displayed in the message list .
  • the messages in the message ball are displayed according to the priority, and the messages with higher priority are displayed first.
  • the user can adjust the priority of the application and the priority of the push message within the application.
  • a message may refer to a type of message, or may refer to a message, which is illustrated below with an example.
  • a message sent by a certain user can be set as a push message
  • a group chat message can be set as a push message
  • a message sent by all colleagues can also be set as a push message.
  • the message of a certain product for example, skirt N of M store
  • the message of a certain type of product such as a floral skirt
  • a certain type of news (such as current affairs news) can be set as a push message
  • news related to a keyword input by a user such as news about a sports meeting
  • news related to a keyword input by a user can also be set as a push message
  • the user when customizing a message, the user can form a customized message by clicking controls such as “Favorite”, “Follow”, and “Share” while browsing applications or messages.
  • the messages pushed by the application to the user can be closer to and adapted to the user's needs, and are not easily identified as spam messages by the user, and can filter out messages other than user-customized messages at the system level to reduce spam messages push.
  • a message format base class can be designed in the operating system, so as to realize unified management of messages.
  • each application can inherit and expand the implementation subclass to complete the application-specific filtering rules. If the application does not have a custom subclass, it can be filtered according to the accumulation of message formats. For the convenience of understanding, an example is given below.
  • the base class message format can think of a message as an object, which can be represented as:
  • a shopping application can inherit the above-mentioned base class message format and add a product ID (product ID) attribute.
  • product ID product ID
  • the shopping application can package the information specified by the user into a message and pass it to the system layer through the system layer interface.
  • a message object is reserved to the system layer, and the custom message can be displayed to the bubble according to the priority rules and display rules.
  • a news application may inherit the above-mentioned base class message format, and add a class name (classname) attribute, and the class name represents a classification of news.
  • classname class name
  • the system level can display the bubble ball according to the priority rules and display rules.
  • a social application can inherit the above-mentioned base class message format and add a user ID (user ID) attribute, which represents a unique identifier of a user.
  • the user specifies that he is interested in a friend's message, and the system can display it in the bubble according to the priority rules and display rules.
  • the application By designing the base class of the message format that the application pushes to the bubble message ball, the application is allowed to inherit and expand according to the base class message format, which can facilitate the personalized processing at the system level according to the application characteristics, and the unified management according to the commonality of the application.
  • the application pushes messages according to a certain message format, where the message format can be a preset base class message format, or a subclass formed by the application corresponding to the message inheriting and extending the base class message format message format.
  • the electronic device actually packs the information specified by the user into a message object according to the above message format, and stores it in the system layer.
  • the system layer filters messages, it can match the messages pushed by the application with the saved message objects. If the attribute information in the message pushed by the application matches the attribute information in the message object, it means that the message pushed by the application is a message customized by the user, and the message can be displayed on the interface.
  • the attribute information in the message pushed by the application does not match the attribute information in the message object, it means that the message pushed by the application is not a user-customized message, and the system layer can filter it out, that is, it will not be displayed on the interface, so that the user does not perceive these messages push.
  • the attribute information included in the message may be used to identify the application to which the message belongs, the title of the message, the category, the commodity identifier, the user identifier, and so on.
  • the attributes in the message may have a personalized design according to different applications, which is not limited in this embodiment of the present application.
  • the attribute information included in the message object is similar, the difference is that the attribute information in the message object is the information specified by the user, that is, the information used to represent the content that the user cares about. For the convenience of description, it can be called customized in the embodiment of this application.
  • the application associated with the custom attribute information may be called a concerned application.
  • the user can also form non-customized messages by clicking controls such as "no longer receive”, “dislike”, and “spam information” during the process of browsing applications or messages, and these messages can be It is filtered out at the system level, reducing spam messages pushed to users and messages that users don't care about, and improving user experience.
  • FIG. 17 shows a schematic flowchart of a message prompting method provided by an embodiment of the present application. As shown in FIG. 17, the method includes steps S1001 to S1016.
  • step S1001 the application pushes a message to the system.
  • the application can use the notification function to push messages to the user.
  • the message here can be a message customized by the user, or a message not customized by the user.
  • the user-customized message means that the user specifies in the application that he or she is interested in some kind of information, and then the application packages the information specified by the user into a message object according to a certain message format and sends it to the system, and keeps it in the system. Subsequent applications will filter the messages pushed by the application according to the message object, filter out the messages that the user is not interested in, and push the messages that the user is interested in in the pushed messages to the user. These messages pushed to the user are the user Customized messages.
  • step S1002 the system sets the display properties of the balloon.
  • the bubble ball includes a prompt ball and a message ball, wherein the prompt ball is displayed on the AOD interface and the unlocking interface, and the message ball is displayed on the message preview interface.
  • the user can set the importance level of the message or the application and the display attribute of the corresponding bubble ball.
  • the system can determine the display attribute of the bubble ball according to the importance level of the message.
  • step S1002 the system determines the display attribute of the message ball and the display attribute of the prompt ball. If the message received in step S1001 is not the first message pushed to the user, then the system sets the display attribute of the message ball can be divided into the following two cases:
  • the message pushed in step S1001 and the message already pushed to the user use the same message ball to prompt the user. If the message is pushed by the same application or belongs to the same level of importance, then the system can determine whether to Change the display properties of the message ball. Exemplarily, if the importance level of the newly pushed message is higher than the importance level of the already pushed message, the message ball will be displayed according to the display attribute specified by the newly pushed message (such as color change); if the newly pushed message's If the importance level is lower than or the same as that of the pushed message, the display attribute of the message ball remains unchanged.
  • the message pushed in step S1001 and the message already pushed to the user use different message balls to remind the user. If the message is pushed by a different application or belongs to a different level of importance, the system can display property to display a new message ball.
  • the system sets the display attribute of the cue ball, it is mainly determined according to the importance level of the newly pushed message and the already pushed message. For example, if the importance level of the newly pushed message is the highest, the prompt ball is displayed according to the display attribute specified by the newly pushed message; otherwise, the display attribute of the prompt ball is not changed.
  • the system can filter messages, for example, set non-user-customized messages as not to be displayed, so that spam information and advertisement information can be filtered out. This makes the message prompted by the system to the user closer to the user's needs and improves the user experience.
  • step S1003 it is judged whether the prompt ball is displayed on the AOD interface.
  • the message pushed to the user by the application may be filtered out by the system in step S1002, so the AOD interface may not display the prompt ball. In this way, the system can repeatedly execute step S1001 and step S1002.
  • the prompt ball is displayed on the AOD interface, it means that there is a message to be pushed to the user, and the next steps are performed.
  • step S1004 the user's click operation on the hint ball is detected.
  • the electronic device detects whether the user performs a preset operation on the hint ball, such as a click operation, so as to determine whether the user wants to process the message (for example, view or delete the message).
  • a preset operation may be any operation, and the click operation here is only exemplary.
  • step S1005 in response to the user's click operation on the hint ball, the electronic device enters an unlocking interface.
  • step S1006 it is judged whether the unlocking is successful.
  • steps S1005 and S1006 are optional steps. If the user has set identity authentication, the step of unlocking will be performed; if the user has not set identity authentication, steps S1005 and S1006 can be skipped, and step S1007 can be directly executed.
  • step S1007 the electronic device enters the message ball display interface, and the prompt ball is split into multiple message balls.
  • the splitting of the prompt ball into multiple message balls is only a demonstration effect of the interface transition.
  • the message ball can also be displayed directly after entering the message ball display interface, which is not limited in this embodiment of the application.
  • the message display interface may also include only one message ball.
  • step S1008 it is detected whether the user drags the message ball out of the screen.
  • the electronic device can detect whether the user has performed a preset operation on the message ball, such as dragging it to the edge of the screen or outside, or flicking operation, so as to determine whether the user wants to delete the message ball.
  • a preset operation can be any operation, and the operation of dragging the message ball out of the screen here is only exemplary.
  • step S1009 to delete the message ball and the corresponding message.
  • step S1010 it is detected whether the user clicks on the message ball.
  • the electronic device can detect whether the user performs a preset operation on the message ball, such as a click operation, so as to determine whether the user wants to view the message.
  • a preset operation may be any operation
  • the click operation here is only exemplary.
  • step S1011 the message list display interface is entered to display the message list.
  • step S1012 it is detected whether the user clicks on the message.
  • the electronic device can detect whether the user performs a preset operation on the message, such as a click operation, to determine whether the user wants to enter the corresponding application to view specific content.
  • a preset operation may be any operation, and the click operation here is only exemplary.
  • step S1013 enter the application interface, and display the specific content of the message.
  • step S1014 it is detected whether the user drags the message.
  • the electronic device may detect whether the user performs a preset operation on the message, such as a drag operation or a flick operation, so as to determine whether the user wants to delete the message.
  • a preset operation can be any operation, and the drag operation here is only an example.
  • step S1015 to delete the message.
  • step S1016 it is detected whether the user clicks on the non-message display area.
  • the electronic device can detect whether the user performs a preset operation on the non-message display area, such as a click operation, so as to determine whether the user wants to return to the previous interface.
  • a preset operation may be any operation, and the click operation here is only exemplary.
  • step S1007 that is, return to the message ball display interface.
  • steps S1008 and S1010 can be reversed, or executed simultaneously; for example, the order of steps S1012, S1014, and S1016 can be executed reversed, or executed simultaneously.
  • FIG. 18 shows a schematic diagram of the sequence of the message prompting method provided by the embodiment of the present application.
  • the flow described in FIG. 18 from the perspective of user interaction in time sequence corresponds to the flow shown in FIG. 17 , and reference may be made to the relevant description in FIG. 17 for details not described below.
  • step S1101 the application pushes a message to the system using a message format.
  • step S1102 the system determines the display attributes of the balloon according to the rules set by the user.
  • step S1103 the user clicks the hint ball on the AOD interface.
  • step S1104 enter the unlocking interface.
  • step S1105 unlock and enter the message preview interface.
  • the message preview interface includes a message ball display interface and a message list display interface.
  • the two interfaces are not specifically distinguished here, and are collectively referred to as the message preview interface.
  • step S1106a the user slides the message ball to the edge of the screen.
  • step S1106b the message ball is deleted.
  • step S1107a the user clicks on the message ball.
  • step S1107b a message list is displayed.
  • step S1108a the user slides the message to the edge of the message list.
  • step S1108b the message is deleted.
  • step S1109a the user clicks on the message.
  • step S1109b enter the application interface.
  • step S1110a the user clicks on the non-message display area.
  • step S1110b return to the upper level interface.
  • step S1111 when the user does not perform any operation for a long time, the screen is locked.
  • step S1112 enter the AOD interface.
  • displaying the reminder ball on the AOD interface can remind the user to push the message that the user cares about, and remind the user of the importance of the push message with the display attribute of the reminder ball.
  • Message balls can be displayed on the message preview interface, and customized messages can be displayed for different applications, and the importance of each message ball can be indicated by different message ball display properties. This solves the defects of the lack of classification and lack of importance indications when the electronic device pushes the message display, and facilitates the user to find the message that he cares about in time and quickly among the many messages, thereby improving the user experience.
  • the user can customize the message, such as setting which messages to push, setting whether the bubble ball of a certain application is opened, adjusting the display properties of the bubble ball, adjusting the priority order of message display, adding Or delete concerned messages, etc., to provide a user-customized message receiving interface at the application level, and to provide more subtle message filtering and display control at the system level.
  • the user can customize the message, such as setting which messages to push, setting whether the bubble ball of a certain application is opened, adjusting the display properties of the bubble ball, adjusting the priority order of message display, adding Or delete concerned messages, etc.
  • Fig. 19 is a schematic flowchart of a message prompt method provided by an embodiment of the present application. As shown in Fig. 19, the method 1200 may include the following steps:
  • the at least one message may be pushed to the user by one application, or may be pushed to the user by multiple applications, which is not limited in this embodiment of the present application.
  • the at least one message may be pushed to the user once or multiple times, which is not limited in this embodiment of the present application. It can be understood that the at least one message is a message that has not been processed (for example, viewed or deleted) by the user.
  • the at least one message may be a user-customized message, that is, the at least one message includes information related to the content that the user focuses on (or the content that the user is interested in). That is to say, the system layer of the electronic device can prompt the user to push messages that the user is interested in, and block or filter messages that the user is not interested in (for example, messages other than the messages that the user is interested in) without prompting the user The push of these messages.
  • the electronic device can receive user-customized messages and non-user-customized messages, wherein the electronic device prompts the user to push the user-customized message, but does not prompt the user to push the non-user-customized message.
  • the messages pushed by the application can be filtered and displayed, and some spam messages and advertisement messages can be filtered out, so as to effectively display the messages that the user cares about, realize more subtle message management that is close to the user's needs at the system level, and improve the user experience.
  • the application can push based on user-customized messages, which can improve the accuracy of the push, so that the messages pushed to the user can better adapt to the user's needs, and are less likely to be identified as spam by the user.
  • any one of the at least one message is taken as an example.
  • the first message has first attribute information, and the first attribute information matches the first customized attribute information of the first message object.
  • the first message and the first message object correspond to the first concerned application and both have a first message format.
  • the first message object is reserved in the system layer of the electronic device after the user packs the first custom attribute information according to the first message format according to the user's instruction during the process of using the first concerned application.
  • the first message object is used to filter messages that do not match the first custom attribute information among the messages pushed by the first concerned application.
  • the first message and the first message object correspond to the same application, that is, the first concerned application.
  • the first message and the first message object have the same message format, ie the first message format.
  • the first message is a message actually pushed by the first concerned application to the user, and the first message object is an object customized by the electronic device according to the information specified by the user, and is used for matching and filtering the messages pushed by the first concerned application.
  • the first message has first attribute information, and the first attribute information is used to characterize message content included in the first message.
  • the first attribute information may include information such as the application to which the first message belongs, the title of the first message, and the message category to which the first message belongs, and may also include personalized information of the first message, such as product identifiers, social user
  • the identifier, the keyword of interest to the user, and the like may also include display priority information of the first message, and the like.
  • the first message object has first customized attribute information, and the first customized attribute information is used to represent the content contained in the first message object, that is, to represent information specified by the user (or interested information).
  • the first customized attribute information may include the application that the user is interested in, the message category that the user is interested in, the social users who are interested in, etc.
  • the first customized attribute information may also include personalized information according to different applications, such as interested Commodities, news, videos, weather in a certain place, traffic information in a certain place, etc.
  • the first message object is formed by packaging the first custom attribute information according to the first message format. The first message object is kept at the system layer.
  • the first attribute information of the first message matches the first customized attribute information of the first message object, then the first message is considered to be a message that the user is interested in, and the system layer of the electronic device can remind the user of the first message. Push of a message.
  • system layer of an electronic device can store multiple message objects. If some messages pushed do not match the custom attribute information in multiple objects, these messages are considered not to be of interest to the user.
  • the system layer of the device can block these messages and not prompt the user to push these messages.
  • the first message format may be a preset base message format, or a subclass message format formed by the first concerned application inheriting and extending the preset base message format.
  • different applications can inherit and extend the preset base class message format to implement the subclass message format corresponding to each application.
  • the format of the message pushed by the application can be the base type message format or the sub-type message format, which is convenient for the system of the electronic device to uniformly process the message pushed by the application according to the base type message format, or to process the special application message personalizedly according to the sub-type message format, which is also convenient. Users directly customize the news they follow in the application.
  • the system layer of the electronic device may provide an interface for the application, so as to retain the information customized by the user on the application layer in the system layer as a message object.
  • the first interface element is used to prompt the user that there is a message to be pushed, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message.
  • the first interface may be an off-screen display interface.
  • the first interface may be the AOD interface 410 shown in (a) of FIG. 4 .
  • the first interface element is used to prompt the user that there is a message to be pushed, and the specific content of the message is not displayed. That is, the first interface element is displayed on the first interface, that is, it can be considered that there is a message push.
  • the first interface element may be designed according to actual requirements, which is not limited in this embodiment of the present application.
  • the first interface element may be a hint ball 401 (bubble shape) as shown in (a) in FIG. 4 , a hint ball 701 (arrow target shape) as shown in FIG. shape diagram), prompt ball 703 (ring diagram), prompt ball 704 (scatter ball) and other forms such as cloud shape, petal shape, sphere.
  • the messages may be divided into multiple importance levels, and the display attribute of the first interface element may indicate the importance level to which the most important message among the messages received by the electronic device belongs. That is to say, the display attribute of the first interface element may indicate the message with the highest level of importance among the messages received by the electronic device.
  • the display attribute of the first interface element includes at least one of the color attribute, shape attribute, size attribute, position attribute, pattern attribute, text attribute, and motion attribute of the first interface element.
  • the importance level of the message may be indicated by at least one attribute of the color, shape, size, position in the first interface, attached pattern, attached text, and movement speed of the first interface element.
  • different importance levels specify different display attributes.
  • the first interface element is displayed according to the display attribute specified by the importance level to which the most important message belongs to at least one message.
  • the user can know which importance level the message with the highest importance among the pushed messages belongs to, such as very important, generally important, or not very important, etc. More authoritative and credible importance prompts, so that users can decide whether to view related messages immediately.
  • the first interface element is also used to indicate all preset importance levels.
  • the first interface element may indicate how many grades the importance level of the message is divided into, and indicate the grade of the importance level to which the message with the highest importance among the at least one message belongs. In this way, it is convenient for the user to intuitively perceive the relative importance of the message with the highest importance among the pushed messages.
  • the first interface element may be in the form of a hint ball as shown in (a)-(d) of FIG. 11 .
  • the first interface element is used to indicate the importance level to which at least one message belongs. For example, some messages in at least one message belong to the first importance level, some messages belong to the second importance level, and some messages belong to the third importance level.
  • the first interface element can indicate to the user the first importance level, the second importance level There are push notifications for the level of degree and the level of third importance.
  • the first interface element may be in the form of a hint ball as shown in (a)-(c) in FIG. 12 .
  • the first interface element is further used to indicate the total quantity of the at least one message and/or the quantity of each importance level in which the at least one message is distributed among all the importance levels.
  • the first interface element may be in the form of a hint ball as shown in (c) in FIG. 12 , or in the form of a hint ball as shown in FIG. 13 .
  • the user can know which message of the importance level is pushed and the corresponding number of messages.
  • the first operation may be a click operation, such as single click or double click; the first operation may also be a slide operation, such as flick up or flick down.
  • the first operation may be a click operation on a first interface element (such as a hint ball 401).
  • the second interface is used to identify the identity of the user.
  • the second interface can verify the user's identity through facial recognition, fingerprint recognition, pattern recognition, password recognition, and other methods.
  • the second interface may include text information, pattern information, and digital information for prompting the user to perform identification.
  • the second interface includes the first interface element.
  • the first interface element in the second interface is also used to prompt the user to perform identification.
  • the second interface may be an unlocking interface 420 .
  • the first interface element may be a hint ball 401 .
  • the second interface element is used to indicate that one or more applications push messages
  • the display attribute of the second interface element is used to indicate the importance level of the most important message among the messages pushed by one or more applications.
  • At least one in “at least one second interface element” indicates the number of the second interface elements, that is, the third interface includes the second interface elements, and the number of the second interface elements is at least one.
  • the "second interface element” mentioned in the following embodiments can be understood as any second interface element in the third interface.
  • the third interface may be an interface after user identification is completed.
  • the third interface may be a message preview interface 430 as shown in (c) in FIG. 4, or a message ball display interface 610 as shown in (a) in FIG. 8, or a message preview interface 610 as shown in FIG.
  • the message ball shown shows the display interface.
  • the second interface element may be designed according to actual requirements, which is not limited in this embodiment of the present application.
  • the second interface element may be message balls 403a-403e (bubble-shaped) as shown in (c) in FIG. 4, message balls 601-604 (bubble-shaped) as shown in (a) in FIG. ), or cloud-shaped, petal-shaped, spherical and other forms.
  • the second interface element and the first interface element may have the same or similar graphics. In this way, when the first interface element and the second interface element remind the importance level of the message, the same or similar display attributes can be displayed, which is more suitable for the user's usage habits, and can also improve the aesthetics of the interface.
  • messages can be divided into multiple levels of importance.
  • the display attribute of the second interface element can indicate the messages pushed by one or more applications (that is, the second interface element The importance level to which the message with the highest importance level belongs to. That is to say, the display attribute of the second interface element may indicate the message with the highest level of importance among the messages pushed by one or more applications. It should be understood that the one or more applications involved here refer to applications that have pushed messages.
  • the display attribute of the second interface element includes at least one of the color attribute, shape attribute, size attribute, position attribute, pattern attribute, text attribute, and motion attribute of the second interface element.
  • the importance level of the message may be indicated by at least one attribute of the second interface element's color, shape, size, position in the third interface, attached pattern, attached text, and movement speed.
  • the display attributes specified by different importance levels are different.
  • the second interface element is displayed according to the importance level specified by the message with the highest importance among the messages pushed by one or more applications. The properties are displayed.
  • At least one second interface element is displayed on the third interface.
  • the user can know the information in the push message prompted by the second interface element through the display attribute of the second interface element.
  • the importance level of the most important message belongs to, such as very important, generally important or not very important, etc., providing the user with a more authoritative and credible importance prompt, so as to facilitate the user to decide whether to view the relevant message immediately.
  • different second interface elements may have different display properties, that is, different second interface elements indicate different levels of importance. In this way, it is convenient for the user to promptly and quickly find messages with a higher level of importance through the display attributes of different second interface elements, and to view them with priority.
  • the second interface element may also be used to indicate the importance level of distribution of messages pushed by one or more applications. For example, among the messages pushed by one or more applications, some messages belong to the first importance level, some messages belong to the second importance level, and some messages belong to the third importance level, and the second interface element may indicate the first importance level to the user There are push notifications for grades, grades of second importance, and grades of third importance.
  • the second interface element is also used to indicate the number of messages pushed by one or more applications.
  • the second interface element may indicate the total number of messages pushed by one or more applications, and/or indicate the number of messages pushed by each of the one or more applications.
  • the user can know which message of the importance level and the number of messages have been pushed.
  • the second interface element may include identifiers of one or more applications, such as application icons or application names. This makes it easy for the user to know which apps pushed the message.
  • the second interface element when the second interface element prompts a message, the following manner may be adopted.
  • the second interface element has a corresponding relationship with the at least one first application, wherein the messages pushed by the at least one first application all belong to the first importance level, and the second interface element follows the information specified by the at least one first application.
  • the display attribute is displayed for indicating the first importance level.
  • the second interface element has a corresponding relationship with at least one first application, and correspondingly, the second interface element is displayed according to the display attribute specified by the corresponding at least one first application, and the message prompted by the second interface element has the same level of importance.
  • the one or more applications mentioned above belong to the at least one first application. Therefore, different second interface elements may indicate messages of different importance levels, for example, the second interface element A may indicate messages of importance level A, the second interface element B may indicate messages of importance level B, and the second interface element C may indicate a message of importance level C, and so on.
  • the second interface element has a corresponding relationship with at least one first application, wherein the messages pushed by the at least one first application belong to at least two levels of importance, and the at least two levels of importance are related to at least two levels of importance.
  • the display attributes are in one-to-one correspondence, and the second interface element is displayed according to the display attribute specified by the importance level corresponding to the message with the highest importance level among the messages pushed by the at least one first application.
  • the second interface element has a corresponding relationship with at least one first application, and correspondingly, the second interface element is displayed according to the display attribute specified by the corresponding at least one first application, and the message prompted by the second interface element may include Messages with at least two severity levels.
  • the second interface element may be displayed according to the display attribute specified by the importance level corresponding to the message with a high importance level.
  • the same second interface element may indicate messages of different importance levels.
  • the second interface element For example, among the messages prompted by the second interface element, some of them belong to the highest importance level A (the display attribute of the second interface element specified by the importance level A is A), and some of them belong to the centered importance level B (the importance level B specifies The display attribute of the second interface element is B), and part of it belongs to the lowest importance level C (the display attribute of the second interface element specified by the importance level C is C), then the second interface element can be classified according to the highest importance level The importance level corresponding to the message, that is, the display attribute specified by the importance level A (ie, the display attribute A) is displayed.
  • the second interface element can prompt the message with the highest level of importance. Therefore, through the display attribute of the second interface element, the user can know which applications have pushed the message with a high level of importance, so that the user can quickly find the message that the user cares about. and applications. Moreover, the messages pushed by the same application are prompted through a second interface element, which can facilitate the user to view all the messages pushed by a certain application at one time.
  • the second interface element has a corresponding relationship with the first type of message, and the first type of message belongs to the first importance level, and the second interface element is displayed according to the display attribute specified by the first type of message for use in The first importance level is indicated.
  • the second interface element has a corresponding relationship with the first type of message.
  • the second interface element is displayed according to the display attribute specified by the corresponding first type of message, and the messages prompted by the second interface element have the same importance. level of degree.
  • Different second interface elements may indicate messages of different importance levels, for example, the second interface element A may indicate messages of importance level A, the second interface element B may indicate messages of importance level B, and the second interface element C A message of importance level C may be indicated, and so on. Messages of different importance levels may belong to the same application.
  • the user can also perform some operations on the third interface to process the message.
  • the method 1200 further includes: detecting a second user operation on the second interface element; in response to the second operation, displaying a fourth interface, where the fourth interface includes messages pushed by one or more applications.
  • one or more messages pushed by applications can be viewed.
  • the messages pushed by the application are not displayed in a tiled manner in the same dimension, but are displayed hierarchically.
  • the first interface element prompts the user that there is a message to push, and then the second interface element prompts the user to have one or more messages from the application level.
  • the application pushes the message, and finally, the message can be viewed by operating the second interface element. In this way, it is convenient for users to find the news they care about, which is fast and convenient, and improves user experience.
  • the second operation may be a click operation, such as single click or double click; the second operation may also be a slide operation, such as flick up or flick down.
  • a click operation such as single click or double click
  • the second operation may also be a slide operation, such as flick up or flick down.
  • the fourth interface is used to display messages pushed by one or more applications.
  • the fourth interface can be a message list display interface (for example interface 430, 520, 620, etc.).
  • the messages pushed by one or more applications are displayed in descending order of priority. That is, when the fourth interface displays the pushed messages, they may be displayed sequentially according to the order of priority. In this way, messages with high priority are displayed first and can be viewed by users first.
  • the method 1200 further includes: detecting a third operation of the user on the first message, where the first message is one of the messages pushed by one or more applications; in response to the third operation, sending the first message to Removed from the fourth interface.
  • the message can be deleted from the fourth interface by performing related operations on the message displayed on the fourth interface.
  • the user can understand the content of the message by viewing the title, or the user does not want to view the specific content of the message, and can delete the message from the fourth interface.
  • the third operation may be a sliding operation, such as sliding to the left, sliding to the right, sliding to the left or sliding down.
  • the third operation may be a right sliding operation on a certain message.
  • the method 1200 further includes: detecting a fourth operation of the user on the second message, where the second message is one of the messages pushed by one or more applications; in response to the fourth operation, displaying a fifth interface , the fifth interface is a display interface of the application to which the second message belongs, and the fifth interface displays the second message.
  • the fourth operation may be a click operation, such as single click or double click.
  • the fourth operation may be a click operation on a certain message.
  • the fifth interface may be an application interface 440 as shown in (d) of FIG. 5 .
  • the method 1200 further includes: detecting a fifth operation of the user on the non-message display area, wherein the non-message display area is an area on the fourth interface other than the message display area, and the message display area is used to display A message pushed by one or more applications; in response to the fifth operation, displaying a third interface.
  • the message display area may be in the form of a message list, such as the message list 404 shown in (d) in FIG. 4 , or the message list 506 shown in (b) in FIG. 7 .
  • the message display area may be located in the area occupied by the second interface element, so the non-message display area may be an area other than the message display area within the area occupied by the second interface element, or it may be the fourth interface
  • the area other than the area occupied by the second interface element may also include the above two.
  • the fifth operation may be a click operation, such as single click or double click.
  • the fifth operation may be a click operation on a non-message display area.
  • the method 1200 further includes: detecting a sixth user operation on the second interface element; and deleting the second interface element from the third interface in response to the sixth operation.
  • the messages prompted by the second interface element can be deleted in batches, which is convenient for the user to operate. It should be noted that the deletion of the message mentioned here refers to deleting the prompt information of the message in the second interface element, so that the second interface element no longer prompts the push of these messages.
  • the sixth operation may be a drag operation, such as dragging to the left, dragging to the right, dragging to the left or dragging down.
  • the sixth operation may be a rightward drag operation on a certain second interface element, for example, dragging the second interface element out of the screen.
  • the message prompting method provided in the embodiment of the present application may be executed by default after the electronic device is turned on, or a switch setting may be provided to facilitate the user to enable the message prompting function.
  • the method 1200 before displaying the first interface, further includes: displaying a sixth interface, where the sixth interface includes the first control; detecting a seventh operation of the first control by the user; in response to the seventh operation, opening The function of using the first interface element and the second interface element for message prompting.
  • the embodiment of the present application may provide a first control for enabling or disabling the function of using the first interface element and the second interface element for message prompting. After this function is turned on, when the electronic device receives a push message, it can execute the message prompting method provided in the embodiment of the present application.
  • This function may coexist with other message prompting functions (such as desktop icons, notification icons displayed in the status bar, etc.), or may be mutually exclusive with other message prompting functions, which is not limited in this embodiment of the present application.
  • the sixth interface may be an interface in the electronic device for setting message reminders, such as the notification setting interface 810 shown in (a) in FIG. 14 , or the notification setting interface 810 shown in (b) in FIG. 14 .
  • the interface for opening the message prompt function provided by the embodiment of the present application may also have other names and layouts, which are not limited in the embodiment of the present application.
  • the first control may be a switch, such as the control 801 shown in (a) of FIG. 14 .
  • the first control may also be an option setting control, such as the control 802 shown in (b) of FIG. 14 .
  • the seventh operation may be a click operation, such as clicking.
  • the method 1200 further includes: displaying a seventh interface, the seventh interface includes at least one second control, and the second control is in one-to-one correspondence with applications, wherein the second control is used to adjust the settings of the application corresponding to the second control.
  • the importance level of the pushed message is a seventh interface, the seventh interface includes at least one second control, and the second control is in one-to-one correspondence with applications, wherein the second control is used to adjust the settings of the application corresponding to the second control. The importance level of the pushed message.
  • the electronic device may provide a control for setting the importance level of the message. Users can adjust the importance level of application push messages from the application level.
  • At least one in “at least one second control” indicates the number of second controls, that is, the seventh interface includes second controls, and the number of second controls is at least one.
  • the "second control” mentioned in the following embodiments can be understood as any second control in the seventh interface.
  • the seventh interface may be a bubble ball setting interface 910, which includes second controls corresponding to multiple applications, and each second control is used to adjust the importance of the corresponding application. level of degree.
  • the importance level of the application here can be regarded as the importance level of the messages pushed by the application.
  • a first selection box may be displayed on the seventh interface, and the first selection box includes all preset importance levels.
  • the message pushed by the application may be set to the importance level.
  • the method 1200 further includes: displaying an eighth interface, the eighth interface includes a plurality of third controls, and the third controls correspond to preset importance levels one by one, wherein the third controls are used to adjust the The display attribute specified by the importance level corresponding to the control, and the display attribute is the display attribute on which the first interface element and/or the second interface element are based.
  • the electronic device may provide a control for setting the display attributes on which the first interface elements and/or the second interface elements specified by different importance levels are based.
  • the “multiple” in the “multiple third controls” represents the number of third controls, that is, the eighth interface includes third controls, and the number of third controls is multiple.
  • the “third control” mentioned in the following embodiments can be understood as any third control in the eighth interface.
  • the eighth interface may be a bubble ball setting interface 930, which includes third controls corresponding to a plurality of importance levels, and each third control is used to adjust the corresponding importance.
  • Display properties such as color, shape, size, and so on, as specified by the degree class.
  • a second selection box may be displayed on the eighth interface, and the second selection box includes all preset display attributes.
  • the display attribute specified by the importance level may be set as the selected display attribute.
  • the message prompted by the first interface element and/or the second interface element belongs to the importance level, the first interface element/or the second interface element is displayed according to the selected display attribute.
  • the method 1200 further includes: displaying a ninth interface, the ninth interface includes at least one fourth control, and the fourth control is in one-to-one correspondence with the messages, wherein the fourth control is used to adjust any of the following items:
  • the display attribute is a display attribute on which the first interface element and/or the second interface element is based.
  • the electronic device may provide controls for adjusting parameters from message granularity.
  • At least one in “at least one fourth control” indicates the number of the fourth control, that is, the ninth interface includes the fourth control, and the number of the fourth control is at least one.
  • the "fourth control” mentioned in the following embodiments can be understood as any fourth control in the ninth interface.
  • the fourth control is used to adjust the display attribute specified by the message corresponding to the fourth control.
  • the ninth interface may include fourth controls respectively corresponding to a plurality of messages, and each fourth control is used to adjust a display attribute specified by a corresponding message.
  • the message prompted by the first interface element and/or the second interface element includes the message and the message has the highest importance, the first interface element/or the second interface element is displayed according to the display attribute specified by the message.
  • the fourth control is used to adjust the importance level to which the message corresponding to the fourth control belongs.
  • the ninth interface may include fourth controls respectively corresponding to a plurality of messages, and each fourth control is used to adjust the importance level of a corresponding message. The user may set the importance level of the news concerned by the user to the highest level.
  • the fourth control is used to adjust the display priority of the message corresponding to the fourth control when the user views the message.
  • the ninth interface may include fourth controls respectively corresponding to a plurality of messages, and each fourth control is used to adjust the order in which corresponding messages are displayed on the fourth interface. For example, if a certain message has the highest priority, when the pushed message includes this message, it will be displayed first on the fourth interface.
  • the fourth control is used to adjust whether the message corresponding to the fourth control is prompted through the first interface element and the second interface element.
  • the ninth interface may include fourth controls respectively corresponding to a plurality of messages, and each fourth control is used to adjust whether a corresponding message is displayed in the first interface element and the second interface element. For example, if a certain message is set not to be displayed, it may be considered that the user does not want to receive the message, and when the pushed message includes the message, the electronic device may filter out the message and not prompt the user to push the message.
  • the ninth interface may be a balloon setting interface as shown in FIG. 16 .
  • the electronic device can manage and control the pushing of application messages in three levels.
  • the first level can classify and display the pushed messages through the display attributes of the first interface element and the second interface element, the display priority of the message, and the like.
  • the second level can provide users with the switch of the message prompt function, the switch of whether the message is displayed, the setting of the display attribute specified by different importance levels, the setting of the display attribute specified by different messages, and the system level at the system level of the electronic device. Delete the following messages and other functions on the website, and assist users to set the push and related attributes of the messages they care about.
  • the third level can provide the base class interface for the application, so that the user can directly set the attention information in the application.
  • Applications can inherit and extend the base class message format, and the electronic device system can uniformly process the messages pushed by the application according to the base class message format, or process special application messages individually according to the subclass message format.
  • message prompt method provided by this application, different levels of classification and display can be performed according to the application, so that users can quickly find the news of interest; at the system level, more subtle message filtering and display control can be provided, which can filter spam messages and advertising messages, making the application Pushed messages are more in line with user needs; provide user-customized message receiving interface at the application level, which can be displayed with high priority for user-customized messages, and can not be displayed for messages that users do not care about; display attributes appropriately in AOD and message preview interfaces The interface elements remind the user of the push of the message, which solves the defect that the electronic device lacks classification and importance display when pushing the message.
  • Fig. 20 is a schematic flowchart of another message prompting method provided by an embodiment of the present application. As shown in Figure 20, the method 1300 may include the following steps:
  • the first interface element is used to prompt the user that there is a message to be pushed, and the display attribute of the first interface element is used to indicate the importance level of the message with the highest importance among the at least one message.
  • the second interface element is used to indicate that one or more applications push messages
  • the display attribute of the second interface element is used to indicate the importance level of the most important message among the messages pushed by one or more applications.
  • the method 1300 is different from the method 1200 shown in FIG. 19 in that user identity identification may not be performed in the method 1300, so the electronic device may directly display the third interface after detecting the first operation of the user on the first interface element.
  • the detailed description of the above steps 1301-1304 is similar to the steps 1201-1203 and 1205 in the method 1200. For details, please refer to the relevant description in the method 1200. For the sake of brevity, details are not repeated here.
  • messages can be divided into multiple levels of importance, and message push prompts and message importance prompts can be implemented through the first interface element and the second interface element.
  • the first interface element in the first interface may prompt the user that there is a message to push, and indicate the importance level to which the most important message among the messages received by the electronic device belongs.
  • the second interface element in the third interface may indicate that one or more applications have pushed messages, and indicate the importance level to which the message with the highest importance among the messages pushed by the one or more applications belongs. In this way, different levels of classification and display of messages and reminders of the importance of messages are realized, which facilitates users to find the messages they care about in time and improves user experience.
  • the embodiment of the present application also provides a method for message prompting, which is applied to electronic devices, including:
  • Step 1 receive at least one message.
  • Step 2 displaying the third interface, displaying the third interface, the third interface includes at least one second interface element, wherein the second interface element is used to indicate that one or more applications push messages, and the display attribute of the second interface element It is used to indicate the importance level to which the message with the highest importance among the messages pushed by the one or more applications belongs.
  • Step 1 is similar to S1201 in method 1200 and S1301 in method 1300.
  • Step 1 please refer to related descriptions in method 1200.
  • details are not repeated here.
  • Step 2 is similar to S1205 in method 1200 and S1304 in method 1300.
  • Step 2 is similar to S1205 in method 1200 and S1304 in method 1300.
  • Details please refer to related descriptions in method 1200.
  • details are not repeated here.
  • steps S1202-S1204 in method 1200 may be performed, and the third interface is displayed after it is detected that the user has completed identification.
  • steps S1302-S1303 in method 1300 may be performed, and the third interface is displayed in response to the first operation.
  • user identification before displaying the third interface, user identification may be completed first.
  • the interface shown in (b) or (c) in FIG. 3 may be displayed.
  • the electronic device includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions in combination with the embodiments for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the functional modules of the electronic device may be divided according to the above method example.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules may be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 21 shows a possible composition diagram of the electronic device involved in the above embodiment.
  • the electronic device may include: a receiving unit 1401, A display unit 1402 and a detection unit 1403 .
  • the receiving unit 1401 may be used to support the electronic device 1400 to execute step 1201 in the method 1200, or execute step 1301 in the method 1300, etc., and/or be used for other processes of the methods described herein.
  • the display unit 1402 may be used to support the electronic device 1400 to execute steps 1202, 1204, and 1205 in the method 1200, or execute steps 1302, 1304, etc. in the method 1300, and/or be used for other processes of the methods described herein, such as executing The step of displaying the interface, the step of deleting the second interface element, and the step of deleting the prompt message.
  • the detection unit 1403 may be used to support the electronic device 1400 to execute steps 1203 and 1205 in the method 1200, or execute step 1303 in the method 1300, etc., and/or be used in other processes of the methods described herein, for example, to perform detection of user operations. step.
  • the detection unit may detect the user's operation on the interface, and in response to the corresponding operation, the display unit may display corresponding content on the interface.
  • the electronic device provided in this embodiment is used to implement the above-mentioned message prompting method, so the same effect as the above-mentioned implementation method can be achieved.
  • the electronic device may include a processing module, a memory module and a communication module.
  • the processing module can be used to control and manage the actions of the electronic device, for example, it can be used to support the electronic device to execute the actions completed by the display unit 1402 and the detection unit 1403.
  • the memory module can be used to support electronic devices to execute stored program codes and data, and the like.
  • the communication module may be used to support communication between the electronic device and other devices, for example, it may be used to support the electronic device to perform the actions performed by the receiving unit 1401 above.
  • the processing module may be a processor or a controller. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (digital signal processing, DSP) and a microprocessor, and the like.
  • the storage module may be a memory.
  • the communication module may be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and a Wi-Fi chip.
  • the electronic device involved in this embodiment may be a device having the structure shown in FIG. 1 .
  • the embodiment of the present application also provides an electronic device, which may include a processor and a display screen.
  • the processor may be configured to execute the actions completed by the receiving unit 1401 and the detecting unit 1402 above. Specifically used to support the electronic device to execute steps 1201, 1203 in method 1200, or execute steps 1301, 1303, etc. in method 1300, and/or be used in other processes of the method described herein, such as the step of deleting the second interface element , the step of deleting the prompt message, and the step of detecting the user operation.
  • the display screen can be used to perform the actions performed by the above-mentioned display unit 1403 . Specifically used to support the electronic device to execute steps 1202, 1204, and 1205 in method 1200, or execute steps 1302, 1304, etc. in method 1300, and/or be used in other processes of the methods described herein, such as executing the step of displaying an interface .
  • the display of a certain interface on the display screen is the final presentation result, which is presented through the control of the processor. Therefore, displaying a certain interface on the display screen can be understood as that the processor displays a certain interface through the display screen. Specifically, the processor may execute codes to control the display screen to display a certain interface.
  • the electronic device provided in this embodiment is used to implement the above-mentioned message prompting method, so the same effect as the above-mentioned implementation method can be achieved.
  • the embodiment of the present application also provides an electronic device, the electronic device includes: one or more processors, one or more memories, the one or more memories store one or more computer programs, the one or more A computer program includes instructions.
  • the electronic device is made to execute the technical solutions in the foregoing embodiments.
  • processors in the electronic device may be the processor 110 in the electronic device 100 shown in FIG. 1; one or more memories in the electronic device may be the Internal memory 121.
  • This embodiment also provides a computer storage medium, where computer instructions are stored, and when the computer instructions are run on the electronic device, the electronic device is made to execute the technical solutions in the foregoing embodiments.
  • This embodiment also provides a computer program product, which causes the computer to execute the technical solutions in the foregoing embodiments when the computer program product is run on the computer.
  • an embodiment of the present application also provides a device, which may specifically be a chip, a component or a module, and the device may include a connected processor and a memory; wherein the memory is used to store computer-executable instructions, and when the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the technical solutions in the above-mentioned embodiments.
  • the electronic device, computer storage medium, computer program product or chip provided in this embodiment is all used to execute the corresponding method provided above, therefore, the beneficial effects it can achieve can refer to the corresponding method provided above The beneficial effects in the method will not be repeated here.
  • sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • an application running on a computing device and the computing device can be components.
  • One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers.
  • these components can execute from various computer readable media having various data structures stored thereon.
  • a component may, for example, be based on a signal having one or more packets of data (e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems). Communicate through local and/or remote processes.
  • packets of data e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供了一种消息提示方法和电子设备。该方法包括:接收至少一条消息;显示第三界面,第三界面包括至少一个第二界面元素,第二界面元素用于指示一个或多个应用推送了消息,第二界面元素的显示属性用于指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。上述技术方案中,电子设备能够提示消息的重要程度,有助于用户快速寻找关心的消息,提升用户体验。

Description

消息提示方法和电子设备
本申请要求于2021年08月31日提交中国专利局、申请号为202122087488.4、申请名称为“电子设备”的中国专利申请和于2022年04月25日提交中国专利局、申请号为202210437869.7、申请名称为“消息提示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,并且更具体地,涉及一种消息提示方法和电子设备。
背景技术
目前很多电子设备例如手机、平板电脑等都具有通知管理功能,可以方便用户打开或关闭应用的通知功能,以设置是否允许应用通过通知向用户推送消息。
随着电子设备和操作系统的发展,越来越多的应用使用通知功能作为消息推送的方式。当大量的消息被推送时,多个应用的多条消息混杂显示,往往造成用户真正关注的消息被淹没,导致用户无法及时找到自己真正关心的消息,用户体验差。
发明内容
本申请提供一种消息提示方法和电子设备,能够提示消息的重要程度,有助于用户快速寻找关心的消息,提升用户体验。
第一方面,提供了一种电子设备,包括:处理器和显示屏;所述处理器,用于接收至少一条消息;所述显示屏,用于显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
本申请实施例中,可以将消息划分为多个重要程度等级,通过第二界面元素实现消息推送提示和消息重要程度提示。具体地,第三界面中的第二界面元素可以指示一个或多个应用推送了消息,并指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。这样,实现了消息重要程度的提示,方便用户及时寻找自己关心的消息,提升用户体验。
可以理解的是,该至少一条消息是未经用户处理(例如查看、删除)的消息。
结合第一方面,在第一方面的第一种实现方式中,所述显示屏还用于:显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;所述处理器还用于:检测用户对所述第一界面元素的第一操作;响应于所述第一操作,通过所述显示屏显示第二界面,所述第二界面用于对用户的身份进行识别, 所述第二界面包括所述第一界面元素;检测到用户完成身份识别后,通过所述显示屏显示所述第三界面。
本申请实施例中,通过第一界面元素和第二界面元素实现消息推送提示和消息重要程度提示。具体地,第一界面中的第一界面元素可以提示用户有消息推送,并指示电子设备接收的消息中重要程度最高的消息所属的重要程度等级。在完成用户身份识别后,第三界面中的第二界面元素可以指示一个或多个应用推送了消息,并指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。这样,实现了消息的不同层级分类显示以及消息重要程度的提示,方便用户及时寻找自己关心的消息,提升用户体验。
可选的,第一操作可以是点击操作。
应理解,显示屏显示第一界面在显示屏显示第三界面之前。
需要说明的是,显示屏显示第一界面,可以理解为是处理器通过显示屏显示第一界面。具体地,处理器可以执行相应代码后可以控制显示屏显示第一界面。关于显示屏显示其他界面的描述,理解与此类似,不再赘述。
结合第一方面,在第一方面的第二种实现方式中,所述显示屏还用于:显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;所述处理器还用于:检测用户对所述第一界面元素的第一操作;响应于所述第一操作,通过所述显示屏显示所述第三界面。
本申请实施例中,通过第一界面元素和第二界面元素实现消息推送提示和消息重要程度提示。具体地,第一界面中的第一界面元素可以提示用户有消息推送,并指示电子设备接收的消息中重要程度最高的消息所属的重要程度等级。第三界面中的第二界面元素可以指示一个或多个应用推送了消息,并指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。这样,实现了消息的不同层级分类显示以及消息重要程度的提示,方便用户及时寻找自己关心的消息,提升用户体验。
应理解,显示屏显示第一界面在显示屏显示第三界面之前。
结合第一方面的第一种实现方式和第二种实现方式中的任一种实现方式,在第一方面的第三种实现方式中,所述第一界面元素的显示属性包括所述第一界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项;和/或,所述第二界面元素的显示属性包括所述第二界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。
例如,通过第一界面元素或第二界面元素的颜色、形状、大小、在第一界面中的位置、带有的图案、带有的文本、运动速度中的至少一项属性,可以指示消息的重要程度等级,通过第一界面元素或第二界面元素的显示属性的直观性,用户可以快速从众多的消息中寻找到重要消息。
结合第一方面以及第一方面的第一种实现方式至第三种实现方式中的任一种实现方式,在第一方面的第四种实现方式中,所述第二界面元素满足以下任意一项:所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息均属于第一重要程度等级,所述第二界面元素按照所述至少一个第一应用所指定的显示属性显示,以用于指示所述第一重要程度等级;所述第二界面元素与至少一个第一应用具有对应关系, 其中所述至少一个第一应用推送的消息属于至少两种重要程度等级,所述至少两种重要程度等级与至少两种显示属性一一对应,所述第二界面元素按照所述至少一个第一应用推送的消息中重要程度等级最高的消息对应的重要程度等级所指定的显示属性显示;或者,所述第二界面元素与第一类消息具有对应关系,所述第一类消息属于第一重要程度等级,所述第二界面元素按照所述第一类消息所指定的显示属性显示,以用于指示所述第一重要程度等级。
在至少一个第一应用推送的消息均属于第一重要程度等级的方式中,不同的第二界面元素有不同的显示属性,用户通过不同显示属性的第二界面元素,可以快速找到关注的消息以及应用,提升用户体验。并且,同一应用推送的消息具有相同的重要程度等级,可以方便用户通过设置应用的重要程度等级来设置推送消息的重要程度等级。
在至少一个第一应用推送的消息属于至少两种重要程度等级的方式中,第二界面元素能够提示重要程度等级最高的消息,因此通过第二界面元素的显示属性,用户可以知道哪些应用推送了重要程度等级高的消息,方便可以快速找到用户关注的消息以及应用。并且,同一应用推送的消息通过一个第二界面元素提示,可以方便用户一次性查看某个应用推送的全部消息。
在第一类消息属于第一重要程度等级的方式中,不同的第二界面元素有不同的显示属性,用户通过不同显示属性的第二界面元素,可以快速找到关注的消息,提升用户体验。并且,同一重要程度等级的消息通过一个第二界面元素提示,可以方便用户一次性查看某个重要程度等级的消息。
结合第一方面以及第一方面的第一种实现方式至第四种实现方式中的任一种实现方式,在第一方面的第五种实现方式中,所述第二界面元素还用于指示所述一个或多个应用推送的消息的数量。
通过第二界面元素对消息数量的提醒,用户可以知道推送了哪个重要程度等级的消息以及消息的数量。
结合第一方面以及第一方面的第一种实现方式至第五种实现方式中的任一种实现方式,在第一方面的第六种实现方式中,所述第一界面元素还用于指示预设的全部重要程度等级。
第一界面元素可以指示消息的重要程度等级一共划分了几档,以及指示至少一条消息中重要程度最高的消息所属的重要程度等级。这样方便用户直观的感知推送的消息中重要程度最高的消息的相对重要性。
结合第一方面的第六种实现方式,在第一方面的第七种实现方式中,所述第一界面元素还用于指示所述至少一条消息的总数量和/或所述至少一条消息分布于所述全部重要程度等级中的每个重要程度等级的数量。
通过第一界面元素对消息数量的提醒,用户可以知道推送了哪个重要程度等级的消息以及相应的消息数量。
结合第一方面以及第一方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第一方面的第八种实现方式中,所述处理器还用于:检测用户对所述第二界面元素的第二操作;响应于所述第二操作,通过所述显示屏显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
本申请实施例中,通过对第二界面元素的相关操作,可以查看一个或多个应用推送的消息。另外,应用推送的消息不是在同一个维度平铺显示,而是分级显示,如先通过第一界面元素提示用户有消息推送,然后通过第二界面元素从应用的层面提示用户有一个或多个应用推送了消息,最后通过对第二界面元素的操作,可以实现消息的查看。这种方式,可以方便用户查找自己关心的消息,快速便捷,提升用户体验。
可选的,第二操作可以是点击操作。
结合第一方面的第八种实现方式,在第一方面的第九种实现方式中,所述一个或多个应用推送的消息按照优先级从高到低的顺序依次显示。
这样,优先级高的消息先显示,可以被用户优先查看。
结合第一方面的第八种实现方式和第九种实现方式中的任一种实现方式,在第一方面的第十种实现方式中,所述处理器还用于:检测用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;响应于所述第三操作,将所述第一消息从所述第四界面中删除。
本申请实施例中,通过对第四界面中显示的消息的相关操作,可以将消息从第四界面中删除。例如用户查看标题即了解消息内容,或者用户不想查看消息的具体内容,可以将消息从第四界面中删除。
可选的,第三操作可以是滑动操作。
结合第一方面的第八种实现方式至第十种实现方式中的任一种实现方式,在第一方面的第十一种实现方式中,所述处理器还用于:检测用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;响应于所述第四操作,通过所述显示屏显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
本申请实施例中,通过对第四界面中显示的消息的相关操作,可以直接进入应用的界面以显示消息的具体内容,方便用户查看完整的内容,或者进行回复、评论等操作。
可选的,第四操作可以是点击操作。
结合第一方面的第八种实现方式至第十一种实现方式中的任一种实现方式,在第一方面的第十二种实现方式中,所述处理器还用于:检测用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;响应于所述第五操作,通过所述显示屏显示所述第三界面。
本申请实施例中,通过对第四界面中非消息显示区域的相关操作,可以返回上一级用户界面。这样可以方便用户继续查看其他第二界面元素提示的消息。
可选的,第五操作可以是点击操作。
结合第一方面以及第一方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第一方面的第十三种实现方式中,所述处理器还用于:检测用户对所述第二界面元素的第六操作;响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
本申请实施例中,通过对第二界面元素的操作,可以将第二界面元素从第三界面中删除,同时批量删除该第二界面元素所提示的消息,方便用户操作。
可选的,第六操作可以是拖动操作。
结合第一方面的第一种实现方式至第十三种实现方式中的任一种实现方式,在第一方面的第十四种实现方式中,所述显示屏还用于:显示第六界面,所述第六界面包括第一控件;所述处理器还用于:检测用户对所述第一控件的第七操作;响应于所述第七操作,打开使用所述第一界面元素和所述第二界面元素进行消息提示的功能。
本申请实施例可以提供第一控件,用于打开或关闭使用第一界面元素和第二界面元素进行消息提示的功能。在打开该功能后,在电子设备接收到推送消息时,就可以进行消息提示。
可选的,第七操作可以是点击操作。
结合第一方面以及第一方面的第一种实现方式至第十四种实现方式中的任一种实现方式,在第一方面的第十五种实现方式中,所述显示屏还用于:显示第七界面,所述第七界面包括至少一个第二控件,所述第二控件与应用一一对应,其中所述第二控件用于调整与所述第二控件对应的应用所推送的消息的重要程度等级。
本申请实施例中,电子设备可以提供设置消息重要程度等级的控件。用户可以从应用层面,调整应用推送消息的重要程度等级。
结合第一方面以及第一方面的第一种实现方式至第十五种实现方式中的任一种实现方式,在第一方面的第十六种实现方式中,所述显示屏还用于:显示第八界面,所述第八界面包括多个第三控件,所述第三控件与预设的重要程度等级一一对应,其中所述第三控件用于调整与所述第三控件对应的重要程度等级所指定的显示属性,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
本申请实施例中,电子设备可以提供设置不同重要程度等级所指定的第一界面元素和/或第二界面元素所依据的显示属性的控件。
结合第一方面以及第一方面的第一种实现方式至第十六种实现方式中的任一种实现方式,在第一方面的第十七种实现方式中,所述显示屏还用于:显示第九界面,所述第九界面包括至少一个第四控件,所述第四控件与消息一一对应,其中所述第四控件用于调整以下任意一项:与所述第四控件对应的消息所指定的显示属性;与所述第四控件对应的消息所属的重要程度等级;与所述第四控件对应的消息在用户查看消息时的显示优先级;或者与所述第四控件对应的消息是否通过所述第一界面元素和所述第二界面元素提示;其中,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
第四控件用于调整与第四控件对应的消息所指定的显示属性,可以从消息的粒度上指定第一界面元素和第二界面元素的显示属性。
第四控件用于调整与第四控件对应的消息所属的重要程度等级,可以方便用户将自己关注的消息的重要程度等级设置为最高。
第四控件用于调整与第四控件对应的消息在用户查看消息时的显示优先级,可以使优先级高的消息靠前显示。
第四控件用于调整与第四控件对应的消息是否通过第一界面元素和第二界面元素提示,可以方便用户选择接收哪些推送消息的提醒,不接收哪些推送消息的提醒。
结合第一方面以及第一方面的第一种实现方式至第十七种实现方式中的任一种实现方式,在第一方面的第十八种实现方式中,所述至少一条消息中的第一消息具有第一属性信息,所述第一属性信息与第一消息对象具有的第一定制属性信息相匹配,其中所述第一 消息和所述第一消息对象对应第一关注应用且均具有第一消息格式,所述第一消息对象是用户在使用所述第一关注应用的过程中,根据用户的指示将所述第一定制属性信息按照所述第一消息格式打包后保留于所述电子设备的系统层的;所述第一消息对象用于将所述第一关注应用推送的消息中,与所述第一定制属性信息不相匹配的消息过滤;所述第一消息为所述至少一条消息中的任意一条消息。
该至少一条消息可以是用户定制的消息,电子设备的系统层可以将用户感兴趣的消息的推送提示给用户,而将用户不感兴趣的消息(例如除了用户感兴趣的消息之外的消息)屏蔽或过滤,而不提示用户这些消息的推送。这样可以对应用推送的消息进行过滤显示,将一些垃圾消息、广告消息过滤掉,从而有效显示用户关注的消息,实现了在系统层面更加细微的贴近用户需求的消息管理,提升用户体验。
结合第一方面的第十八种实现方式,在第一方面的第十九种实现方式中,所述第一消息格式为预设的基类消息格式,或者为所述第一关注应用在所述预设的基类消息格式基础上进行继承和扩展所形成的子类消息格式。
本申请实施例中,不同的应用可以继承和扩展预设的基类消息格式,实现对应各个应用的子类消息格式。应用推送的消息的格式可以为基类消息格式或子类消息格式,便于电子设备的系统依照基类消息格式统一处理应用推送的消息,或按照子类消息格式个性化处理特殊应用消息。
结合第一方面的第一种实现方式至第十九种实现方式中的任一种实现方式,在第一方面的第二十种实现方式中,所述第一界面为熄屏显示AOD界面。
在AOD界面上设置第一界面元素来提示用户消息的推送,既能够以轻微变化的提醒来合适的提醒用户,还可以节省功耗。
结合第一方面的第一种实现方式至第二十种实现方式中的任一种实现方式,在第一方面的第二十一种实现方式中,所述第一界面元素和所述第二界面元素具有相同或相似的图形。
这样,第一界面元素和第二界面元素提醒消息的重要程度等级时,可以显示相同或类似的显示属性,更适应用户的使用习惯,还可以提升界面的美观性。
第二方面,提供了一种电子设备,包括:接收单元,用于接收至少一条消息;显示单元,用于显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
结合第二方面,在第二方面的第一种实现方式中,所述电子设备还包括检测单元;所述显示单元,还用于显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;所述检测单元,用于检测用户对所述第一界面元素的第一操作;所述显示单元,还用于响应于所述第一操作,显示第二界面,所述第二界面用于对用户的身份进行识别,所述第二界面包括所述第一界面元素;所述显示单元,还用于在所述检测单元检测到用户完成身份识别后,显示所述第三界面。
需要说明的是,本申请实施例中,检测单元可以检测用户在界面上的操作,响应于对应操作,显示单元可以在界面上显示相应内容。
在该实施例中,所述显示单元还用于在所述检测单元检测到用户完成身份识别后,显示所述第三界面,具体为:检测单元检测到用户完成身份识别;显示单元显示第三界面。即在该步骤中,检测单元需要执行检测用户完成身份识别的过程。
结合第二方面,在第二方面的第二种实现方式中,所述电子设备还包括检测单元;所述显示单元,还用于显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;所述检测单元,用于检测用户对所述第一界面元素的第一操作;所述显示单元,还用于响应于所述第一操作,显示所述第三界面。
结合第二方面的第一种实现方式和第二种实现方式中的任一种实现方式,在第二方面的第三种实现方式中,所述第一界面元素的显示属性包括所述第一界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项;和/或,所述第二界面元素的显示属性包括所述第二界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。
结合第二方面以及第二方面的第一种实现方式至第三种实现方式中的任一种实现方式,在第二方面的第四种实现方式中,所述第二界面元素满足以下任意一项:所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息均属于第一重要程度等级,所述第二界面元素按照所述至少一个第一应用所指定的显示属性显示,以用于指示所述第一重要程度等级;所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息属于至少两种重要程度等级,所述至少两种重要程度等级与至少两种显示属性一一对应,所述第二界面元素按照所述至少一个第一应用推送的消息中重要程度等级最高的消息对应的重要程度等级所指定的显示属性显示;或者,所述第二界面元素与第一类消息具有对应关系,所述第一类消息属于第一重要程度等级,所述第二界面元素按照所述第一类消息所指定的显示属性显示,以用于指示所述第一重要程度等级。
结合第二方面以及第二方面的第一种实现方式至第四种实现方式中的任一种实现方式,在第二方面的第五种实现方式中,所述第二界面元素还用于指示所述一个或多个应用推送的消息的数量。
结合第二方面以及第二方面的第一种实现方式至第五种实现方式中的任一种实现方式,在第二方面的第六种实现方式中,所述第一界面元素还用于指示预设的全部重要程度等级。
结合第二方面的第六种实现方式,在第二方面的第七种实现方式中,所述第一界面元素还用于指示所述至少一条消息的总数量和/或所述至少一条消息分布于所述全部重要程度等级中的每个重要程度等级的数量。
结合第二方面以及第二方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第二方面的第八种实现方式中,所述电子设备还包括检测单元,所述检测单元,用于检测用户对所述第二界面元素的第二操作;所述显示单元,还用于响应于所述第二操作,显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
结合第二方面的第八种实现方式,在第二方面的第九种实现方式中,所述一个或多个应用推送的消息按照优先级从高到低的顺序依次显示。
结合第二方面的第八种实现方式和第九种实现方式中的任一种实现方式,在第二方面的第十种实现方式中,所述检测单元,还用于检测用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;所述显示单元,还用于响应于所述第三操作,将所述第一消息从所述第四界面中删除。
结合第二方面的第八种实现方式至第十种实现方式中的任一种实现方式,在第二方面的第十一种实现方式中,所述检测单元,还用于检测用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;所述显示单元,还用于响应于所述第四操作,显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
结合第二方面的第八种实现方式至第十一种实现方式中的任一种实现方式,在第二方面的第十二种实现方式中,所述检测单元,还用于检测用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;所述显示单元,还用于响应于所述第五操作,显示所述第三界面。
结合第二方面以及第二方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第二方面的第十三种实现方式中,所述电子设备还包括检测单元,所述检测单元,用于检测用户对所述第二界面元素的第六操作;所述显示单元,还用于响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
结合第二方面的第一种实现方式至第十三种实现方式中的任一种实现方式,在第二方面的第十四种实现方式中,所述显示单元,还用于显示第六界面,所述第六界面包括第一控件;所述检测单元,还用于检测用户对所述第一控件的第七操作;所述显示单元,还用于响应于所述第七操作,打开使用所述第一界面元素和所述第二界面元素进行消息提示的功能。
结合第二方面以及第二方面的第一种实现方式至第十四种实现方式中的任一种实现方式,在第二方面的第十五种实现方式中,所述显示单元还用于:显示第七界面,所述第七界面包括至少一个第二控件,所述第二控件与应用一一对应,其中所述第二控件用于调整与所述第二控件对应的应用所推送的消息的重要程度等级。
结合第二方面以及第二方面的第一种实现方式至第十五种实现方式中的任一种实现方式,在第二方面的第十六种实现方式中,所述显示单元还用于:显示第八界面,所述第八界面包括多个第三控件,所述第三控件与预设的重要程度等级一一对应,其中所述第三控件用于调整与所述第三控件对应的重要程度等级所指定的显示属性,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
结合第二方面以及第二方面的第一种实现方式至第十六种实现方式中的任一种实现方式,在第二方面的第十七种实现方式中,所述显示单元还用于:显示第九界面,所述第九界面包括至少一个第四控件,所述第四控件与消息一一对应,其中所述第四控件用于调整以下任意一项:与所述第四控件对应的消息所指定的显示属性;与所述第四控件对应的消息所属的重要程度等级;与所述第四控件对应的消息在用户查看消息时的显示优先级;或者与所述第四控件对应的消息是否通过所述第一界面元素和所述第二界面元素提示;其中,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
结合第二方面以及第二方面的第一种实现方式至第十七种实现方式中的任一种实现方式,在第二方面的第十八种实现方式中,所述至少一条消息中的第一消息具有第一属性信息,所述第一属性信息与第一消息对象具有的第一定制属性信息相匹配,其中所述第一消息和所述第一消息对象对应第一关注应用且均具有第一消息格式,所述第一消息对象是用户在使用所述第一关注应用的过程中,根据用户的指示将所述第一定制属性信息按照所述第一消息格式打包后保留于所述电子设备的系统层的;所述第一消息对象用于将所述第一关注应用推送的消息中,与所述第一定制属性信息不相匹配的消息过滤;所述第一消息为所述至少一条消息中的任意一条消息。
结合第二方面的第十八种实现方式,在第二方面的第十九种实现方式中,所述第一消息格式为预设的基类消息格式,或者为所述第一关注应用在所述预设的基类消息格式基础上进行继承和扩展所形成的子类消息格式。
结合第二方面的第一种实现方式至第十九种实现方式中的任一种实现方式,在第二方面的第二十种实现方式中,所述第一界面为熄屏显示AOD界面。
结合第二方面的第一种实现方式至第二十种实现方式中的任一种实现方式,在第二方面的第二十一种实现方式中,所述第一界面元素和所述第二界面元素具有相同或相似的图形。
其中,第二方面所述电子设备的有益效果可以参考第一方面电子设备的有益效果,在此不再赘述。
第三方面,提供了一种消息提示方法,所述方法应用于电子设备中,所述方法包括:接收至少一条消息;显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
结合第三方面,在第三方面的第一种实现方式中,在所述显示第三界面之前,还包括:显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;检测到用户对所述第一界面元素的第一操作;响应于所述第一操作,显示第二界面,所述第二界面用于对用户的身份进行识别,所述第二界面包括所述第一界面元素;所述显示第三界面包括:检测到用户完成身份识别,显示所述第三界面。
结合第三方面,在第三方面的第二种实现方式中,在所述显示第三界面之前,还包括:显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;所述显示第三界面包括:检测到用户对所述第一界面元素的第一操作;响应于所述第一操作,显示所述第三界面。
结合第三方面的第一种实现方式和第二种实现方式中的任一种实现方式,在第三方面的第三种实现方式中,所述第一界面元素的显示属性包括所述第一界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项;和/或,所述第二界面元素的显示属性包括所述第二界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。
结合第三方面以及第三方面的第一种实现方式至第三种实现方式中的任一种实现方 式,在第三方面的第四种实现方式中,所述第二界面元素满足以下任意一项:所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息均属于第一重要程度等级,所述第二界面元素按照所述至少一个第一应用所指定的显示属性显示,以用于指示所述第一重要程度等级;所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息属于至少两种重要程度等级,所述至少两种重要程度等级与至少两种显示属性一一对应,所述第二界面元素按照所述至少一个第一应用推送的消息中重要程度等级最高的消息对应的重要程度等级所指定的显示属性显示;或者,所述第二界面元素与第一类消息具有对应关系,所述第一类消息属于第一重要程度等级,所述第二界面元素按照所述第一类消息所指定的显示属性显示,以用于指示所述第一重要程度等级。
结合第三方面以及第三方面的第一种实现方式至第四种实现方式中的任一种实现方式,在第三方面的第五种实现方式中,所述第二界面元素还用于指示所述一个或多个应用推送的消息的数量。
结合第三方面以及第三方面的第一种实现方式至第五种实现方式中的任一种实现方式,在第三方面的第六种实现方式中,所述第一界面元素还用于指示预设的全部重要程度等级。
结合第三方面的第六种实现方式,在第三方面的第七种实现方式中,所述第一界面元素还用于指示所述至少一条消息的总数量和/或所述至少一条消息分布于所述全部重要程度等级中的每个重要程度等级的数量。
结合第三方面以及第三方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第三方面的第八种实现方式中,还包括:检测到用户对所述第二界面元素的第二操作;响应于所述第二操作,显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
结合第三方面的第八种实现方式,在第三方面的第九种实现方式中,所述一个或多个应用推送的消息按照优先级从高到低的顺序依次显示。
结合第三方面的第八种实现方式和第九种实现方式中的任一种实现方式,在第三方面的第十种实现方式中,还包括:检测到用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;响应于所述第三操作,将所述第一消息从所述第四界面中删除。
结合第三方面的第八种实现方式至第十种实现方式中的任一种实现方式,在第三方面的第十一种实现方式中,还包括:检测到用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;响应于所述第四操作,显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
结合第三方面的第八种实现方式至第十一种实现方式中的任一种实现方式,在第三方面的第十二种实现方式中,还包括:检测到用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;响应于所述第五操作,显示所述第三界面。
结合第三方面以及第三方面的第一种实现方式至第七种实现方式中的任一种实现方式,在第三方面的第十三种实现方式中,还包括:检测到用户对所述第二界面元素的第六 操作;响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
结合第三方面的第一种实现方式至第十三种实现方式中的任一种实现方式,在第三方面的第十四种实现方式中,在所述显示第一界面之前,还包括:显示第六界面,所述第六界面包括第一控件;检测到用户对所述第一控件的第七操作;响应于所述第七操作,打开使用所述第一界面元素和所述第二界面元素进行消息提示的功能。
结合第三方面以及第三方面的第一种实现方式至第十四种实现方式中的任一种实现方式,在第三方面的第十五种实现方式中,还包括:显示第七界面,所述第七界面包括至少一个第二控件,所述第二控件与应用一一对应,其中所述第二控件用于调整与所述第二控件对应的应用所推送的消息的重要程度等级。
结合第三方面以及第三方面的第一种实现方式至第十五种实现方式中的任一种实现方式,在第三方面的第十六种实现方式中,还包括:显示第八界面,所述第八界面包括多个第三控件,所述第三控件与预设的重要程度等级一一对应,其中所述第三控件用于调整与所述第三控件对应的重要程度等级所指定的显示属性,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
结合第三方面以及第三方面的第一种实现方式至第十六种实现方式中的任一种实现方式,在第三方面的第十七种实现方式中,还包括:显示第九界面,所述第九界面包括至少一个第四控件,所述第四控件与消息一一对应,其中所述第四控件用于调整以下任意一项:与所述第四控件对应的消息所指定的显示属性;与所述第四控件对应的消息所属的重要程度等级;与所述第四控件对应的消息在用户查看消息时的显示优先级;或者与所述第四控件对应的消息是否通过所述第一界面元素和所述第二界面元素提示;其中,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
结合第三方面以及第三方面的第一种实现方式至第十七种实现方式中的任一种实现方式,在第三方面的第十八种实现方式中,所述至少一条消息中的第一消息具有第一属性信息,所述第一属性信息与第一消息对象具有的第一定制属性信息相匹配,其中所述第一消息和所述第一消息对象对应第一关注应用且均具有第一消息格式,所述第一消息对象是用户在使用所述第一关注应用的过程中,根据用户的指示将所述第一定制属性信息按照所述第一消息格式打包后保留于所述电子设备的系统层的;所述第一消息对象用于将所述第一关注应用推送的消息中,与所述第一定制属性信息不相匹配的消息过滤;所述第一消息为所述至少一条消息中的任意一条消息。
结合第三方面的第十八种实现方式,在第三方面的第十九种实现方式中,所述第一消息格式为预设的基类消息格式,或者为所述第一关注应用在所述预设的基类消息格式基础上进行继承和扩展所形成的子类消息格式。
结合第三方面的第一种实现方式至第十九种实现方式中的任一种实现方式,在第三方面的第二十种实现方式中,所述第一界面为熄屏显示AOD界面。
结合第三方面的第一种实现方式至第二十种实现方式中的任一种实现方式,在第三方面的第二十一种实现方式中,所述第一界面元素和所述第二界面元素具有相同或相似的图形。
其中,第三方面所述方法的有益效果可以参考第一方面电子设备的有益效果,在此不再赘述。
第四方面,提供一种电子设备,包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或者多个计算机程序,所述一个或者多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得电子设备执行上述第三方面以及第三方面中各种实现方式中的任意一种实现方式中所述的方法。
第五方面,提供一种芯片,包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序指令或者数据,所述至少一个处理器用于执行所述程序指令,以实现上述第三方面以及第三方面中各种实现方式中的任意一种实现方式中所述的方法。
第六方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持实现上述第三方面以及第三方面中各种实现方式中的任意一种实现方式中所涉及的功能,例如,例如接收或处理上述方法中所涉及的数据和/或信息。
在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存程序指令和数据,存储器位于处理器之内或处理器之外。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。
第七方面,提供一种计算机可读存储介质,所述计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行上述第三方面以及第三方面中各种实现方式中的任意一种实现方式中所述的方法。
第八方面,提供一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第三方面以及第三方面中各种实现方式中的任意一种实现方式中所述的方法。
附图说明
图1是本申请实施例提供的一种电子设备的硬件结构示意图;
图2是本申请实施例提供的软件结构框图;
图3是现有的消息提示方法的图形用户界面示意图;
图4是本申请实施例提供的一例消息提示方法的图形用户界面示意图;
图5是本申请实施例提供的一例消息提示方法的图形用户界面示意图;
图6是本申请实施例提供的一例消息提示方法的图形用户界面示意图;
图7是本申请实施例提供的另一例消息提示方法的图形用户界面示意图;
图8-9是本申请实施例提供的另一例消息提示方法的图形用户界面示意图;
图10是本申请实施例提供的另一例消息提示方法的图形用户界面示意图;
图11-13是本申请实施例提供的另一例消息提示方法的图形用户界面示意图;
图14-16是本申请实施例提供的又一例消息提示方法的图形用户界面示意图;
图17-18是本申请实施例提供的消息提示方法的示意性流程图;
图19是本申请实施例提供的一种消息提示方法的示意性流程图;
图20是本申请实施例提供的另一种消息提示方法的示意性流程图;
图21是本申请实施例提供的电子设备的结构示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
需要说明的是,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个,“至少一个”、“一个或多个”是指一个、两个或两个以上。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。
在本说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供了一种消息提示方法,可以应用于电子设备,也可是单独的应用程序,该应用程序可实现本申请中对消息进行提示的方法。具体地,本申请提供的消息提示方法可以通过在提示有推送消息的同时向用户提示消息的重要程度,从而提醒用户及时查看消息。在用户查看消息时,本申请提供的消息提示方法可以分类显示消息并区分消息的重要程度,方便用户及时快速寻找关心的消息,提升用户体验。进一步地,用户可以对通知消息进行定制,设置电子设备在系统层面对应用推送的消息进行过滤,使得通知管理功能更贴近用户需求。另外,本申请实施例中通过在熄屏界面显示提示球提醒用户有推送消息,既可以通过轻微的变化合适地提醒用户,还可以节省功耗。
本申请实施例提供的消息提示方法可以应用于手机、平板电脑、可穿戴设备(如智能手表、智能手环、智能眼镜、智能首饰等)、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、电视、显示器、智慧屏以及其他具有触摸屏幕和图形化用户界面的电子设备上,本申请实施例对电子设备的具体类型不作任何限制。电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2022111412-appb-000001
或者其它操作系统的电子设备。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本 申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过 UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施 例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应 用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以 通过扬声器170A收听音乐或语音,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
例如,本申请实施例提供的消息提示方法中,电子设备可以根据压力传感器检测用户的触摸操作,从而执行不同的操作指令,例如单独或批量删除消息、进入应用界面显示消息具体内容、设置气泡球的通知功能等。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。 当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动 反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的
Figure PCTCN2022111412-appb-000002
系统为例,示例性说明电子设备100的软件结构。
图2示出了本申请实施例提供的一种电子设备的软件系统框图。如图2所示,电子设备的软件系统200可以采用分层架构。分层架构是将软件分成若干个层,每一层包含大量的子模块或子系统,层与层之间通过软件接口通信。
在一些实施例中,软件系统200可以分为四层,从上至下分别为应用程序(application,APP)层210,应用程序框架(framework)层220,系统运行库层(包括系统库和安卓运行时(Android runtime))230,以及内核(kernel)层240。
应用程序层210可以包括一系列应用程序包。如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。应用程序主要是用户界面(user interface)方面的,通常使用JAVA语言调用应用程序框架层的接口编写。
应用程序框架层220为隐藏在每个应用后面的一系列的服务和系统,用于为应用程序层210的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。如图2所示,应用程序框架层220可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器(window manager)用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器(content provider)用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。内容提供器允许应用程序之间发布和分享数据。
视图系统(view system)包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器(telephony manager)用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器(resource manager)为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器(notification manager)使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。通知管理器还可以是以图表形式在熄屏显示界面进行消息提醒等。
系统运行库层(libraries)230可以分成两部分,分别是系统库和Android运行时。
安卓运行时(Android runtime)即Android运行环境,包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层210和应用程序框架层220运行在虚拟机中。虚拟机将应用程序层210和应用程序框架层220的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库是应用程序框架的支撑,是连接应用程序框架层与内核层的重要纽带,可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:面向嵌入式系统的开放式图形库(open graphics library for embedded systems,OpenGL ES)),2D图形引擎(例如:Skia数据库(skia graphics library,SGL))等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层240是硬件和软件之间的层,用于提供操作系统的本质功能例如文件管理、内存管理、进程管理、网络协议栈、设备管理等。内核层240至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动、蓝牙驱动等。
应理解,本申请实施例可以适用于
Figure PCTCN2022111412-appb-000003
或者鸿蒙(harmony)等操作系统中。这里仅是以软件系统200为
Figure PCTCN2022111412-appb-000004
系统为例进行的说明。
为方便理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请实施例提供的消息提示方法进行具体阐述。
目前很多电子设备例如手机、平板电脑等都具有通知管理功能,可以方便用户打开或关闭应用的通知功能,以设置是否允许应用通过通知向用户推送消息。
图3提供了一组图形用户界面(graphical user interface,GUI)示意图。示例性的,在 用户打开某个应用的通知功能后,可以在如图3中的(a)所示的通知设置界面310设置消息的提示方式。通知设置界面310可以包括“横幅”控件301、“桌面图标角标”控件302、“通知亮屏提示”控件303、“状态栏显示通知图标”控件304中的一个或多个,以供用户选择提示消息的方式。
例如,若用户打开“横幅”控件301,如图3中的(b)所示,应用推送的消息会以提示框305的形式展示给用户。该提示框305中可以显示消息的具体内容,也可以隐藏消息的具体内容,而只提示某个应用推送了消息。该提示框305可以短暂停留后自行消失,也可以是一直显示直至用户查看该消息。
又如,若用户打开“桌面图标角标”控件302,则在应用推送消息的时候,相应应用的桌面图标上会显示消息数目。
又如,若用户打开“通知亮屏提示”控件303,则当电子设备在熄屏状态下收到应用推送的消息时,电子设备的屏幕可以被点亮以提醒用户。
再如,若用户打开“状态栏显示通知图标”控件304,如图3中的(c)所示,则在应用推送消息的时候,相应应用的图标会显示在状态栏306中。
当然,还可以通过其他方式,例如收到通知时指示灯闪烁、收到通知时铃声提醒等方式来提示用户应用推送了消息,在此不再一一详述。应理解,这里有关界面和控件的名称仅仅是示例性的,在其他实施例中,上述界面和控件还可以有其他名称,在此不作特殊限定。
一般地,若用户想要查看应用推送的消息,可以通过下滑通知栏查看。示例性的,如图3中的(d)所示,下滑通知栏320中包括了全部应用推送的消息,这些消息可以按照应用类别和推送时间进行分类、排列,如同一应用推送的消息集中在一起显示,消息之间按照推送时间的先后顺序进行排列。
随着电子设备和操作系统的发展,越来越多的应用使用通知功能作为消息推送的方式。当大量的消息被推送时,多个应用的多条消息混杂显示,往往造成用户真正关注的消息被淹没,而当前通知功能又无法提示消息的重要程度,导致用户无法及时找到自己真正关心的消息,用户体验差。由于没有合适和权威的标识来显示通知的重要程度,一些流氓应用为了吸引用户关注,会在通知的标题上,直接显示本条通知为重要通知,而用户点开以后往往是一些垃圾广告信息,严重影响用户体验。
因此,本申请实施例提供了一种消息提示方法和电子设备,当电子设备有应用消息推送的时候,能够进行消息推送提示和消息重要程度提示,方便用户及时寻找自己关心的消息,提升用户体验。
应理解,本申请实施例中,“通知”和“消息”可以理解为表达相同的含义,在一些实施例中,还可以用“通知消息”、“推送消息”来表达相同意思。
图4示出了本申请实施例提供一例消息提示方法的图形用户界面示意图。
如图4中的(a)所示,在用户收到通知消息时,电子设备的熄屏显示(always on display,AOD)界面410出现一个提示球401,用于提示用户有消息推送。
本申请实施例中,提示球401不显示消息的具体内容,仅用于提醒用户有消息推送或提醒用户有未处理的消息。
熄屏显示是指电子设备处于锁定状态时,屏幕的部分区域保持常亮而显示时间和通知 等信息。参考图4中的(a),AOD界面410上只有部分区域的像素点亮,用于显示时间、日期和提示球401,而其余部分区域的像素处于关闭状态,显示纯黑内容。
本申请实施例中,电子设备在锁定状态时可以一直显示AOD界面410,当有消息推送时,可以直接在AOD界面410中显示提示球401。或者,电子设备在锁定状态时,屏幕处于关闭状态,当有消息推送时,屏幕显示AOD界面410,并在AOD界面410中显示提示球401。
需要说明的是,这里所说的“出现提示球”指的是在此之前没有用户未处理(例如查看、删除、忽略等)的消息。也就是说,在接收新消息之前,用户已经处理了所有的消息或者没有消息推送,当新消息推送后,在AOD界面410中会出现提示球401。若在此之前有消息推送给用户但用户未处理,由于此前在AOD界面410中已经显示提示球401,因此当新消息推送后,提示球401仍显示于AOD界面410中,不过提示球401的显示属性可能会发生变化,以下将结合其他附图进行介绍,在此暂不详述。
在一个实施例中,当有多个消息推送的时候,AOD界面410可以仅显示一个提示球401,表示至少有一条推送消息未被用户处理。其中,提示球401的显示属性(例如颜色、形状、大小、灰度、透明度、位置、图案、数字标识、文字标识、运动速度等)可以指示用户未处理的消息中重要程度最高的消息。
示例性的,通知消息可以被划分为不同的重要程度等级,不同重要程度等级的消息所指定的提示球的显示属性不同。例如,可以通过指定提示球显示不同颜色(例如红、橙、蓝)来指示不同重要程度的消息。或者,可以通过指定提示球显示不同形状(例如五边形、正方形、三角形)来指示不同重要程度的消息。或者,可以通过指定提示球显示不同大小来指示不同重要程度的消息。或者,可以通过指定提示球的灰度或透明度不同(例如30%透明度、50%透明度、80%透明度)来指示不同重要程度的消息。或者,可以通过指定提示球在屏幕中所处的位置不同来指示不同重要程度的消息。或者,可以通过指定提示球显示不同的图案或具有不同的数字标识、文字标识来指示不同重要程度的消息。或者,通过指定提示球的运动快慢来指示不同重要程度的消息。
本申请实施例中,AOD界面410中显示的提示球401的显示属性与推送的消息中重要程度最高的消息相对应。
举例说明,例如用户开启了电话应用、天气应用和新闻应用的通知功能,其中电话应用推送的消息的重要程度最高;天气应用推送的消息重要程度居中,新闻应用推送的消息重要程度最低。相应地,若用户未处理的消息中包括电话应用推送的消息,则提示球401的颜色为红色。若用户未处理的消息中包括天气应用推送的消息,但不包括电话应用推送的消息,则提示球401的颜色为橙色。若用户未处理的消息中包括新闻应用推送的消息,但不包括电话应用和天气应用推送的消息,则提示球401的颜色为蓝色。
换句话说,提示球401的颜色可以表示消息的重要程度。当有多条消息推送时,提示球401的颜色以该多条消息中重要程度最高的消息所指定的颜色显示。
提示球401在屏幕上可以具有固定的位置,也可以是按照一定规律在多个固定位置移动,还可以是像气泡一样在屏幕上随机游走,在遇到屏幕边缘时被反弹,本申请实施例对此不作限定。
用户可以执行如图4中的(a)所示的对提示球401的点击操作(例如单击或双击), 响应于该点击操作,电子设备的屏幕可以显示解锁界面。
如图4中的(b)所示,响应于用户对提示球401的点击操作,屏幕显示解锁界面420,其中解锁界面420仍显示提示球401。
解锁界面420主要用于对用户的身份进行识别和验证。示例性的,解锁界面420中可以包括提示用户进行身份识别的文字信息、图案信息、数字信息等。例如解锁界面420显示提示文字“使用指纹或上滑解锁”、“面容ID”、“输入密码”、“手势密码”等,或显示指纹图案、九点图案、数字盘等,从而提示用户使用指纹、面容、数字密码或手势密码进行身份认证。
在一个实施例中,解锁界面420还包括提示用户解锁查看消息的信息,例如图4中的(b)所示,在提示球401上显示有“解锁查看”的文字信息402。
如图4中的(c)所示,当用户完成身份认证后,屏幕显示消息预览界面430,消息预览界面430中包括一个或多个消息球,如消息球403a、403b、403c、403d、403e等。消息预览界面430是用户解锁后进入主界面(例如手机桌面)的过渡界面,可用于用户处理(例如查看、删除、忽略)通知消息等。
在一个实施例中,每个消息球对应一个应用,即一个消息球用于提示一个应用推送的消息。参考图4中的(c),消息球403a、403b、403c、403d、403e分别对应邮件应用、短信应用、天气应用、运动健康应用、浏览器应用。示例性的,每个消息球中可以包括对应应用的图标和/或应用名称。
与提示球401类似,消息球的显示属性(例如颜色、形状、大小、灰度、透明度、位置、图案、数字标识、文字标识、运动速度等)可以指示消息的重要程度。为提升用户体验,消息球和提示球用于指示消息重要程度的显示属性可以是相同的,例如均采用颜色属性来指示不同重要程度的消息。
在一个实施例中,消息球的显示属性可以与应用相对应。换句话说,用户可以按应用类型划分消息的重要程度等级,因此某个应用推送的全部消息均为同一重要程度等级的消息,这样与该应用对应的消息球可以按照该应用所指定的显示属性显示。
以消息球的颜色属性指示消息的重要程度为例,例如,用户设置短信应用推送的消息均为重要程度等级最高的消息,相应地,短信应用即为重要程度最高的应用。当短信应用有消息推送时,与短信应用对应的消息球的颜色以重要程度等级最高的应用所指定的颜色(例如红色)显示。
在另一个实施例中,消息球的显示属性可以与应用推送的消息中重要程度等级最高的消息对应。换句话说,用户可以将某个应用推送的消息设置为不同的重要程度等级,例如部分消息的重要程度等级最高,部分消息的重要程度等级居中,部分消息的重要程度等级最低。这样与该应用对应的消息球按照该应用所推送的消息中重要程度等级最高的消息所指定的显示属性显示。
仍以消息球的颜色属性指示消息的重要程度为例,例如,用户设置新闻应用中的时事类消息的重要程度等级为最高,体育类消息的重要程度等级为居中,经济类消息的重要程度等级为最低。当新闻应用有消息推送时,如果推送的消息中包括体育类消息和经济类消息,则与新闻应用对应的消息球的颜色以重要程度等级居中的体育类消息所指定的颜色(例如橙色)显示。
在消息球与应用一一对应的情况下,由于应用所推送的消息的重要程度不同,消息球可以显示不同的属性。根据消息球的显示属性,用户可以方便快捷的找到重要的应用以及重要的消息。
用户可以执行如图4中的(c)所示的对消息球的点击操作(例如单击或双击),响应于该点击操作,电子设备的屏幕可以在消息预览界面430显示被点击的消息球和该消息球所提示的消息。
如图4中的(d)所示,响应于用户对消息球403b的点击操作,消息预览界面430中显示放大的消息球403b,以及消息球403b所提示的消息列表404。根据该消息列表404,用户可以查看列表中每条消息的具体内容。
为方便描述,本申请实施例中将如图4(d)中所示的消息预览界面430称为消息列表显示界面,将如图4中的(c)所示的消息预览界面430称为消息球显示界面。
以消息球403b对应短信应用为例,如图4中的(d)所示,消息列表404中包括短信应用推送的来自其他用户的短信息。可以理解的是,图中示出的两条消息仅仅是示例性的,在实际应用中,消息列表404中可以包括一条或多条消息,用于展示消息的区域可以显示消息列表中的部分或全部消息。当用于展示消息的区域无法将全部消息展示时,用户可以通过滑动消息列表或拖动滚动条查看隐藏的消息。
需要说明的是,本申请实施例中,提示球401和消息预览界面430中的消息球的图形和/或大小可以相同,也可以不同。从用户体验角度考虑,可以将提示球和消息球设计为相同图形,例如均为气泡形或气球形等。在一些实施例中,消息球可以是由提示球401分裂形成的。可以理解是,提示球分裂成消息球仅仅是一种显示效果的示例,本申请实施例对提示球到消息球的过渡效果不作特殊限定。
还需要说明的是,AOD界面410上用于提示用户有推送消息的控件或界面元素还可以有其他名称,“提示球”仅仅是一种示例性名称。在本申请实施例中,“提示球”应做广义理解,即其为实现提示用户有推送消息这一功能的一个控件或一个界面元素,该名称并不限定该控件或界面元素的形状是球。例如该控件或界面元素还可以是云朵形、花瓣形、水滴形等等。
类似地,消息预览界面430上用于响应用户操作从而方便用户处理通知消息的控件或界面元素还可以有其他名称,“消息球”仅仅是一种示例性名称。在本申请实施例中,“消息球”应做广义理解,即其为用户处理通知消息过程中用于响应用户操作的控件或界面元素,该名称并不限定该控件或界面元素的形状是球。例如该控件或界面元素还可以是云朵形、花瓣形、水滴形等等。
为方便理解,本申请以下实施例中,将以提示球和消息球为气泡形状为例描述本申请提供的消息提示方法。在一些实施例中,提示球和消息球可以统称为气泡球,因此当以下实施例中涉及气泡球这一描述时,应理解其包括显示于AOD界面的提示球和显示于消息预览界面的消息球。
还需要说明的是,图4的(d)中消息预览界面430显示消息列表的方式仅仅是示例性的,在其他一些实施中,也可以通过其他方式显示消息列表和/或被点击的消息球。
图5和图6示出了本申请实施例提供的一例消息提示方法的图形用户界面示意图。下面结合图5和图6对用户查看消息过程中的操作以及电子设备的响应进行介绍。
在一个实施例中,用户在查看消息列表404时,可以执行删除消息、查看消息的操作。
如图5中的(a)所示,用户可以执行对某条消息的滑动操作,例如向右滑动、向左滑动、向下滑动或向上滑动等。响应于该操作,如图5中的(b)所示,该条消息在消息列表404中被删除。以消息列表404中包括消息1和消息2为例,当用户执行对消息2的滑动操作时,响应于该操作,消息列表404中的消息2被删除,剩下消息1。
可选的,若消息列表404中的消息被全部删除,则当用户执行完对最后一条消息的滑动操作后,响应于该操作,电子设备可以返回如图4中的(c)所示的消息球显示界面。由于用户所查看的消息球所汇聚的全部消息被删除,因此返回的消息球显示界面中不包括被用户查看的消息球。
示例性的,在用户查看消息列表404之前,消息球显示界面可以为如图6中的(c)所示的消息球显示界面460,用户将其中一个消息球中所汇聚的消息全部删除后,返回的消息球显示界面可以为如图6中的(d)所示的消息球显示界面470。换句话说,用户在将消息列表404中的消息全部删除后,电子设备会返回上一级用户界面。
如图5中的(c)所示,用户可以执行对某条消息的点击操作,例如单击或双击等。响应于该操作,如图5中的(d)所示,屏幕可以显示该条消息对应的应用界面440,该应用界面440可以显示消息的具体内容。
仍以消息列表404中包括消息1和消息2为例,当用户执行对消息1的点击操作时,响应于该操作,电子设备可以启动或运行该消息1所对应的应用,并显示该消息1所在的应用界面。在该应用界面中,显示消息1。
在一个实施例中,用户查看完消息列表404后,可以执行返回操作。
如图6中的(a)所示,用户可以在消息列表显示界面450中执行对消息列表404之外的区域(即非消息显示区域)的点击操作,例如点击消息球内除消息列表404之外的区域,或者点击整个界面内除消息列表404之外的区域。响应于该操作,如图6中的(b)所示,电子设备返回上一级界面,即消息球显示界面460。
在一个实施例中,用户查看完消息列表404之前或之后,可以执行批量删除消息的操作。
如图6中的(c)所示,用户可以在消息球显示界面460中执行对消息球(如消息球403d)的滑动操作或拖动操作,例如在消息球上滑动或将消息球拖动到屏幕边缘。响应于该操作,该消息球403d在消息球显示界面460消失,如图6中的(d)所示,显示为消息球显示界面470。相应地,该消息球403d对应的消息被全部删除。需要说明的是,这里所说的消息被删除,指的是这些消息在消息球中的提示信息被删除,即消息球不再提示这些消息的推送。
图7示出了本申请实施例提供的另一例消息提示方法的图形用户界面示意图。下面结合图7对消息列表显示界面的其他实现方式进行介绍。
如图7中的(a)所示,消息球显示界面510可以是用户完成身份认证后的界面,示例性的,其可以是用户执行完如图4中的(b)所示的解锁操作后显示的界面。该消息球显示界面510中包括一个或多个消息球,如包括分别对应运动健康应用、邮箱应用、天气应用、短信应用、浏览器应用的消息球501、502、503、504、505等。
用户可以执行如图7中的(a)所示的对消息球的点击操作(例如单击或双击),响 应于该点击操作,电子设备可以进入消息列表显示界面520,并在该界面显示被点击的消息球和该消息球所汇聚的消息。
如图7中的(b)所示,响应于用户对消息球502的点击操作,消息列表显示界面520中显示放大的消息球502,以及消息球502所提示的消息列表506。由于消息球502对应邮箱应用,因此消息列表506中汇聚了邮箱应用推送的消息。
与图4中的(d)所示的消息列表显示界面不同的是,图7中的(b)所示的消息列表显示界面520中,被放大的消息球502的形状可以与消息球显示界面510中的消息球502的形状不同。示例性的,图7中的(a)所示的消息球502可以为圆形,图7中的(b)所示的被放大的消息球502可以为方形。这样当在图7中的(b)所示的消息球502中显示消息列表506时,消息球502的形状与消息列表506的形状相适应,可以在显示消息区域显示更多的消息内容。
需要说明的是,消息球在不同的显示界面中可以是相同的形状(例如均为圆形,只是大小不同),也可以根据实际情况显示不同的形状,本申请实施例对此不作限定。还需要说明的是,用户执行对消息球的操作以查看消息列表的过程中,被点击的消息球可以是被单独放大的,也可以是由全部的消息球聚合形成的,本申请实施例对此并不限定。因为这仅仅是一种显示效果的示例,本申请实施例对不同界面之间的过渡效果不作特殊限定。
图8和图9示出了本申请实施例提供的另一例消息提示方法的图形用户界面示意图。下面结合图8和图9对消息球显示界面和消息列表显示界面的其他实现方式进行介绍。
如图8中的(a)所示,消息球显示界面610可以是用户完成身份认证后的界面,示例性的,其可以是用户执行完如图4中的(b)所示的解锁操作后显示的界面。该消息球显示界面610中包括一个或多个消息球。
在一个实施例中,每个消息球对应多个应用,即一个消息球用于提示多个应用推送的消息。示例性的,参考图8中的(a),消息球601可以对应邮件应用、电话应用和短信应用,消息球602可以对应运动健康应用和购物应用,消息球603可以对应天气应用和地图应用,消息球604可以对应浏览器应用和视频应用。可选的,每个消息球中可以包括对应应用的图标和/或应用名称。
这里,每个消息球所对应的应用可以具有相同的重要程度等级,这样对应的消息球可以按照相应应用所指定的显示属性显示。或者,每个消息球所对应的通知消息具有相同的重要程度等级,这样对应的消息球可以按照相应消息所指定的属性信息显示。
以图8中的(a)所示的消息球601为例,用户可以设置邮箱应用、电话应用和短信应用推送的全部消息为同一重要程度等级的消息,消息球601用于指示邮箱应用、电话应用和短信应用中的一个或多个应用推送了消息,并用于指示邮箱应用、电话应用和短信应用所推送的消息的重要程度(例如为最高重要程度等级)。其中,消息球601可以按照邮箱应用、电话应用和短信应用所指定的显示属性显示。
在一些实施例中,用户可以设置推送的全部消息中,一部分消息的重要程度等级为A,一部分消息的重要程度等级为B,一部分消息的重要程度等级为C,等等。其中消息球601用于指示重要程度等级为A的消息,其他的消息球用于指示重要程度等级为B、C等的消息。消息球601按照该重要程度等级为A的消息所指定的显示属性显示。也就是说,在这种情况下,由于一个应用所推送的消息中可以有不同的重要程度等级,因此消息球601所 提示的消息可以包括邮箱应用、电话应用和短信应用所推送消息中的部分或全部消息,但均为重要程度等级为A的消息,其他的消息球可以包括邮箱应用、电话应用和短信应用所推送消息中重要程度等级为B、C的消息。因此,如果一个应用推送了不同重要程度等级的消息,则该应用的图标和/或名称会出现在多个消息球中。
在另外一些实施例中,消息球可以与多个应用对应,该多个应用所推送的消息具有不同的重要程度等级,则对应的消息球可以按照对应应用所推送的消息中重要程度等级最高的消息所指定的显示属性显示。
仍以图8中的(a)所示的消息球601为例,消息球601用于提示邮箱应用、电话应用和短信应用中的一个或多个应用推送了消息,其中同一个应用所推送的消息可以有不同的重要程度等级。因此消息球601可以按照邮箱应用、电话应用和短信应用所推送的全部消息中重要程度等级最高的消息所指定的显示属性显示。
当消息球与多个应用对应时,用户可以通过消息球的显示属性方便快捷的找到重要的应用以及重要的消息,并且可以一次性预览、查看同一应用的全部消息或同一重要程度等级的全部消息。
用户可以执行如图8中的(a)所示的对消息球的点击操作(例如单击或双击),响应于该点击操作,电子设备可以在消息列表显示界面620显示被点击的消息球和该消息球所提示的消息。
如图8中的(b)所示,响应于用户对消息球601的点击操作,消息列表显示界面620中显示放大的消息球601,以及消息球601所提示的消息列表605。其中该消息列表605包括邮箱应用、电话应用和短信应用推送的消息。
图8中,响应于用户对消息球601的点击操作,屏幕可以直接显示消息列表605。消息球601对应多个应用,消息列表605可以显示该多个应用推送的全部消息。在另一些实施例中,用户点击完消息球601后还可以执行其他操作,之后再显示消息列表605。
示例性的,如图9所示,用户可以执行如图9中的(a)所示的对消息球601的点击操作,响应于该点击操作,电子设备可以在消息球显示界面610显示多个子消息球,例如子消息球601a、601b、601c,该多个子消息球中的每个子消息球对应一个应用,该多个子消息球所对应的全部应用即为消息球601所对应的多个应用。也就是说,消息球601对应多个应用,当点击消息球601后,电子设备可以显示与该多个应用中的每个应用对应的子消息球。这样,可以方便用户选择查看某个应用推送的消息。
用户可以执行如图9中的(b)所示的对子消息球,例如子消息球601b的点击操作,响应于该点击操作,电子设备可以在消息列表显示界面620显示被点击的子消息球和该子消息球所提示的消息。如图9中的(c)所示,消息列表显示界面620中显示了子消息球601b和消息列表605,其中,消息列表605中包括子消息球601b所对应的应用(如图中所示的短信应用)推送的消息。
本申请实施例中,对应一个应用的子消息球与对应多个应用的消息球,其图形和/或大小可以相同,也可以不同。在一些实施例中,子消息球可以是由消息球分裂形成的。可以理解是,消息球分裂成子消息球仅仅是一种显示效果的示例,本申请实施例对消息球到子消息球的过渡效果不作特殊限定。
另外,“子消息球”仅仅是一种示例性名称,仅用于说明对应多个应用的控件A可以 进一步变成分别与应用一一对应的多个控件B,该名称不限定控件B的形状是球,也不限定从控件A到控件B的过渡效果。实际上,“子消息球”可以认为是对应一个应用的消息球。
与图4所描述的实施例类似,子消息球对应一个应用,其可以按照对应应用所指定的显示属性显示,也可以按照重要程度等级最高的消息所指定的显示属性显示,本申请实施例对此不作限定,详细说明可参考上文关于图4的相关描述,为简洁,在此不再赘述。
需要说明的是,在如图8或图9所示的实施例中,消息球可以对应一个应用,也可以对应多个应用,本申请实施例对此不作限定。换句话说,在消息球显示界面中,部分消息球可以分别对应一个应用,部分消息球可以分别对应多个应用,具体可以根据应用或消息的重要程度等级划分情况相应设计。在图9所示的实施例中,如图9中(b)所示,若消息球对应一个应用,则当用户对该消息球执行点击操作后,响应于该点击操作,电子设备可以直接显示如图9中的(c)所示的消息列表显示界面620,而不会再显示子消息球。
上文提到,消息球可以用于显示消息的重要程度,用户可以通过消息球的显示属性方便快捷地找到重要消息。
在一种实现方式中,可以通过消息球的颜色属性指示消息的重要程度。示例性的,参考图4至图9,可以通过消息球的不同色相、明度或饱和度,表示消息的重要程度不同。例如消息球的颜色越饱和或明度越高,表示消息的重要程度越高。
在另一种实现方式中,可以通过消息球的位置属性指示消息的重要程度。示例性的,参考图10中的(a),可以通过消息球的不同位置表示消息的重要程度不同。例如消息球的位置越靠近屏幕底部,表示消息的重要程度越高。
在另一种实现方式中,可以通过消息球的形状属性指示消息的重要程度。示例性的,参考图10中的(b),可以通过消息球的不同大小表示消息的重要程度不同。如消息球越大,表示消息的重要程度越高。
在又一种实现方式中,可以通过消息球的文本属性指示消息的重要程度。示例性的,参考图10中的(c),可以通过在消息球上显示不同的文本表示消息的重要程度不同。例如,在消息球上标示文字“高/中/低”、“重要/一般重要/不重要”以及类似文字表示不同重要程度等级的消息。或者,在消息球上标示字母“H/M/L”或数字“1/2/3”、“3/2/1”以及类似标识表示不同重要程度等级的消息。
应理解,还可以通过消息球的其他方面属性或者结合多个方面的属性指示消息的重要程度,在此不再一一详述。本申请实施例中,通过消息球的属性信息的直观性,用户可以快速从众多的消息中寻找到重要消息,提升了用户体验。
在一些实施例中,消息球除了显示消息的重要程度之外,还可以显示消息的数量。示例性的,如图10中的(d)所示,消息球上可以提示对应应用所推送的消息的数量。当消息球对应多个应用时,消息球上可以提示该多个应用所推送的消息的数量之和,和/或显示多个应用中的每个应用推送的消息的数量。
图11示出了本申请实施例提供的另一例消息提示方法的图形用户界面示意图。下面结合图11对提示球在AOD界面的其他实现方式进行介绍。
上述实施例中,如图4中的(a)所示,AOD界面包括一个提示球,用于指示至少有一条推送消息未被用户处理,还可以用于指示未被用户处理的消息中重要程度最高的消息。 例如提示球的显示属性按照推送的消息中重要程度最高的消息所指定的显示属性进行显示。可以理解的是,这种指示消息重要程度的方式是建立在用户已知全部重要程度等级所指定的显示属性基础上的。也就是说,用户需要知道每个重要程度等级的消息所指定的提示球的属性信息,如重要等级最高的消息(如非常重要消息)指定提示球显示红色,重要程度居中(如一般重要消息)的消息指定提示球显示黄色,重要程度最低的消息(如不重要消息)指定提示球显示蓝色。这样当提示球显示某个重要程度等级的消息所指定的属性时,用户才知道推送的消息中重要程度最高的消息是哪个等级。例如提示球显示黄色,用户已知一般重要消息指定提示球显示黄色,则用户可以知道推送的消息中重要程度最高的消息为一般重要消息,其重要程度等级为居中。
本申请实施例提供的另一些实施例中,在AOD界面中显示的提示球不仅可以用于指示未被用户处理的消息中重要程度最高的消息,还可以用于指示该消息在全部的重要程度等级中所处的级别。
如图11中的(a)所示,提示球701可以是箭靶形式,即同一圆心不同半径的圆组成的同心环。其中同心圆的个数可以指示重要程度的分级总数,如可以分为A、B、C、D、E五个等级。同心圆的不同半径指示不同的重要程度等级。同心圆半径越小,所指示的重要程度等级越高(或越低)。举例来说,对于推送的消息中重要程度最高的消息,若其重要程度等级为B,则在提示用户时,将用于指示B等级的同心圆突出显示,例如以不同于其他同心圆的颜色、灰度、透明度等显示。这里,同心圆的半径是固定值,该固定值可以是系统默认的或者用户设定的,只要没有人为进行重新设置,则在使用过程中,同心圆的半径不会发生改变。
如图11中的(b)所示,提示球702可以是饼形图形式。其中饼形图所划分的份数可以指示重要程度的分级总数,如可以分为A、B、C、D四个等级。份额的不同占比指示不同的重要程度等级。份额占比越大,所指示的重要程度等级越高(或越低)。举例来说,对于推送的消息中重要程度最高的消息,若其重要程度等级为A,则在提示用户时,将用于指示A等级的份额突出显示。这里,份额的占比是固定值,如固定为(1/2:1/4:3/16:1/16),该固定值可以是系统默认的或者用户设定的,只要没有人为进行重新设置,则在使用过程中,份额占比不会发生改变。
如图11中的(c)所示,提示球703可以是环形图形式。其中环形图中停止线的条数可以指示重要程度的分级总数,如可以分为A、B、C、D四个等级。从同一起点开始,停止线所对应的不同圆弧角度指示不同的重要程度等级,即环形图上深色部分的尾部所在的位置不同用于指示不同的重要程度等级。从起点到停止线(即深色部分)的圆弧角度越大,所指示的重要程度等级越高(或越低)。例如圆弧角度为360°、270°、180°、90°分别对应A、B、C、D四个等级。举例来说,对于推送的消息中重要程度最高的消息,若其重要程度等级为B,则在提示用户时,将用于指示B等级的270°圆弧突出显示。这里,不同重要程度等级对应的圆弧角度是固定值,如固定为(360°、270°、180°、90°),该固定值可以是系统默认的或者用户设定的,只要没有人为进行重新设置,则在使用过程中,某个重要程度等级对应的圆弧角度不会发生改变。
如图11中的(d)所示,提示球704可以是分散球形式。其中分散球的个数可以指示重要程度的分级总数,如可以分为A、B、C、D四个等级。突出显示的分散球个数不同, 可以指示不同的重要程度等级。突出显示的分散球个数越多,所指示的重要程度等级越高(或越低)。举例来说,对于推送的消息中重要程度最高的消息,若其重要程度等级为B,则在提示用户时,将3个分散球突出显示。
也就是说,AOD界面中显示的提示球可以显示预设的全部重要程度等级,通过对提示球的位置、大小、面积占比等的设置,可以进一步体现出推送的消息中重要程度等级最高的消息的相对重要性。
在一些实施例中,AOD界面上的提示球,如图4所示的提示球401、图11所示的提示球701-704,还可以显示消息的数量。其中提示球可以显示推送的全部消息的数量,或者提示推送的消息中重要程度等级最高的消息的数量,或者二者都显示,本申请实施例对此不作限定。
在一些实施例中,上述突出显示的同心圆、份额、圆弧或者分散球,其显示属性可以按照推送消息中重要程度等级最高的消息指定的显示属性显示,或者按照默认的显示属性显示,本申请实施例对此不作限定。
本申请实施例中,提示球可以提示划分的全部重要程度等级以及突出显示推送消息中重要程度最高的消息所属的重要程度等级,因此从AOD界面上,用户可以直观的确定出推送的消息中重要程度最高的消息的相对重要性,从而确定是否要查看消息。特别地,在重要程度等级划分较多的情况下,用户无需记住各个重要程度等级与提示球显示属性的对应关系,通过提示球即可判断消息的相对重要性,提升了用户体验。
上述实施例中,介绍了AOD界面的提示球可以提示推送消息中重要程度最高的消息的相关信息,在另一些实施例中,提示球也可以提示全部推送消息的相关信息,下面结合图12进行介绍。
图12示出了本申请实施例提供的又一例消息提示方法的图形用户界面示意图。
如图12中的(a)所示,提示球705可以是箭靶形式。其中,同心圆的个数可以指示重要程度的分级总数,如可以分为A、B、C、D、E五个等级。同心圆的不同半径指示不同的重要程度等级,例如同心圆半径越小,所指示的重要程度等级越高。当有消息推送时,提示球705提示全部消息的重要程度。
举例来说,若推送的消息中包括等级A、B、D的消息,则在提示用户时,将用于指示A、B、D等级的同心圆突出显示。这里,突出显示的方式有多种,下面举例说明。
例如,可以将需要在提示球上突出显示的同心圆(即推送消息所属的重要程度等级对应的同心圆)的颜色设置为颜色#1,将不需要在提示球上突出显示的同心圆的颜色设置为颜色#2。当推送的消息中包括等级A、B、D的消息时,可以将用于指示A、B、D等级的同心圆显示为颜色#1,将其余同心圆显示为颜色#2。
又如,当有推送消息时,不同重要程度等级的同心圆可以显示不同的显示属性,如显示不同颜色,在没有推送消息时不同重要程度等级的同心圆显示统一的默认颜色,如白色。这样,当推送的消息中包括等级A、B、D的消息时,将用于指示A、B、D等级的同心圆分别按照各自的显示属性显示,将其余同心圆显示为默认颜色。
再如,可以对不同重要程度等级的同心圆设置不同(或相同)的显示属性,同时同心圆可以显示对应重要程度等级的消息的数量。这样,当推送的消息中包括等级A、B、D的消息时,用于指示A、B、D等级的同心圆分别显示A等级的消息的数量、B等级的消 息的数量、D等级的消息的数量,其余同心圆不显示消息数量或者显示为0。
如图12中的(b)所示,提示球706可以是饼形图形式。其中,饼形图所划分的份数可以指示重要程度的分级总数,如可以分为A、B、C、D四个等级。份额的不同占比指示不同的重要程度等级,例如份额占比越大,所指示的重要程度等级越高。当有消息推送时,提示球706提示全部消息的重要程度。举例来说,若推送的消息中包括等级A、C的消息,则在提示用户时,将用于指示A、C等级的同心圆突出显示。突出显示的方式与如图12中的(a)所描述的方式类似,为简洁,在此不再赘述。
如图12中的(c)所示,提示球707可以是分散球形式。其中,分散球的个数可以指示重要程度的分级总数,每个分散球用于指示一种等级,如可以分为A、B、C、D四个等级。不同位置的分散球可以指示不同的重要程度等级,例如从左向右排列的分散球中,最左侧的分散球指示的重要程度等级最低,最右侧的分散球指示的重要程度等级最高。举例来说,若推送的消息中包括等级A、C等级的消息,则在提示用户时,将用于指示A、C等级的分散球突出显示。突出显示的方式与如图12中的(a)所描述的方式类似,为简洁,在此不再赘述。
这样,通过提示球的显示属性,用户可以知道推送的消息都属于哪些重要程度等级,以及推送消息中重要程度最高的消息是哪个等级。
在关于图11的描述中提到,提示球在用于指示推送消息中重要程度最高的消息时,其还可以显示消息的数量。类似地,在关于图12的描述中,提示球在用于指示全部消息的重要程度时,也可以显示各个等级消息的数量。示例性的,如图12中的(d)所示,以提示球为分散球708为例,每个分散球指示一种重要程度等级,并且每个分散球上还显示推送的消息中包括的属于对应等级的消息数量。举例说明,消息的重要程度等级可以划分为A、B、C、D等级,其分别以图中所示的从左至右的四个分散球指示,如推送的消息中有2条消息为A等级,有6条消息为B等级,有13条消息为C等级,有10条消息为D等级。若某个等级没有消息推送,则相应的分散球可以不显示数量,或者显示消息数量为0。
本申请实施例中,用户可以通过提示球上显示的消息数量来确定推送的消息都属于哪些重要程度等级,以及推送消息中重要程度最高的消息是哪个等级,还可以确定各个等级下的消息数量是多少。
上述实施例中,可以通过在提示球上显示消息的数量来提示用户,在另一些实施例中,还可以通过显示不同重要程度等级的消息数量占比提示用户。
示例性的,如图13所示,提示球709可以是饼形图形式。其中,饼形图所划分的份数可以指示重要程度的分级总数,如可以分为A、B、C、D四个等级。份额的不同颜色(或不同位置,或不同文字标识)可以指示不同的重要程度等级。份额的不同占比可以指示不同重要程度等级消息的数量占比,其中某个等级的消息数量越多,对应的份额的占比越大。举例说明,如图13中的(a)所示,在第一时刻A、B、C、D四个等级的消息数量均为2,用于指示四个等级的份额占比相同,均为25%。如图13中的(b)所示,在第二时刻,A等级的消息数量增加,变为3,其余等级的消息数量不变,仍为2,用于指示A等级消息的份额占比会增大,其余等级的份额占比减小。
应理解,图13中提示球的形式仅仅是示例性的,当提示球采用其他方式例如环形图 等表示时也可以显示不同重要程度等级消息的占比。还应理解的是,提示球可以不显示消息的数量,或者通过直接标识占比例如25%、30%等数值指示不同等级消息的数量占比。
需要说明的是,上述实施例中所涉及的不同重要程度等级消息的占比,指的是不同重要程度等级的消息占全部推送消息的比例。
在一些实施例中,电子设备可以提供打开本申请提供的消息提示功能的开关。如图14中的(a)所示,通知设置界面810可以包括“气泡球”控件801,当用户执行对控件801的点击操作时,响应于该操作,电子设备可以打开或关闭本申请实施例提供的消息提示功能。
可以理解的是,本申请实施例提供的消息提示方法可以与现有其他的消息提示功能并存,用户可以将使用气泡球进行消息提示的方法与其他消息提示方法共用,例如在打开“气泡球”控件801的同时,也可以打开状态栏显示通知图标、通知亮屏提示、桌面图标角标、横幅等消息提示功能中的一种或多种。或者,本申请实施例提供的消息提示方法可以与现有的部分或全部消息提示功能互斥,例如在打开“气泡球”控件801的同时,默认关闭通知状态栏显示通知图标、通知亮屏提示、桌面图标角标、横幅等消息提示功能中的一种或多种。
在这种情况下,消息的重要程度等级划分以及所对应的气泡球(包括上文提及的提示球和消息球)的显示属性可以是默认的。例如,默认将类别A的应用(例如包括电话应用、社交应用、短信应用、邮件应用等)推送的消息设置为重要程度最高的消息(如“非常重要”等级),将类别B的应用(例如包括天气应用、地图应用等)推送的消息设置为重要程度居中的消息(如“重要”等级),将类别C的应用(例如包括购物应用、新闻应用等)推送的消息设置为重要程度最低的消息(如“不重要”等级)。相应地,默认将重要程度最高的消息对应的气泡球的颜色属性设置为“红色”,将重要程度居中的消息对应的气泡球的颜色属性设置为“黄色”,重要程度最低的消息对应的气泡球的颜色属性设置为“蓝色”,等等。AOD界面显示的提示球所对应的显示属性与在消息预览界面显示的消息球所对应的显示属性可以不同,也可以相同,本申请实施例对此不作限定。
另外,由于提示球可以只用于指示推送消息中重要程度最高的消息(参考图4所示实施例中的提示球),可以用于指示推送消息中重要程度最高的消息的相对重要性(参考图11所示实施例中的提示球),可以用于指示全部推送消息的重要程度(参考图12所示实施例中的提示球),因此提示球的功能不同,其表现形式不同。在具体实现中,提示球的显示属性可以根据其功能、形式不同而进行相应设计。例如,在图4所示的实施例中,提示球按照推送消息中重要程度最高的消息指定的显示属性显示;又如,在图12所示的实施例中,提示球上用于指示各个重要程度等级的部分分别按照对应等级指定的显示属性显示;再如,在图11所示的实施例中,提示球可以按照默认的显示属性显示,不管推送消息中重要程度最高的消息是哪个等级,提示球上需要突出显示的部分都显示同样的属性信息(如显示同一颜色),等等。
以上实施例中,电子设备可以通过提示球和消息球进行消息提示,在其他一些实施例中,电子设备可以只通过消息球进行消息提示。例如,AOD界面可以不显示提示球,或者以通知亮屏方式提示用户有消息推送,或者以其他方式进入上文实施例中描述的“消息球显示界面”,在消息球显示界面中,通过至少一个消息球来提示应用推送的消息以及消 息的重要程度等级。
本申请实施例中,不管提示球的功能、形式如何,电子设备都可以向用户提供用于设置提示球相关显示属性的界面和选项,也可以提供用于设置消息球相关显示属性的界面和选项。为方便理解,以下实施例中,仅以图4所示的提示球为例,对提示球和消息球的相关设置进行介绍。对于其他情况下,提示球和消息球的设置类似,在此不再做过多描述,在具体实现中,本领域技术人员可以根据本申请给出的实施例进行相应设计。
在一些实施例中,还可以提供用户设置本申请提供的消息提示功能的界面。如图14中的(b)所示,通知设置界面820可以包括“气泡球”控件802,当用户执行对控件802的点击操作时,响应于该操作,电子设备显示设置气泡球(包括提示球和消息球)提示消息的相关功能的界面。下面结合图15进行介绍。
如图15中的(a)所示,用户可以在“气泡球设置”界面910中设置各个应用推送的消息的重要程度等级(也可以认为是应用的重要程度等级)。这里每个重要程度等级所指定的气泡球的显示属性可以是默认的。
示例性的,推送消息的重要程度等级分类以及相应的气泡球的显示属性(以颜色属性为例)可以如下表1所示:
表1
重要程度等级 颜色
非常重要 红色
重要 黄色
一般 蓝色
不重要 白色
相应地,用户在设置单独应用的重要程度等级时,可以从“非常重要”、“重要”、“一般”、“不重要”四个等级中选择其中一个。例如,用户执行对“应用1”相关控件的点击操作,响应于该操作,电子设备显示如图15中的(b)所示的“气泡球设置”界面920,其中“气泡球设置”界面920包括重要程度等级的选择框901。在该选择框901中,用户可以选择该应用推送的消息的重要程度等级。
在一些实施例中,每个重要程度等级所指定的气泡球的属性信息可以是用户自定义的。换句话说,用户可以定制不同重要程度等级所对应的气泡球的属性。
示例性的,如图15中的(c)所示,用户可以在“气泡球设置”界面930中设置各个重要程度等级对应的气泡球的显示属性。本申请实施例以气泡球的颜色属性为例,系统可以为用户提供多个备选颜色,用户从备选颜色中选择任意颜色作为某个重要程度等级对应的气泡球显示的颜色。或者,系统可以为用户提供色盘,用户从色盘中选择任意颜色作为个重要程度等级对应的气泡球显示的颜色。
例如,用户执行对图15中的(c)所示的“非常重要”相关控件的点击操作,响应于该操作,电子设备可以显示如图15中的(d)所示的“气泡球设置”界面940,其中“气泡球设置”界面940包括颜色属性的选择框902。在该选择框902中,用户可以选择该重要程度等级对应的气泡球所显示的颜色。
除了可以在应用层面上对通知消息的重要程度进行划分,在一些实施例中还可以从消 息层面上进行划分。也就是说,用户进行设置的粒度可以为通知消息。需要说明的是,用户设置消息重要程度的粒度为应用时,一般同一应用推送的消息的重要程度等级相同。用户设置消息重要程度的粒度为消息时,同一应用推送的消息可以具有不同的重要程度等级。
示例性的,推送消息的重要程度等级分类以及相应的气泡球的属性信息可以如下表2所示:
表2
消息 重要程度等级 颜色 是否显示
消息1 非常重要 红色
消息2 重要 黄色
消息3 一般 蓝色
消息4 不重要 白色
用户可以指定每条消息(message)的重要程度等级和所对应气泡球的显示属性(例如显示颜色)。其中消息的重要程度等级和气泡球的显示属性可以是相互独立的,也可以是具有关联关系的。例如,用户可以依个人习惯或喜好分别设置消息的重要程度等级和所对应气泡球的颜色。又如,系统可以提供默认的重要程度等级与气泡球颜色的对应关系,或,用户定制重要程度等级与气泡球颜色的对应关系,这样用户可以只设置其中一项,另外一项根据对应关系自动选择。本申请实施例对此不作限定。
在一些实施例中,用户还可以根据需要设置消息是否在气泡球中显示,也可以增加或删除消息。参考表2和图16中的(a),用户可以对单独的消息进行设置,例如设置消息的重要程度等级,设置该消息球对应的气泡球的显示属性,设置该消息是否在气泡球中显示等等。
在一些实施例中,用户可以将定制以外的消息设置为不在气泡球中显示,这样对用户来说的垃圾消息将在系统层面被过滤掉,而不会在气泡球中显示。如上表2所示,消息4可以包括非用户定制的消息,将其设置为不显示,则用户将不会在气泡球中看到非用户定制的消息,例如垃圾消息、骚扰电话等。
本申请实施例中,通过对消息的定制,可以使系统层面实现更加细微的贴近用户需求的消息管理,而非像现有方案一样,一旦打开通知功能,应用的所有通知消息都会被推送和显示。目前通知功能被大量应用使用来推送广告消息,而用户一般只关心应用中的某些消息,大量的广告消息和用户真正关心的消息混杂显示,用户不能及时找到关心的消息。本申请实施例提供的方案中,系统层面可以对用户关心的消息(即用户定制的消息)和广告消息进行过滤显示,减少推送和显示给用户的垃圾消息,方便用户查看定制的消息,提升了用户体验。
在一些实施例中,用户可以调整气泡球中消息显示的优先级顺序。参考图4中的(d)和图7中的(b)所示,在消息列表显示界面中,消息列表显示消息球对应的消息。也就是说,用户可以调整消息列表中消息显示的先后顺序,方便用户先处理最关心的消息。
如图16中的(b)所示,在气泡球设置的界面,用户可以通过长按和拖动操作,或者通过移动控件,来调整消息的优先级,即消息在消息列表中显示的先后顺序。示例性的,消息球中的消息按照优先级显示,优先级高的消息靠前显示。
作为一个示例,若消息球与应用一一对应,则一个消息球只显示一个应用推送的消息,那么用户可以只调整一个应用推送的消息的优先级。
作为另一个示例,若消息球与应用为一对多,则一个消息球显示多个应用推送的消息,那么用户可以调整应用的优先级和应用内推送消息的优先级。
这里,消息可以是指一类消息,也可以是指一个消息,下面举例说明。
例如对于社交类应用来说,可以将某个用户发送的消息设置为推送消息,可以将群聊天的消息设置为推送消息,还可以将全部同事发送的消息设置为推送消息。
例如对于购物类应用来说,可以将某个商品(例如M店铺的裙子N)的消息设置为推送消息,也可以将某一类商品(例如碎花裙子)的消息设置为推送消息。
例如对于新闻类应用来说,可以将某一类新闻(例如时事类新闻)设置为推送消息,也可以将用户输入的关键词相关的新闻(例如有关运动会的新闻)设置为推送消息。
本申请实施例中,用户在定制消息时,可以在浏览应用或消息的过程中,通过点击“收藏”、“关注”、“分享”等控件形成定制消息。这样,通过用户定制推送的消息,可以使应用推送给用户的消息更加贴近和适配用户需求,不易被用户认定为垃圾消息,并且可以在系统层面过滤掉除用户定制外的消息,减少垃圾消息的推送。
具体来说,在操作系统中可以设计消息格式基类,从而实现消息的统一管理。每个应用在消息格式基类的基础上,可以继承扩展实现子类,完成应用特定的筛选规则。若应用没有定制子类,则可以按照消息格式积累进行筛选。为方便理解,下面举例说明。
例如,基类消息格式可以认为消息是一个对象,其可以表示为:
消息(message)
标题(title)
图片(picture)
优先级(priority)
描述(description)
如购物类应用可以继承上述基类消息格式,并添加产品标识(product ID)属性。当用户将某一商品分享到气泡球关注显示的时候,购物类应用可以将用户指定的信息打包成一个消息通过系统层接口传递给系统层。一个消息对象被保留到系统层,该定制消息可以按照优先级规则和显示规则显示到气泡球。
如新闻类应用可以继承上述基类消息格式,并添加类名(classname)属性,类名表示对新闻的一个分类。用户指定对某一类新闻感兴趣的时候,系统层面可以根据优先级规则和显示规则显示到气泡球。
如社交类应用可以继承上述基类消息格式,并添加用户标识(user ID)属性,用户标识代表用户的一个唯一标识。用户指定对某个好友的消息感兴趣,系统层面可以根据优先级规则和显示规则显示到气泡球。
通过设计应用推送到气泡消息球的消息格式基类,允许应用按照基类消息格式进行继承和扩展,可以方便系统层面按照应用特性进行个性化处理,按照应用共性进行统一化管理等。
换句话说,应用是按照一定的消息格式进行消息的推送,其中消息的格式可以为预设 的基类消息格式,或者是消息对应的应用在基类消息格式的基础上继承扩展形成的子类消息格式。用户在定制消息时,实际上是电子设备将用户指定的信息按照上述消息格式打包成消息对象,并保存于系统层中。系统层在筛选消息时,可以将应用推送的消息与保存的消息对象进行匹配。如果应用推送的消息中的属性信息与消息对象中的属性信息匹配,说明应用推送的消息为用户定制的消息,可以将在界面上显示该消息。如果应用推送的消息中的属性信息与消息对象中的属性信息不匹配,说明应用推送的消息不是用户定制的消息,系统层可以将其过滤掉,即不在界面上显示,使用户不感知这些消息的推送。
这里,消息中包括的属性信息可以用于标识该消息所属的应用、消息的标题、类别、商品标识、用户标识等等。在具体实现中,消息中的属性可以根据应用的不同而具有个性化的设计,本申请实施例对此不作限定。消息对象中包括的属性信息类似,不同之处在于,消息对象中的属性信息是用户指定的信息,即用于表征用户关心的内容的信息,为方便描述,本申请实施例中可以称为定制属性信息。该定制属性信息所关联的应用可以称为关注应用。
另外,在其他一些实施例中,用户也可以在浏览应用或消息的过程中,通过点击“不再接收”、“不喜欢”、“垃圾信息”等控件形成用户非定制的消息,这些消息可以在系统层面被过滤掉,减少推送给用户的垃圾消息和用户不关心的消息,提升用户体验。
以上结合图4至图16对本申请实施例提供的消息提示方法的用户界面进行介绍,下面结合图17和图18对本申请实施例提供的消息提示方法的流程进行介绍。有关界面和界面元素未详尽介绍的部分,可以参考前述用户界面实施例的相关描述。
图17示出了本申请实施例提供的消息提示方法的示意性流程图。如图17所示,该方法包括步骤S1001至步骤S1016。
在步骤S1001,应用推送消息到系统。
具体地,当打开应用的通知功能后,应用可以使用通知功能向用户推送消息。这里消息可以是用户定制的消息,也可以是非用户定制的消息。其中用户定制的消息是指用户在应用中指定对某种或某些信息感兴趣,然后应用将用户指定的信息按照一定消息格式包装成消息对象发送给系统,并在系统中保留。后续应用会根据消息对象对应用推送的消息进行过滤,将推送的消息中用户不感兴趣的消息过滤掉,将推送的消息中用户感兴趣的消息推送给用户,这些推送给用户的消息即为用户定制的消息。
在步骤S1002,系统设置气泡球的显示属性。
这里气泡球包括提示球和消息球,其中提示球显示于AOD界面和解锁界面,消息球显示于消息预览界面。
在此之前,用户可以设置消息或应用的重要程度等级以及对应的气泡球的显示属性,在该步骤中,系统可以根据消息的重要程度等级确定气泡球的显示属性。
如果在步骤S1001之前,没有用户未处理的消息,则新推送的消息相当于推送给用户的第一条消息,在步骤S1002中,系统确定消息球的显示属性以及提示球的显示属性。若步骤S1001接收的消息不是推送给用户的第一条消息,则系统设置消息球的显示属性可以分以下两种情况:
情况一:
步骤S1001推送的消息与已经推送给用户的消息使用同一消息球提示用户,如属于同 一应用推送的消息,或属于同一重要程度等级的消息,那么系统可以根据新推送的消息的重要程度等级确定是否改变消息球的显示属性。示例性的,若新推送的消息的重要程度等级比已经推送的消息的重要程度等级高,则消息球按照新推送的消息所指定的显示属性显示(如颜色改变);若新推送的消息的重要程度等级比已经推送的消息的重要程度等级低或者相同,则消息球的显示属性保持不变。
情况二:
步骤S1001推送的消息与已经推送给用户的消息使用不同的消息球提示用户,如属于不同的应用推送的消息,或属于不同重要程度等级的消息,则系统可以根据新推送的消息所指定的显示属性来显示一个新的消息球。
系统在设置提示球的显示属性时,主要根据新推送的消息和已经推送的消息的重要程度等级来确定。例如若新推送的消息的重要程度等级最高,则提示球按照新推送的消息所指定的显示属性显示;反之,则不改变提示球的显示属性。
在一些实施例中,在该步骤中,系统可以对消息进行过滤,例如将非用户定制的消息设置为不显示,这样可以过滤掉垃圾信息和广告信息。这使得系统向用户提示的消息更加贴近用户的需求,提升用户体验。
在步骤S1003,判断AOD界面是否显示提示球。
应用推送给用户的消息可能被系统在步骤S1002中过滤掉,因此AOD界面可能不显示提示球。这样,系统可以重复执行步骤S1001和步骤S1002。
若在AOD界面显示提示球,说明有消息推送给用户,执行接下来的步骤。
在步骤S1004,检测用户对提示球的点击操作。
在该步骤中,电子设备检测用户是否对提示球执行了预设操作,如点击操作,以确定用户是否要处理消息(例如查看或删除消息)。可以理解的是,预设操作可以为任意操作,这里点击操作仅仅是示例性的。
在步骤S1005,响应于用户对提示球的点击操作,电子设备进入解锁界面。
在步骤S1006,判断是否解锁成功。
若成功,执行接下来的步骤;若失败,返回上一步骤。
该步骤S1005和S1006为可选步骤,如果用户设置了身份认证,则执行解锁的步骤;若用户没有设置身份认证,则可以略过步骤S1005和S1006,直接执行步骤S1007。
在步骤S1007,电子设备进入消息球显示界面,提示球分裂为多个消息球。
需要说明的是,提示球分裂为多个消息球只是界面过渡的一个展示效果,在其他实施例中,也可以在进入消息球显示界面后,直接显示消息球,本申请实施例对此不作限定。还需要说明的是,消息显示界面也可以只包括一个消息球。
在步骤S1008,检测用户是否拖动消息球到屏幕以外。
在该步骤中,电子设备可以检测用户是否对消息球执行了预设操作,例如拖动到屏幕边缘或以外,或者轻滑操作,以确定用户是否要删除消息球。可以理解的是,预设操作可以为任意操作,这里拖动消息球到屏幕以外的操作仅仅是示例性的。
若检测结果为是,则执行步骤S1009,删除消息球和对应的消息。
若检测结果为否,则执行接下来的步骤。
在步骤S1010,检测用户是否点击消息球。
在该步骤中,电子设备可以检测用户是否对消息球执行了预设操作,例如点击操作,以确定用户是否要查看消息。可以理解的是,预设操作可以为任意操作,这里点击操作仅仅是示例性的。
若检测结果为否,则返回上一步骤或重复执行步骤S1010。
若检测结果为是,则执行接下来的步骤。
在步骤S1011,进入消息列表显示界面,显示消息列表。
在步骤S1012,检测用户是否点击消息。
该步骤中,电子设备可以检测用户是否对消息执行了预设操作,例如点击操作,以确定用户是否要进入对应应用去查看具体内容。可以理解的是,预设操作可以为任意操作,这里点击操作仅仅是示例性的。
若检测结果为是,则执行步骤S1013,进入应用界面,显示消息具体内容。
若检测结果为否,则执行接下来的步骤。
在步骤S1014,检测用户是否拖动消息。
该步骤中,电子设备可以检测用户是否对消息执行了预设操作,例如拖动操作或轻滑操作,以确定用户是否要删除消息。可以理解的是,预设操作可以为任意操作,这里拖动操作仅仅是示例性的。
若检测结果为是,则执行步骤S1015,删除消息。
若检测结果为否,则执行接下来的步骤。
在步骤S1016,检测用户是否点击非消息显示区域。
该步骤中,电子设备可以检测用户是否对非消息显示区域执行了预设操作,例如点击操作,以确定用户是否要返回上一界面。可以理解的是,预设操作可以为任意操作,这里点击操作仅仅是示例性的。
若检测结果为是,则执行步骤S1007,即返回到消息球显示界面。
若检测结果为否,则返回上一步骤或重复当前步骤。
本申请实施例中,AOD界面、解锁界面、消息球显示界面、消息列表显示界面的示例可参考上述图4-图13所示实施例中的对应界面。
应理解,图中示出的各个步骤的执行顺序仅仅是示例性的,在其他一些实施例中,一些相互独立的步骤之间可以先后执行,也可以并列执行,本申请实施例对此不作限定。例如步骤S1008、S1010的顺序可以颠倒执行,或者同时执行;又如步骤S1012、S1014、S1016的顺序可以颠倒执行,或者同时执行。
图18示出了本申请实施例提供的消息提示方法的时序示意图。图18中按照时序从用户交互角度描述的流程与图17所示的流程相对应,以下未详尽描述之处可参考图17中的相关描述。
在步骤S1101,应用利用消息格式推送消息到系统。
在步骤S1102,系统按照用户设置的规则,确定气泡球的显示属性。
在步骤S1103,用户点击AOD界面的提示球。
在步骤S1104,进入解锁界面。
在步骤S1105,解锁并进入消息预览界面。
需要说明的是,本申请实施例中,消息预览界面包括消息球显示界面和消息列表显示 界面,在此不具体区分该两个界面,统称为消息预览界面。
在步骤S1106a,用户将消息球滑向屏幕边缘。
在步骤S1106b,删除消息球。
在步骤S1107a,用户点击消息球。
在步骤S1107b,显示消息列表。
在步骤S1108a,用户将消息滑到消息列表边缘。
在步骤S1108b,删除消息。
在步骤S1109a,用户点击消息。
在步骤S1109b,进入应用界面。
在步骤S1110a,用户点击非消息显示区域。
在步骤S1110b,返回上一级界面。
在步骤S1111,用户长时间未执行任何操作时,锁定屏幕。
在步骤S1112,进入AOD界面。
本申请实施例提供的方法中,在AOD界面显示提示球,可以提醒用户有关心的消息推送,并以提示球的显示属性提醒用户推送消息的重要程度。在消息预览界面显示消息球,可以分不同应用显示定制消息,并以消息球显示属性不同指示每个消息球的重要程度。这样解决了电子设备在推送消息显示的时候缺乏分类及缺少重要程度提示的缺陷,方便用户在众多消息中及时快速的找到自己关注的消息,提升用户体验。
进一步地,本申请实施例提供的方法中,用户可以对消息进行定制,例如设置推送哪些消息,设置某个应用的气泡球是否打开,调整气泡球的显示属性,调整消息显示优先级排序,增加或删除关注的消息等,实现在应用层面提供用户定制的消息接收接口,在系统层面可以提供更加细微的消息过滤显示控制。通过过滤垃圾信息,有效显示用户有用消息,可以更贴近用户需求。
结合上述实施例及相关附图,本申请实施例提供了一种消息提示方法,该方法可以在如图1、图2所示的电子设备(例如手机、平板电脑等)中实现。图19是本申请实施例提供的一种消息提示方法的示意性流程图,如图19所示,该方法1200可以包括以下步骤:
1201,接收至少一条消息。
该至少一条消息可以是一个应用推送给用户的,也可以是多个应用推送给用户的,本申请实施例对此不作限定。该至少一条消息可以是一次性推送给用户的,也可以多次推送给用户的,本申请实施例对此亦不作限定。可以理解的是,该至少一条消息是未经用户处理(例如查看、删除)的消息。
在一些实施例中,该至少一条消息可以是用户定制的消息,即该至少一条消息中包括与用户关注内容(或感兴趣内容)相关的信息。也就是说,电子设备的系统层可以将用户感兴趣的消息的推送提示给用户,而将用户不感兴趣的消息(例如除了用户感兴趣的消息之外的消息)屏蔽或过滤,而不提示用户这些消息的推送。
换言之,电子设备可以接收用户定制的消息和非用户定制的消息,其中电子设备向用户提示该用户定制的消息的推送,但不向用户提示该非用户定制的消息的推送。这样可以对应用推送的消息进行过滤显示,将一些垃圾消息、广告消息过滤掉,从而有效显示用户关注的消息,实现了在系统层面更加细微的贴近用户需求的消息管理,提升用户体验。
在一些实施例中,应用可以基于用户定制的消息进行推送,这样可以提高推送的精准度,使得推送给用户的消息更能适配用户需求,不容易被用户认定为垃圾消息。
具体地,以至少一条消息中的任意一条消息,如第一消息为例。第一消息具有第一属性信息,第一属性信息与第一消息对象具有的第一定制属性信息相匹配。其中第一消息和第一消息对象对应第一关注应用且均具有第一消息格式。第一消息对象是用户在使用第一关注应用的过程中,根据用户的指示将第一定制属性信息按照第一消息格式打包后保留于电子设备的系统层的。第一消息对象用于将第一关注应用推送的消息中,与第一定制属性信息不相匹配的消息过滤。
也就是说,第一消息和第一消息对象对应同一个应用,即第一关注应用。第一消息和第一消息对象具有相同的消息格式,即第一消息格式。其中第一消息是第一关注应用实际推送给用户的消息,第一消息对象是电子设备根据用户指定的信息定制的对象,用于对第一关注应用推送的消息进行匹配和过滤。
第一消息具有第一属性信息,该第一属性信息用于表征第一消息所包括的消息内容。示例性的,第一属性信息可以包括第一消息所属的应用、第一消息的标题、第一消息所属的消息类别等信息,也可以包括第一消息的个性化信息,如商品标识、社交用户标识、用户感兴趣关键词等,还可以包括第一消息的显示优先级信息等。
第一消息对象具有第一定制属性信息,该第一定制属性信息用于表征第一消息对象所包括的内容,即用于表征用户指定的信息(或说感兴趣的信息)。示例性的,第一定制属性信息可以包括用户感兴趣的应用、感兴趣的消息类别、感兴趣的社交用户等,第一定制属性信息根据应用的不同还可以包括个性化信息,如感兴趣的商品、新闻、视频、某地天气、某地交通信息等等。第一消息对象是将第一定制属性信息按照第一消息格式打包后形成的。第一消息对象保留于系统层。
在进行消息筛选时,第一消息的第一属性信息与第一消息对象的第一定制属性信息相匹配,则认为第一消息为用户感兴趣的消息,电子设备的系统层可以提醒用户该第一消息的推送。
可以理解的是,电子设备的系统层可以保存有多个消息对象,若推送的某些消息与多个对象中的定制属性信息均不相匹配,则认为这些消息不是用户感兴趣的消息,电子设备的系统层可以将这些消息屏蔽,不向用户提示这些消息的推送。
在一些实施例中,第一消息格式可以是预设的基类消息格式,也可以是第一关注应用在预设的基类消息格式基础上进行继承和扩展所形成的子类消息格式。
本申请实施例中,不同的应用可以继承和扩展预设的基类消息格式,实现对应各个应用的子类消息格式。应用推送的消息的格式可以为基类消息格式或子类消息格式,便于电子设备的系统依照基类消息格式统一处理应用推送的消息,或按照子类消息格式个性化处理特殊应用消息,还方便用户在应用中直接定制关注的消息。
本申请实施例中,电子设备的系统层可以为应用提供接口,以将用户在应用层面上定制的信息以消息对象保留在系统层。
1202,显示第一界面,该第一界面包括第一界面元素。
其中,第一界面元素用于提示用户有消息推送,且第一界面元素的显示属性用于指示至少一条消息中重要程度最高的消息所属的重要程度等级。
在一个实施例中,第一界面可以是熄屏显示界面。示例性的,第一界面可以是如图4中的(a)所示的AOD界面410。
本申请实施例中,第一界面元素用于提示用户有消息推送,不显示消息的具体内容。即第一界面上显示了第一界面元素,即可以认为有消息推送。
第一界面元素可以根据实际需求进行设计,本申请实施例对此不作限定。示例性的,第一界面元素可以是如图4中的(a)所示的提示球401(气泡形)、如图11中所示的提示球701(箭靶形)、提示球702(饼形图)、提示球703(环形图)、提示球704(分散球)以及云朵形、花瓣形、球形等其他形式。
本申请实施例中,可以将消息划分为多个重要程度等级,第一界面元素的显示属性可以指示电子设备接收的消息中重要程度最高的消息所属的重要程度等级。也就是说,第一界面元素的显示属性可以指示电子设备接收的消息中重要程度等级最高的消息。
在一个实施例中,第一界面元素的显示属性包括第一界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。例如,通过第一界面元素的颜色、形状、大小、在第一界面中的位置、带有的图案、带有的文本、运动速度中的至少一项属性,可以指示消息的重要程度等级。本申请实施例中,不同的重要程度等级所指定的显示属性不同,在该步骤中,第一界面元素按照至少一个消息中重要程度最高的消息所属的重要程度等级指定的显示属性显示。
本申请实施例中,通过第一界面元素的显示属性,用户可以知道推送的消息中重要程度最高的消息是属于哪个重要程度等级,例如很重要、一般重要或不太重要等,向用户提供了较为权威可信的重要程度提示,从而方便用户决定是否要立即查看相关消息。
在一个实施例中,第一界面元素还用于指示预设的全部重要程度等级。
换句话说,第一界面元素可以指示消息的重要程度等级一共划分了几档,以及指示至少一条消息中重要程度最高的消息所属的重要程度等级的档次。这样可以方便用户直观的感知推送的消息中重要程度最高的消息的相对重要重要性。
示例性的,第一界面元素可以是如图11中的(a)-(d)所示的提示球形式。
在一个实施例中,第一界面元素用于指示至少一条消息所属的重要程度等级。例如至少一条消息中的部分消息属于第一重要程度等级,部分消息属于第二重要程度等级,部分消息属于第三重要程度等级,第一界面元素可以向用户指示第一重要程度等级、第二重要程度的等级和第三重要程度等级有消息推送。
示例性的,第一界面元素可以是如图12中的(a)-(c)所示的提示球形式。
在一个实施例中,第一界面元素还用于指示该至少一条消息的总数量和/或该至少一条消息分布于全部重要程度等级中的每个重要程度等级的数量。
示例性的,第一界面元素可以是如图12中的(c)所示的提示球形式,或者如图13所示的提示球形式。
通过第一界面元素对消息数量的提醒,用户可以知道推送了哪个重要程度等级的消息以及相应的消息数量。
1203,检测到用户对第一界面元素的第一操作。
在一个实施例中,第一操作可以是点击操作,例如单击或双击;该第一操作也可以是滑动操作,例如向上轻滑或向下轻滑。示例性的,如图4中的(a)所示,第一操作可以 是对第一界面元素(例如提示球401)的点击操作。
1204,响应于第一操作,显示第二界面。
第二界面用于对用户的身份进行识别。例如,第二界面可以通过面容识别、指纹识别、图案识别、密码识别等方式对用户的身份进行验证。
在一个实施例中,第二界面可以包括用于提示用户进行身份识别的文字信息、图案信息、数字信息。
本申请实施例中,第二界面包括第一界面元素。
在一个实施例中,第二界面中的第一界面元素还用于提示用户进行身份识别。
示例性的,如图4中的(b)所示,第二界面可以为解锁界面420。第一界面元素可以为提示球401。
1205,检测到用户完成身份识别,显示第三界面,第三界面包括至少一个第二界面元素。
其中,第二界面元素用于指示一个或多个应用推送了消息,且第二界面元素的显示属性用于指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
需要说明的是,“至少一个第二界面元素”中的“至少一个”表示的是第二界面元素的数量,即第三界面包括第二界面元素,其中第二界面元素的数量为至少一个。以下实施例中涉及到的“第二界面元素”均可以理解为是第三界面中的任意一个第二界面元素。
在一个实施例中,第三界面可以是完成用户身份识别后的界面。示例性的,第三界面可以是如图4中的(c)所示的消息预览界面430,或者是如图8中的(a)所示的消息球显示界面610,或者是如图10中所示的消息球显示界面。
第二界面元素可以根据实际需求进行设计,本申请实施例对此不作限定。示例性的,第二界面元素可以是如图4中的(c)所示的消息球403a-403e(气泡形)、如图8中的(a)所示的消息球601-604(气泡形),或者是云朵形、花瓣形、球形等其他形式。
在一个实施例中,第二界面元素与第一界面元素可以具有相同或相似的图形。这样,第一界面元素和第二界面元素提醒消息的重要程度等级时,可以显示相同或类似的显示属性,更适应用户的使用习惯,另外还可以提升界面的美观性。
本申请实施例中,可以将消息划分为多个重要程度等级,对于其中一个第二界面元素来说,第二界面元素的显示属性可以指示一个或多个应用推送的消息(即第二界面元素提示的推送消息)中重要程度最高的消息所属的重要程度等级。也就是说,第二界面元素的显示属性可以指示一个或多个应用推送的消息中重要程度等级最高的消息。应理解,这里所涉及的一个或多个应用指的是已经推送了消息的应用。
在一个实施例中,第二界面元素的显示属性包括第二界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。例如,通过第二界面元素的颜色、形状、大小、在第三界面中的位置、带有的图案、带有的文本、运动速度中的至少一项属性,可以指示消息的重要程度等级。本申请实施例中,不同的重要程度等级所指定的显示属性不同,在该步骤中,第二界面元素按照一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级指定的显示属性显示。
本申请实施例中,第三界面上显示有至少一个第二界面元素,对于其中一个第二界面元素来说,通过第二界面元素的显示属性,用户可以知道第二界面元素提示的推送消息中 重要程度最高的消息是属于哪个重要程度等级,例如很重要、一般重要或不太重要等,向用户提供了较为权威可信的重要程度提示,从而方便用户决定是否要立即查看相关消息。
另外,不同的第二界面元素的显示属性可能不同,也就是说,不同的第二界面元素所指示的重要程度等级不同。这样可以方便用户通过不同第二界面元素的显示属性,及时、快速找到重要程度等级更高的消息,并优先查看等。
在一个实施例中,第二界面元素还可以用于指示一个或多个应用推送的消息所分布的重要程度等级。例如一个或多个应用推送的消息中,部分消息属于第一重要程度等级,部分消息属于第二重要程度等级,部分消息属于第三重要程度等级,第二界面元素可以向用户指示第一重要程度等级、第二重要程度的等级和第三重要程度等级有消息推送。
在一个实施例中,第二界面元素还用于指示一个或多个应用推送的消息的数量。例如,第二界面元素可以指示一个或多个应用推送的消息总数量,和/或指示一个或多个应用中每个应用推送的消息的数量。
通过第二界面元素对消息数量的提醒,用户可以知道推送了哪个重要程度等级的消息以及消息的数量。
在一个实施例中,第二界面元素可以包括一个或多个应用的标识,例如应用图标或应用名称。这样可以方便用户知道哪些应用推送了消息。
本申请实施例中,第二界面元素在提示消息时,可以采用如下的方式。
在一个实施例中,第二界面元素与至少一个第一应用具有对应关系,其中至少一个第一应用推送的消息均属于第一重要程度等级,第二界面元素按照至少一个第一应用所指定的显示属性显示,以用于指示第一重要程度等级。
换句话说,第二界面元素与至少一个第一应用具有对应关系,相应地,第二界面元素按照对应的至少一个第一应用指定的显示属性显示,并且第二界面元素所提示的消息具有相同的重要程度等级。这里,上述提及的一个或多个应用属于该至少一个第一应用。因此不同的第二界面元素可以指示不同的重要程度等级的消息,例如第二界面元素A可以指示重要程度等级A的消息,第二界面元素B可以指示重要程度等级B的消息,第二界面元素C可以指示重要程度等级C的消息,等等。
这种方式中,不同的第二界面元素有不同的显示属性,用户通过不同显示属性的第二界面元素,可以快速找到关注的消息以及应用,提升用户体验。并且,同一应用推送的消息具有相同的重要程度等级,可以方便用户通过设置应用的重要程度等级来设置推送消息的重要程度等级。
在另一个实施例中,第二界面元素与至少一个第一应用具有对应关系,其中所至少一个第一应用推送的消息属于至少两种重要程度等级,该至少两种重要程度等级与至少两种显示属性一一对应,第二界面元素按照该至少一个第一应用推送的消息中重要程度等级最高的消息对应的重要程度等级所指定的显示属性显示。
换句话说,第二界面元素与至少一个第一应用具有对应关系,相应地,第二界面元素按照对应的至少一个第一应用指定的显示属性显示,并且第二界面元素所提示的消息可能包括至少两个重要程度等级的消息。这里,第二界面元素可以按照重要程度等级高消息对应的重要程度等级所指定的显示属性显示。同一个第二界面元素可以指示不同的重要程度等级的消息。例如第二界面元素提示的消息中,部分属于最高的重要程度等级A(重要程 度等级A指定的第二界面元素的显示属性为A),部分属于居中的重要程度等级B(重要程度等级B指定的第二界面元素的显示属性为B),部分属于最低的重要程度等级C(重要程度等级C指定的第二界面元素的显示属性为C),则第二界面元素可以按照重要程度等级最高的消息对应的重要程度等级,即重要程度等级A指定的显示属性(即显示属性A)显示。
这种方式中,第二界面元素能够提示重要程度等级最高的消息,因此通过第二界面元素的显示属性,用户可以知道哪些应用推送了重要程度等级高的消息,方便可以快速找到用户关注的消息以及应用。并且,同一应用推送的消息通过一个第二界面元素提示,可以方便用户一次性查看某个应用推送的全部消息。
在又一个实施例中,第二界面元素与第一类消息具有对应关系,第一类消息属于第一重要程度等级,第二界面元素按照第一类消息所指定的显示属性显示,以用于指示所述第一重要程度等级。
换句话说,第二界面元素与第一类消息具有对应关系,相应地,第二界面元素按照对应的第一类消息指定的显示属性显示,并且第二界面元素所提示的消息具有相同的重要程度等级。不同的第二界面元素可以指示不同的重要程度等级的消息,例如第二界面元素A可以指示重要程度等级A的消息,第二界面元素B可以指示重要程度等级B的消息,第二界面元素C可以指示重要程度等级C的消息,等等。其中不同的重要程度等级的消息可以属于同一应用。
这种方式中,不同的第二界面元素有不同的显示属性,用户通过不同显示属性的第二界面元素,可以快速找到关注的消息,提升用户体验。并且,同一重要程度等级的消息通过一个第二界面元素提示,可以方便用户一次性查看某个重要程度等级的消息。
在显示了第三界面之后,用户还可以对第三界面进行一些操作,实现对消息的处理。
在一个实施例中,方法1200还包括:检测到用户对第二界面元素的第二操作;响应于第二操作,显示第四界面,其中第四界面包括一个或多个应用推送的消息。
本申请实施例中,通过对第二界面元素的相关操作,可以查看一个或多个应用推送的消息。另外,应用推送的消息不是在同一个维度平铺显示,而是分级显示,如先通过第一界面元素提示用户有消息推送,然后通过第二界面元素从应用的层面提示用户有一个或多个应用推送了消息,最后通过对第二界面元素的操作,可以实现消息的查看。这种方式,可以方便用户查找自己关心的消息,快速便捷,提升用户体验。
在一个实施例中,第二操作可以是点击操作,例如单击或双击;该第二操作也可以是滑动操作,例如向上轻滑或向下轻滑。示例性的,如图4中的(c)、图7中的(a)、图8中的(a)所示,第二操作可以是对第二界面元素(例如消息球403b、502、601)的点击操作。
第四界面用于显示一个或多个应用推送的消息。示例性的,如图4中的(d)、图7中的(b)、图8中的(b)、图9中的(c)所示,第四界面可以是消息列表显示界面(例如界面430、520、620等)。
在一个实施例中,一个或多个应用推送的消息按照优先级从高到低的顺序依次显示。即,第四界面在显示推送的消息时,可以按照优先级顺序依次显示。这样优先级高的消息先显示,可以被用户优先查看。
在一个实施例中,方法1200还包括:检测到用户对第一消息的第三操作,第一消息为一个或多个应用推送的消息中的一个消息;响应于第三操作,将第一消息从第四界面中删除。
本申请实施例中,通过对第四界面中显示的消息的相关操作,可以将消息从第四界面中删除。例如用户查看标题即了解消息内容,或者用户不想查看消息的具体内容,可以将消息从第四界面中删除。
在一个实施例中,第三操作可以是滑动操作,例如向左滑动、向右滑动、向左滑动或向下滑动。示例性的,如图5中的(a)所示,第三操作可以是对某消息的向右滑动操作。
在一个实施例中,方法1200还包括:检测到用户对第二消息的第四操作,第二消息为一个或多个应用推送的消息中的一个消息;响应于第四操作,显示第五界面,第五界面为第二消息所属应用的显示界面,第五界面显示第二消息。
本申请实施例中,通过对第四界面中显示的消息的相关操作,可以直接进入应用的界面以显示消息的具体内容,方便用户查看完整的内容,或者进行回复、评论等操作。
在一个实施例中,第四操作可以是点击操作,例如单击或双击。示例性的,如图5中的(c)所示,第四操作可以是对某消息的点击操作。
示例性的,以第二消息为短信消息为例,第五界面可以是如图5中的(d)所示的应用界面440。
在一个实施例中,方法1200还包括:检测到用户对非消息显示区域的第五操作,其中,非消息显示区域为第四界面上除消息显示区域之外的区域,消息显示区域用于显示一个或多个应用推送的消息;响应于第五操作,显示第三界面。
本申请实施例中,通过对第四界面中非消息显示区域的相关操作,可以返回上一级用户界面。这样可以方便用户继续查看其他第二界面元素提示的消息。
在一个实施例中,消息显示区域可以是消息列表形式,例如图4中的(d)所示的消息列表404,或者如图7中的(b)所示的消息列表506等。
在一个实施例中,消息显示区域可以位于第二界面元素所占区域中,因此非消息显示区域可以是第二界面元素所占区域内除消息显示区域之外的区域,也可以是第四界面上除第二界面元素所占区域之外的区域,还可以包括前述两者。
在一个实施例中,第五操作可以是点击操作,例如单击或双击。示例性的,如图6中的(a)所示,第五操作可以是对非消息显示区域的点击操作。
在一个实施例中,方法1200还包括:检测到用户对第二界面元素的第六操作;响应于第六操作,将第二界面元素从第三界面中删除。
本申请实施例中,通过对第二界面元素的操作,可以将第二界面元素所提示的消息批量删除,方便用户操作。需要说明的是,这里所说的将消息删除,指的是将消息在第二界面元素中的提示信息删除,使第二界面元素不再提示这些消息的推送。
在一个实施例中,第六操作可以是拖动操作,例如向左拖动、向右拖动、向左拖动或向下拖动。示例性的,如图6中的(c)所示,第六操作可以是对某第二界面元素的向右拖动操作,例如将第二界面元素拖出屏幕。
本申请实施例提供的消息提示方法可以在电子设备开机后默认执行,或者可以提供开关设置以方便用户打开消息提示功能。
在一个实施例中,在显示第一界面之前,方法1200还包括:显示第六界面,第六界面包括第一控件;检测到用户对第一控件的第七操作;响应于第七操作,打开使用第一界面元素和第二界面元素进行消息提示的功能。
本申请实施例可以提供第一控件,用于打开或关闭使用第一界面元素和第二界面元素进行消息提示的功能。在打开该功能后,在电子设备接收到推送消息时,就可以执行本申请实施例提供的消息提示方法。该功能可以与其他消息提示功能(例如桌面图标角标、状态栏显示通知图标等)并存,也可以是与其他消息提示功能互斥,本申请实施例对此不作限定。
在一个实施例中,第六界面可以是电子设备中用于设置消息提醒方式的界面,例如图14中的(a)所示的通知设置界面810,或如图14中的(b)所示的通知设置界面820。
可以理解的是,用于打开本申请实施例提供的消息提示功能的界面还可以有其他名称以及布局,本申请实施例对此不作限定。
示例性的,第一控件可以是开关,例如为图14中的(a)所示的控件801。第一控件也可以是选项设置控件,例如为图14中的(b)所示的控件802。
在一个实施例中,第七操作可以是点击操作,例如单击。
在一个实施例中,方法1200还包括:显示第七界面,第七界面包括至少一个第二控件,第二控件与应用一一对应,其中第二控件用于调整与第二控件对应的应用所推送的消息的重要程度等级。
本申请实施例中,电子设备可以提供设置消息重要程度等级的控件。用户可以从应用层面,调整应用推送消息的重要程度等级。
需要说明的是,“至少一个第二控件”中的“至少一个”表示的是第二控件的数量,即第七界面包括第二控件,其中第二控件的数量为至少一个。以下实施例中涉及到的“第二控件”均可以理解为是第七界面中的任意一个第二控件。
示例性的,如图15中的(a)所示,第七界面可以是气泡球设置界面910,其中包括多个应用分别对应的第二控件,每个第二控件用于调整对应应用的重要程度等级。这里应用的重要程度等级,可以认为是该应用推送的消息的重要程度等级。
例如,检测到用户对第二控件的点击操作,可以在第七界面显示第一选择框,该第一选择框中包括预设的全部重要程度等级。检测到用户对某个重要程度等级对应的控件的点击操作,可以将应用推送的消息设置为该重要程度等级。
在一个实施例中,方法1200还包括:显示第八界面,第八界面包括多个第三控件,第三控件与预设的重要程度等级一一对应,其中第三控件用于调整与第三控件对应的重要程度等级所指定的显示属性,该显示属性为第一界面元素和/或第二界面元素所依据的显示属性。
本申请实施例中,电子设备可以提供设置不同重要程度等级所指定的第一界面元素和/或第二界面元素所依据的显示属性的控件。
需要说明的是,“多个第三控件”中的“多个”表示的是第三控件的数量,即第八界面包括第三控件,其中第三控件的数量为多个。以下实施例中涉及到的“第三控件”均可以理解为是第八界面中的任意一个第三控件。
示例性的,如图15中的(c)所示,第八界面可以是气泡球设置界面930,其中包括 多个重要程度等级分别对应的第三控件,每个第三控件用于调整对应重要程度等级所指定的显示属性,例如颜色、形状、大小等等。
例如,检测到用户对第三控件的点击操作,可以在第八界面显示第二选择框,该第二选择框中包括预设的全部显示属性。检测到用户对某个显示属性对应的控件的点击操作,可以将该重要程度等级指定的显示属性设置为该选定的显示属性。当第一界面元素和/或第二界面元素所提示的消息属于该重要程度等级时,第一界面元素/或第二界面元素按照选定的显示属性显示。
在一个实施例中,方法1200还包括:显示第九界面,第九界面包括至少一个第四控件,第四控件与消息一一对应,其中第四控件用于调整以下任意一项:
与第四控件对应的消息所指定的显示属性;
与第四控件对应的消息所属的重要程度等级;
与第四控件对应的消息在用户查看消息时的显示优先级;或者
与第四控件对应的消息是否通过第一界面元素和第二界面元素提示;
其中,该显示属性为第一界面元素和/或第二界面元素所依据的显示属性。
本申请实施例中,电子设备可以提供从消息粒度调整参数的控件。
需要说明的是,“至少一个第四控件”中的“至少一个”表示的是第四控件的数量,即第九界面包括第四控件,其中第四控件的数量为至少一个。以下实施例中涉及到的“第四控件”均可以理解为是第九界面中的任意一个第四控件。
在一个示例中,第四控件用于调整与第四控件对应的消息所指定的显示属性。示例性的,第九界面可以包括多个消息分别对应的第四控件,每个第四控件用于调整对应消息所指定的显示属性。当第一界面元素和/或第二界面元素所提示的消息中包括该消息时且该消息的重要程度最高时,第一界面元素/或第二界面元素按照该消息指定的显示属性显示。
在另一个示例中,第四控件用于调整与第四控件对应的消息所属的重要程度等级。示例性的,第九界面可以包括多个消息分别对应的第四控件,每个第四控件用于调整对应消息的重要程度等级。用户可以将自己关注的消息的重要程度等级设置为最高。
在另一个示例中,第四控件用于调整与第四控件对应的消息在用户查看消息时的显示优先级。示例性的,第九界面可以包括多个消息分别对应的第四控件,每个第四控件用于调整对应消息在第四界面显示的先后顺序。例如,某消息的优先级最高,则推送的消息包括该消息时,其在第四界面则靠前显示。
在又一个示例中,第四控件用于调整与第四控件对应的消息是否通过第一界面元素和第二界面元素提示。示例性的,第九界面可以包括多个消息分别对应的第四控件,每个第四控件用于调整对应消息是否在第一界面元素和第二界面元素中显示。例如,设置某个消息不显示,则可以认为用户不想接收到该消息,则推送的消息包括该消息时,电子设备可以将该消息过滤掉,不向用户提示该消息的推送。
示例性的,第九界面可以是如图16中所示的气泡球设置界面。
本申请实施例中,电子设备可以分三级管控应用消息的推送。其中第一级可以通过第一界面元素和第二界面元素的显示属性、消息的显示优先级等,分类显示推送的消息。第二级可以在电子设备的系统层面,为用户提供消息提示功能的开关、消息是否显示的开关、不同重要程度等级所指定的显示属性的设置、不同消息所指定的显示属性的设置、系统层 面上删除关注的消息等功能,辅助用户设置自己关心的消息的推送以及相关属性。第三级可以通过为应用提供基类接口,方便用户在应用中直接设置关注信息。应用可以继承和扩展基类消息格式,电子设备系统可以依照基类消息格式统一处理应用推送的消息,或依照子类消息格式个性化处理特殊应用消息。本申请提供的消息提示方法中,可以按照应用进行不同层级的分类显示,方便用户快速找到关注的消息;在系统层面提供更加细微的消息过滤显示控制,可以将垃圾消息和广告消息过滤,使应用推送的消息更符合用户需求;在应用层面提供用户定制的消息接收接口,对于用户定制的消息可以高优先级显示,对于用户不关心的消息可以不显示;在AOD和消息预览界面以合适显示属性的界面元素提醒用户消息的推送,解决了电子设备在推送消息时,缺乏分类及重要程度显示的缺陷。
图20是本申请实施例提供的另一种消息提示方法的示意性流程图。如图20所示,该方法1300可以包括以下步骤:
1301,接收至少一条消息。
1302,显示第一界面,该第一界面包括第一界面元素。
其中,第一界面元素用于提示用户有消息推送,且第一界面元素的显示属性用于指示至少一条消息中重要程度最高的消息所属的重要程度等级。
1303,检测到用户对第一界面元素的第一操作。
1304,响应于第一操作,显示第三界面,第三界面包括至少一个第二界面元素。
其中,第二界面元素用于指示一个或多个应用推送了消息,且第二界面元素的显示属性用于指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
方法1300与图19示出的方法1200不同之处在于,方法1300中可以不进行用户身份识别,因此电子设备在检测到用户对第一界面元素的第一操作后,可以直接显示第三界面。关于上述1301-1304的各个步骤的详细描述与方法1200中的1201-1203、1205类似,具体可参考方法1200中的相关描述,为简洁,在此不再赘述。
另外,在关于方法1200中的描述中,一些可选的实施例同样适用于方法1300,具体可参考关于图19的相关描述,为简洁,在此不再赘述。
本申请实施例中,可以将消息划分为多个重要程度等级,通过第一界面元素和第二界面元素实现消息推送提示和消息重要程度提示。具体地,第一界面中的第一界面元素可以提示用户有消息推送,并指示电子设备接收的消息中重要程度最高的消息所属的重要程度等级。第三界面中的第二界面元素可以指示一个或多个应用推送了消息,并指示一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。这样,实现了消息的不同层级分类显示以及消息重要程度的提示,方便用户及时寻找自己关心的消息,提升用户体验。
本申请实施例还提供了一种消息提示的方法,该方法应用于电子设备中,包括:
步骤1,接收至少一条消息。
步骤2,显示第三界面,显示第三界面,第三界面包括至少一个第二界面元素,其中,第二界面元素用于指示一个或多个应用推送了消息,且第二界面元素的显示属性用于指示该一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
步骤1与方法1200中的S1201、方法1300中的S1301类似,具体可参考方法1200中的相关描述,为简洁,在此不再赘述。
步骤2与方法1200中的S1205、方法1300中的S1304类似,具体可参考方法1200中的相关描述,为简洁,在此不再赘述。
在一个实施例中,在显示第三界面之前,可以执行方法1200中的S1202-S1204,并且检测到用户完成身份识别后显示第三界面。
在一个实施例中,在显示第三界面之前,可以执行方法1300中的S1302-S1303,响应于第一操作,显示第三界面。
在一个实施例中,在显示第三界面之前,可以先完成用户身份识别。
在一个实施例中,在显示第三界面之前,可以显示如图3中(b)或(c)所示的界面。
另外,在关于方法1200中的描述中,一些可选的实施例同样适用于该方法,具体可参考关于图19的相关描述,为简洁,在此不再赘述。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图21示出了上述实施例中涉及的电子设备的一种可能的组成示意图,如图21所示,该电子设备可以包括:接收单元1401,显示单元1402和检测单元1403。
接收单元1401可以用于支持电子设备1400执行方法1200中的步骤1201,或者执行方法1300中的步骤1301等,和/或用于本文所描述的方法的其他过程。
显示单元1402可以用于支持电子设备1400执行方法1200中的步骤1202、1204、1205,或者执行方法1300中的步骤1302、1304等,和/或用于本文所描述的方法的其他过程,例如执行显示界面的步骤、删除第二界面元素的步骤、删除提示消息的步骤。
检测单元1403可以用于支持电子设备1400执行方法1200中的步骤1203、1205,或者执行方法1300中的步骤1303等,和/或用于本文所描述的方法的其他过程,例如执行检测用户操作的步骤。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
需要说明的是,本申请实施例中,检测单元可以检测用户在界面上的操作,响应于对应操作,显示单元可以在界面上显示相应内容。
本实施例提供的电子设备,用于执行上述消息提示方法,因此可以达到与上述实现方法相同的效果。
在采用集成的单元的情况下,电子设备可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备的动作进行控制管理,例如,可以用于支持电子设备执 行上述显示单元1402和检测单元1403所完成的动作。存储模块可以用于支持电子设备执行存储程序代码和数据等。通信模块,可以用于支持电子设备与其他设备的通信,例如可以用于支持电子设备执行上述接收单元1401所完成的动作。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图1所示结构的设备。
本申请实施例还提供了一种电子设备,可以包括处理器和显示屏。
处理器可以用于执行上述接收单元1401和检测单元1402所完成的动作。具体用于支持电子设备执行方法1200中的步骤1201、1203,或者执行方法1300中的步骤1301、1303等,和/或用于本文所描述的方法的其他过程,例如删除第二界面元素的步骤、删除提示消息的步骤、检测用户操作的步骤。
显示屏可用于执行上述显示单元1403所完成的动作。具体用于支持电子设备执行方法1200中的步骤1202、1204、1205,或者执行方法1300中的步骤1302、1304等,和/或用于本文所描述的方法的其他过程,例如执行显示界面的步骤。
需要说明的是,本申请实施例中,显示屏显示某个界面是最终呈现结果,其手段是通过处理器控制而呈现。因此,显示屏显示某个界面,可以理解为是处理器通过显示屏显示某个界面。具体地,处理器可以执行代码控制显示屏显示某个界面。
本实施例提供的电子设备,用于执行上述消息提示方法,因此可以达到与上述实现方法相同的效果。
本申请实施例还提供了一种电子设备,该电子设备包括:一个或多个处理器,一个或多个存储器,该一个或多个存储器存储有一个或多个计算机程序,该一个或多个计算机程序包括指令。当该指令被该一个或多个处理器运行时,使得该电子设备执行上述实施例中的技术方案。
应理解,电子设备中的一个或者多个处理器可以为图1所示的电子设备100中的处理器110;电子设备中的一个或者多个存储器可以为图1所示的电子设备100中的内部存储器121。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述实施例中的技术方案。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述实施例中的技术方案。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述实施例中的技术方案。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方 法中的有益效果,此处不再赘述。
在本申请实施例中,“第一”、“第二”以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。例如,区分不同的时间点等。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
在本申请中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (39)

  1. 一种消息提示方法,其特征在于,应用于电子设备,所述方法包括:
    接收至少一条消息;
    显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
  2. 根据权利要求1所述的方法,其特征在于,在所述显示第三界面之前,所述方法还包括:
    显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    检测到用户对所述第一界面元素的第一操作;
    响应于所述第一操作,显示第二界面,所述第二界面用于对用户的身份进行识别,所述第二界面包括所述第一界面元素;
    所述显示第三界面包括:
    检测到用户完成身份识别,显示所述第三界面。
  3. 根据权利要求1所述的方法,其特征在于,在所述显示第三界面之前,所述方法还包括:
    显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    所述显示第三界面包括:
    检测到用户对所述第一界面元素的第一操作;
    响应于所述第一操作,显示所述第三界面。
  4. 根据权利要求2或3所述的方法,其特征在于,
    所述第一界面元素的显示属性包括所述第一界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项;和/或,
    所述第二界面元素的显示属性包括所述第二界面元素的颜色属性、形状属性、尺寸属性、位置属性、图案属性、文本属性、运动属性中的至少一项。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第二界面元素满足以下任意一项:
    所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息均属于第一重要程度等级,所述第二界面元素按照所述至少一个第一应用所指定的显示属性显示,以用于指示所述第一重要程度等级;
    所述第二界面元素与至少一个第一应用具有对应关系,其中所述至少一个第一应用推送的消息属于至少两种重要程度等级,所述至少两种重要程度等级与至少两种显示属性一一对应,所述第二界面元素按照所述至少一个第一应用推送的消息中重要程度等级最高的 消息对应的重要程度等级所指定的显示属性显示;或者,
    所述第二界面元素与第一类消息具有对应关系,所述第一类消息属于第一重要程度等级,所述第二界面元素按照所述第一类消息所指定的显示属性显示,以用于指示所述第一重要程度等级。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述第二界面元素还用于指示所述一个或多个应用推送的消息的数量。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一界面元素还用于指示预设的全部重要程度等级。
  8. 根据权利要求7所述的方法,其特征在于,所述第一界面元素还用于指示所述至少一条消息的总数量和/或所述至少一条消息分布于所述全部重要程度等级中的每个重要程度等级的数量。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:
    检测到用户对所述第二界面元素的第二操作;
    响应于所述第二操作,显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
  10. 根据权利要求9所述的方法,其特征在于,所述一个或多个应用推送的消息按照优先级从高到低的顺序依次显示。
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:
    检测到用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;
    响应于所述第三操作,将所述第一消息从所述第四界面中删除。
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述方法还包括:
    检测到用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;
    响应于所述第四操作,显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述方法还包括:
    检测到用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;
    响应于所述第五操作,显示所述第三界面。
  14. 根据权利要求1至8中任一项所述的方法,其特征在于,所述方法还包括:
    检测到用户对所述第二界面元素的第六操作;
    响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
  15. 根据权利要求2至14中任一项所述的方法,其特征在于,在所述显示第一界面之前,所述方法还包括:
    显示第六界面,所述第六界面包括第一控件;
    检测到用户对所述第一控件的第七操作;
    响应于所述第七操作,打开使用所述第一界面元素和所述第二界面元素进行消息提示 的功能。
  16. 根据权利要求1至15中任一项所述的方法,其特征在于,所述方法还包括:
    显示第七界面,所述第七界面包括至少一个第二控件,所述第二控件与应用一一对应,其中所述第二控件用于调整与所述第二控件对应的应用所推送的消息的重要程度等级。
  17. 根据权利要求1至16中任一项所述的方法,其特征在于,所述方法还包括:
    显示第八界面,所述第八界面包括多个第三控件,所述第三控件与预设的重要程度等级一一对应,其中所述第三控件用于调整与所述第三控件对应的重要程度等级所指定的显示属性,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
  18. 根据权利要求1至17中任一项所述的方法,其特征在于,所述方法还包括:
    显示第九界面,所述第九界面包括至少一个第四控件,所述第四控件与消息一一对应,其中所述第四控件用于调整以下任意一项:
    与所述第四控件对应的消息所指定的显示属性;
    与所述第四控件对应的消息所属的重要程度等级;
    与所述第四控件对应的消息在用户查看消息时的显示优先级;或者
    与所述第四控件对应的消息是否通过所述第一界面元素和所述第二界面元素提示;
    其中,所述显示属性为所述第一界面元素和/或所述第二界面元素所依据的显示属性。
  19. 根据权利要求1至18中任一项所述的方法,其特征在于,所述至少一条消息中的第一消息具有第一属性信息,所述第一属性信息与第一消息对象具有的第一定制属性信息相匹配,其中所述第一消息和所述第一消息对象对应第一关注应用且均具有第一消息格式,所述第一消息对象是用户在使用所述第一关注应用的过程中,根据用户的指示将所述第一定制属性信息按照所述第一消息格式打包后保留于所述电子设备的系统层的;
    所述第一消息对象用于将所述第一关注应用推送的消息中,与所述第一定制属性信息不相匹配的消息过滤;
    所述第一消息为所述至少一条消息中的任意一条消息。
  20. 根据权利要求19所述的方法,其特征在于,所述第一消息格式为预设的基类消息格式,或者为所述第一关注应用在所述预设的基类消息格式基础上进行继承和扩展所形成的子类消息格式。
  21. 根据权利要求2至20中任一项所述的方法,其特征在于,所述第一界面为熄屏显示AOD界面。
  22. 一种电子设备,其特征在于,包括:处理器和显示屏;
    所述处理器,用于接收至少一条消息;
    所述显示屏,用于显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
  23. 根据权利要求22所述的电子设备,其特征在于,
    所述显示屏还用于:
    显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    所述处理器还用于:
    检测用户对所述第一界面元素的第一操作;
    响应于所述第一操作,通过所述显示屏显示第二界面,所述第二界面用于对用户的身份进行识别,所述第二界面包括所述第一界面元素;
    检测到用户完成身份识别后,通过所述显示屏显示所述第三界面。
  24. 根据权利要求22所述的电子设备,其特征在于,
    所述显示屏还用于:
    显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    所述处理器还用于:
    检测用户对所述第一界面元素的第一操作;
    响应于所述第一操作,通过所述显示屏显示所述第三界面。
  25. 根据权利要求22至24中任一项所述的电子设备,其特征在于,所述处理器还用于:
    检测用户对所述第二界面元素的第二操作;
    响应于所述第二操作,通过所述显示屏显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
  26. 根据权利要求25所述的电子设备,其特征在于,所述处理器还用于:
    检测用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;
    响应于所述第三操作,将所述第一消息从所述第四界面中删除。
  27. 根据权利要求25或26所述的电子设备,其特征在于,所述处理器还用于:
    检测用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;
    响应于所述第四操作,通过所述显示屏显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
  28. 根据权利要求25至27中任一项所述的电子设备,其特征在于,所述处理器还用于:
    检测用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;
    响应于所述第五操作,通过所述显示屏显示所述第三界面。
  29. 根据权利要求22至24中任一项所述的电子设备,其特征在于,所述处理器还用于:
    检测用户对所述第二界面元素的第六操作;
    响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
  30. 一种电子设备,其特征在于,包括:
    接收单元,用于接收至少一条消息;
    显示单元,用于显示第三界面,所述第三界面包括至少一个第二界面元素,其中,所述第二界面元素用于指示一个或多个应用推送了消息,且所述第二界面元素的显示属性用于指示所述一个或多个应用推送的消息中重要程度最高的消息所属的重要程度等级。
  31. 根据权利要求30所述的电子设备,其特征在于,所述电子设备还包括检测单元;
    所述显示单元,还用于显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    所述检测单元,用于检测用户对所述第一界面元素的第一操作;
    所述显示单元,还用于响应于所述第一操作,显示第二界面,所述第二界面用于对用户的身份进行识别,所述第二界面包括所述第一界面元素;
    所述显示单元,还用于在所述检测单元检测到用户完成身份识别后,显示所述第三界面。
  32. 根据权利要求30所述的电子设备,其特征在于,所述电子设备还包括检测单元;
    所述显示单元,还用于显示第一界面,所述第一界面包括第一界面元素,其中,所述第一界面元素用于提示用户有消息推送,且所述第一界面元素的显示属性用于指示所述至少一条消息中重要程度最高的消息所属的重要程度等级;
    所述检测单元,用于检测用户对所述第一界面元素的第一操作;
    所述显示单元,还用于响应于所述第一操作,显示所述第三界面。
  33. 根据权利要求30至32中任一项所述的电子设备,其特征在于,所述电子设备还包括检测单元,
    所述检测单元,用于检测用户对所述第二界面元素的第二操作;
    所述显示单元,还用于响应于所述第二操作,显示第四界面,其中所述第四界面包括所述一个或多个应用推送的消息。
  34. 根据权利要求33所述的电子设备,其特征在于,
    所述检测单元,还用于检测用户对第一消息的第三操作,所述第一消息为所述一个或多个应用推送的消息中的一个消息;
    所述显示单元,还用于响应于所述第三操作,将所述第一消息从所述第四界面中删除。
  35. 根据权利要求33或34所述的电子设备,其特征在于,
    所述检测单元,还用于检测用户对第二消息的第四操作,所述第二消息为所述一个或多个应用推送的消息中的一个消息;
    所述显示单元,还用于响应于所述第四操作,显示第五界面,所述第五界面为所述第二消息所属应用的显示界面,所述第五界面显示所述第二消息。
  36. 根据权利要求33至35中任一项所述的电子设备,其特征在于,
    所述检测单元,还用于检测用户对非消息显示区域的第五操作,其中,所述非消息显示区域为所述第四界面上除消息显示区域之外的区域,所述消息显示区域用于显示所述一个或多个应用推送的消息;
    所述显示单元,还用于响应于所述第五操作,显示所述第三界面。
  37. 根据权利要求30至32中任一项所述的电子设备,其特征在于,所述电子设备还包括检测单元,
    所述检测单元,用于检测用户对所述第二界面元素的第六操作;
    所述显示单元,还用于响应于所述第六操作,将所述第二界面元素从所述第三界面中删除。
  38. 一种芯片,其特征在于,包括至少一个处理器和接口电路,所述接口电路用于为所述至少一个处理器提供程序指令或者数据,所述至少一个处理器用于执行所述程序指令,以实现如权利要求1至21中任一项所述的方法。
  39. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1至21中任一项所述的方法。
PCT/CN2022/111412 2021-08-31 2022-08-10 消息提示方法和电子设备 WO2023029913A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202122087488.4 2021-08-31
CN202122087488 2021-08-31
CN202210437869.7A CN115729427A (zh) 2021-08-31 2022-04-25 消息提示方法和电子设备
CN202210437869.7 2022-04-25

Publications (1)

Publication Number Publication Date
WO2023029913A1 true WO2023029913A1 (zh) 2023-03-09

Family

ID=85292542

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/111412 WO2023029913A1 (zh) 2021-08-31 2022-08-10 消息提示方法和电子设备

Country Status (2)

Country Link
CN (1) CN115729427A (zh)
WO (1) WO2023029913A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116132568A (zh) * 2023-02-24 2023-05-16 维沃移动通信有限公司 操作执行方法、装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130085866A1 (en) * 2011-10-04 2013-04-04 Ilya Levitis Floating smartphone icon messaging system
CN104049847A (zh) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 一种移动终端的信息提示方法及系统
CN108600544A (zh) * 2018-04-27 2018-09-28 维沃移动通信有限公司 一种单手控制方法及终端
CN108769414A (zh) * 2018-05-30 2018-11-06 维沃移动通信(深圳)有限公司 一种信息提示方法及移动终端
CN112148400A (zh) * 2019-06-29 2020-12-29 华为技术有限公司 锁定状态下的显示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130085866A1 (en) * 2011-10-04 2013-04-04 Ilya Levitis Floating smartphone icon messaging system
CN104049847A (zh) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 一种移动终端的信息提示方法及系统
CN108600544A (zh) * 2018-04-27 2018-09-28 维沃移动通信有限公司 一种单手控制方法及终端
CN108769414A (zh) * 2018-05-30 2018-11-06 维沃移动通信(深圳)有限公司 一种信息提示方法及移动终端
CN112148400A (zh) * 2019-06-29 2020-12-29 华为技术有限公司 锁定状态下的显示方法及装置

Also Published As

Publication number Publication date
CN115729427A (zh) 2023-03-03

Similar Documents

Publication Publication Date Title
CN110286976B (zh) 界面显示方法、装置、终端及存储介质
CN110910872B (zh) 语音交互方法及装置
CN113542485B (zh) 一种通知处理方法、电子设备及计算机可读存储介质
WO2020177622A1 (zh) Ui组件显示的方法及电子设备
US11687235B2 (en) Split-screen method and electronic device
US20240179237A1 (en) Screenshot Generating Method, Control Method, and Electronic Device
US11914850B2 (en) User profile picture generation method and electronic device
WO2020037611A1 (zh) 通知消息的处理方法及电子设备
CN114390139B (zh) 一种电子设备在来电时呈现视频的方法、电子设备和存储介质
CN114327666B (zh) 应用启动方法、装置和电子设备
WO2020192761A1 (zh) 记录用户情感的方法及相关装置
US20230269324A1 (en) Display method applied to electronic device, graphical user interface, and electronic device
WO2021213084A1 (zh) 应用通知管理方法和电子设备
WO2022037726A1 (zh) 分屏显示方法和电子设备
CN114116085A (zh) 一种通知消息管理方法及电子设备
WO2023273543A1 (zh) 一种文件夹管理方法及装置
WO2023029913A1 (zh) 消息提示方法和电子设备
CN113852714A (zh) 一种用于电子设备的交互方法和电子设备
WO2023138305A1 (zh) 卡片显示方法、电子设备及计算机可读存储介质
US20230385345A1 (en) Content recommendation method, electronic device, and server
WO2021196980A1 (zh) 多屏交互方法、电子设备及计算机可读存储介质
CN113507406A (zh) 消息管理方法及相关设备
WO2023160455A1 (zh) 删除对象的方法及电子设备
WO2024041180A1 (zh) 路径规划方法及装置
EP4372579A1 (en) Application recommendation method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22863054

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE