CN116055617B - Message notification method, electronic device, computer storage medium and chip system - Google Patents

Message notification method, electronic device, computer storage medium and chip system Download PDF

Info

Publication number
CN116055617B
CN116055617B CN202210893312.4A CN202210893312A CN116055617B CN 116055617 B CN116055617 B CN 116055617B CN 202210893312 A CN202210893312 A CN 202210893312A CN 116055617 B CN116055617 B CN 116055617B
Authority
CN
China
Prior art keywords
message
electronic device
notification
application
messages
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210893312.4A
Other languages
Chinese (zh)
Other versions
CN116055617A (en
Inventor
郭永军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210893312.4A priority Critical patent/CN116055617B/en
Publication of CN116055617A publication Critical patent/CN116055617A/en
Application granted granted Critical
Publication of CN116055617B publication Critical patent/CN116055617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/04842Selection of displayed objects or displayed text elements
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a message notification method and device, wherein in the method, first electronic equipment enters a target state in response to a first operation of a user; the method comprises the steps that a first electronic device in a target state receives a plurality of first messages, the first messages are not reminded, the first messages come from a plurality of different applications, the first messages comprise notification messages of concerned applications of the first electronic device, and/or notification messages of appointed applications forwarded by a second electronic device; in response to a second operation of exiting the target state, the first electronic device displays a first banner notification corresponding to the first message, the first banner notification including a first icon and names of a plurality of different applications, the first icon being associated with a plurality of second icons, the second icons being icons of the plurality of different applications. According to the scheme, the first electronic equipment can remind the first message received when the first electronic equipment is in the target state through the first banner notification, so that the user is prevented from missing the first message.

Description

Message notification method, electronic device, computer storage medium and chip system
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a message notification method, an electronic device, a computer storage medium, and a chip system.
Background
When a user is applying an electronic device, the electronic device is typically placed in an immersive state if it is not desired to be disturbed. In the process that the electronic equipment is in the immersive state, if the notification message is received, a sound or vibration prompt is not sent out, and the received notification message is subjected to silent notification.
However, after exiting the immersive state, the electronic device often does not notice the notification message of the silent notification state, causing the user to miss the notification message.
Disclosure of Invention
In order to avoid a user missing a notification message, the application discloses a notification method of the message, an electronic device, a computer storage medium and a chip system through the following embodiments.
In a first aspect of the present application, an embodiment of the present application discloses a method for notifying a message, including:
responding to a first operation of a user, and enabling the first electronic equipment to enter a target state;
in the process of being in the target state, the first electronic device receives a plurality of first messages from a plurality of different applications, wherein the first messages comprise notification messages of concerned applications of the first electronic device and/or notification messages of appointed applications forwarded by second electronic device, and the first electronic device does not remind the first messages;
And responding to a second operation of exiting the target state, the first electronic equipment displays a first banner notice corresponding to the plurality of first messages, wherein the first banner notice comprises a first icon and names of the plurality of different applications, the first icon is related to a plurality of second icons, and the second icon is an icon of the plurality of different applications.
Through the steps, after the first electronic device exits from the target state, the first banner notification corresponding to the first message is displayed, and the first banner notification can be used for reminding the first message received by the first electronic device when the first electronic device is in the target state, so that the user is prevented from missing the first message.
In an alternative design, the first electronic device receives a plurality of first messages during the target state, including: the first electronic equipment stores parameters of the first message, wherein the parameters of the first message comprise names and icons of applications corresponding to the first message;
in response to a second operation of exiting the target state, the first electronic device displays a first banner notification corresponding to the plurality of first messages, including: and generating and displaying a first banner notification corresponding to the first message based on the stored parameters of the first message.
In an alternative design, the target state includes any one of the following states: an immersive state, a screen-throwing state, a shared desktop state, a no-disturbance state, an extended navigation-following state and an application assistant no-disturbance state.
In an alternative design, the first banner notification further includes a number of the first messages and a hint information describing that the first messages are notification messages received when the first electronic device is in the target state.
In an alternative design, the first icon includes a plurality of second icons arranged in sequence, where each second icon partially shields a second icon adjacent in a preset direction.
In an alternative design, before the first electronic device receives the plurality of first messages, the method further includes:
responding to an interface display operation aiming at the first electronic equipment, wherein the first electronic equipment displays an interface of a notification center, and the interface of the notification center displays at least one notification message;
in response to an attention operation for the first electronic device, the first electronic device determines that an application indicated by the attention operation is the attention application, and the attention operation is used for selecting an application corresponding to any notification message displayed in an interface of the notification center as the attention application.
Through the steps, the first electronic device can set corresponding attention application based on the received interface display operation and attention operation.
In an alternative design, the responding to the attention operation for the first electronic device, the first electronic device determining the application indicated by the attention operation as the attention application includes:
when the first electronic equipment displays an interface of the notification center, responding to a third operation of one notification message displayed on the interface, and displaying a setting control corresponding to the notification message by the first electronic equipment;
responding to a fourth operation for the setting control, and displaying a first menu option for setting an application corresponding to the setting control as the concerned application by the first electronic equipment;
responsive to a fifth operation for the first menu option, the first electronic device displays an inquiry message of whether to focus on the application, the inquiry message including a determination of a focus option;
in response to a sixth operation for determining an option of interest included in the query message, the first electronic device sets the application as an application of interest.
In an alternative design, the first electronic device displays a first banner notification corresponding to the plurality of first messages, including:
The first electronic device judges whether the number of applications corresponding to the first message is larger than N based on the parameters of the first message, wherein the parameters of the first message comprise the names and icons of the applications corresponding to the first message;
if the number of the applications corresponding to the first message is not greater than N, the first electronic device generates and displays a first banner notification corresponding to the plurality of first messages based on names and icons of all the applications corresponding to the first message;
if the number of the applications corresponding to the first message is greater than N, the first electronic device determines N applications in the applications corresponding to the first message based on the receiving time of the first message, wherein the receiving time of the first message corresponding to the N applications is later than the receiving time of the first message corresponding to other applications;
and the first electronic equipment generates and displays a first banner notification corresponding to the first messages based on the names and icons of the N applications.
Through the steps, corresponding first banner notices can be generated according to the number of the applications corresponding to the first messages, and the first messages received by the first electronic equipment when in the target state are prompted through the first banner notices.
In an alternative design, after the first electronic device displays a first banner notification corresponding to the first message, the method further includes:
the first electronic device displays detailed information of the first message corresponding to the first banner notification in response to an operation for the first banner notification, wherein the detailed information of the first message comprises content and receiving time of the first message.
Through the above steps, the first electronic device may display detailed information of the first message after receiving the operation for the first banner notification so that the user knows the detailed information of the first message.
In an alternative design, in the case that the first message includes a notification message of a specific application forwarded by the second electronic device, the detailed information of the first message further includes device information of the second electronic device.
Through the steps, when the first message includes the notification message of the designated application forwarded by the second electronic device, the detailed information of the first message displayed by the first electronic device further includes the device information of the second electronic device, so that the user can conveniently know the source of the first message.
In an alternative design, the method further comprises:
and in the process of being in the target state, the first electronic device receives a second message, wherein the notification message comprises the target application of the first electronic device and/or the notification message of the target application forwarded by the second electronic device.
And the first electronic equipment displays a second banner notification corresponding to the second message in the process of being in the target state, wherein the second banner notification comprises the content of the second message.
Through the steps, after the first electronic device in the target state receives the second message, a second banner notification can be generated under the condition that the target state is not exited, and the second message received when the first electronic device is in the target state is reminded through the second banner notification, so that the user is prevented from missing the second message.
In an alternative design, the target application includes an alarm clock application and/or an incoming call application.
In an alternative design, after the first electronic device determines that the application indicated by the operation of interest is the application of interest, the method further includes:
in response to a cancel operation for any one of the applications of interest, the first electronic device cancels the interest of the application of interest.
Through the above steps, the attention to the application of interest can also be canceled.
In an alternative design, the first electronic device cancels the attention to the attention application in response to a cancel operation for any one of the attention applications, including:
when the first electronic equipment displays an interface of the notification center, responding to a seventh operation of one notification message displayed on the interface, and displaying a setting control corresponding to the notification message by the first electronic equipment;
responsive to an eighth operation for the setting control, the first electronic device displays a second menu option to cancel attention to an application corresponding to the setting control;
responsive to a ninth operation for the second menu option, the first electronic device displays query information of whether to cancel focusing on the application, the query information including determining to cancel focusing on an option;
in response to a tenth operation for the determining to cancel the attention option, the first electronic device cancels the attention to the application.
In a second aspect, an embodiment of the present application discloses a notification device for a message, including:
the state entering module is used for responding to a first operation of a user on first electronic equipment and controlling the first electronic equipment to enter a target state;
A message receiving module, configured to receive a plurality of first messages in the target state, where the first electronic device is in the target state, the plurality of first messages are from a plurality of different applications, the first messages include notification messages of concerned applications of the first electronic device, and/or notification messages of specified applications forwarded by a second electronic device, where the first electronic device does not remind the first messages;
and the banner notification module is used for responding to a second operation of exiting the target state, displaying a first banner notification corresponding to the plurality of first messages, wherein the first banner notification comprises icons and names of the plurality of different applications, the first banner notification comprises a first icon and names of the plurality of different applications, the first icon is related to a plurality of second icons, and the second icons are icons of the plurality of different applications.
In a third aspect, an embodiment of the present application discloses an electronic device, including: a processor and a memory; the memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method of the first aspect.
In a fourth aspect, embodiments of the present application disclose a computer storage medium having stored therein a computer program or instructions which, when executed, perform a method as described in the first aspect.
In a fifth aspect, embodiments of the present application disclose a chip system comprising a processor coupled to a memory for executing a computer program or instructions stored in the memory, which when executed, performs a method as described in the first aspect.
The embodiment of the application discloses a message notification method, a message notification device and electronic equipment, wherein in the method, first, a first operation of a user is responded, and the first electronic equipment enters a target state; then, in the process of being in the target state, the first electronic device receives a plurality of first messages, wherein the plurality of first messages are from a plurality of different applications, the first messages comprise notification messages of concerned applications of the first electronic device and/or notification messages of appointed applications forwarded by a second electronic device, and the first electronic device does not remind the first messages; and responding to a second operation of exiting the target state, the first electronic equipment displays a first banner notice corresponding to the plurality of first messages, wherein the first banner notice comprises a first icon and names of a plurality of different applications, the first icon is related to a plurality of second icons, and the second icons are icons of the plurality of different applications.
According to the scheme provided by the embodiment of the application, the first electronic equipment can remind the first message received when the first electronic equipment is in the target state through the first banner notification, so that the probability that the user misses the first message is reduced.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application;
fig. 3 is an interaction schematic diagram of a first electronic device and a second electronic device disclosed in an embodiment of the present application;
FIG. 4 is a schematic workflow diagram of a message notification method disclosed in an embodiment of the present application;
FIG. 5 is a schematic workflow diagram of another message notification method disclosed in an embodiment of the present application;
fig. 6 is an interface schematic diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 7 is a schematic workflow diagram of another message notification method disclosed in an embodiment of the present application;
FIG. 8 is a schematic diagram of an interface of another electronic device according to an embodiment of the present disclosure;
FIG. 9 is a schematic workflow diagram of another message notification method disclosed in an embodiment of the present application;
FIG. 10 is a schematic diagram of an interface of another electronic device according to an embodiment of the present disclosure;
FIG. 11 is a flowchart illustrating another method for notifying messages according to an embodiment of the present disclosure;
FIG. 12 (a) is an interface schematic diagram of another electronic device disclosed in an embodiment of the present application;
FIG. 12 (b) is an interface schematic diagram of another electronic device disclosed in an embodiment of the present application;
FIG. 12 (c) is an interface schematic diagram of another electronic device disclosed in an embodiment of the present application;
FIG. 13 is a schematic workflow diagram of another message notification method disclosed in an embodiment of the present application;
FIG. 14 is a timing diagram of a method of notification of a message disclosed in an embodiment of the present application;
FIG. 15 is a timing diagram of another message notification method disclosed in embodiments of the present application;
FIG. 16 is a timing diagram of another message notification method disclosed in embodiments of the present application;
FIG. 17 is a timing diagram of another message notification method disclosed in embodiments of the present application;
FIG. 18 is a flowchart illustrating another method for notifying messages according to an embodiment of the present disclosure;
FIG. 19 is a flowchart illustrating another method for notifying messages according to an embodiment of the present disclosure;
fig. 20 is a schematic structural diagram of a notification device for a message according to an embodiment of the present application;
fig. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the various embodiments herein below, "at least one", "one or more" means one, two or more than two. The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
For clarity and conciseness in the description of the following embodiments, a brief description of the related art will be given first:
the electronic device may receive various notification messages during the application process, for example, if a communication application is installed in the electronic device, may receive a communication message, and if a shopping application is installed in the electronic device, may receive a push message of the shopping application, where the communication message and the push message belong to the notification message. Sometimes the user does not wish to be bothered by various notification messages, the electronic device is placed in an immersive state.
And in the process that the electronic equipment is in the immersive state, if the notification message is received, silent notification is carried out. The silent notification is a notification mode in which the electronic device does not send out a sound alert or a vibration alert after receiving the notification message, but only displays the notification message in the notification center. If the user needs to view the notification message of the silent notification, he needs to enter the notification center of the electronic device to view the notification message.
However, this notification is less obvious. The user often does not notice the notification message of the silent notification when exiting the immersive state, causing the user to miss the notification message.
In order to avoid a user missing a notification message, the application provides a message notification method, electronic equipment, a computer storage medium and a chip system, so that the probability of the user missing the notification message is reduced.
Aiming at the problem that a user misses a notification message in the prior art, the embodiment of the application provides a message notification method and device.
The electronic device in the embodiment of the application may be an electronic device having a function of receiving a message and performing notification. In some embodiments, the electronic device may be a device capable of displaying pictures, such as a mobile phone, tablet, desktop, laptop, notebook, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), handheld computer, netbook, personal digital assistant (personal digital assistant, PDA), wearable electronic device, and smart watch, and the specific form of the electronic device is not particularly limited in this application.
In this embodiment, the structure of the electronic device may be shown in fig. 1, where fig. 1 is a schematic structural diagram of an electronic device to which the picture display method provided in the embodiment of the present application is applied.
As shown in fig. 1, the electronic device 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 charge management module 140, a power management module 141, a battery 142, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
Further, when the electronic device is a mobile phone, the electronic device may further include: antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, wherein different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces 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 receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The charge management module 140 is configured to receive a charge input from a charger. The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device. In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology.
The electronic device implements display functions through a graphics processor (graphics processing unit, GPU), a display screen 194, and an application processor, among others. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is 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 194 includes a display panel. A series of graphical user interfaces (graphical user interface, GUIs) may be displayed on the display 194 of the electronic device, all of which are home screens of the electronic device.
The electronic device may implement shooting functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121.
The electronic device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device may listen to music, or to hands-free conversations, through speaker 170A. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The earphone interface 170D is used to connect a wired earphone.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The gyro sensor 180B may be used to determine a motion gesture of the electronic device. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D. The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device in various directions (typically three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include a Light Emitting Diode (LED) and a light detector. The ambient light sensor 180L is used to sense ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is for detecting temperature. The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The bone conduction sensor 180M may acquire a vibration signal. The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys, touch keys, or virtual keys. The motor 191 may generate a vibration cue. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc. The SIM card interface 195 is used to connect a SIM card.
In addition, an operating system is run on the components. Such as the iOS operating system developed by apple corporation, the Android open source operating system developed by google corporation, the Windows operating system developed by microsoft corporation, etc. An operating application may be installed on the operating system.
In order to clarify the functional operations executed by each software architecture in the electronic device when the electronic device executes the scheme disclosed in the application, the embodiment of the application also discloses a software structure of the electronic device.
The operating system of the electronic device may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, a cloud architecture, or the like. In the embodiment of the application, a layered Android system is taken as an example, and a software structure of the electronic device is illustrated.
Fig. 2 is an exemplary diagram of a software architecture block diagram of an electronic device according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system library, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application layer may include application packages of applications such as cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, and short messages. In addition, the application layer may further include: the system comprises a notification management module, a banner reminding module, a database and a notification center. Furthermore, in order to implement the notification method of the message provided by the embodiment of the application, a decision engine module and a notice notification module are further extended in the application layer.
The decision engine module may be configured to monitor a state of the electronic device. In one possible implementation manner, when the electronic device executing the notification method of the message of the present application receives the notification message of the specific application forwarded by the second electronic device, the notification method of the message provided by the present application is executed, so as to avoid that the user misses the notification message of the specific application forwarded by the second electronic device.
In another possible implementation manner, the electronic device avoids the user missing the notification message local to the electronic device by executing the notification method of the message provided by the embodiment of the present application, and in this case, after the electronic device is started, the decision engine module starts to monitor the state of the electronic device. The notification message local to the electronic device may refer to a notification message generated or received by an application installed in the electronic device, for example, a communication message received by a communication application installed in the electronic device, or a commodity push message generated by a shopping application.
Or in another possible implementation manner, the electronic device wants to avoid that the user misses the notification message of the designated application forwarded by the second electronic device and wants to avoid that the user misses the notification message local to the electronic device by executing the notification method of the message provided by the embodiment of the present application, and in this case, the decision engine module may start monitoring the state of the electronic device after the electronic device is started each time.
The notification management module can receive the notification message sent by the application framework layer, and determine a notification reminding mode for the notification message based on the type of the notification message and the state of the electronic device monitored by the decision engine module.
In the solution provided in the embodiment of the present application, the state of the electronic device may include a target state and an exit target state, where the target state includes any one of the following: the immersion state, the screen-throwing state, the shared desktop state, the no-disturbance state, the extended navigation-following state and the application assistant no-disturbance state can also comprise other states, and the immersion state is not limited by the application, and the mode of entering the immersion state is not limited.
In addition, in the solution provided in the embodiment of the present application, a manner of notifying and reminding the notification message may include:
When the electronic equipment is not in a target state and receives the notification message, carrying out banner reminding on the notification message, wherein the banner reminding refers to a reminding mode that a banner is displayed on the top of a display interface of the electronic equipment and corresponding reminding notification is displayed through the banner;
in the practical implementation manner provided in the embodiment of the present application, when the electronic device in the target state performs the strong alert, the electronic device in the target state may display a banner on the top of the display interface of the electronic device and display a corresponding alert notification in the banner;
(manner 3) after the electronic device exits the target state, a reminder is made to a first message received during the target state of the electronic device, which may include notification messages of applications of interest to the electronic device, and/or notification messages of other designated applications forwarded by the electronic device.
The banner reminding module can be used for constructing a banner displayed on the top of the display interface of the electronic equipment and displaying a corresponding reminding notice through the banner. When the electronic equipment is not in the target state and receives the notification message, the banner constructed by the banner reminding module can realize the notification reminding in the mode 1; when the electronic device is in a target state and receives an incoming call notification message or an alarm clock notification message, the banner constructed by the banner reminding module can realize the notification reminding in the mode 2.
The database may store information of the application of interest, which may include information that may distinguish between different applications, such as names and/or icons of the application of interest, in order to inform the management module to determine whether the received notification message originated from the application of interest when the electronic device is in the target state.
When the notification management module determines that notification reminding is required in the above mode 3, the parameter of the application corresponding to the notification message may be added to the to-be-reminded list of the notification module, where the parameter of the application may include a name and an icon of the application.
After the notice notification module determines that the electronic equipment exits the target state based on the state change reminding message sent by the decision engine module, a corresponding reminding notification can be constructed based on the content stored in the to-be-reminded list, and the reminding notification is displayed by the notification management module, so that a user can know that the electronic equipment receives the notification message when the electronic equipment is in the target state based on the reminding notification, and the user is prevented from missing the notification message received by the electronic equipment when the electronic equipment is in the target state.
Further, the application layer may further include a super notification module, where the super notification module may be configured to, after receiving notification messages forwarded by other electronic devices, process the received notification messages, and convert the notification messages into a standard format, so that the electronic devices perform corresponding reminders on the notification messages forwarded by the other electronic devices. In one possible design, the super notification module may include: the system comprises a connection framework, a message receiving module and a message analyzing module.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes some predefined functions. As shown in fig. 2, the application framework layer 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 for managing window programs. The window manager may obtain the size of the display screen, obtain parameters of each display area on the display interface, and so on. In the present application, the window manager may determine the area where the electronic device is touched.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including camera icons.
The telephone manager is used for providing communication functions of the mobile phone. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application program to display notification messages in a status bar and can be used for conveying notification type messages, and in one possible design of the application, the notification manager can also be a notification message service module (note message service, NMS), and after receiving the notification messages, the NMS can transmit the notification messages to an application layer so as to facilitate interaction between modules in the application layer, so as to implement a notification method of the messages provided by the embodiments of the application.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in virtual machines. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (media library), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
In addition, in the application, a system library comprises a state monitoring service, and the state monitoring service can perform state detection according to data reported by a sensor driver of a kernel layer.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
Although the Android system is taken as an example for explanation, the basic principle of the embodiment of the present application is equally applicable to electronic devices based on iOS, windows, and other operating systems.
In order to clarify the solutions provided in the present application, the following description will describe the solutions provided in the present application by referring to the drawings in the following embodiments.
The embodiment of the application provides a message notification method which is applied to first electronic equipment, wherein the first electronic equipment can receive notification messages and correspondingly reminds the notification messages based on the message notification method.
Wherein the first electronic device may receive the notification message in the following scenario:
(scenario 1) in one application scenario, the notification message may originate from an application installed by the first electronic device. For example, the notification message may be a communication message received by the instant messaging application; for another example, the notification message may also be a merchandise push message generated by the shopping application.
Under the application scene, through the scheme provided by the embodiment of the application, the probability that the user misses the notification message of the first electronic equipment can be reduced.
(scenario 2) in another application scenario, see the example diagram shown in fig. 3, the first electronic device may be in communication with the second electronic device, in which case the notification message may be a notification message forwarded by the second electronic device to the first electronic device.
Further, in this application scenario, when the second electronic device forwards the notification message, the name and the icon of the application corresponding to the notification message may also be forwarded, where the notification message and the name and the icon of the application corresponding to the notification message may be loaded in the same data packet. Thus, the first electronic device may receive the notification message, and receive the name and icon of the application to which the notification message corresponds, based on the forwarding by the second electronic device.
In one possible implementation manner in this application scenario, the application installed in the second electronic device may acquire the notification message, however, in some cases, when the second electronic device acquires the notification message of the application of the second electronic device, the user does not use the second electronic device, so as to avoid the user missing the notification message acquired by the second electronic device, and when determining that the second electronic device is in an unused state (for example, in a locked screen state or a dormant state), the second electronic device may forward the acquired notification message to the first electronic device. After receiving the notification message forwarded by the second electronic device, the first electronic device can correspondingly remind the notification message based on the notification method of the message provided by the embodiment of the application, so as to avoid that the user misses the notification message of the second electronic device.
This implementation describes one example of the second electronic device forwarding the notification message to the first electronic device to cause the first electronic device to receive the notification message. In the actual message notification process, the second electronic device may also send the notification message to the first electronic device through other implementation manners, so that the first electronic device receives the notification message forwarded by the second electronic device, which is not limited in this application.
In addition, in the example shown in fig. 3, the first electronic device is a mobile phone, and the second electronic device is a tablet computer. In practical application, the first electronic device and the second electronic device may also be other types of devices, for example, the first electronic device and the second electronic device are both mobile phones or tablet computers, or the first electronic device is a notebook computer, the second electronic device is an intelligent wearable device, etc., which is not limited in this embodiment of the present application.
Under the application scene, through the scheme provided by the embodiment of the application, the probability that the user misses the notification message of the second electronic equipment can be reduced.
(scenario 3) in another application scenario, the notification message may include a notification message obtained by an application installed by the first electronic device, and a notification message forwarded by the second electronic device to the first electronic device.
Under the application scene, through the scheme provided by the embodiment of the application, the probability that the user misses the notification messages of the first electronic equipment and the second electronic equipment can be reduced.
In the above description, a scenario in which the notification message received by the first electronic device originates from the application installed by itself (i.e., scenario 1), a scenario in which the notification message originates from the second electronic device is forwarded (i.e., scenario 2), and a scenario in which the notification message originates from the application installed by itself and the second electronic device is forwarded (i.e., scenario 3) are disclosed, respectively. In the actual message notification process, the first electronic device may also receive the notification message through other scenarios, and according to the message notification method provided in the embodiment of the present application, perform a corresponding reminder on the received notification message, which is not limited in this application. For example, the first electronic device may receive notification messages forwarded by other electronic devices in addition to the second electronic device.
Referring to the workflow diagram shown in fig. 4, the method for notifying a message provided in the embodiment of the present application includes the following steps:
in step S11, the first electronic device receives at least one first message, where the first electronic device is in a target state, where the at least one first message includes a notification message of an application of interest of the first electronic device, and/or a notification message of a specific application forwarded by the second electronic device, where the specific application may be a default application of the first electronic device, or an application set according to a received user operation. In one possible implementation, the designated application may be an application other than an alarm clock application and an incoming call application.
In the embodiment of the present application, the target state is a state that the user does not want to be disturbed, and in a possible implementation, the target state includes any one of the following: the immersion state, the screen-throwing state, the shared desktop state, the no-disturbance state, the extended navigation-following state and the application assistant no-disturbance state, and the target state may further include other states, which are not limited in this application, and the mode of entering the target state is not limited.
The electronic equipment is in an immersive state, namely a state that the color of a status bar of the electronic equipment is fused with the color displayed by the display interface, and the immersive state can improve visual aesthetic feeling, so that a user can feel more comfortable when browsing page messages of the electronic equipment. The electronic equipment is in an extended navigation state, which means that a screen of the electronic equipment is converted into a display screen of other electronic equipment in a wired or wireless mode.
In an embodiment of the present application, the first message may include a notification message of an application of interest of the first electronic device. At least one application is installed in the first electronic device, the focused application being an application in which the user is focused, the user typically not wish to miss notification messages for the focused application. In this case, the user can perform the attention application setting operation on the first electronic device according to his own demand. Accordingly, the first electronic device can set one or more applications as the concerned application according to the received concerned application setting operation, so that the notification message of the concerned application is correspondingly reminded later, and the user is prevented from missing the notification message of the concerned application received when the first electronic device is in the target state.
In an embodiment of the present application, the operation of the first electronic device to set the application of interest may include the following steps:
first, the first electronic device displays an interface of a notification center in response to an interface display operation for the first electronic device, the interface of the notification center displaying at least one notification message.
In one possible implementation, the interface display operation may be a pull-down operation for the interface of the first electronic device, and after receiving the pull-down operation, the first electronic device displays the interface of the notification center.
Of course, the interface display operation may be another operation for causing the first electronic device to display the interface of the notification center, which is not limited in the embodiment of the present application.
Then, the first electronic device determines, in response to the attention operation for the first electronic device, that the application indicated by the attention operation is the attention application. The attention operation is used for selecting an application corresponding to any notification message displayed in the interface of the notification center as an attention application.
In one possible example, referring to fig. 5 corresponding to the example, in response to an operation of interest for the first electronic device, the first electronic device determining that the application indicated by the operation of interest is an operation of the application of interest may include the steps of:
Step S111, in the case that the first electronic device displays the interface of the notification center, in response to the third operation on one of the notification messages displayed on the interface, the first electronic device displays the setting control corresponding to the notification message. In one possible implementation, the third operation for one of the notification messages may be a left-slide operation for that notification message. Of course, the third operation may be another type of operation, which is not limited in this application.
Fig. 6 is an example of an interface of a first electronic device, and the example is for setting an application, which is WeChat, as an application of interest. Wherein figure a is an interface of a notification center in which a notification message of a WeChat is displayed. After receiving the third operation of the notification message for the WeChat, the first electronic device displays a corresponding setting control, in which case the interface displayed by the first electronic device may be as shown in diagram b of FIG. 6, which includes setting control 610.
In step S112, in response to the fourth operation for the setting control, the first electronic device displays a first menu option for setting the application corresponding to the setting control as the focused application. In one possible implementation, the fourth operation for the setup control may be a touch operation for the setup control. Of course, the fourth operation may be another type of operation, which is not limited in this application.
After receiving the fourth operation for the setting control, the first electronic device may determine whether the application corresponding to the notification message is a focused application, and if not, display a first menu option for setting the application corresponding to the setting control as the focused application.
For example, after receiving the fourth operation of the setting control for the WeChat, the first electronic device may display menu options as shown in fig. 6, where the menu options include: "close notification", "set as attention notification", "postpone reminder", "more settings" and "cancel". Among them, the menu option "set as attention notification" is the first menu option 620.
Step S113, in response to the fifth operation for the first menu option, the first electronic device displays inquiry information of whether the application is focused, the inquiry information including a determination of a focus option. In one possible implementation, the fifth operation for the first menu option may be a touch operation for the first menu option. Of course, this fifth operation may be another type of operation, which is not limited in this application.
If the WeChat application needs to be set as the attention application, the first electronic device can perform a fifth operation on the menu option (i.e. the first menu option) of 'set as attention notification' when the menu option shown in the graph c is displayed. The first electronic device, after receiving the fifth operation, displays inquiry information about whether to pay attention to the application.
For example, in this case, the interface displayed by the first electronic device may be as shown in a diagram d in fig. 6, in which the inquiry information is a notification of whether to set 'WeChat' as attention, and the inquiry information further includes options of "cancel" and "determine", in which the option of "determine" is the determine attention option 630.
Step S114, in response to a sixth operation for determining an attention option included in the query information, the first electronic device sets the application as an attention application. In one possible implementation, the sixth operation for the determined focus option may be a touch operation for the determined focus option. Of course, the sixth operation may be another type of operation, which is not limited in this application.
In the example corresponding to the diagram d in fig. 6, the sixth operation of determining the option of attention included for the query information is the sixth operation for the option in which "determine" is performed (i.e., the option of attention is determined). Upon receiving the sixth operation, the first electronic device may set the WeChat as the application of interest.
In addition, in the above example, the attention operation includes the operation received by the first electronic device in step S111 to step S114, that is, the attention operation includes: the third operation for the notification message in step S111, the fourth operation for the setting control in step S112, the fifth operation for the first menu option in step S113, and the sixth operation for the determination attention option included in the query information in step S114.
Further, in this embodiment of the present application, after the first electronic device sets a certain application as the concerned application, information of the concerned application may be stored, where the information of the concerned application may be information that may distinguish different applications, such as a name and/or an icon of the concerned application, where in this case, after the first electronic device receives a notification message of a certain application of itself, the first electronic device may determine whether the application is the concerned application by querying the stored information, and if so, the first electronic device determines that the notification message is the first message.
Wherein if the software structure of the first electronic device is as shown in fig. 2, the first electronic device may store the information of the application of interest in a database included in the application layer.
Through the above embodiment, the first electronic device may set a certain application as the application of interest. In some cases, however, after setting an application as a focused application, the user may have a reduced focus on the application, and the user may not mind whether to miss the notification message of the application. In this case, the user often wants to release the attention to the application. To address concerns for a certain application, the first electronic device may also perform the following operations:
In response to a cancel operation for any one of the applications of interest, the first electronic device cancels the interest of the application of interest.
After canceling the attention to a certain application of interest, the application is no longer an application of interest. For example, if after setting the WeChat as the application of interest by the operations of fig. a to d in fig. 6, if a cancel operation for the application is received, the first electronic device determines that the application of the WeChat is no longer the application of interest.
In one possible example, referring to fig. 7 corresponding to the example, the first electronic device, in response to a cancel operation for any one of the applications of interest, canceling the interest of the application of interest may include the steps of:
step S115, in a case where the first electronic device displays an interface of the notification center, in response to a seventh operation for one of the notification messages displayed on the interface, the first electronic device displays a setting control corresponding to the notification message. In a possible implementation manner, the seventh operation may be the same as the third operation, and of course, the seventh operation may also be different from the third operation, which is not limited in this application.
Fig. 8 is an example of an interface of the first electronic device, and in this example, the application of the WeChat is an attention application, and this example is used to cancel the attention of the attention application, where fig. a is a display page of a notification center in which a notification message of the WeChat is displayed. After receiving the seventh operation of the notification message for the WeChat, the first electronic device displays a corresponding setting control, in which case the interface displayed by the first electronic device may be as shown in FIG. 8, diagram b, which includes setting control 810.
In step S116, in response to the eighth operation for the setting control, the first electronic device displays a second menu option for canceling the attention of the application corresponding to the setting control. In a possible implementation manner, the eighth operation may be the same as the fourth operation, and of course, the eighth operation may also be different from the fourth operation, which is not limited in this application.
The first electronic device can determine whether the application corresponding to the notification message is an attention application when receiving the eighth operation for the setting control, and if so, display a second menu option for canceling the attention of the application.
For example, after receiving the eighth operation of the setting control for the WeChat, the first electronic device may display menu options as shown in fig. 8, where the menu options include: : "close notification", "cancel attention", "postpone reminder", "more settings" and "cancel". Wherein the menu option "cancel attention" is the second menu option 820.
Step S117, in response to the ninth operation of the second menu option for canceling the application of interest, the first electronic device displays inquiry information of whether to cancel the application of interest, the inquiry information including determination of the option of canceling interest. In one possible implementation, the ninth operation for the second menu option may be a touch operation for the second menu option. Of course, the ninth operation may be another type of operation, which is not limited in this application.
If the user needs to cancel the attention of the WeChat application, the first electronic device can select the menu option (namely, the second menu option) of 'cancel attention' when the menu option shown in the figure c is displayed. The first electronic device, after receiving the ninth operation, displays inquiry information as to whether to cancel the attention of the application.
For example, in this case, the interface displayed by the first electronic device may be as shown in a diagram d in fig. 8, in which the query information is "whether to cancel attention 'WeChat'", and the query information further includes options of "cancel" and "determine", where the option of "determine" is the option 830 to determine to cancel attention.
Step S118, in response to a tenth operation of determining a cancel attention option included for the query information, the first electronic device cancels attention to the application. In one possible implementation, the tenth operation to cancel the attention option for the determination may be a touch operation to cancel the attention option for the determination. Of course, the tenth operation may be another operation, which is not limited in this application.
In the example corresponding to fig. d, the tenth operation of determining to cancel the option of attention included for the inquiry information is the tenth operation for the option in which "determine" is made (i.e., the option of canceling attention is determined). Upon receiving the tenth operation, the first electronic device may cancel the attention of the application of the WeChat.
In addition, in the above example, the cancel operation includes the operations received by the first electronic device in steps S115 to S118, that is, the cancel operation includes: a seventh operation for the notification message in step S115, an eighth operation for the setting control in step S116, a ninth operation for the second menu option in step S117, and a tenth operation for the determination cancel attention option included in the inquiry information in step S118.
Further, in the embodiment of the present application, after the first electronic device cancels the attention of a certain application, the information of the application stored before may be deleted, so as to save storage space. Wherein if the first electronic device stores information of an application of interest in a database of an application layer, after canceling the attention of a certain application, the information of the application stored in the database may be deleted.
The above embodiment discloses an operation of the first electronic device to set a certain application as a focused application, if the first message includes a notification message of the focused application of the first electronic device, in a solution provided in the embodiment of the present application, the first electronic device receiving the first message may include the following steps:
firstly, after receiving a notification message of an application of a first electronic device, the first electronic device determines whether the first electronic device is in a target state;
Then, if the first electronic device is in the target state, the first electronic device determines whether the notification message originates from an application of interest of the first electronic device, if so, determines that the notification message is a first message, and may determine that the first electronic device receives the first message.
In addition, the first message may further include a notification message received from the second electronic device to specify an application when the first electronic device is in the target state. In the embodiment of the present application, the designated application may be a default application of the first electronic device, or may be an application set according to a user operation. In one possible implementation, the designated application is another application than the incoming call application and the alarm clock application.
When the second electronic device forwards the notification message to the first electronic device, the second electronic device may also forward the name and the icon of the application corresponding to the notification message. In one possible implementation, the second electronic device forwards a data packet to the first electronic device, where the data packet includes a notification message forwarded by the second electronic device, and a name and an icon of an application corresponding to the notification message. In this case, after receiving the data packet forwarded by the second electronic device, the first electronic device may determine, according to the name and the icon of the application corresponding to the notification message included in the data packet, whether the notification message is from the specified application, and if so, the notification message is the first message, and accordingly, the first electronic device determines that the first message is received.
In step S12, the first electronic device stores parameters of the first message, where the parameters of the first message may include a name and an icon of an application corresponding to the first message.
The parameters of the first message may be stored in the to-be-reminded list. In a possible implementation, if the software architecture of the first electronic device is as shown in fig. 2, the to-be-reminded list may be set in the attention notification module of the application layer of the first electronic device.
Because the first electronic device that receives the first message is in the target state, through the operation of step S12, the parameters of the first message are stored in the to-be-reminded list, so that after the first electronic device exits from the target state, a corresponding reminder notification is constructed based on the messages stored in the to-be-reminded list.
In this step, the parameters of the first message include the name and icon of the application to which the first message corresponds, where the application to which the first message corresponds refers to the application from which the first message is derived. For example, if a shopping application is installed in the electronic device, the first message includes a commodity pushing message generated by the shopping application, and an application corresponding to the commodity pushing message is the shopping application; if the communication application is installed in the electronic equipment, the first message comprises a communication message received by the communication application, and the application corresponding to the communication message comprises the communication application.
If the first message includes a notification message of an application of interest of the first electronic device, the parameters of the first message include a name and an icon of the application of interest, and the first electronic device may receive the name and the icon of the application of interest when receiving the first message through step S11.
In addition, if the first message includes a notification message of a specific application forwarded by the second electronic device, the first electronic device may further receive a name and an icon of the specific application corresponding to the notification message forwarded by the second electronic device when receiving the notification message, where in this case, the first electronic device may determine the name and the icon of the application corresponding to the first message based on the forwarding by the second electronic device.
In this step, parameters of the first message may be stored through the to-be-reminded list. In a possible implementation, the to-be-reminded list includes a queue for storing parameters of the first message, the parameters of the first message in the queue being ordered according to the time of receipt of the first message, typically the later the time of receipt of the first message, the earlier the ordering in the queue.
Alternatively, in another possible implementation, the to-be-reminded list includes a plurality of queues, parameters of notification messages from different applications are stored in different queues, and parameters of a first message in the same queue are ordered according to the receiving time of the first message, and the later the receiving time of the first message, the earlier the ordering in the queue.
Of course, other forms of storing the parameters of the first message may be used, which are not limited in this embodiment of the present application.
Step S13, responding to the operation of exiting the target state, and generating and displaying a first banner notification corresponding to the first message by the first electronic equipment based on the stored parameters of the first message. The first banner notification may include a parameter of a first message received during the target state of the first electronic device, where the parameter may include an icon and a name of an application corresponding to the first message, i.e., by which the icon and the name of the application corresponding to the first message received during the target state are displayed after the first electronic device exits the target state, so that a user knows that the first message is received when the first electronic device is in the target state, and knows a source of the first message.
In the solution provided in the embodiment of the present application, even if the first message includes a plurality of pieces, only one first banner notification may be generated in step S13, where the one first banner notification corresponds to the plurality of pieces of first messages. In this case, the first banner notification may be referred to as an aggregate alert notification because the first banner notification may be used to alert the user that the first electronic device received a plurality of first messages while in the target state.
In one possible implementation, the first banner notification may include names and icons of all applications corresponding to the first message received during the target state of the first electronic device.
Alternatively, in another possible implementation manner, in order to avoid that the first banner notification contains too much content and affects the viewing effect of the user, the first banner notification may include names and icons of at most N applications corresponding to the first message, where N is a preset positive integer. For example, N is five, i.e., the first banner notification includes icons and names of at most five applications.
In this case, referring to the flowchart shown in fig. 9, the first electronic device may generate the first banner notification corresponding to the first message by:
step S131, the first electronic device determines whether the number of applications corresponding to the first message is greater than N based on the stored parameter of at least one first message, if not, the operation of step S132 is executed, and if yes, the operation of step S133 is executed.
Step S132, if the number of applications corresponding to the first message is not greater than N, the first electronic device generates and displays a first banner notification corresponding to the first message based on the names and icons of all applications corresponding to the stored first message.
In step S133, if the number of applications corresponding to the first message is greater than N, the first electronic device determines N applications in the applications corresponding to the first message based on the receiving time of the first message, where the receiving time of the first message corresponding to the N applications is later than the receiving time of the first message corresponding to other applications.
For example, N is five, and the number of applications corresponding to the first message is six, and then five applications are selected from the six applications based on the reception time of the first message, where the reception time of the first message from the five applications is later than the reception time of the first message of the remaining other application.
Step S134, the first electronic device generates and displays a first banner notification corresponding to the first message based on the stored names and icons of the N applications.
Through the operations of steps S131 to S134, in the case where the number of applications corresponding to the first message is greater than N, the corresponding first banner notification may be constructed using names or icons of N applications corresponding to the first message whose reception time is closest to the current time (i.e., the reception time is the latest).
In addition, in step S13, a first banner notification corresponding to the first message is generated, where the first banner notification may include a name and an icon of the first application, if the first banner notification includes a plurality of icons of different applications, the icons of the plurality of different applications included in the first banner notification are arranged into an icon combination, and the arrangement order may be according to a receiving time of the first message of each application, in a possible implementation, in the icon combination, the icon of the application corresponding to the first message with the latest receiving time may be located at the most side, and may partially block adjacent other icons.
For example, if the icons of the applications included in the icon combination are arranged in a left-to-right order, the icon of the application corresponding to the first message with the latest receiving time may be located at the leftmost side, and the leftmost icon may partially block the adjacent other icons; if the icons of the applications included in the icon combination are arranged in the sequence from top to bottom, the icon of the application corresponding to the first message with the latest receiving time can be located at the uppermost side, and the icon at the uppermost side can partially shield other adjacent icons.
The icon combination can be used as a first icon, the icons of all the applications are respectively second icons, and in this case, the first banner notification comprises the first icons and names of different applications corresponding to the plurality of first messages respectively, the first icons are related to the plurality of second icons, and the second icons are icons of different applications corresponding to the different first messages respectively. In one possible implementation manner, the first icons include a plurality of second icons arranged in sequence, wherein each second icon partially shields a second icon adjacent to the first icon in a preset direction, and the preset direction is an arrangement direction of the plurality of second icons included in the first icon.
Further, the first banner notification may further include a prompt message in addition to the name and icon of the application, where the prompt message is used to describe that the first message is a notification message received when the first electronic device is in the target state, so as to remind the user. In one possible implementation, the prompt may be a text message, which may include, for example, a text message of "do not disturb what you receive during.
In addition, the first banner notification may further include a number of first messages corresponding to the application displaying the name and the icon so that a user knows the number of first messages received when the first electronic device is in the target state. For example, if the first electronic device is in a target state, N first messages originating from N applications are received, the first banner notification includes the number N of first messages in addition to the names and icons of the N applications.
The first banner notification may be displayed on the interface of the first electronic device after the first electronic device exits the target state, and illustratively, the first banner notification may be displayed at the top or bottom of the interface. The first banner notification may alert the user to avoid the user missing the first message received when the first electronic device is in the target state.
To clarify the form of the first banner notification in this application, one example is disclosed. Referring to the example diagram shown in fig. 10, a first banner notification 100 is displayed at the top of the first electronic device interface, and in this example, N is five, and during the process that the first electronic device is in the target state, 12 first messages are received from three applications, which are respectively: QQ, weChat, and short message, the first banner notification includes the names and icons of the three applications. And, the receiving time of the notification message of the application of QQ is the latest, and the receiving time of the notification message of the application of short message is the earliest, then in the first banner notification, the icon of the application of QQ is located at the leftmost side, and the icon of the application of short message is located at the rightmost side.
In addition, in this example, since the first message from three applications is 12, in the first banner notification, the number of prompts is further included so that the user knows the number of first messages, in this case, referring to fig. 10, the first banner notification may include a text message of "notice QQ, micro message, short message +12 of your attention during no-disturbance" to prompt the user that the received first message is respectively from three applications of QQ, micro message, and short message when the first electronic device is in the target state, and the number of first messages is 12.
In this application, the first banner notification may include names and icons of a plurality of applications, and thus may be referred to as an aggregate alert. If, after determining the parameters of the first message, the parameters of the first message are stored in the to-be-reminded list, in one possible implementation, the aggregate reminder notification may be constructed by:
and the first electronic equipment responds to the operation that the first electronic equipment exits from the target state, whether the list to be reminded is empty is detected, and if yes, the operation is ended. If the to-be-reminded list is not empty, the parameter indicating that at least one first message is stored in the to-be-reminded list further indicates that the first message is received when the first electronic equipment is in a target state, and whether the number of applications corresponding to the first message is larger than N is determined by querying the to-be-reminded list. If the number of applications corresponding to the first message is greater than N, selecting N applications from the applications corresponding to the first message to construct a first banner notification, where the first banner notification may include names and icons of the N applications, and displaying the first banner notification. When N applications are selected, the selection may be performed based on the receiving time of the first message, where the receiving time of the first message corresponding to the N applications is closest to the current time. If the number of the applications corresponding to the first message is not greater than N, constructing a first banner notification through all the applications corresponding to the first message, and displaying the first banner notification.
The user can be reminded of the displayed first banner notification, and the user is prevented from missing the first message received when the first electronic device is in the target state.
Further, referring to the flowchart shown in fig. 11, in this embodiment of the present application, after the first electronic device displays the first banner notification corresponding to the first message, the method may further include the following steps:
in step S14, in response to the operation for the first banner notification, the first electronic device displays detailed information of the first message corresponding to the first banner notification. In one possible implementation, the operation for the first banner notification may be a touch operation for the first banner notification, and of course, the operation for the first banner notification may also be other types of operations, which are not limited in this application.
In the scheme provided by the embodiment of the application, after the first electronic device exits from the target state, a first banner notification is displayed in a current interface of the first electronic device. For example, if the first electronic device displays a display interface of a certain application after exiting the target state, a first banner notification is displayed in the display interface of the application, and then, after receiving an operation for the first banner notification, the first electronic device jumps to an interface displaying a notification center, and displays detailed information of the first message at the interface of the notification center.
Wherein the detailed information of the first message may include the content and the reception time of the first message. In addition, if the first message includes a notification message of a specific application forwarded by the second electronic device, the detailed information of the first message may further include a message of the second electronic device, so that the user determines that the first message originates from the second electronic device. The device information of the second electronic device may include a model number of the second electronic device or a device name set in advance for the second electronic device, and the like may point to the device information of the second electronic device. For example, the device information of the second electronic device may be represented by the following paradigm: the name of the application comes from your device name.
If the number of the first messages needing to display the detailed information is large, when the detailed information is displayed on the interface of the first electronic device, the detailed information of part of the first messages can be displayed according to the receiving time, and after receiving the operation of displaying other detailed information by the user, the detailed information of other first messages can be continuously displayed. In this case, the detailed information of the first message having the closest reception time to the current time is preferentially displayed, and after the user's operation is received, the detailed information of the other first messages is displayed.
To clarify the form of the detailed information of the first message, an example is disclosed below. In this example, referring to the schematic diagram shown in fig. 12 (a), the application corresponding to the first message includes: QQ, weChat and short message, the detailed information of the first message includes the content and receiving time of each first message. In addition, if the first banner notification is as shown in fig. 10, the reception time of the notification message of QQ is closest to the current reception time, and the notification message of QQ, that is, the notification message of QQ, may be preferentially displayed at the upper portion of the interface. Also, the first message of the three applications of QQ, weChat and short message includes 12 pieces, and is affected by the interface area, and fig. 12 (a) shows only detailed information of 4 pieces of the messages, and after receiving the operation of the user, the first electronic device may display detailed information of other first messages.
In another example, referring to the schematic diagram shown in fig. 12 (b), the application corresponding to the first message includes: QQ, weChat and short message, and the first message is a notification message of a specific application forwarded by the second electronic device, and the detailed information of the first message also comprises the model of the second electronic device. In fig. 12 (b), the device name of the second electronic device is "Magic 3", and the detailed information of the first message further includes "Magic 3 from you".
In another example, referring to the schematic diagram shown in fig. 12 (c), the first message includes a notification message of an application of interest of the first electronic device and a notification message of a specific application forwarded by the second electronic device, where the notification message of the application of interest of the first electronic device is derived from three applications of QQ, weChat and short message, the first message forwarded by the second electronic device is derived from one application of WeChat, and the device name of the second electronic device is "Magic 3", then the detailed information of the notification message of the application of interest of the first electronic device includes the content and the receiving time of the first message, and the WeChat message forwarded by the second electronic device further includes "Magic 3 from you".
In the above embodiment, the scheme of reminding the first message through the first banner notification is described in the case that the received notification message is the first message when the first electronic device is in the target state. In some scenarios, when the first electronic device is in the target state, other notification messages are also received, and accordingly, another embodiment is provided herein. In this embodiment, the method further comprises the steps of:
after the first electronic device in the target state receives at least one second message, the first electronic device generates and displays a second banner notification corresponding to the second message, wherein the second message comprises a notification message of a target application of the first electronic device and/or a notification message of the target application forwarded by the second electronic device.
The target applications may include an incoming call application and an alarm clock application, among others. In the actual application process, the user does not want to miss the notification messages of the incoming call application and the alarm clock application, in this case, even if the first electronic device is in the target state, after receiving the second message, the first electronic device generates and displays a corresponding second banner notification to remind the user, so as to avoid the user from missing the notification messages of the incoming call application and the alarm clock application.
In this step, since the first electronic device displays the second banner notification corresponding to the second message when the first electronic device is in the target state, the alert mode for the second message may be referred to as a strong alert. In one possible implementation, the second banner notification may be displayed at the top or bottom of the interface of the first electronic device in the target state when the strong reminder is made.
The second banner notification may include the content of the second message, for example, if the second message includes a notification message of an incoming call application, the second banner notification may include a phone number of the incoming call, or if the first electronic device stores a user name corresponding to the phone number, the second banner notification may include the user name; if the second message comprises a notification message of an alarm clock application, the second banner notification may comprise an alarm clock time corresponding to the notification message.
In order to clarify the notification method of the electronic device for different messages in the embodiment of the present application, fig. 13 is provided. Referring to the flowchart shown in fig. 13, the method for notifying a message provided in the embodiment of the present application includes the following steps:
step S21, the first electronic device receives the notification message.
The notification message may include a notification message of an application of the first electronic device, and may also include a notification message forwarded by the second electronic device.
Step S22, the first electronic device judges whether the first electronic device is in a target state or not, if not, the operation of step S23 is executed, and if yes, the operation of step S24 is executed.
Step S23, if the first electronic equipment is not in the target state, the first electronic equipment reminds according to the reminding specification of the notification message. That is, when the first electronic device is not in the target state, the notification message is reminded according to the current general mode.
Step S24, if the first electronic device is in the target state, the first electronic device judges whether the notification message is the second message, if so, the operation of step S25 is executed, and if not, the operation of step S26 is executed.
In the step, the second message includes a notification message of a target application of the first electronic device, and/or a notification message of a target application forwarded by the second electronic device, where the target application may include an alarm clock application and an incoming call application, and the corresponding second message is an alarm clock notification message and an incoming call notification message.
And step S25, if the notification message is the second message, the first electronic device displays the strong prompt through the banner. That is, if the first electronic device receives the second message while in the target state, the top or bottom of the first electronic device interface displays a second banner notification corresponding to the second message.
In step S26, if the notification message is not the second message, the first electronic device determines whether the notification message is the first message. If not, the operation of step S27 is performed, and if yes, the operation of step S28 is performed.
In this step, the first message includes a notification message of the application of interest of the first electronic device, and/or a notification message of the specific application forwarded by the second electronic device.
Step S27, if the notification message is not the first message, the first electronic device performs silent notification on the notification message.
Step S28, if the notification message is the first message, the first electronic device acquires the parameters of the first message. The parameters of the first message comprise the name and the icon of the application corresponding to the first message.
If the first message is a notification message forwarded by the second electronic device, the second electronic device may also forward the name and the icon of the application corresponding to the notification message when forwarding the notification message, and the first electronic device may determine the name and the icon of the application corresponding to the first message based on the forwarding of the second electronic device.
In step S29, the first electronic device stores parameters of the first message, where the parameters of the first message may be stored in a to-be-reminded list in an application layer of the first electronic device.
Step S30, the first electronic equipment responds to the operation that the first electronic equipment exits from the target state, and the list to be reminded is queried.
Step S31, the first electronic device judges whether the list to be reminded is empty or not through inquiry, if yes, the operation is ended, and if not, the operation of step S32 is executed.
Step S32, if the list to be reminded is not empty, the first electronic device judges whether the number of applications corresponding to the first message is greater than N, if so, the operation of step S33 is executed, and if not, the operation of step S34 is executed.
Step S33, if the number of applications corresponding to the first message is greater than N, the first electronic device selects parameters of the first message corresponding to the N applications to construct an aggregate alert notification (i.e., a first banner notification), and then step S35 is executed.
The receiving time of the first message corresponding to the N applications is usually later than the receiving time of the first message corresponding to the other applications.
In step S34, if the number of applications corresponding to the first messages is not greater than N, the first electronic device constructs an aggregate alert notification (i.e., a first banner notification) through parameters of all the first messages, and then step S35 is executed.
In step S35, the first electronic device displays an aggregate alert notification (i.e., a first banner notification).
Through the steps, the first electronic equipment can correspondingly remind various notification messages received when the first electronic equipment is in the target state. For the first message, after exiting the target state, the first electronic device displays a first banner notification corresponding to the first message; for the second message, even if the first electronic device is in a target state, the first electronic device can display a second banner notification corresponding to the second message, namely, strongly prompting the second message; for notification messages other than the first message and the second message, the first electronic device performs silent notification when receiving the notification message. By the scheme, the user can be prevented from missing the notice message which is focused, the reminding notice is not required to be constructed for the notice message which is not focused by the user, the user is prevented from being interfered by the notice message which is not focused by the user, and the operation executed by the first electronic equipment is simplified.
Through fig. 2, a software structure of a first electronic device implementing a notification method of a message provided in an embodiment of the present application is disclosed. In order to clarify the implementation of the notification method of the message, the operations performed by the respective modules in the software structure are described below by respective embodiments.
To clarify the process of the first electronic device receiving the notification message forwarded by the second electronic device, the timing diagram shown in fig. 14 is disclosed. In the embodiment corresponding to fig. 14, the first electronic device may receive the notification message forwarded by the second electronic device. In one possible implementation, the scenario in which the first electronic device receives the notification message forwarded by the second electronic device may be as described in scenario 2 above. The application layer of the first electronic device includes a super notification module, and after receiving notification messages forwarded by other electronic devices, the super notification module may analyze the received notification messages, where the analyzing may include forwarding the notification messages into a standard format, so that the first electronic device may perform a corresponding alert on the notification messages forwarded by the other electronic devices. In one possible design, the super notification module may include: the system comprises a connection framework, a message receiving module and a message analyzing module. And, the application framework layer of the first electronic device comprises an NMS.
Referring to fig. 14, this embodiment includes the steps of:
step S41, the connection framework of the first electronic device receives the message forwarded by the second electronic device.
Step S42, the connection framework of the first electronic device sends the message to the message receiving module of the first electronic device.
Step S43, the message receiving module of the first electronic device determines the type of the received message. In this step, the message received by the message receiving module may be a message in an object profile (javascript object notation, JSON) format, and the message receiving module determines the type of the received message based on the content included in each field in the message in the JSON format.
Step S44, if the message receiving module determines that the message is a notification message, the message receiving module sends the notification message to the message analyzing module of the first electronic device.
Step S45, after the message analysis module of the first electronic device receives the notification message, analysis processing is carried out on the notification message. The JSON format is not a standard format of notification messages, and in this step, the notification messages can be converted into a standard format of notification messages by parsing processing of the message parsing module.
Step S46, the message analysis module sends the notification message after analysis processing to the application framework layer of the first electronic device. Wherein the notification message after the parsing process may be received by the NMS of the application framework layer.
Through the operations from step S41 to step S46, the first electronic device may receive the notification message sent by the second electronic device, and convert the notification message into a notification message conforming to the standard format, so as to process the converted notification message subsequently, determine a corresponding reminding manner for the notification message, and avoid the user missing the message of the second electronic device.
The NMS of the first electronic device, after receiving the notification message, sends the notification message to the application layer of the first electronic device. The application layer may include: the system comprises a notification management module, a banner reminding module, a database and a notification center. Furthermore, in order to implement the notification method of the message provided by the embodiment of the application, a decision engine module and a notice notification module are further extended in the application layer.
The decision engine module is used for monitoring the state of the first electronic equipment and determining the state of the electronic equipment according to the monitoring result. The attention notification module may set a to-be-reminded list, where the to-be-reminded list may store parameters of the first message received when the first electronic device is in the target state, so that after the first electronic device exits the target state, a corresponding first banner notification is constructed and displayed based on the to-be-reminded list, and the parameters of the first message may include a name and/or an icon of an application corresponding to the first message. Further, the to-be-reminded list may also store the content of the first message.
The database may store information of the application of interest such that the notification management module determines whether the received notification message originated from the application of interest based on the stored information of the application of interest when the electronic device is determined to be in the target state. The information of the focused application may include information that can distinguish between different applications, such as a name and/or icon of the focused application.
In the using process of the first electronic device, the NMS in the application framework layer of the first electronic device can receive the notification message and send the notification message to the application layer, and all modules in the application layer are matched with each other to realize the notification method of the message provided by the embodiment of the application.
Fig. 15 to 17 are disclosed for clarity of operations performed by each module in the application layer of the first electronic device in the process of executing the notification method of the message provided in the embodiment of the present application.
In the embodiment corresponding to fig. 15, the first electronic device is not in the target state, and the embodiment includes the following steps:
step S51, after the NMS in the application framework layer receives the notification message, the NMS sends the notification message to the notification management module in the application layer.
Wherein the notification message may comprise a notification message of an application within the first electronic device and may further comprise a notification message forwarded by the second electronic device. If the notification message comprises a notification message forwarded by the second electronic device, the NMS may receive the notification message via the corresponding embodiment of FIG. 15.
Step S52, after receiving the notification message, the notification management module sends the notification message to the notification center. After sending the notification message to the notification center, the notification center may present the notification message so that the user can view the notification message through the notification center.
Step S53, the notification management module sends a state query request of the first electronic device to the decision engine module. The status query request is for requesting a query of a status of the first electronic device.
In step S54, the decision engine module may be configured to monitor a status of the first electronic device. After receiving the state query request, the decision engine module sends state information of the first electronic device to the notification management module according to a monitoring result of the state of the first electronic device.
Step S55, the notification management module judges whether the first electronic device is in a target state or not according to the state information sent by the decision engine module.
In one possible implementation, the state information sent by the decision engine module may include each state field, and the identifier corresponding to each state field, where the identifier corresponding to the state field includes two types, one for indicating that the first electronic device is in the state, and the other for indicating that the first electronic device is not in the state. In this case, the notification management module may determine, based on the status field and the identifier corresponding to the status field, the status in which the first electronic device is located.
In one example, the identification corresponding to the status field includes a "1" and a "0," the "1" indicating that the first electronic device is in the status, "0" indicating that the first electronic device is not in the status, and the target status includes: an immersive state, a screen-throwing state, a shared desktop state, a no-disturbance state, an extended navigation-following state and an application assistant no-disturbance state. In this case, if, in the state information sent by the decision engine module, the identifier corresponding to the immersive state field is 1, and the identifiers corresponding to the other state fields are 0, the notification management module may determine that the first electronic device is in the immersive state, further determine that the first electronic device is in the target state, and if, in the state information sent by the decision engine module, the identifiers corresponding to the immersive state, the screen-throwing state, the shared desktop state, the no-disturbance state, the extended navigation-following state, and the application assistant no-disturbance state are all 0, the notification management module may determine that the first electronic device is not in the target state.
Step S56, the notification management module sends a notification message to the banner reminding module when determining that the first electronic device is not in the target state based on the operation of step S55.
And step S57, executing corresponding reminding by the banner reminding module according to the specification corresponding to the notification message.
In the schemes of step S51 to step S57, the first electronic device is not in the target state, in which case, after receiving the notification message, the application layer may display a corresponding alert notification according to the specification of the notification message.
In the embodiment corresponding to fig. 16, the notification message received by the application layer is the second message, and the embodiment includes the following steps:
step S61, after the NMS in the application framework layer receives the notification message, the NMS sends the notification message to the notification management module in the application layer.
Step S62, after receiving the notification message, the notification management module sends the notification message to the notification center.
Step S63, the notification management module sends a state query request of the first electronic device to the decision engine module. The status query request is for requesting a query of a status of the first electronic device.
Step S64, after receiving the state query request, the decision engine module sends state information of the first electronic device to the notification management module according to a monitoring result of the state of the first electronic device.
Step S65, the notification management module judges whether the first electronic device is in a target state or not according to the state information sent by the decision engine module.
The specific operation procedures of step S61 to step S65 are the same as those of step S51 to step S55, and are referred to each other, and are not repeated here.
In step S66, if it is determined that the first electronic device is in the target state, the notification management module determines whether the notification message is a second message.
The second message comprises a notification message of a target application of the first electronic device, and/or a notification message of the target application forwarded by the second electronic device, and the target application can comprise an alarm clock application and an incoming call application, that is, the second message comprises an alarm clock notification message and an incoming call notification message.
Step S67, the notification management module sends the second message to the banner reminding module when the notification message is determined to be the second message.
Step S68, the banner reminding module carries out strong reminding on the second message, wherein the strong reminding mode can be that a second banner notification corresponding to the second message is displayed in a banner mode.
In the schemes disclosed in step S61 to step S68, when the first electronic device is in the target state and the received notification message is the second message, even if the first electronic device is in the target state, the second message is correspondingly reminded, so that the user can be prevented from missing the second message.
In the embodiment corresponding to fig. 17, the notification message received by the application layer is the first message, and the embodiment includes the following steps:
step S71, after the NMS in the application framework layer receives the notification message, the NMS sends the notification message to the notification management module in the application layer.
Step S72, the notification management module sends a notification message to the notification center.
Step S73, after receiving the notification message, the notification management module sends a state query request of the first electronic device to the decision engine module. The status query request is for requesting a query of a status of the first electronic device.
Step S74, after receiving the state query request, the decision engine module sends state information of the first electronic device to the notification management module according to a monitoring result of the state of the first electronic device.
Step S75, the notification management module judges whether the first electronic device is in a target state or not according to the state information sent by the decision engine module.
In step S76, the notification management module determines whether the notification message is a second message if it is determined that the first electronic device is in the target state.
The specific operation procedures of step S71 to step S76 are the same as those of step S61 to step S66, and are referred to each other, and will not be repeated here.
In step S77, in the case where it is determined that the notification message is not the second message, the notification management module queries whether the notification message originates from the application of interest of the first electronic device by querying a database, where information of the application of interest is stored in the database.
The first electronic device may set an application as a focused application according to the received operation, for example, the electronic device may determine that the application is a focused application according to the operation corresponding to fig. 6, or cancel the focus on the application.
In the embodiment of the present application, after setting a certain application as an application of interest, the electronic device may store relevant information (for example, a name or an icon) of the application in the database, and delete the information of the application stored in the database after canceling the interest of the certain application. In this case, by querying the information stored in the database, it can be determined whether the source of the notification message is the application of interest.
Step S78, the notification management module judges whether the notification message is a first message, and if the notification message is a notification message originating from an application of interest of the first electronic device or a designated application forwarded by the second electronic device, the notification message is determined to be the first message. Wherein the designated application may be other applications than an incoming call application and an alarm clock application.
Step S79, if the notification message is the first message, the notification management module sends the parameters of the first message to the attention notification module.
The attention notification module may include a to-be-reminded list, in which case parameters of the first message may be stored into the to-be-reminded list. Further, the content of the first message may also be stored in the to-be-reminded list.
In step S80, after the first electronic device exits from the target state, the engine decision module monitors that the state of the first electronic device changes through monitoring the state of the electronic device.
In step S81, the decision engine module determines that the first electronic device exits the target state based on the change of the state of the first electronic device.
In step S82, the engine decision module sends a state change alert to the attention notification module, where the state change alert is used to alert the first electronic device that the state is not currently a target state.
Step S83, after receiving the state change prompt, the attention notification module detects whether the to-be-prompted list is empty.
Step S84, if the attention notification module determines that the to-be-reminded list is not empty, constructing an aggregate state notification according to the parameters of the first message stored in the to-be-reminded list, wherein the aggregate state notification is the first banner notification, and the parameters of the first message can include the name and the icon of the application corresponding to the first message.
In one possible implementation, the attention notification module may construct an aggregate alert according to the operations of steps S131 through S134.
Step S85, the attention notification module sends an aggregate alert notification (i.e. a first banner notification) to the NMS.
Step S86, after receiving the aggregate state reminding notification, the NMS sends the aggregate state reminding notification to the notification management module.
Step S87, the notification management module displays the aggregate state reminding notification after receiving the aggregate state reminding notification.
In the schemes disclosed in step S71 to step S87, if the first electronic device receives the first message when in the target state, after the first electronic device exits the target state, the aggregate state alert notification (i.e., the first banner notification) is displayed to prompt the user, so as to avoid the user missing the first message.
In order to clarify the notification method of the message provided in the present application, another embodiment is disclosed below. Referring to the workflow diagram shown in fig. 18, the notification method of the message includes the steps of:
step S91, in response to a first operation of the user, the first electronic device enters a target state.
In one possible implementation, the target state includes any one of the following: the immersion state, the screen-throwing state, the shared desktop state, the no-disturbance state, the extended navigation-following state and the application assistant no-disturbance state, and the target state may further include other states, which are not limited in this application, and the mode of entering the target state is not limited.
In the process of being in the target state, the first electronic device receives a plurality of first messages, and the first electronic device does not remind the first messages.
Specifically, in this step, the first electronic device receiving the plurality of first messages may include: the first electronic device stores parameters of a plurality of first messages, wherein the parameters of the first messages comprise names and icons of applications corresponding to the first messages.
The plurality of first messages come from a plurality of different applications, for example, the plurality of first messages can come from WeChat, QQ, short message and other applications respectively. The first message includes a notification message of an application of interest of the first electronic device and/or a notification message of a designated application forwarded by the second electronic device.
In one possible implementation, the designated application is an alarm application and other applications than an incoming call application.
In addition, because the first electronic device is in the target state, the user does not want to be disturbed, and therefore, even if the first message is received, the first electronic device in the target state does not remind, and the user is prevented from being disturbed.
In step S93, in response to a second operation of exiting the target state, the first electronic device displays a first banner notification corresponding to the plurality of first messages, where the first banner notification includes a first icon and names of a plurality of different applications, the first icon is related to a plurality of second icons, and the second icon is an icon of a plurality of different applications.
Specifically, in this step, displaying, by the first electronic device, a first banner notification corresponding to the plurality of first messages may include: and generating and displaying a first banner notification corresponding to the first message based on the stored parameters of the first message.
Through the steps, the first electronic device can display the first banner notification after exiting the target state, wherein the first banner notification comprises icons and names of a plurality of different applications, so that a user can determine the source of the first message through the first banner notification, and the user is prevented from missing the first message.
Further, the first banner notification further includes a number of first messages corresponding to the plurality of different applications, and/or a prompt message, where the prompt message is used to describe the first message as a notification message received when the first electronic device is in the target state.
The first icon may include a plurality of second icons arranged in sequence, where each second icon partially obscures a second icon adjacent in a preset direction.
In one possible implementation, the first banner notification may be as shown in the first banner notification 100 of fig. 10, although the first banner notification may be in other forms, which is not limited in this application.
According to the scheme, when the first electronic equipment is in the target state, the first electronic equipment does not remind the received first message, and when the first electronic equipment exits from the target state, the first message received by the first electronic equipment in the target state process is reminded through the first banner notification, so that the user is prevented from missing the first message.
Further, in the solution provided in the embodiment of the present application, before the first electronic device receives the plurality of first messages, the method further includes the following steps:
responding to the interface display operation aiming at the first electronic equipment, wherein the first electronic equipment displays an interface of a notification center, and the interface of the notification center displays at least one notification message;
in response to an attention operation for the first electronic device, the first electronic device determines that an application indicated by the attention operation is an attention application, and the attention operation is used for selecting an application corresponding to any notification message displayed in an interface of the notification center as the attention application.
Through the above steps, setting of the application of interest can be achieved. Specifically, in response to the attention operation for the first electronic device, the first electronic device determines that the application indicated by the attention operation is the attention application, which may refer to the embodiments corresponding to the operations in fig. 5, 6 and steps S111 to S114, and will not be described herein.
In step S93 described above, an operation of displaying the first banner notification corresponding to the first message by the first electronic device in response to the second operation of exiting the target state is disclosed. Wherein the first banner notification may include names and icons of all applications corresponding to the first message received during the target state by the first electronic device.
Or, in order to avoid that the first banner notification contains too much content and affects the viewing effect of the user, the first banner notification may include names and icons of at most N applications corresponding to the first message, where N is a preset positive integer. For example, N is five, i.e., the first banner notification includes icons and names of at most five applications.
In a possible implementation manner, the implementation process of displaying one first banner notification corresponding to the plurality of first messages by the first electronic device may refer to fig. 9 and operations of steps S131 to S134, and corresponding embodiments are not described herein again.
Further, referring to the workflow diagram shown in fig. 19, the notification method of the message includes the following steps:
in step S94, after the first electronic device displays one first banner notification corresponding to the plurality of first messages, in response to an operation for the first banner notification, the first electronic device displays detailed information of the first message corresponding to the first banner notification, where the detailed information of the first message includes content and receiving time of the first message, so that a user knows the content and receiving time of the first message according to the detailed information.
In addition, in the case that the first message includes a notification message of a specific application forwarded by the second electronic device, the detailed information of the first message further includes device information of the second electronic device, so that the user knows the source of the first message according to the detailed information.
In one possible implementation, the interface for displaying the detailed information of the first message by the first electronic device may be as shown in fig. 12 (a) to 12 (c).
Further, in the solution provided in the embodiment of the present application, the method further includes the following steps:
in the process of being in the target state, the first electronic equipment receives a second message, wherein the second message comprises a notification message of a target application of the first electronic equipment and/or a notification message of the target application forwarded by the second electronic equipment;
the first electronic device displays a second banner notification corresponding to the second message in the process of being in the target state, wherein the second banner notification comprises the content of the second message.
The target application may include an alarm clock application and/or an incoming call application, among others. The second banner notification includes the content of the second message, for example, if the second message includes a notification message of an incoming call application, the second banner notification may include a phone number of the incoming call, or if the first electronic device stores a user name corresponding to the phone number, the second banner notification may include the user name; if the second message comprises a notification message of an alarm clock application, the second banner notification may comprise an alarm clock time corresponding to the notification message.
Through the steps, even if the first electronic equipment is in the target state, after receiving the second information, the first electronic equipment can display a corresponding second banner notification so as to remind the user, and the user is prevented from missing the notification message of the target application.
Further, in the solution disclosed in the embodiment of the present application, the method may further include the following steps:
after the first electronic device determines that the application indicated by the attention operation is an attention application, the first electronic device cancels attention to the attention application in response to a cancel operation for any one of the attention applications.
After canceling the attention to a certain application of interest, the application is no longer an application of interest. Specifically, in response to the cancel operation for any one of the interested applications, the first electronic device cancels the attention to the interested application, which may refer to the embodiments corresponding to the operations of fig. 7, 8 and steps S115 to S118, and will not be described herein.
In the solution provided in the foregoing embodiments of the present application, the first electronic device may perform a corresponding alert on various notification messages received when the first electronic device is in a target state. For a first message received when the first electronic equipment is in a target state, after the first electronic equipment exits from the target state, the first electronic equipment displays a first banner notification corresponding to the first message; for a second message received when the first electronic equipment is in the target state, the first electronic equipment can display a second banner notification corresponding to the second message, namely, the first electronic equipment carries out strong reminding on the second message even if the first electronic equipment is in the target state; for notification messages other than the first message and the second message, the first electronic device performs silent notification when receiving the notification message. By the scheme, the user can be prevented from missing the notice message which is focused, and the reminding notice is not required to be constructed for the notice message which is not focused by the user, so that the user is prevented from being interfered by the notice message which is not focused by the user.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
The embodiment of the application discloses a notification device of a message. Referring to the schematic structural diagram shown in fig. 20, the notification device of the message includes:
a state entry module 210, configured to control, in response to a first operation of a user on a first electronic device, the first electronic device to enter a target state;
a message receiving module 220, configured to receive a plurality of first messages in the target state, where the first electronic device is in the target state, the plurality of first messages are from a plurality of different applications, the first messages include notification messages of an application of interest of the first electronic device, and/or notification messages of a specific application forwarded by a second electronic device, where the first electronic device does not remind the first messages;
the banner notification module 230 is configured to display a first banner notification corresponding to a plurality of first messages in response to a second operation of exiting the target state, where the first banner notification includes a first icon and names of the plurality of different applications, the first icon is related to a plurality of second icons, and the second icon is an icon of the plurality of different applications.
The message receiving module 220 may be specifically configured to store parameters of the first message, where the parameters of the first message include a name and an icon of an application corresponding to the first message; the banner notification module 230 may be specifically configured to generate and display a first banner notification corresponding to the first message based on the stored parameter of the first message.
In one possible design, the target state includes any one of the following states: an immersive state, a screen-throwing state, a shared desktop state, a no-disturbance state, an extended navigation-following state and an application assistant no-disturbance state.
In a possible design, the first banner notification further includes a number of the first messages corresponding to the plurality of different applications, and/or a hint information, where the hint information is used to describe that the first message is a notification message received when the first electronic device is in a target state;
icons of the plurality of different applications included in the first banner notification are arranged into an icon combination, and an icon of the application corresponding to a first message with the latest receiving time in the icon combination is located at the leftmost side.
In one possible design, the notification means of the message is further adapted to:
Before the first electronic equipment receives a plurality of first messages, responding to an interface display operation aiming at the first electronic equipment, displaying an interface of a notification center, wherein the interface of the notification center displays at least one notification message;
and responding to the attention operation aiming at the first electronic equipment, determining the application indicated by the attention operation as the attention application, wherein the attention operation is used for selecting the application corresponding to any notification message displayed in the interface of the notification center as the attention application.
In one possible design, the notification device of the message is specifically configured to perform the following operations:
when the first electronic equipment displays an interface of the notification center, responding to a third operation of one notification message displayed on the interface, and displaying a setting control corresponding to the notification message;
responding to a fourth operation for the setting control, and displaying a first menu option for setting the application corresponding to the setting control as the concerned application;
responsive to a fifth operation for the first menu option, displaying an inquiry message of whether to focus on the application, the inquiry message including determining a focus option;
In response to a sixth operation for determining an option of interest included in the query message, the application is set as an application of interest.
In one possible design, the notification device of the message is specifically configured to perform the following operations:
judging whether the number of the applications corresponding to the first message is larger than N or not based on the parameters of the first message, wherein the parameters of the first message comprise the names and icons of the applications corresponding to the first message;
if the number of the applications corresponding to the first message is not greater than N, generating and displaying a first banner notification corresponding to the plurality of first messages based on names and icons of all the applications corresponding to the first message;
if the number of the applications corresponding to the first message is greater than N, determining N applications in the applications corresponding to the first message based on the receiving time of the first message, wherein the receiving time of the first message corresponding to the N applications is later than the receiving time of the first message corresponding to other applications;
and generating and displaying a first banner notification corresponding to the first messages based on the names and icons of the N applications.
In one possible design, the notification device of the message is further configured to, after the first electronic device displays the first banner notification corresponding to the first message, display detailed information of the first message corresponding to the first banner notification in response to an operation for the first banner notification, where the detailed information of the first message includes content and receiving time of the first message.
In one possible design, in the case that the first message includes a notification message of a specific application forwarded by the second electronic device, the detailed information of the first message further includes device information of the second electronic device.
In a possible design, the notification device of the message is further configured to receive, during the process in the target state, a second message, where the notification message includes a notification message of a target application of the first electronic device, and/or a notification message of the target application forwarded by the second electronic device;
and displaying a second banner notification corresponding to the second message in the process that the first electronic equipment is in the target state, wherein the second banner notification comprises the content of the second message. Illustratively, the target application includes an alarm clock application and/or an incoming call application.
In one possible design, the notification means of the message is further configured to cancel the attention to the attention application in response to a cancel operation for any one of the attention applications after determining that the application indicated by the attention operation is the attention application.
In one possible design, the notification device of the message is specifically configured to, when the first electronic device displays an interface of the notification center, respond to a seventh operation for one of the notification messages displayed on the interface, and display a setting control corresponding to the notification message;
Responsive to an eighth operation for the setting control, displaying a second menu option to cancel attention to an application corresponding to the setting control;
in response to a ninth operation for the second menu option, displaying query information whether to cancel attention to the application, the query information including determining to cancel attention to an option;
in response to a tenth operation to cancel the attention option for the determination, canceling the attention to the application.
Accordingly, an embodiment of the present application discloses an electronic device, referring to a schematic structural diagram shown in fig. 21, where the electronic device includes:
the processor 1101 and a memory,
the memory is used for storing program instructions;
the processor 1101 is configured to invoke and execute program instructions stored in the memory, where the program instructions stored in the memory, when executed by the processor 1101, cause the electronic device to perform all or part of the steps in the embodiments corresponding to fig. 4, 5, 7, 9, 11, and 13 to 19.
Further, the electronic device may further include: a transceiver 1102 and a bus 1103, the memories include a random access memory 1104 and a read-only memory 1105.
The processor is coupled to the receiver, the random access memory and the read-only memory through buses respectively. When the electronic equipment needs to be operated, the electronic equipment is guided to enter a normal operation state by starting a basic input/output system solidified in a read-only memory or a bootloader guiding system in an embedded system. After the electronic device enters a normal operation state, an application program and an operating system are run in the random access memory, so that the electronic device executes all or part of the steps in the embodiments corresponding to fig. 4, 5, 7, 9, 11 and 13 to 19.
The electronic device according to the embodiment of the present invention may correspond to the electronic device in the embodiment corresponding to fig. 4, fig. 5, fig. 7, fig. 9, fig. 11, and fig. 13 to fig. 19, and the processor and the storage in the electronic device may implement the functions and/or the various steps and methods implemented in the electronic device in the embodiment corresponding to fig. 4, fig. 5, fig. 7, fig. 9, fig. 11, and fig. 13 to fig. 19, which are not repeated herein for brevity.
In a specific implementation, the embodiment of the application further provides a computer storage medium, where a computer program or an instruction is stored in the computer storage medium, and when the computer program or the instruction are executed, the computer may implement all or part of the steps in the embodiments corresponding to fig. 4, fig. 5, fig. 7, fig. 9, fig. 11, and fig. 13 to fig. 19. The computer readable storage medium is provided in any device, which may be a random-access memory (RAM), and the memory may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD), or a Solid State Drive (SSD); the memory may also include combinations of the above types of memories, and the like.
Embodiments of the present application also provide a chip system, where the chip system includes a processor, where the processor is coupled to a memory, and is configured to execute a computer program or instructions stored in the memory, where the computer program or instructions, when executed, may cause the chip system to implement all or part of the steps in the embodiments corresponding to fig. 4, 5, 7, 9, 11, and 13 to 19. The chip system may be formed of a chip or may include a chip and other discrete devices.
The various illustrative logical blocks and circuits described in the embodiments of the present application may be implemented or performed with a general purpose processor, a digital information processor, an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the general purpose processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital information processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital information processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments of the present application may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software elements may be stored in random access memory (random access memory, RAM), flash memory, read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disk, a removable disk, a portable compact disc read-only memory (compact disc read-only memory), or any other form of storage medium known in the art. In an example, a storage medium may be coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may reside in a User Equipment (UE). In the alternative, the processor and the storage medium may reside in different components in a UE.
It should be understood that, in various embodiments of the present application, the size of the sequence number of each process does not mean that the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The same and similar parts of the embodiments of this specification are all mutually referred to, and each embodiment is mainly described in the differences from the other embodiments. In particular, for apparatus and system embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the description of the method embodiments section.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the embodiments of the road constraint determining apparatus disclosed in the present application, since it is substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description in the method embodiments for the matters.
The embodiments of the present invention described above do not limit the scope of the present invention.

Claims (14)

1. A method of notifying a message, comprising:
responding to a first operation of a user, and enabling the first electronic equipment to enter a target state;
in the process of being in the target state, the first electronic equipment receives a plurality of first messages, and stores parameters of the first messages into a to-be-reminded list, wherein the first messages are from a plurality of different applications, the first messages comprise notification messages of concerned applications of the first electronic equipment and/or notification messages of appointed applications forwarded by the second electronic equipment, the first electronic equipment does not remind the first messages, and the parameters of the first messages comprise names and icons of the applications corresponding to the first messages;
responding to a second operation of exiting the target state, detecting the to-be-reminded list by the first electronic device, if the to-be-reminded list is not empty, displaying a first banner notification corresponding to the plurality of first messages, wherein the first banner notification comprises a first icon and names of the plurality of different applications, the first icon is related to a plurality of second icons, the second icons are icons of the plurality of different applications, the first icon comprises a plurality of second icons which are sequentially arranged, and each second icon partially shields the second icons adjacent to each other in a preset direction;
The first electronic device displays a first banner notification corresponding to the first messages, including:
if the to-be-reminded list is queried, determining that the number of applications corresponding to the first message is not more than N, and generating and displaying a first banner notification corresponding to the plurality of first messages by the first electronic equipment based on names and icons of all applications corresponding to the first message;
and if the number of the applications corresponding to the first messages is greater than N, the first electronic equipment selects parameters of the first messages corresponding to the N applications, and generates and displays a first banner notification corresponding to the plurality of first messages.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the target state includes any one of the following states: an immersive state, a screen-throwing state, a shared desktop state, a no-disturbance state, an extended navigation-following state and an application assistant no-disturbance state.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the first banner notification further includes a number of the first messages and a hint information describing that the first messages are notification messages received when the first electronic device is in the target state.
4. The method of claim 1, wherein the first icon comprises the plurality of second icons arranged in sequence, wherein each second icon partially obscures a second icon adjacent in a predetermined direction.
5. The method of claim 1, further comprising, prior to the first electronic device receiving the plurality of first messages:
responding to an interface display operation aiming at the first electronic equipment, wherein the first electronic equipment displays an interface of a notification center, and the interface of the notification center displays at least one notification message;
in response to an attention operation for the first electronic device, the first electronic device determines that an application indicated by the attention operation is the attention application, and the attention operation is used for selecting an application corresponding to any notification message displayed in an interface of the notification center as the attention application.
6. The method of claim 5, wherein the determining, by the first electronic device, that the application indicated by the operation of interest is the application of interest in response to the operation of interest for the first electronic device comprises:
when the first electronic equipment displays an interface of the notification center, responding to a third operation of one notification message displayed on the interface, and displaying a setting control corresponding to the notification message by the first electronic equipment;
Responding to a fourth operation for the setting control, and displaying a first menu option for setting an application corresponding to the setting control as the concerned application by the first electronic equipment;
responsive to a fifth operation for the first menu option, the first electronic device displays an inquiry message of whether to focus on the application, the inquiry message including a determination of a focus option;
in response to a sixth operation for the determined option of interest included in the query message, the first electronic device sets the application as an application of interest.
7. The method of any of claims 1-6, further comprising, after the first electronic device displays a first banner notification corresponding to the plurality of first messages:
in response to an operation for the first banner notification, the first electronic device displays detailed information of the first message corresponding to the first banner notification, the detailed information of the first message including content and a time of receipt of the first message.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
in the case that the first message includes a notification message of a specific application forwarded by the second electronic device, the detailed information of the first message further includes device information of the second electronic device.
9. The method as recited in claim 1, further comprising:
in the process of being in the target state, the first electronic equipment receives a second message, wherein the second message comprises a notification message of a target application of the first electronic equipment and/or a notification message of the target application forwarded by the second electronic equipment, and the target application comprises an alarm clock application and/or an incoming call application;
and the first electronic equipment displays a second banner notification corresponding to the second message in the process of being in the target state, wherein the second banner notification comprises the content of the second message.
10. The method of claim 5, further comprising, after the first electronic device determines that the application indicated by the operation of interest is the application of interest:
in response to a cancel operation for any one of the applications of interest, the first electronic device cancels the interest of the application of interest.
11. The method of claim 10, wherein the first electronic device canceling the attention to the attention application in response to a cancel operation for any one of the attention applications, comprising:
When the first electronic equipment displays an interface of the notification center, responding to a seventh operation of one notification message displayed on the interface, and displaying a setting control corresponding to the notification message by the first electronic equipment;
responsive to an eighth operation for the setting control, the first electronic device displays a second menu option to cancel attention to an application corresponding to the setting control;
responsive to a ninth operation for the second menu option, the first electronic device displays query information of whether to cancel focusing on the application, the query information including determining to cancel focusing on an option;
in response to a tenth operation for the determining to cancel the attention option, the first electronic device cancels the attention to the application.
12. An electronic device, comprising: a processor and a memory; the memory stores program instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-11.
13. A computer storage medium having stored therein a computer program or instructions which, when executed, is adapted to carry out the method of any one of claims 1-11.
14. A chip system comprising a processor coupled to a memory for executing a computer program or instructions stored in the memory, which when executed, is adapted to carry out the method of any one of claims 1-11.
CN202210893312.4A 2022-07-27 2022-07-27 Message notification method, electronic device, computer storage medium and chip system Active CN116055617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210893312.4A CN116055617B (en) 2022-07-27 2022-07-27 Message notification method, electronic device, computer storage medium and chip system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210893312.4A CN116055617B (en) 2022-07-27 2022-07-27 Message notification method, electronic device, computer storage medium and chip system

Publications (2)

Publication Number Publication Date
CN116055617A CN116055617A (en) 2023-05-02
CN116055617B true CN116055617B (en) 2024-03-29

Family

ID=86114055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210893312.4A Active CN116055617B (en) 2022-07-27 2022-07-27 Message notification method, electronic device, computer storage medium and chip system

Country Status (1)

Country Link
CN (1) CN116055617B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534495A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Method of information processing, device and equipment
CN108540646A (en) * 2018-03-12 2018-09-14 广东欧珀移动通信有限公司 Message prompt method, device, equipment and storage medium
CN109032441A (en) * 2017-06-09 2018-12-18 阿里巴巴集团控股有限公司 A kind of management method at interface, device, equipment and storage medium
CN109814767A (en) * 2018-12-10 2019-05-28 华为技术有限公司 Message treatment method and relevant apparatus
CN110114747A (en) * 2017-10-09 2019-08-09 华为技术有限公司 A kind of notifier processes method and electronic equipment
CN111158539A (en) * 2019-11-27 2020-05-15 华为技术有限公司 Method for processing unread message and terminal equipment
CN113806105A (en) * 2021-08-02 2021-12-17 荣耀终端有限公司 Message processing method and device, electronic equipment and readable storage medium
CN114173204A (en) * 2020-08-20 2022-03-11 华为技术有限公司 Message prompting method, electronic equipment and system
WO2022100556A1 (en) * 2020-11-11 2022-05-19 华为技术有限公司 Notification message management method and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534495A (en) * 2016-10-31 2017-03-22 北京小米移动软件有限公司 Method of information processing, device and equipment
CN109032441A (en) * 2017-06-09 2018-12-18 阿里巴巴集团控股有限公司 A kind of management method at interface, device, equipment and storage medium
CN110114747A (en) * 2017-10-09 2019-08-09 华为技术有限公司 A kind of notifier processes method and electronic equipment
CN108540646A (en) * 2018-03-12 2018-09-14 广东欧珀移动通信有限公司 Message prompt method, device, equipment and storage medium
CN109814767A (en) * 2018-12-10 2019-05-28 华为技术有限公司 Message treatment method and relevant apparatus
CN111158539A (en) * 2019-11-27 2020-05-15 华为技术有限公司 Method for processing unread message and terminal equipment
CN114173204A (en) * 2020-08-20 2022-03-11 华为技术有限公司 Message prompting method, electronic equipment and system
WO2022100556A1 (en) * 2020-11-11 2022-05-19 华为技术有限公司 Notification message management method and electronic device
CN113806105A (en) * 2021-08-02 2021-12-17 荣耀终端有限公司 Message processing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN116055617A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
WO2021057868A1 (en) Interface switching method and electronic device
KR101457632B1 (en) Mobile electronic device having program notification function and program notification method thereof
AU2014288039A1 (en) Remote operation of applications using received data
KR20150025613A (en) Apparatas and method for displaying relevant information of application in an electronic device
CN115793916A (en) Method, electronic device and system for displaying multiple windows
CN113986092B (en) Message display method and device
CN110383244A (en) A kind of operation method and terminal of calculator
KR20150057085A (en) Apparatas and method for reducing a power consumption in an electronic device
CN113432619A (en) Navigation route display method, vehicle and mobile terminal
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
US20230362782A1 (en) Data Sharing Method, Electronic Device, and System
CN111935353B (en) Mobile terminal and short message display method thereof
US11991040B2 (en) Network configuration method and device
CN116055617B (en) Message notification method, electronic device, computer storage medium and chip system
CN113608610B (en) Interaction control method, electronic equipment and system
KR20140003115A (en) Mobile terminal and method for controlling of the same
CN114020379B (en) Terminal equipment, information feedback method and storage medium
CN113900740A (en) Method and device for loading multiple list data
CN113641431A (en) Method and terminal equipment for enhancing display of two-dimensional code
CN112351144A (en) Mobile terminal and state prompting method thereof
CN113642010A (en) Method for acquiring data of extended storage device and mobile terminal
CN112929858B (en) Method and terminal for simulating access control card
CN116302295B (en) Interface display method
CN115291995B (en) Message display method, related electronic equipment and readable storage medium
WO2022135199A1 (en) Information processing method, electronic device, and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant