CN113806105A - Message processing method and device, electronic equipment and readable storage medium - Google Patents

Message processing method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113806105A
CN113806105A CN202110883201.0A CN202110883201A CN113806105A CN 113806105 A CN113806105 A CN 113806105A CN 202110883201 A CN202110883201 A CN 202110883201A CN 113806105 A CN113806105 A CN 113806105A
Authority
CN
China
Prior art keywords
notification message
period
interface
notification
message
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.)
Granted
Application number
CN202110883201.0A
Other languages
Chinese (zh)
Other versions
CN113806105B (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 CN202110883201.0A priority Critical patent/CN113806105B/en
Publication of CN113806105A publication Critical patent/CN113806105A/en
Application granted granted Critical
Publication of CN113806105B publication Critical patent/CN113806105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a message processing method, a message processing device, electronic equipment and a readable storage medium, and relates to the technical field of terminals. According to the message processing method, the electronic equipment can preset the prompt time period and/or the disturbance-free time period of the target application program. After the subsequent electronic equipment receives the first notification message marked with the identification of the target application program, the electronic equipment displays the first notification message, so that the user can timely sense that a new notification message comes from the target application program in the prompting period. After the subsequent electronic equipment receives the first notification message marked with the identification of the target application program, the electronic equipment discards the first notification message or caches the first notification message. Therefore, the user can not perceive that the target application program comes from a new notification message in the disturbance-free period, and the user is prevented from being disturbed in the disturbance-free period.

Description

Message processing method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a message processing method and apparatus, an electronic device, and a readable storage medium.
Background
The user can realize the life functions of making a call, watching live broadcast, ordering and taking away, chatting and the like through different application programs of the electronic equipment. Typically, the merchant server will send a notification message to the electronic device that is associated with the target application corresponding to the merchant server.
For example,
Figure BDA0003192962700000011
to a server installed with
Figure BDA0003192962700000012
An electronic device of the application program that sends a notification with a work message; as yet another example of an implementation of the method,
Figure BDA0003192962700000013
to a server installed with
Figure BDA0003192962700000014
And the electronic equipment of the application program sends the notification information of the new anchor online. And the electronic equipment outputs prompt information after receiving the notification message so as to prompt the user that the electronic equipment receives the notification message.
However, with the increase of the application programs, the number of notification messages is increased, and more notification messages cause interference to users and occupy resources of the electronic device.
Disclosure of Invention
The application provides a message processing method, a message processing device, an electronic device and a readable storage medium, aiming at a target application program, a notification message associated with the target application program can be output only in a prompt period, and the notification message associated with the target application program is not output in a disturbance-free period. In this way, the user can perceive the notification message with high attention without being disturbed.
In a first aspect, the present application provides a message processing method, including: the electronic device sets a reminder period and/or a do-not-disturb period for the target application. The electronic device receives a first notification message, wherein the first notification message is tagged with an identification of a target application. When the first moment belongs to the prompt time interval and/or the first moment does not belong to the disturbance-free time interval, the electronic equipment displays a first interface. The first interface comprises a first notification message, and the first moment is the moment when the electronic equipment receives the first notification message. Or when the first time does not belong to the prompt time interval and/or the first time belongs to the disturbance-free time interval, the electronic device caches the first notification message, or discards the first notification message. The first interface may be the lock screen interface 1101 in the following embodiments.
According to the message processing method, the electronic equipment can preset the prompt time period and/or the disturbance-free time period of the target application program. Since the prompt time interval is the time interval in which the user wants to sense the first notification message of the target application program, after the subsequent electronic device receives the first notification message marked with the identifier of the target application program, the electronic device displays the first notification message, so that the user can sense that a new notification message comes from the target application program in time in the prompt time interval. Since the do-not-disturb period is a period in which the user does not want to perceive the first notification message of the target application, after the subsequent electronic device receives the first notification message marked with the identifier of the target application, the electronic device discards the first notification message or caches the first notification message. Therefore, the user can not perceive that the target application program comes from a new notification message in the disturbance-free period, and the user is prevented from being disturbed in the disturbance-free period.
In one possible implementation manner, the electronic device sets a prompt period and/or a do-not-disturb period of the target application, including: the electronic device displays a second interface. And the second interface displays at least one time interval, and a switch button for switching on or off the time interval is displayed near any one time interval. The electronic equipment responds to the triggering operation of the at least one switch button, and sets a prompt time interval and/or a disturbance-free time interval according to the time interval corresponding to the at least one switch button. Therefore, the user can complete the setting of the prompt time interval and/or the disturbance-free time interval only by triggering the switch button, and the method is convenient and quick. The second interface may be the fourth operation interface 705 in the following embodiments.
Or, in another possible implementation manner, the electronic device is in communication connection with at least one smart home device, and the electronic device sets a prompt period and/or an undisturbed period of the target application program, including: and the electronic equipment displays a third interface, wherein the third interface comprises an adding button. The electronic equipment responds to the trigger operation of the adding button, and obtains the mode time period of at least one piece of intelligent household equipment. And the electronic equipment displays a fourth interface, wherein the fourth interface displays at least one acquired mode time period, and a switch button for switching on or off the time period is displayed near any one mode time period. The electronic equipment responds to the triggering operation of the at least one switch button, and sets a prompt time interval and/or a disturbance-free time interval according to the mode time interval corresponding to the at least one switch button. Therefore, the user can directly set the prompt time interval and/or the disturbance-free time interval according to the mode time interval of the intelligent household equipment, and the method is convenient and fast. The third interface may be a fifth operation interface in the following embodiments. The fourth interface may be the sixth operation interface 1003 in the following embodiments.
Or, in another possible implementation manner, the electronic device sets a prompt period and/or a do-not-disturb period of the target application, including: and the electronic equipment responds to the trigger operation and displays a fifth interface, and the fifth interface comprises a time input area. The electronic equipment receives the time period input in the time input area, and sets a prompt time period and/or a disturbance-free time period according to the input time period. In this way, the user can directly input any time period according to personal requirements to flexibly configure the prompt time period and/or the disturbance-free time period. The fifth interface may be a sixth operation interface 1003 in the following embodiments.
In one possible implementation, before the electronic device receives the first notification message, the method further includes:
the electronic equipment displays a second interface, and the second interface comprises a cache notification button used for turning on or turning off the cache function. The electronic equipment responds to the triggering operation of the cache notification button and controls the cache notification button to be in an open state. The electronic device caching the first notification message includes: and when the electronic equipment detects that the cache notification button is in an open state, caching the first notification message. The first notification message is buffered so that the buffered first notification message can be subsequently displayed. The second interface may be the fourth operation interface 705 in the following embodiments.
In one possible implementation, after caching the first notification message, the method further includes: the electronic equipment calculates the duration of the first time from the starting time of the prompting time interval. The electronic device starts timing. After the expiration time is counted, the electronic device displays a second notification message. And displaying the second notification message on the seventh interface, wherein the second notification message is used for indicating that 1 first notification message is cached. In this way, the user can be prompted with the missed first notification message without being disturbed. The seventh interface may be a screen locking interface 1201 in the following embodiments.
In one possible implementation, the second interface further includes a view cache notification button, and after the electronic device caches the first notification message, the method further includes: and the electronic equipment responds to the triggering operation of the user on the view cache notification button, and displays a second notification message on a second interface, wherein the second notification message is used for indicating that 1 piece of the first notification message is cached. Thus, the user can refer to the missed first notification message at any time.
Further, after the electronic device displays the second notification message, the method further comprises: the electronic equipment responds to the triggering operation of the second notification message and displays the first notification message. In this way, the user can again review the missed first notification message without being disturbed.
In one possible implementation, after the electronic device displays the second notification message, the method further includes: and if the electronic equipment does not receive the triggering operation of the second notification message before the end time of the prompting time interval, canceling the display of the second notification message at the end time of the prompting time interval so as to avoid causing interference to the user. The electronic device receives a first notification message at a next do-not-disturb period. The electronic device displays a second notification message at the beginning of the next reminder period. The second notification message is used for indicating that 2 pieces of the first notification messages are cached. As such, the second notification message may inform the user that a reference to 2 notification messages was missed.
In one possible implementation manner, the electronic device caches a plurality of first notification messages, and after the electronic device caches the first notification messages, the method further includes: the electronic equipment calculates the duration of the first time from the starting time of the prompting time interval. The electronic device starts timing. After the expiration time is counted, the electronic equipment displays a plurality of first notification messages. The electronic equipment responds to the triggering operation of a target notification message in the plurality of first notification messages and displays the message content associated with the target notification message. The electronic device cancels displaying the first notification message that is not triggered and deletes the cached first notification message that is not triggered. Thus, memory space can be saved.
In a possible implementation manner, the prompting time interval is an independent time interval or comprises a plurality of discontinuous sub-time intervals; the do-not-disturb period is a separate one or includes a plurality of discrete sub-periods.
In one possible implementation, after the electronic device displays the first interface, the method further includes:
the electronic device displays a ninth interface in response to the triggering operation of the first notification message, wherein the ninth interface comprises message content associated with the first notification message. In this way, the user can refer to the message content associated with the first notification message at the ninth interface.
In a second aspect, the present application further provides a message processing apparatus, including:
and the processing unit is used for setting a prompt time interval and/or a disturbance-free time interval of the target application program. A receiving unit, configured to receive a first notification message. Wherein the first notification message is marked with an identification of the target application. The display unit is used for displaying the first interface on the electronic equipment when the first moment belongs to the prompt time interval and/or the first moment does not belong to the disturbance-free time interval. The first interface comprises a first notification message, and the first moment is the moment when the electronic equipment receives the first notification message. Or, the processing unit is further configured to, when the first time does not belong to the prompt time period and/or the first time belongs to the disturbance-free time period, the electronic device buffers the first notification message, or discards the first notification message.
In a possible implementation manner, the display unit is further configured to display a second interface on the electronic device. And the second interface displays at least one time interval, and a switch button for switching on or off the time interval is displayed near any one time interval. And the processing unit is used for responding to the triggering operation of the at least one switch button and setting a prompting time interval and/or a disturbance-free time interval according to the time interval corresponding to the at least one switch button.
Or, in a possible implementation manner, the electronic device is in communication connection with at least one smart home device, and the display unit is further configured to display a third interface. Wherein the third interface comprises an add button. And the receiving unit is also used for responding to the triggering operation of the adding button and acquiring the mode time interval of at least one piece of intelligent household equipment. And the display unit is also used for displaying the fourth interface. And the fourth interface displays at least one acquired mode time period, and a switch button for switching on or off the time period is displayed near any one mode time period. And the processing unit is also used for responding to the triggering operation of the at least one switch button and setting a prompt time interval and/or a disturbance-free time interval according to the mode time interval corresponding to the at least one switch button.
Or, in a possible implementation manner, the display unit is further configured to display a fifth interface in response to the trigger operation, where the fifth interface includes a time input area. And the receiving unit is also used for receiving the time period input in the time input area and setting a prompt time period and/or a disturbance-free time period according to the input time period.
In a possible implementation manner, the display unit is further configured to display a sixth interface, where the sixth interface includes a cache notification button configured to turn on or turn off the cache function. And the processing unit is also used for responding to the triggering operation of the buffer notification button and controlling the buffer notification button to be in an open state. And the processing unit is also used for caching the first notification message when the cache notification button is detected to be in an open state.
In a possible implementation manner, the processing unit is further configured to calculate a duration of the first time from a start time of the presentation period, and start timing.
And the display unit is also used for displaying a second notification message after the timing expiration. And displaying the second notification message on the seventh interface, wherein the second notification message is used for indicating that 1 first notification message is cached.
In one possible implementation, the second interface further includes a view cache notification button. And the display unit is also used for responding to the triggering operation of the user on the view cache notification button and displaying the second notification message on the second interface. The second notification message is used for indicating that 1 first notification message is cached.
In a possible implementation manner, the display unit is further configured to display the first notification message in response to a triggering operation on the second notification message.
In a possible implementation manner, the display unit is further configured to cancel displaying the second notification message at the end time of the prompt time period if the trigger operation of the second notification message is not received before the end time of the prompt time period.
A receiving unit, further configured to receive the first notification message in a next do-not-disturb period.
And the display unit is also used for displaying the second notification message at the starting moment of the next prompting period. The second notification message is used for indicating that 2 pieces of the first notification messages are cached.
In one possible implementation, the electronic device caches a plurality of first notification messages.
And the processing unit is also used for calculating the time length from the first time to the starting time of the prompting time interval and starting timing.
And the display unit is also used for displaying a plurality of first notification messages after the timing expiration time.
And the display unit is also used for responding to the triggering operation of a target notification message in the plurality of first notification messages and displaying the message content associated with the target notification message.
The processing unit is further configured to cancel displaying the first notification message that is not triggered, and delete the cached first notification message that is not triggered.
In a third aspect, the present application further provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message processing method as provided by the first aspect of the present application.
In a fourth aspect, the present application also provides a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the message processing method as provided in the first aspect of the present application.
In a fifth aspect, the present application also provides a computer program product comprising a computer program or instructions which, when executed by a processor, implements the message processing method as provided in the first aspect of the present application.
Drawings
FIG. 1 is a diagram illustrating a scenario in which user A watches TV at home;
FIG. 2 is a schematic diagram of an interface in which an electronic device receives a notification message associated with a tremble at 19: 30;
FIG. 3 is a schematic diagram of an interface in which the electronic device receives a notification message associated with a staple at 19: 50;
FIG. 4 is a diagram of a hardware system architecture of a terminal device;
FIG. 5 is a diagram of a software system architecture of a terminal device;
fig. 6 is a flowchart of a notification message processing method according to an embodiment of the present application;
fig. 7 is one of schematic diagrams of an interface for setting a prompt period according to an embodiment of the present disclosure;
fig. 8 is a second schematic view of an interface for setting a prompt period according to an embodiment of the present application;
fig. 9 is a scene schematic diagram illustrating a situation that a user a interconnects an electronic device with a smart television and a smart sound box at home according to the embodiment of the present application;
fig. 10 is a third schematic view of an interface for setting a prompt period according to the embodiment of the present application;
fig. 11 is one of schematic interfaces for outputting a first notification message according to an embodiment of the present application;
fig. 12 is one of schematic interfaces for outputting a second notification message according to an embodiment of the present application;
fig. 13 is a second schematic view of an interface for outputting a second notification message according to the embodiment of the present application;
fig. 14 is a third schematic view of an interface for outputting a first notification message according to an embodiment of the present application;
fig. 15 is a third schematic view of an interface for outputting a second notification message according to the embodiment of the present application;
fig. 16 is a fourth schematic view of an interface for outputting the first notification message according to the embodiment of the present application (without reaching, the view button may be triggered at any time, the cache button is viewed, the notification list is popped up, one of the notifications is selected, and the notification enters the message display interface).
Fig. 17 is a fifth schematic interface diagram of outputting a first notification message according to the embodiment of the present application.
Fig. 18 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 19 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
In the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same or similar items having substantially the same function and action. For example, the first value and the second value are only used to distinguish different values, and the order of the values is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It is noted that, in the present application, words such as "exemplary" or "for example" are used to mean exemplary, illustrative, or descriptive. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Currently, a user can realize life functions such as making a call, watching live broadcast, taking out and chatting through different application programs of the electronic device 100. Typically, the merchant server will send a notification message associated with the target application corresponding to the merchant server to the electronic device 100 to enhance the user's stickiness of use of the target application corresponding to the merchant server. For example, as shown in FIG. 1, user A starts a day's busy work after 9:00 visits the office, sitting at the office computer.
Subsequently, as shown in FIG. 2, the electronic device 100 receives information from at 9:30
Figure BDA0003192962700000051
A notification message 201 of the server, the notification message 201 is "1 message sent by 1 colleague". As also shown in FIG. 2, the electronic device 100 displays a notification message 201 and plays an alert tone to alert the user that there is a colleague to send a message. The 9:30 is typically during the work hours of user a's life, with user a having a high level of attention to information associated with work. In this way, the user can trigger the notification message 201 displayed on the display screen,and then open
Figure BDA0003192962700000052
The display interface can be used for looking up the content of the message sent by the colleague, thereby bringing convenience to the user.
Subsequently, as shown in FIG. 3, user A's electronic device 100 receives data from at 10:00
Figure BDA0003192962700000053
A notification message 301 of the server, the notification message 301 being "
Figure BDA0003192962700000054
There is a new anchor on line ". The electronic device 100 displays the notification message 301 and plays a prompt tone to prompt the user
Figure BDA0003192962700000055
There is a new anchor on-line. It will be appreciated that 10:00 is also typically during the work hours of user A's life, and that user A does not wish to perceive ANDing
Figure BDA0003192962700000056
An associated notification message. Thus, the electronic device 100 displays the notification message 201 and plays the alert tone, which may interfere with the user's work.
In view of this, the embodiment of the present application provides a message processing method, which enables a user to customize a prompt time period and an undisturbed time period of each application according to a living habit of the user. After the electronic device 100 receives the notification message of the target application, if the first time belongs to the prompt time period of the target application, the electronic device 100 outputs the notification message of the target application on the display screen, otherwise, if the first time belongs to the disturbance-free time period of the target application, the electronic device 100 does not output the notification message of the target application. In this way, the user can perceive the notification message with high attention without being disturbed.
It is understood that the electronic device may be a mobile phone (mobile phone), a smart tv, a wearable device, a tablet computer (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving (self-driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on. The embodiment of the present application does not limit the specific technology and the specific device form adopted by the terminal device.
In order to better understand the embodiments of the present application, the following describes the structure of the electronic device according to the embodiments of the present application. For example, fig. 4 is a schematic structural diagram of an electronic device to which the embodiment of the present application is applicable. As shown in fig. 4, the electronic device 100 may include: the mobile terminal includes a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic apparatus 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, a Display Processing Unit (DPU), and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110. The processor may be, among other things, a neural center and a command center of the electronic device 100. The processor can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses, reduces the latency of the processor 110, and thus increases the efficiency of the electronic device 100.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is an illustrative description, and does not limit the structure of the electronic apparatus 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, etc. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLAN), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), NFC, Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technologies may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, GNSS, WLAN, NFC, FM, and/or IR technologies, among others. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a bei dou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 may implement display functions via the GPU, the display screen 194, and the application processor. The application processor may comprise an NPU, a DPU. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute instructions to generate or change display information. The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like. The DPU is also called a Display Sub-System (DSS), and is used for adjusting the color of the Display screen 194, and the DPU may adjust the color of the Display screen through a three-dimensional look-up table (3D LUT). The DPU may also perform scaling, noise reduction, contrast enhancement, backlight brightness management, hdr processing, display parameter Gamma adjustment, and the like on the picture.
The display screen 194 is used to display images, notification messages, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a capture function via the ISP, one or more cameras 193, video codec, GPU, one or more display screens 194, and application processor, among others.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data files such as music, photos, videos, and the like are saved in the external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may cause the electronic device 100 to execute various functional applications, data processing, and the like by executing the above-described instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage area may also store one or more application programs (e.g., gallery, contacts, etc.), etc. The storage data area may store data (e.g., photos, contacts, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to execute various functional applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110.
The internal memory 121 is used to store information files in the embodiment of the present application. The information file may include a corresponding relationship between a package name of the application program and the prompt time period or the disturbance-free time period. The file position directory of the corresponding relation between the package name of the application program and the prompt time interval and the disturbance-free time interval in the information file is as follows: xml, "/data/system/notification _ policy". The correspondence between the package name of the application program and the prompt period may include: for example,
Figure BDA0003192962700000091
the prompt time interval corresponding to the program package name of (1) is 18:00-20:00 and/or the disturbance-free time interval is 20: 00-18:00 of the next day,
Figure BDA0003192962700000092
the program package names of the program packages are corresponding to prompt time periods of 9:00-12:00 and 14:00-18:00, and/or disturbance-free time periods of 00: 00-9: 00. 12:00-14:00, and 18:00-24:00, the reminder period corresponding to the package name of the mei-qu is 12:00-2:00, and/or the do-not-disturb period is 2: 00-the next day 12:00, and so on, without limitation.
In addition, at the moment of receiving the notification message of the target application program, when the non-disturbance period corresponding to the package name of the target application program is belonged, the information file can also cache the notification message of the target application program. For example,
Figure BDA0003192962700000093
the package name of (1) is 20: 00-18:00 of the next day, and the electronic device receives the information from the electronic device at 16:50
Figure BDA0003192962700000094
When the server receives the notification message 1, caching the notification message 1 in an information file; the electronic device receives the information from the electronic device at 17:50
Figure BDA0003192962700000095
Figure BDA0003192962700000096
The notification message 2 of the server is also cached in the information file. Wherein, the file location directory of the notification message 1 and the notification message 2 in the information file may be "/data/data/com.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc. The audio module 170 is configured to convert digital audio information into an analog audio signal for output, and also configured 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 some functional modules of the audio module 170 may be disposed in the processor 110. The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call. The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person. The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on. The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, may be an open mobile electronic device platform (OMTP) standard interface of 3.5mm, and may also be a CTIA (cellular telecommunications industry association) standard interface.
The sensors 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting 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 can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyro sensor 180B may also be used for navigation, body sensing game scenes, and the like.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys or touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card, eSIM card, may be embedded in the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of the electronic device 100. Fig. 5 is a block diagram of a software structure of an electronic device to which the embodiment of the present application is applied. The layered architecture divides the software system of the electronic device 100 into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into five layers, namely an application layer (applications), an application framework layer (application framework), an Android runtime (Android runtime), and a system library, a Hardware Abstraction Layer (HAL), and a kernel layer (kernel).
The application layer may include a series of application packages, and the application layer runs the application by calling an Application Programming Interface (API) provided by the application framework layer. As shown in FIG. 5, an application package may include
Figure BDA0003192962700000101
Beauty, talk, map, navigation, WLAN, bluetooth, enterprise, gallery, web acceleration and system UI applications.
The application framework layer provides an API and programming framework for the applications of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 5, 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 a clock manager, among others.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, 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, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.). The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application. The clock manager is used for timing and outputting a timing end instruction after timing is over, for example, the clock manager outputs a timing end instruction to the notification manager after timing is over.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager, is used to inform about the completion of the download, notify messages, etc. The notification manager may also display notification messages in the form of charts or scroll bars in the top status bar of the system, such as displaying notifications for applications running in the background, or may display notifications that appear on the screen in the form of dialog windows. Such as prompting for text information in the status bar, sounding a prompt tone, the electronic device 100 vibrating, flashing an indicator light, etc. Specifically, the code for the notification manager to generate the notification message may be:
private Builder(@Nullable Icon icon,@Nullable CharSequence title;
@Nullable PendingIntent intent,@NonNull Bundle extras;
@Nullable RemoteInput[]remoteInputs,boolean allowGeneratedReplies;
@SemanticAction int semanticAction){
mIcon=icon;
mTitle=title;
mIntent=intent;
mExtras=extras;
if(remoteInputs!=null){
mRemoteInputs=new ArrayList<RemoteInput>(remoteInputs.length);
Collections.addAll(mRemoteInputs,remoteInputs);}
mAllowGeneratedReplies=allowGeneratedReplies;
mSemanticAction=semanticAction;}
the android runtime includes a core library and a virtual machine. The android runtime is responsible for scheduling and managing the android system. The core library comprises 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 a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like. The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. 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, composition, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The hardware abstraction layer can contain a plurality of library modules, and the library modules can be camera library modules, motor library modules and the like. The Android system can load corresponding library modules for the equipment hardware, and then the purpose that the application program framework layer accesses the equipment hardware is achieved. The device hardware may include, for example, a motor, a camera, etc. in the electronic device.
The kernel layer is a layer between hardware and software. The kernel layer is used for driving hardware so that the hardware works. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver, a motor driver and the like, and the embodiment of the application does not limit the display driver, the camera driver, the audio driver, the sensor driver, the motor driver and the like. For example, in the embodiment of the present application, the kernel layer employs a display driver to drive a display screen in the electronic device 100, and displays the received notification message.
The message processing method provided in the embodiment of the present application is described below by taking the electronic device as the mobile phone 200 as an example, which is not limited to the embodiment of the present application. The following embodiments may be combined with each other and are not described in detail with respect to the same or similar concepts or processes. Fig. 6 is a flowchart illustrating an embodiment of a message processing method according to an embodiment of the present application. It should be noted that, for convenience of reading, the application interfaces possibly related in the step of fig. 6 will be described in detail in the subsequent embodiments, and details are not repeated in the embodiment corresponding to fig. 6. As shown in fig. 6, a message processing method provided in an embodiment of the present application may include:
s61: the handset 200 sets a prompt period and a do-not-disturb period for the target application.
The target application program is an application program which is defined in advance and in which a user wants to set a prompt time and a disturbance-free time period; the prompt time interval is a time interval when the first time belongs to the prompt time interval and the electronic equipment receives the notification message from the server of the target application program, and the notification message is displayed. The disturbance-free time interval is a time interval when the electronic equipment belongs to the disturbance-free time interval at the first moment and does not display the notification message when the notification message from the server of the target application program is received.
The mobile phone 200 can receive the prompt time interval and the disturbance-free time interval of different target application programs, which can be input by the user on the second interface according to the personal living habits. For example, the lifestyle of the user is 9:00-12:00 and 14:00-18:00 is the working time interval, 12:00-14:00 is the lunch time interval, 18:00-20:00 is the leisure and entertainment time interval, and 20: 00-the next day 9:00 is the rest time interval. During working hours the user only wants to perceive notification messages associated with work, during leisure and entertainment hours the user only wants to perceive notification messages associated with leisure and during rest hours the user does not want to perceive any notification messages.
Then, the handset 200 can receive the user's request
Figure BDA0003192962700000121
And
Figure BDA0003192962700000122
waiting for the office application, and inputting a prompt period 9 in the second interface: 00-12:00 and 14:00-18:00, so that the prompt time interval of the office application is consistent with the working time interval; handset 200 may also receive user directions
Figure BDA0003192962700000123
And
Figure BDA0003192962700000126
Figure BDA0003192962700000127
the prompt time interval input by the ordering application is 12:00-14:00, so that the prompt time interval of the ordering application is consistent with the lunch time interval; handset 200 may also receive user input
Figure BDA0003192962700000124
And
Figure BDA0003192962700000125
and setting the prompting time interval between 18:00 and 20:00 by the entertainment application so that the prompting time interval of the entertainment application is consistent with the leisure entertainment time interval. Then, for each target application described above, the cell phone 200 may also set a period other than the alert period in 24 hours as the disturbance-free period. After the prompt time interval and the disturbance-free time interval are set for each target application program, the mobile phone 200 may respectively establish a mapping relationship between the package name of each target application program and the set prompt time interval and disturbance-free time interval for storage. The mapping relationship may be stored in the internal memory 121 in the form of a mapping relationship table, for example. Wherein, the content of the mapping relation table is shown in the following table 1:
Figure BDA0003192962700000131
TABLE 1
In addition, after the prompt time period and the disturbance-free time period are successfully set, the mobile phone 200 can enter a screen-off state in response to a screen-off instruction input by a user; the user may also enter an interface for browsing news or an instant application chat interface, etc. in response to the interface switching operation input by the user, which is not limited herein.
S62: the handset 200 receives a first notification message, wherein the first notification message is tagged with an identification of a target application.
Wherein the first notification message is associated with the target application. The first notification message is used to indicate that a new message is currently coming. The target application program is
Figure BDA0003192962700000132
For example, handset 200 may receive a message from
Figure BDA0003192962700000133
Of server "has 1 from
Figure BDA0003192962700000134
Message of ". Wherein "1 of them are derived from
Figure BDA0003192962700000135
Is the first notification message, and there are 1 message from
Figure BDA0003192962700000136
Can be marked with
Figure BDA0003192962700000137
The name of the package of (a) is,
Figure BDA0003192962700000138
name of package of
Figure BDA0003192962700000139
Is detected.
S63: the mobile phone 200 inquires whether a prompt time interval and a disturbance-free time interval associated with the identification of the target application program are stored; if so, S64 is performed.
The specific implementation process of S63 may be as follows: handset 200 receives a message from
Figure BDA00031929627000001321
The server of (1), wherein the format of the first notification message is a data packet. The core layer of the handset 200 processes the packet into a notification event (including the time at which the packet was received, the time at which the notification event was received, the notification event was received, and the notification event was generated,
Figure BDA00031929627000001310
Package name of (d), etc.). The application framework layer of the mobile phone 200 acquires the notification event from the kernel layer and identifies the notification event
Figure BDA00031929627000001311
The application framework layer sends the data package to the application framework layer according to the package name
Figure BDA00031929627000001312
The application program of (1).
Figure BDA00031929627000001313
The application program packages the data packet into a first notification message, then sends the first notification message to a notification manager, and the notification manager acquires the first notification message carried in the first notification message
Figure BDA00031929627000001314
Figure BDA00031929627000001315
The application package name of (2) is inquired in the pre-stored information file through the file library in the system library to inquire whether the information file is stored and matched with the application package name
Figure BDA00031929627000001316
The application package name of (1) and a do-not-disturb period. Understandably, if included in the information file
Figure BDA00031929627000001317
Name of package of
Figure BDA00031929627000001318
The program package names of the mobile phone 200 correspond to a prompt time interval of 18:00-20:00 and an interference-free time interval of 20: 00-18:00 of the next day, and then the mobile phone 200 can use the program package names to inform the mobile phone according to the program package names carried in the first notification message
Figure BDA00031929627000001319
The application package name of (1) is inquired to the prompt time interval of 18:00-20:00 and the disturbance-free time interval of 20: 00-the next day of 18: 00.
S64: the handset 200 determines the time period to which the first time belongs.
The mobile phone 200 determines that the time period of the first time belongs to two cases, the first case is: the first time belongs to a prompt time interval; and the second method comprises the following steps: the first time belongs to the do-not-disturb period. Illustratively, as described in S63, it can be queried
Figure BDA00031929627000001320
The prompt time interval is 18:00-20:00, and the disturbance-free time interval is 20: 00-the next day is 18: 00. If the notification manager of the cell phone 200 obtains that the first time is 18:50 from the clock manager in the application framework layer, the cell phone 200 may determine that 18:50 belongs to the reminder period 18:00-20: 00. If the notification manager of the cell phone 200 obtains that the first time is 16:50 from the clock manager in the application framework layer, the cell phone 200 may determine that 16:50 belongs to the do-not-disturb period 20: 00-the next day 18: 00. Next, two processing manners of the first notification message when the first time belongs to the cue time period are described through S65 and two processing manners of the first notification message when the first time belongs to the disturbance-free time period are described through S66 to S68, respectively.
S65: if the first time belongs to the prompt time interval, the mobile phone 200 displays a first interface. Wherein the first interface includes a first notification message. The first time is the time when the mobile phone 200 receives the first notification message, and the first interface is an operation interface displayed by the mobile phone 200 at the first time.
As described in S64, if the notification manager of the cell phone 200 acquires from the clock manager in the application framework layer that the first time is 18:50, 18:50 belongs to the reminder period 18:00-20: 00. Further, the notification pipe of the mobile phone 200The processor sends a first notification message to a system UI of the application layer, and the system UI displays the first notification message on a first interface of the mobile phone 200 to prompt that the user has the first notification message
Figure BDA00031929627000001410
A notification message of (2). For example, if the first interface of the mobile phone 200 is a screen locking interface, the first notification message may be displayed on the screen locking interface; if the first interface of the mobile phone 200 is a news browsing interface, the first notification message may be displayed on the news browsing interface.
S66: if the first time belongs to the disturbance-free time period, the mobile phone 200 may detect whether the cache notification button is in the off state, and if so, S67; if not, S68 is executed.
S67: the handset 200 discards the first notification message.
Still target the application program
Figure BDA0003192962700000141
The first notification message is "there are 1 messages from
Figure BDA0003192962700000142
The message "of (2) is an example showing how the handset 200 discards the first notification message. If the first time is 16:50, and the first time is 16:50 in the disturbance-free period of 20: 00-the next day 18:00, the mobile phone 200 acquires the identifier which is stored in the information file and used for indicating the on-off state of the cache notification button. If the mobile phone 200 is in the setting
Figure BDA0003192962700000143
When the prompt period and the disturbance-free period are in the above-mentioned time period, the cache notification button is not turned on, so that the notification manager of the mobile phone 200 queries that the flag indicating the on-off state of the cache notification button is binary number "0" through the file system in the system library, and further determines that the cache notification button is in the off state. Thus, the handset 200 does not show that there are 1 bar from
Figure BDA0003192962700000144
Message of "but discard"1 is from
Figure BDA0003192962700000145
To save memory space of the handset 200. Furthermore, the user does not sense the first notification message in the non-disturbance period of 20: 00-the next day of 18:00, and the user is prevented from being disturbed in the non-disturbance period of 20: 00-the next day of 18: 00.
S68: the handset 200 buffers the first notification message.
Still target the application program
Figure BDA0003192962700000146
The first notification message is "there are 1 messages from
Figure BDA0003192962700000147
The message "of (a) is an example, which illustrates how the handset 200 caches the first notification message. If the first time is 16:50, and the first time is 16:50 in the disturbance-free period of 20: 00-the next day 18:00, the mobile phone 200 acquires the identifier which is stored in the information file and used for indicating the on-off state of the cache notification button. If the mobile phone 200 is in the setting
Figure BDA0003192962700000148
In the prompt period and the disturbance-free period, the cache notification button is turned on, so that the notification manager of the mobile phone 200 queries that the identifier indicating the on-off state of the cache notification button is binary number "1" through the file system in the system library, and further determines that the cache notification button is in the on state. Thus, the handset 200 does not show that there are 1 bar from
Figure BDA00031929627000001411
Instead of the cache "there are 1 message from
Figure BDA0003192962700000149
Message of ". Furthermore, the user does not sense the first notification message in the non-disturbance period of 20: 00-the next day of 18:00, so that the user is prevented from being disturbed in the non-disturbance period of 20: 00-the next day of 18: 00; and the handset 200 can subsequently output the cached first notification to the userAnd the user can conveniently look up the first notification message missed in the disturbance-free period.
In addition, in the above-mentioned S66-S68, when the first time belongs to the no-disturb period, it is described how to process the notification message by taking the example that the mobile phone 200 needs to detect whether the buffer notification button is in the off state. It should be noted that, the mobile phone 200 may also discard the first notification message or cache the first notification message without detecting whether the cache notification button is in the off state, which is not limited herein.
To sum up, according to the message processing method provided in the embodiment of the present application, the mobile phone 200 may preset the prompt time period and the disturbance-free time period of the target application program. The prompt time interval of the target application program is a time interval when the user only wants to sense the first notification message of the target application program, and the disturbance-free time interval of the target application program is a time interval when the user does not want to sense the first notification message of the target application program. Since the prompt period is a period in which the user wants to perceive the first notification message of the target application, after the subsequent mobile phone 200 receives the first notification message marked with the identifier of the target application, the mobile phone 200 displays the first notification message, so that the user can perceive that a new notification message comes from the target application in time in the prompt period. Since the do-not-disturb period is a period in which the user does not want to perceive the first notification message of the target application, after the subsequent mobile phone 200 receives the first notification message marked with the identifier of the target application, the mobile phone 200 discards the first notification message or caches the first notification message. Therefore, the user can not perceive that the target application program comes from a new notification message in the disturbance-free period, and the user is prevented from being disturbed in the disturbance-free period.
The following are
Figure BDA0003192962700000151
For example, how to implement the message processing method according to the embodiment corresponding to fig. 6 is described with reference to the interface operation diagrams of fig. 7 to fig. 16.
Illustratively, how the handset 200 is set for S61 in fig. 6 is described in conjunction with fig. 7-10
Figure BDA0003192962700000152
For the prompt period and the do-not-disturb period.
FIG. 7 shows a first arrangement provided in an embodiment of the present application
Figure BDA0003192962700000153
And (3) an interface schematic diagram of the prompt period and the do-not-disturb period. Wherein, the first setting
Figure BDA0003192962700000154
The prompting time interval and the disturbance-free time interval have the following modes: the user selects one of the plurality of prompt periods displayed by the mobile phone 200, and the mobile phone 200 configures the prompt period selected by the user to be the prompt period selected by the user
Figure BDA0003192962700000155
The prompt period of (1); the mobile phone 200 sets the time periods except the prompt time period in the preset period as the time periods
Figure BDA0003192962700000156
The do-not-disturb period of time.
Illustratively, as shown in fig. 7 (a), the mobile phone 200 displays a second operation interface (not shown in fig. 7) in response to a user's trigger operation on an icon of the mobile phone housekeeping application 702 at the first operation interface. The second operation interface displays a notification button (not shown in fig. 7), and the mobile phone 200 may display the third operation interface 703 in response to a trigger operation of the notification button by the user. As shown in fig. 7 (b), the third operation interface 703 displays QQ, WeChat, and,
Figure BDA0003192962700000158
Figure BDA0003192962700000159
And icons of target applications such as beauty groups. Handset 200 may respond to a user pairing
Figure BDA0003192962700000157
The triggering operation of the icon 704 enters a fourth operation interface 705.
As shown in (c) of fig. 7, a display frame 706 with a cue period and a cache notification button 710 in an off state are displayed on the fourth operation interface 705, and since any cue period is not currently input, the contents in the display frame 706 are empty. As can be appreciated, the display frame 706 is a period setting region. In addition, while the buffer notification button 110 remains off, the handset 200 does not buffer reception during the do-not-disturb period
Figure BDA00031929627000001510
The message of (2). Optionally, the user may also trigger the buffer notification button 710 in the off state, so that the buffer notification button 710 is in the on state, and when the buffer notification button 110 remains in the on state, the mobile phone 200 buffers the received data during the do-not-disturb period
Figure BDA00031929627000001511
The message of (2). In addition, optionally, the fourth operation interface 705 may further display a permission notification switch 713 in an on state, and in a case where the permission notification switch 713 is in the on state, the mobile phone 200 may receive a user input prompt period.
The mobile phone 200 may enter the fifth operation interface 707 in response to a user's trigger operation on the display frame 706. As shown in fig. 7 (d), the fifth operation interface 707 displays a plurality of preset presentation periods 12:00-13:00, 18:00-20:00, and 8:00-8:20, and one side of each presentation period displays a switch button 708 in an off state. Optionally, an immediate-on switch 714 in an off state and a timing switch 715 in an on state are also displayed in the fifth operation interface 707. The handset 200 can receive the prompt period input by the user with the immediate on switch 714 in the off state and the timing switch 715 in the on state.
If the user only wants to sense at 18:00-20:00
Figure BDA00031929627000001512
The first notification message of (1) is thenThe user can select to trigger the switch button 708 on one side of the prompt period 18:00-20:00, and as shown in (e) in fig. 7, the mobile phone 200 controls the switch button 708 to be in the on state in response to the user's trigger operation on the switch button 708, and then sets the switch button 708 to be in the on state
Figure BDA0003192962700000161
The prompting time interval is 18:00-20: 00. If the preset period is 24 hours, the mobile phone 200 automatically sets
Figure BDA0003192962700000162
The period of non-disturbance of (1) is 20: 00-18:00 of the next day. The cellular phone 200 may also return to the fourth operation interface 705 in response to a user's trigger operation of the return button 709. As shown in fig. 7 (f), a display frame 705 of the fourth operation interface 705 is displayed
Figure BDA0003192962700000163
Figure BDA0003192962700000164
The prompt time interval of 18:00-20:00 is provided for the user to consult the prompt time interval 18:00-20:00 which is set successfully. It can be seen that the above-mentioned prompt period and the do-not-disturb time are both independent periods.
Optionally, if the user also wishes to perceive at 12:00-13:00
Figure BDA0003192962700000165
The handset 200 may further add one in response to the user's trigger operation of the switch button for the reminder period 12:00-13:00
Figure BDA0003192962700000166
The prompt period of (1) is 12:00-13: 00. Thus, after the subsequent mobile phone 200 returns to the fourth operation interface 705, the added operation interface is also displayed in the display frame 705 of the fourth operation interface 705
Figure BDA0003192962700000167
12:00-13:00 (not shown in fig. 7). Can be used forIt is seen that the reminder period may comprise sub-periods 18:00-20:00 and sub-periods 12:00-13:00, i.e. the reminder period may comprise a plurality of discrete sub-periods. Accordingly, the do-not-disturb period includes sub-period 13:00-18:00 and sub-period 20: 00-next day 12:00, i.e., the do-not-disturb period may also include a plurality of discrete sub-periods.
FIG. 8 is a second arrangement provided in embodiments of the present application
Figure BDA0003192962700000168
And (3) an interface schematic diagram of the prompt period and the do-not-disturb period. In the first arrangement
Figure BDA0003192962700000169
The way of the prompt period and the do-not-disturb period of (A) is different from that of the second setting
Figure BDA00031929627000001610
The prompting time interval and the disturbance-free time interval have the following modes: the user selects one of the periods of no-disturb from the plurality of periods of no-disturb displayed by the mobile phone 200, and the mobile phone 200 configures the period of no-disturb prompt selected by the user to be the period of no-disturb
Figure BDA00031929627000001611
Do not disturb period of time; the mobile phone 200 sets the time periods except the disturbance-free time period in the preset period as
Figure BDA00031929627000001612
The alert period of (1).
Illustratively, as shown in fig. 8 (a), the cell phone 200 displays a second operation interface (not shown in fig. 8) in response to a user's trigger operation on an icon of the cell phone housekeeping application 802. The second operation interface displays a notification button (not shown in fig. 8), and the mobile phone 200 displays a third operation interface 803 in response to a trigger operation of the notification button by the user. As shown in fig. 8 (b), the third operation interface 803 displays QQ, WeChat, and,
Figure BDA00031929627000001613
And target such as beauty ballIcon of application, handset 200 responds to user's pair
Figure BDA00031929627000001614
The trigger operation of the icon 804 enters the fourth operation interface 805.
As shown in (c) in fig. 8, a display frame 806 with the disturbance-free period and the cache notification button 110 in the off state are displayed on the fourth operation interface 805. The mobile phone 200 prestores an identifier for indicating the on-off state of the cache notification button, and when the cache notification button 110 is in the off state, the identifier of the on-off state of the cache notification button 110 is binary number "0". Since no do-not-disturb period is currently being entered, the contents in display box 806 are empty. As can be appreciated, the display frame 806 sets a region for the time period. In addition, while the buffer notification button 110 remains off, the handset 200 does not buffer reception during the do-not-disturb period
Figure BDA00031929627000001615
The message of (2). Optionally, the user may also trigger the buffer notification button 710 in the off state, so that the buffer notification button 710 is in the on state, and when the buffer notification button 110 remains in the on state, the mobile phone 200 buffers the received data during the do-not-disturb period
Figure BDA00031929627000001616
The message of (2). In addition, optionally, the fourth operation interface 805 may further display a permission notification switch 813 in an on state, and in a case where the permission notification switch 813 is in the on state, the mobile phone 200 may receive a user input prompt period.
The mobile phone 200 enters the fifth operation interface 807 in response to the user's trigger operation on the display frame 805. As shown in (d) in fig. 8, the fifth operation interface 807 displays a plurality of disturbance-free periods 13 that are preset: 00-day 12: 00. 20: 00-day 18: 00. and 8: 20-day 8:00, on one side of each do-not-disturb period, a toggle button 708 is displayed in an off state. Optionally, an immediate-on switch 814 and an off-state immediate-on switch are also displayed in the fifth operation interface 807A timing switch 815 in an on state. With the immediate on switch 814 in the off state and the timer switch 815 in the on state, the handset 200 may receive a user input do not disturb period. The user may choose to trigger the do not disturb period 20: 00-day 18: a switch button 808 on the 00 side, as shown in (e) of fig. 8, the mobile phone 200 responds to the trigger operation of the switch button 808 by the user, so that the switch button 808 is in an on state, and then the setting is carried out
Figure BDA0003192962700000171
The do-not-disturb period of (a) is 20: 00-day 18: 00; if the preset period is 24 hours, the mobile phone 200 automatically sets
Figure BDA0003192962700000172
The prompting time interval is 18:00-20: 00. The user can also trigger a return button 809 in the fifth operation interface 805, and the mobile phone 200 returns to the fourth operation interface 805 in response to the user's triggering operation of the return button 809. As shown in (f) in fig. 8, in the display frame 805 of the fourth operation interface 805, a screen is displayed
Figure BDA0003192962700000173
Do-not-disturb period 20: 00-day 18:00 for the user to consult the setup successful disturbance free period.
FIG. 10 is a third arrangement provided in accordance with an embodiment of the present application
Figure BDA0003192962700000174
And (3) an interface schematic diagram of the prompt period and the do-not-disturb period. In the first arrangement
Figure BDA0003192962700000175
In a different manner from the do-not-disturb period, the third setting
Figure BDA0003192962700000176
The prompting time interval and the disturbance-free time interval have the following modes: the mobile phone 200 may establish a connection with the smart home devices in the home to obtain the information in the smart home devicesThe mode period is stored. The mobile phone 200 may configure the acquired mode period as the mode period according to the instruction of the user
Figure BDA0003192962700000177
The prompt period of (1); the mobile phone 200 sets the time periods except the disturbance-free time period in the preset period as
Figure BDA0003192962700000178
The alert period of (1).
Illustratively, as shown in fig. 9, handset 200 may be communicatively connected to smart tv 901 and smart sound box 902, respectively. Further, the mobile phone 200 can acquire the eye protection mode time period 23: 00-the next day 6:00 of the smart television 901 and the home returning mode time period 18:00-20:00 of the smart sound box 902. Then, the cellular phone 200 may enter the fifth operation interface 1001 in response to a plurality of operations by the user. The process of entering the fifth operation interface 1001 by the mobile phone 200 may refer to the process of entering the fifth operation interface 707 in fig. 7, which is not described herein again. As shown in (a) of fig. 10, the fifth operation interface 1001 displays preset cue periods 12:00-13:00, 8:00-8:20 and an add button 1002. If the user needs
Figure BDA0003192962700000179
The prompt time interval is 18:00-20:00, and thus, the prompt time intervals 12:00-13:00 and 8:00-8:20 displayed on the fifth operation interface 1001 cannot meet the user setting
Figure BDA00031929627000001710
The prompting time period of (1) is 18:00-20:00 requirements. In this way, the mobile phone 200 may display the sixth operation interface in response to the user's trigger operation of the add button.
As shown in fig. 10 (b), an input frame for an input period, a home mode period 18:00-20:00 of the smart speaker, an eye protection mode period 23: 00-next day 6:00 of the smart television 901, and a return button 1004 are displayed in the sixth operation interface 1003. Handset 200 may save the go-home mode in response to a user-triggered operation of a "save button" on one side of the go-home mode period 18:00-20:00Time period 18:00-20: 00. Further, as shown in fig. 10 (c), the cellular phone 200 returns from the sixth operation interface 1003 to the fifth operation interface 1001 in response to an operation of the user to trigger the return button 1004. As shown in fig. 10 (d), at this time, the fifth operation interface 1001 displays a return-to-home mode period, and one side of the return-to-home mode period displays the switch button 1005 in an off state. Optionally, an immediate-on switch 1006 in an off state and a timing switch 1007 in an on state are also displayed in the fifth operation interface 1001. The mobile phone 200 can receive the prompt period input by the user with the immediate on switch 1006 in the off state and the timing switch 1007 in the on state. The cellular phone 200 causes the switch button 1005 to be in an on state in response to the user's trigger operation of the switch button 1005, as shown in fig. 10 (e). Further, the mobile phone 200 is provided with
Figure BDA00031929627000001711
The prompting time interval is 18:00-20: 00. If the preset period is 24 hours, the mobile phone 200 automatically sets
Figure BDA00031929627000001712
The period of non-disturbance of (1) is 20: 00-18:00 of the next day.
In addition, the mobile phone 100 may further receive a prompt time period 18:00-20:00 input by the user in an input box (not marked in fig. 10) displayed in the sixth operation interface 1003 for inputting the time period. The cellular phone 200 saves the presentation period 18:00-20:00 (not shown in fig. 10) in response to a trigger operation of a save button on the input box side. It is to be understood that the input box described above is a period input area. Further, the user may trigger a return button 1004, and the cellular phone 200 returns from the sixth operation interface 1003 to the fifth operation interface 1001 in response to an operation of the user to trigger the return button 1004. At this time, the fifth operation interface 1001 displays the presentation period 18:00-20:00 (not shown in fig. 10), and one side of the presentation period 18:00-20:00 displays the switch button 1005 in the off state. The mobile phone 200 responds to the triggering operation of the switch button 1005 by the user, so that the switch button 1005 is in an on state. Further, set up
Figure BDA00031929627000001713
The prompting time interval is 18:00-20: 00. If the preset period is 24 hours, the mobile phone 200 automatically sets
Figure BDA0003192962700000181
The period of non-disturbance of (1) is 20: 00-18:00 of the next day.
On the one hand, the mobile phone 200 is in the setting
Figure BDA0003192962700000182
After the alert period and the do-not-disturb period of (3), S62-S65 in fig. 6 is continuously performed, implementing display of the first notification message. Next, on the basis of the embodiments provided in fig. 7 to 10 described above, how the handset 200 displays the first notification message is explained.
Illustratively, in a case where the first time is 18:50 (belonging to the prompt period) and the cellular phone 200 is currently in the screen-off state, as shown in (a) of fig. 11, the cellular phone 200 lights up the screen lock interface 1101. The notification manager of the handset 200 sends "there are 1 from" to the system UI at the application layer
Figure BDA0003192962700000183
Message "the system UI will" have 1 message from
Figure BDA0003192962700000184
A message "display on status bar 1102 above lock screen interface 1101 to indicate that the user currently has
Figure BDA0003192962700000186
A notification message of (2). In addition, the mobile phone 200 displays "there are 1 bar from" on the top of the lock screen interface 1101
Figure BDA0003192962700000185
While the message "can also be output to further prompt the user to have a prompt tone currently
Figure BDA0003192962700000187
A notification message of (2).
In addition, as also shown in fig. 11 (a), the user perceives that there are "1 bar from" displayed above the lock screen interface
Figure BDA00031929627000001814
After the message of (c), the status bar 1102 may be triggered. Further, as shown in fig. 11 (b), the mobile phone 200 displays
Figure BDA0003192962700000189
To display interface 1103. On the message display interface 1103, the message is displayed with "there are 1 messages from
Figure BDA0003192962700000188
The message 'associated message content' a message is sent by your address book friend three times. Further, the user can timely refer to the message content.
On the other hand, the mobile phone 200 is provided
Figure BDA00031929627000001810
After the cue period and the do-not-disturb period of (3), S62-S64, and S67 in fig. 6 are continuously performed to implement buffering of the first notification message. Next, on the basis of the embodiments provided in fig. 7-10, the mobile phone 200 will be described how to cache the first notification message.
For example, referring back to (f) in fig. 7, in the fourth operation interface 705 of the mobile phone 200, the cache notification button 710 is in the off state, and at this time, the flag indicating the on/off state of the cache notification button 710 stored in the mobile phone 200 is a binary number "0". In the above-mentioned (f) in fig. 7, the prompt period 18:00-20:00 is input by the user, and the disturbance-free period set by the mobile phone 200 is 20: 00-18:00 of the next day. If the user wishes to be able to refer to the first notification message missed on the 20: 00-next day 18:00 of the do-not-disturb period, as shown in fig. 12 (a), the cell phone 200 switches the cache notification button 710 to the on state in response to the user's trigger operation on the cache notification button 710 in the off state in the fourth operation interface 705, as shown in fig. 12 (b). After the cache notification button 710 is in the on state, the mobile phone 200 updates the stored identification binary number "0" indicating the on/off state of the cache notification button 710 to the binary number "1".
For example, as shown in (b) and (c) of fig. 12, the cellular phone 200 may display the lock screen interface 1201 in response to a user's trigger operation of the lock screen button 711. As shown in fig. 12 (d), the handset 200 receives a message from the mobile phone at 16:50
Figure BDA00031929627000001811
The handset 200 can query from the pre-stored information file for the first notification message of the server
Figure BDA00031929627000001812
Figure BDA00031929627000001813
The prompt time interval is 18:00-20:00, and the disturbance-free time interval is 20: 00-the next day is 18: 00. Specifically, the query manner is the same as the query manner in S63, and is not described herein again. Further, the notification manager of the handset 200 determines that 16:50 belongs to the do not disturb period 20: 00-the next day 18:00, then does not send the first notification message to the system UI of the application layer. Further, the system UI does not output the first notification message to the lock screen interface 1201 to be displayed. As such, the user is not disturbed by the first notification message during the do-not-disturb period 20: 00-the next day 18: 00.
Further, the notification manager of the mobile phone 200 may query, through a file system in the system library, that the identifier indicating the on-off state of the cache notification button 710 is a binary number "1", and determine that the cache notification button 710 is in the on state. Further, the notification manager caches the first notification information to a file system in a system library.
The following describes how the handset 200 outputs the buffered first notification message in conjunction with fig. 12-16.
In some optional embodiments, the notification manager of the handset 200 starts to calculate the duration from the first time 16:50 to the start time 18:00 of the alert period after caching the first notification information in the file system in the system library. Then, the notification manager sends the calculated duration to the clock manager, and the clock manager starts a countdown process according to the duration. And after the clock manager finishes counting down, the clock manager tells the manager that the counting is full. The notification manager then detects that the file system has 1 first notification message cached, sends a second notification message "notification message with 1 cached" to the system UI.
As shown in (e) in fig. 12, the system UI outputs "notification message with 1 cache" to the status bar 1202 display above the lock screen interface 1201. In addition, the message content of the second notification message may also be "there are 1 message not viewed", "1 new message is received", and the like, and is not limited herein. Thus, the user can perceive that the user misses the reference in the non-disturbance time period of 20: 00-the next day of 18:00
Figure BDA0003192962700000191
The first notification message of (1).
Further, as shown in fig. 13 (a), the user may trigger a status bar 1202 on the top of the lock screen interface 1201. As shown in fig. 13 (b), since the mobile phone 200 only caches 1 first notification message, the mobile phone 200 can directly display the first notification message after responding to the user's trigger operation on the status bar 1202 above the lock screen interface 1201
Figure BDA0003192962700000192
Message display interface 1301. On the message display interface 1301, the message is displayed with "there is 1 from
Figure BDA0003192962700000193
The message 'associated message content' a message is sent by your address book friend three times. Further, the user is enabled to consult at the start time 18:00 of the prompt period that the user missed the non-disturbance period 20: 00-the next day 18:00
Figure BDA0003192962700000194
The first notification message of (1).
Further, based on the embodiments of (d) and (e) in fig. 12, as shown in (a) and (b) in fig. 15, the handset 200 receives a further message from the mobile phone at 18:50
Figure BDA0003192962700000195
The first notification message of "1 from
Figure BDA0003192962700000196
Message of ". The handset 200 buffers the first notification message received by 18:50, specifically the buffering manner and the buffering manner of the first notification message received by 16:50
Figure BDA0003192962700000197
The first notification message of the server is in the same manner, and is not described herein again. Further, the notification manager of the handset 200 determines that 18:50 belongs to the reminder period 18:00-20:00, detects that the file system has cached 2 first notification messages, and sends a second notification message "notification message with 2 caches" to the system UI. As shown in (c) in fig. 15, the system UI replaces the currently displayed "notification message with 1 cache" with "notification message with 2 cache". In addition, the message content of the second notification message may also be replaced by "there are 2 messages not viewed", "2 new messages are received", and the like, which is not limited herein. Thus, the user may perceive that 2 first notification messages were missed in the 18:50 message belonging to the reminder period 18:00-20:00 and receiving the first notification message again.
Or, further, on the basis of the embodiments of (d) and (e) in fig. 12, if the user does not trigger the status bar in the prompt period 18:00-20:00, the mobile phone 200 cancels the display of "1 from one user at the end time 20:00 of the prompt period
Figure BDA0003192962700000198
Message of ". If the next do not disturb period is 20: 00-18:00 the next day, cell phone 200 receives another 1 from
Figure BDA0003192962700000199
The first notification message of the server of (1) is cached. At the beginning of the next reminder period 18:00-20:00Time 18:00, the mobile phone 200 displays "prompt message with 2 caches" (not shown in the figure) in the status bar 1202 above the screen locking interface 1201.
In still other alternative embodiments, referring back to fig. 12 (b), a view buffer notification button 712 is further included in the fourth operation interface 705 in fig. 12 (b). After 16:50 the notification manager caches the first notification information in the file system in the system library, if the user does not reach 17:50 of the starting time of the prompt period, the notification manager wants to refer to the missed notification information in the non-disturbance period 20: 00-the next day 18:00
Figure BDA00031929627000001910
The first notification message of (1). As shown in fig. 14 (a) and 14 (b), the mobile phone 200 may detect that the file system has cached only 1 first notification message after responding to the user's trigger operation on the cache notification button 712 in the fourth operation interface 705, and display a second notification message "notification message with one cache" in a status bar 1401 on the top of the fourth operation interface 705. As shown in fig. 14 (c), since the mobile phone 200 only caches 1 first notification message, the mobile phone 200 may directly display the first notification message after responding to the user's trigger operation on the status bar 1401 located above the fourth operation interface 705
Figure BDA00031929627000001911
Display interface 1402. On the message display 1402, a message with "have 1 from
Figure BDA00031929627000001912
The message 'associated message content' a message is sent by your address book friend three times. Thus, the user can look up the missed data in the disturbance-free time period of 20: 00-the next day of 18:00 at any time
Figure BDA00031929627000001913
Figure BDA0003192962700000201
The first notification message of (1).
Further, e.g. asAs shown in fig. 16 (a), the user may trigger a status bar 1202 on top of the lock screen interface 1201 of the cell phone 200. Since the mobile phone 200 caches 2 first notification messages, as shown in fig. 16 (b), the mobile phone 200 displays a message list interface 1501 after responding to a user's trigger operation on the status bar 1202 above the lock screen interface 1201. On the message list interface 1501, from top to bottom, "there are 1 from" sent by 16:50
Figure BDA0003192962700000202
And 18:50 sent "there are 1 message from
Figure BDA0003192962700000203
Message of ". Handset 200 may respond to a user sending "there are 1 from" 18:50
Figure BDA0003192962700000204
Trigger operation of message "the handset 200 enters the message display interface 1502. The message display interface 1502 shows that there are "1 from" sent with 18:50
Figure BDA0003192962700000205
The message 'associated message content' your address book friend lees four joins
Figure BDA0003192962700000206
". Furthermore, the user can selectively consult that 1 message sent by the 16:50 is sent
Figure BDA00031929627000002027
Figure BDA00031929627000002026
And 18:50 sent "there are 1 message from
Figure BDA0003192962700000207
The message content of message.
In other alternative embodiments, based on the embodiments of (d) and (e) in fig. 12, for exampleAs shown in fig. 17 (a) and (b), the handset 200 receives a further message from the handset at 17:50
Figure BDA0003192962700000208
First notification message of server "1 from
Figure BDA00031929627000002010
Message of ". The mobile phone 200 can inquire from the pre-stored information file
Figure BDA0003192962700000209
The prompt time interval is 18:00-20:00, and the disturbance-free time interval is 20: 00-the next day is 18: 00. Further, the handset 200 determines 17:50 belongs to the no-disturb period 20: 00-the next day 18:00, and the first notification message received by the cache 17:50 is "1 from
Figure BDA00031929627000002011
Message of ".
As shown in fig. 17 (c), when the start time 18:00 of the prompt period is reached, the mobile phone 200 simultaneously displays a first notification message "there are 1 messages from" in the status bar of the lock screen interface
Figure BDA00031929627000002012
1 message from
Figure BDA00031929627000002013
Message of ". As such, the user may perceive 2 first notification messages at 18:00 simultaneously. If the user only has 1 message from the first notification message
Figure BDA00031929627000002014
Can selectively trigger the first notification message to have 1 message from
Figure BDA00031929627000002015
Message of ". Handset 200 responds to the first notification message "1 from
Figure BDA00031929627000002016
The trigger operation of message (2), and further, as shown in (d) of fig. 17, the cell phone 200 displays
Figure BDA00031929627000002017
To display interface 1103. On the message display interface 1103, the message is displayed with "there are 1 messages from
Figure BDA00031929627000002018
The message 'associated message content' a message is sent by your address book friend three times. Further, the user can selectively consult the message content interested by the user. In addition, since the user did not trigger the first notification message "there are 1 message from
Figure BDA00031929627000002019
Can cancel the display of the first notification message "there are 1 messages from
Figure BDA00031929627000002020
To avoid visual interference to the user. Meanwhile, the mobile phone 200 deletes the first notification message "there are 1 messages from" cached in the file system
Figure BDA00031929627000002021
Message "to save storage space.
It should be noted that, in the message processing methods provided in the embodiments of the present application, all target application programs are used as the target application programs
Figure BDA00031929627000002022
The examples are illustrative and do not constitute a limitation on the embodiments of the present application. In other embodiments, when the target application is
Figure BDA00031929627000002023
And
Figure BDA00031929627000002024
when the application program is used, the process of implementing the message processing method and the target application program are
Figure BDA00031929627000002025
The process of the message processing method is the same, and is not described herein again.
In addition, the above-mentioned message processing methods provided in fig. 12 to fig. 16 are all described by taking the first notification message buffered by the mobile phone 200 as an example. In other embodiments, if the handset 200 does not receive the first notification message during the do not disturb period 20: 00-the next day 18: 00. When the starting time 18:00 of the prompt time interval is reached, the mobile phone 200 still needs to detect whether the first notification message is cached or not, and does not display the second notification message when detecting that the first notification message is not cached. Alternatively, in other embodiments, after the mobile phone 200 responds to the trigger operation of the cache notification button 712, the mobile phone 200 still detects whether the first notification message is cached, and does not display the second notification message if it is detected that the first notification message is not cached.
It should be noted that, in the message processing method provided in the foregoing description of the embodiment of the present application, how to process the first notification message is described by taking the example that the mobile phone 200 sets the prompt period and the disturbance-free period of the target application according to the input period as an example, and this example does not constitute a limitation to the embodiment of the present application.
In other embodiments, the handset 200 may also set a reminder period for the target application. The handset 200 receives a first notification message, wherein the first notification message is tagged with an identification of a target application. If the first time belongs to the prompt time interval, the mobile phone 200 displays a first notification message on the first interface. The first moment is the moment when the electronic equipment receives the first notification message, and the first interface is an operation interface displayed by the electronic equipment at the first moment. If the first time does not belong to the prompt time interval, the mobile phone 200 caches the first notification message or discards the first notification message. The implementation principle, the effective effect, and the interface operation flow are the same as those of the process of processing the first notification message, for example, the prompt period and the disturbance-free period of the target application program set by the mobile phone 200, and are not described herein again.
In still other embodiments, handset 200 may also set a do not disturb period for the target application. The handset 200 receives a first notification message, wherein the first notification message is tagged with an identification of a target application. If the first time does not belong to the disturbance-free time period, the mobile phone 200 displays a first notification message on the first interface. The first moment is the moment when the electronic equipment receives the first notification message, and the first interface is an operation interface displayed by the electronic equipment at the first moment. If the first time belongs to the disturbance-free time interval, the mobile phone 200 caches the first notification message or discards the first notification message. The implementation principle, the effective effect, and the interface operation flow are the same as those of the process of processing the first notification message, for example, the prompt period and the disturbance-free period of the target application program set by the mobile phone 200, and are not described herein again.
In addition, in the foregoing method for processing a message provided by the embodiment of the present application, the trigger operation may include: a click operation, a long-press operation, a gesture trigger operation, and the like, which are not limited herein.
In addition, in the message processing method provided in the foregoing description of the embodiment of the present application, the time mentioned does not only refer to one time point, but also includes a time point near the time. For example, time 18:50 may also include time points 18:48, 18:51, etc., which are not limited herein.
As shown in fig. 18, fig. 18 is a schematic structural diagram of a message processing apparatus provided in the embodiment of the present application, where the message processing apparatus may be an electronic device in the embodiment of the present application, and may also be a chip or a chip system in the electronic device.
Illustratively, taking the message processing apparatus as an electronic device or a chip system applied in the electronic device as an example, the display unit 1801 is configured to support the message processing apparatus to perform the display steps in the foregoing embodiments, and the processing unit 1802 is configured to support the message processing apparatus to perform the processing steps in the foregoing embodiments.
Processing unit 1802 may be integrated with display unit 1801, and processing unit 1802 and display unit 1801 may be in communication.
In one possible implementation manner, the message processing apparatus may further include: and a storage unit 1803. The storage unit 1803 may include one or more memories, which may be one or more devices or circuits for storing programs or data.
The storage unit 1803 may reside separately and be coupled to the processing unit 1802 via a communications bus. Storage unit 1803 may also be integral to processing unit 1802.
Taking as an example that the message processing apparatus may be a chip or a chip system of an electronic device in the embodiment of the present application, the storage unit 1803 may store computer-executable instructions of a method of the electronic device, so that the processing unit 1802 executes the method of the electronic device in the embodiment described above. The storage unit 1803 may be a register, a cache memory, a Random Access Memory (RAM), etc., and the storage unit 1803 may be integrated with the processing unit 1802. Storage unit 1803 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and storage unit 1803 may be separate from processing unit 1802.
The present application further provides a message processing apparatus, including: and the processing unit is used for setting a prompt time interval and/or a disturbance-free time interval of the target application program. A receiving unit, configured to receive a first notification message. Wherein the first notification message is marked with an identification of the target application. The display unit is used for displaying the first interface on the electronic equipment when the first moment belongs to the prompt time interval and/or the first moment does not belong to the disturbance-free time interval. The first interface comprises a first notification message, and the first moment is the moment when the electronic equipment receives the first notification message. Or, the processing unit is further configured to, when the first time does not belong to the prompt time period and/or the first time belongs to the disturbance-free time period, the electronic device buffers the first notification message, or discards the first notification message.
In a possible implementation manner, the display unit is further configured to display a second interface on the electronic device. And the second interface displays at least one time interval, and a switch button for switching on or off the time interval is displayed near any one time interval. And the processing unit is used for responding to the triggering operation of the at least one switch button and setting a prompting time interval and/or a disturbance-free time interval according to the time interval corresponding to the at least one switch button.
Or, in a possible implementation manner, the electronic device is in communication connection with at least one smart home device, and the display unit is further configured to display a third interface. Wherein the third interface comprises an add button. And the receiving unit is also used for responding to the triggering operation of the adding button and acquiring the mode time interval of at least one piece of intelligent household equipment. And the display unit is also used for displaying the fourth interface. And the fourth interface displays at least one acquired mode time period, and a switch button for switching on or off the time period is displayed near any one mode time period. And the processing unit is also used for responding to the triggering operation of the at least one switch button and setting a prompt time interval and/or a disturbance-free time interval according to the mode time interval corresponding to the at least one switch button.
Or, in a possible implementation manner, the display unit is further configured to display a fifth interface in response to the trigger operation, where the fifth interface includes a time input area. And the receiving unit is also used for receiving the time period input in the time input area and setting a prompt time period and/or a disturbance-free time period according to the input time period.
In a possible implementation manner, the display unit is further configured to display a sixth interface, where the sixth interface includes a cache notification button configured to turn on or turn off the cache function. And the processing unit is also used for responding to the triggering operation of the buffer notification button and controlling the buffer notification button to be in an open state. And the processing unit is also used for caching the first notification message when the cache notification button is detected to be in an open state.
In a possible implementation manner, the processing unit is further configured to calculate a duration of the first time from a start time of the presentation period, and start timing.
And the display unit is also used for displaying a second notification message after the timing expiration. And displaying the second notification message on the seventh interface, wherein the second notification message is used for indicating that 1 first notification message is cached.
In one possible implementation, the second interface further includes a view cache notification button. And the display unit is also used for responding to the triggering operation of the user on the view cache notification button and displaying the second notification message on the second interface. The second notification message is used for indicating that 1 first notification message is cached.
In a possible implementation manner, the display unit is further configured to display the first notification message in response to a triggering operation on the second notification message.
In a possible implementation manner, the display unit is further configured to cancel displaying the second notification message at the end time of the prompt time period if the trigger operation of the second notification message is not received before the end time of the prompt time period.
A receiving unit, further configured to receive the first notification message in a next do-not-disturb period.
And the display unit is also used for displaying the second notification message at the starting moment of the next prompting period. The second notification message is used for indicating that 2 pieces of the first notification messages are cached.
In one possible implementation, the electronic device caches a plurality of first notification messages.
And the processing unit is also used for calculating the time length from the first time to the starting time of the prompting time interval and starting timing.
And the display unit is also used for displaying a plurality of first notification messages after the timing expiration time.
And the display unit is also used for responding to the triggering operation of a target notification message in the plurality of first notification messages and displaying the message content associated with the target notification message.
The processing unit is further configured to cancel displaying the first notification message that is not triggered, and delete the cached first notification message that is not triggered.
Fig. 19 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 19, the electronic device includes a processor 1901, a communication line 1904, and at least one communication interface (an exemplary illustration of the communication interface 1903 in fig. 19 is taken as an example).
The processor 1901 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more ics for controlling the execution of programs in accordance with the present disclosure.
Communication lines 1904 may include circuitry to communicate information between the above-described components.
Communication interface 1903 may use any transceiver or the like for communicating with other devices or communication networks, such as ethernet, Wireless Local Area Networks (WLAN), etc.
Possibly, the electronic device may also include a memory 1902.
The memory 1902 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication line 1904. The memory may also be integral to the processor.
The memory 1902 is used for storing computer-executable instructions for implementing the present invention, and is controlled by the processor 1901 for execution. The processor 1901 is configured to execute computer-executable instructions stored in the memory 1902, so as to implement the image editing prompting method provided by the embodiment of the present application.
Possibly, the computer executed instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
In particular implementations, processor 1901 may include one or more CPUs such as CPU0 and CPU1 in fig. 19, for example, as an example.
In particular implementations, as an embodiment, an electronic device may include multiple processors, such as processor 1901 and processor 1905 in fig. 19. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Exemplarily, fig. 20 is a schematic structural diagram of a chip provided in an embodiment of the present application. Chip 2000 includes one or more (including two) processors 2010 and a communications interface 2030.
In some embodiments, the memory 2040 stores the following elements: an executable module or a data structure, or a subset thereof, or an expanded set thereof.
In the illustrated embodiment, memory 2040 may include both read-only memory and random-access memory, and provides instructions and data to processor 2010. A portion of the memory 2040 may also include non-volatile random access memory (NVRAM).
In the illustrated embodiment, the memory 2040, the communication interface 2030, and the memory 2040 are coupled together by a bus system 2020. The bus system 2020 may include a power bus, a control bus, a status signal bus, and the like, in addition to the data bus. For ease of description, the various buses are identified in fig. 20 as bus system 2020.
The method described in the foregoing embodiment of the present application may be applied to the processor 2010 or implemented by the processor 2010. Processor 2010 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by instructions in the form of hardware, integrated logic circuits, or software in the processor 2010. The processor 2010 may be a general-purpose processor (e.g., a microprocessor or a conventional processor), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate, transistor logic device or discrete hardware component, and the processor 2010 may implement or execute the methods, steps and logic blocks disclosed in the embodiments of the present application.
The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium mature in the field, such as a random access memory, a read only memory, a programmable read only memory, or a charged erasable programmable memory (EEPROM). The storage medium is located in the memory 2040, and the processor 2010 reads the information in the memory 2040 and completes the steps of the method in combination with the hardware.
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. Computer instructions may be stored in, or transmitted from, a computer-readable storage medium to another computer-readable storage medium, e.g., from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.), the computer-readable storage medium may be any available medium that a computer can store or a data storage device including one or more available media integrated servers, data centers, etc., the available media may include, for example, magnetic media (e.g., floppy disks, hard disks, or magnetic tape), optical media (e.g., digital versatile disks, DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), etc.
The embodiment of the application also provides a computer readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer-readable media may include computer storage media and communication media, and may include any medium that can communicate a computer program from one place to another. A storage medium may be any target medium that can be accessed by a computer.
As one possible design, the computer-readable medium may include a compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk storage; the computer readable medium may include a disk memory or other disk storage device. Also, any connecting line may also be properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A message processing method, comprising:
the electronic equipment sets a prompt time interval and/or a disturbance-free time interval of a target application program;
the electronic equipment receives a first notification message, wherein the first notification message is marked with the identification of the target application program;
when a first moment belongs to the prompt time interval and/or the first moment does not belong to the disturbance-free time interval, the electronic device displays a first interface, wherein the first interface comprises the first notification message, and the first moment is the moment when the electronic device receives the first notification message;
or, when the first time does not belong to the prompt time interval and/or the first time belongs to the disturbance-free time interval, the electronic device caches the first notification message, or discards the first notification message.
2. The method of claim 1, wherein the electronic device sets a reminder period and/or a do-not-disturb period for the target application, comprising:
the electronic equipment displays a second interface, wherein at least one time period is displayed on the second interface, and a switch button for turning on or off the time period is displayed near any one time period;
the electronic equipment responds to the triggering operation of at least one switch button, and the prompting time interval and/or the disturbance-free time interval are/is set according to the time interval corresponding to the at least one switch button.
3. The method according to claim 1, wherein the electronic device is in communication connection with at least one smart home device, and the electronic device sets a prompt period and/or a do-not-disturb period of a target application, including:
the electronic equipment displays a third interface, wherein the third interface comprises an adding button;
the electronic equipment responds to the trigger operation of the adding button, and obtains the mode time period of the at least one piece of intelligent household equipment;
the electronic equipment displays a fourth interface, wherein the fourth interface displays at least one acquired mode time period, and a switch button for turning on or off the time period is displayed near any one mode time period;
and the electronic equipment responds to the triggering operation of at least one switch button, and sets the prompt time interval and/or the disturbance-free time interval according to the mode time interval corresponding to at least one switch button.
4. The method of claim 1, wherein the electronic device sets a reminder period and/or a do-not-disturb period for the target application, comprising:
the electronic equipment responds to a trigger operation and displays a fifth interface, and the fifth interface comprises a time input area;
the electronic equipment receives the time period input in the time input area, and sets a prompt time period and/or a disturbance-free time period according to the input time period.
5. The method of claim 1, wherein prior to the electronic device receiving the first notification message, the method further comprises:
the electronic equipment displays a second interface, wherein the second interface comprises a cache notification button used for starting or closing a cache function;
the electronic equipment responds to the triggering operation of the cache notification button and controls the cache notification button to be in an open state;
the electronic device caching the first notification message comprises:
when the electronic equipment detects that the cache notification button is in an open state, caching the first notification message.
6. The method of claim 5, wherein after the caching the first notification message, the method comprises:
the electronic equipment calculates the time length from the first moment to the starting moment of the prompt period;
the electronic equipment starts timing;
after the time length is counted, the electronic device displays a second notification message, wherein the second notification message is displayed on a seventh interface, and the second notification message is used for indicating that 1 first notification message is cached.
7. The method of claim 5, wherein the second interface further comprises a view cache notification button, and wherein after the electronic device caches the first notification message, the method comprises:
and the electronic equipment responds to the triggering operation of the user on the view cache notification button, and displays a second notification message on the second interface, wherein the second notification message is used for indicating that 1 piece of the first notification message is cached.
8. The method of claim 6 or 7, wherein after the electronic device displays the second notification message, the method further comprises:
the electronic equipment responds to the triggering operation of the second notification message and displays the first notification message.
9. The method of claim 6 or 7, wherein after the electronic device displays the second notification message, the method further comprises:
if the electronic equipment does not receive the triggering operation of the second notification message before the end time of the prompting time interval, canceling to display the second notification message at the end time of the prompting time interval;
the electronic equipment receives a first notification message in the next disturbance-free time period;
and the electronic equipment displays a second notification message at the starting moment of the next prompt period, wherein the second notification message is used for indicating that 2 pieces of the first notification messages are cached.
10. The method of claim 1, wherein the electronic device caches a plurality of first notification messages, and wherein after the electronic device caches the first notification messages, the method further comprises:
the electronic equipment calculates the time length from the first moment to the starting moment of the prompt period;
the electronic equipment starts timing;
after the time length is counted, the electronic equipment displays a plurality of first notification messages;
the electronic equipment responds to the triggering operation of a target notification message in a plurality of first notification messages and displays message content associated with the target notification message;
the electronic device cancels displaying the first notification message that is not triggered and deletes the cached first notification message that is not triggered.
11. The method of claim 1, wherein the prompting period is an independent one period or comprises a plurality of discontinuous sub-periods; the disturbance-free time period is independent one time period or comprises a plurality of discontinuous sub-time periods.
12. The method of claim 1, wherein after the electronic device displays the first interface, the method further comprises:
the electronic device displays a ninth interface in response to a triggering operation of the first notification message, wherein the ninth interface comprises message content associated with the first notification message.
13. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the message processing method of any of claims 1 to 12.
14. A computer-readable storage medium whose instructions, when executed by a processor of an electronic device, enable the electronic device to perform the message processing method of any of claims 1 to 12.
15. A computer program product comprising a computer program or instructions, characterized in that the computer program or instructions, when executed by a processor, implement the message processing method of any of claims 1-12.
CN202110883201.0A 2021-08-02 2021-08-02 Message processing method, device, electronic equipment and readable storage medium Active CN113806105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110883201.0A CN113806105B (en) 2021-08-02 2021-08-02 Message processing method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110883201.0A CN113806105B (en) 2021-08-02 2021-08-02 Message processing method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113806105A true CN113806105A (en) 2021-12-17
CN113806105B CN113806105B (en) 2023-10-31

Family

ID=78942688

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110883201.0A Active CN113806105B (en) 2021-08-02 2021-08-02 Message processing method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113806105B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449035A (en) * 2021-12-28 2022-05-06 中国电信股份有限公司 Method and device for sending notification message for automatic payment
CN114710587A (en) * 2022-05-31 2022-07-05 荣耀终端有限公司 Method for starting immersion mode and related device
CN114844984A (en) * 2022-07-04 2022-08-02 荣耀终端有限公司 Notification message reminding method and electronic equipment
CN115291995A (en) * 2022-10-08 2022-11-04 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium
CN115766931A (en) * 2022-11-18 2023-03-07 维沃移动通信有限公司 Notification message processing method and device
CN116048832A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Batch clearing method and device for notification
CN116055617A (en) * 2022-07-27 2023-05-02 荣耀终端有限公司 Message notification method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561152A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Push message processing method and mobile terminal
CN105376141A (en) * 2015-11-24 2016-03-02 阿里巴巴集团控股有限公司 Instant communication message processing method and device
US20160087933A1 (en) * 2006-09-25 2016-03-24 Weaved, Inc. Techniques for the deployment and management of network connected devices
CN106020814A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Notification bar message processing method and apparatus as well as mobile terminal
US20170111882A1 (en) * 2015-10-19 2017-04-20 Samsung Electronics Co., Ltd Electronic device and notification control method
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
CN110286976A (en) * 2019-05-24 2019-09-27 华为技术有限公司 Interface display method, device, terminal and storage medium
CN110768895A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Message prompting method and device, electronic equipment and storage medium
WO2020037611A1 (en) * 2018-08-23 2020-02-27 华为技术有限公司 Method and electronic device for processing notification message
CN110848894A (en) * 2019-11-15 2020-02-28 北京小米移动软件有限公司 Control method and device of environment adjusting equipment and storage medium
US20200076939A1 (en) * 2018-08-28 2020-03-05 Sonos, Inc. Do Not Disturb Feature for Audio Notifications
CN112422733A (en) * 2020-11-19 2021-02-26 Oppo广东移动通信有限公司 Notification reminding method, device, terminal and storage medium
US20210092219A1 (en) * 2019-09-23 2021-03-25 Lg Electronics Inc. Apparatus and control method for recommending do-not-disturb mode based on context-awareness
US20210204337A1 (en) * 2018-05-31 2021-07-01 Huawei Technologies Co., Ltd. Application function implementation method and electronic device

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160087933A1 (en) * 2006-09-25 2016-03-24 Weaved, Inc. Techniques for the deployment and management of network connected devices
CN103561152A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Push message processing method and mobile terminal
US20170111882A1 (en) * 2015-10-19 2017-04-20 Samsung Electronics Co., Ltd Electronic device and notification control method
CN105376141A (en) * 2015-11-24 2016-03-02 阿里巴巴集团控股有限公司 Instant communication message processing method and device
CN106020814A (en) * 2016-05-16 2016-10-12 北京奇虎科技有限公司 Notification bar message processing method and apparatus as well as mobile terminal
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium
US20210204337A1 (en) * 2018-05-31 2021-07-01 Huawei Technologies Co., Ltd. Application function implementation method and electronic device
WO2020037611A1 (en) * 2018-08-23 2020-02-27 华为技术有限公司 Method and electronic device for processing notification message
US20200076939A1 (en) * 2018-08-28 2020-03-05 Sonos, Inc. Do Not Disturb Feature for Audio Notifications
CN110286976A (en) * 2019-05-24 2019-09-27 华为技术有限公司 Interface display method, device, terminal and storage medium
US20210092219A1 (en) * 2019-09-23 2021-03-25 Lg Electronics Inc. Apparatus and control method for recommending do-not-disturb mode based on context-awareness
CN110768895A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Message prompting method and device, electronic equipment and storage medium
CN110848894A (en) * 2019-11-15 2020-02-28 北京小米移动软件有限公司 Control method and device of environment adjusting equipment and storage medium
CN112422733A (en) * 2020-11-19 2021-02-26 Oppo广东移动通信有限公司 Notification reminding method, device, terminal and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANDROID开发者: "创建一组通知", 《HTTPS://DEVELOPER.ANDROID.COM/TRAINING/NOTIFY-USER/GROUP?HL=ZH-CN》 *
ANDROID开发者: "创建一组通知", 《HTTPS://DEVELOPER.ANDROID.COM/TRAINING/NOTIFY-USER/GROUP?HL=ZH-CN》, 26 June 2020 (2020-06-26), pages 1 - 4 *
三星电子技术手册: "Samsung Galaxy Note8 SM-N9500/N9508如何设 置免打扰模式?(Android 7.1.1)", Retrieved from the Internet <URL:https://www.samsung.com/cn/support/mobile-devices/samsung-galaxy-note8-sm-n9500-n9508-how-can-i-set-the-no-disturbing-mode/> *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449035A (en) * 2021-12-28 2022-05-06 中国电信股份有限公司 Method and device for sending notification message for automatic payment
CN114449035B (en) * 2021-12-28 2024-05-24 中国电信股份有限公司 Method and device for sending notification message for automatic payment
CN114710587A (en) * 2022-05-31 2022-07-05 荣耀终端有限公司 Method for starting immersion mode and related device
CN114844984A (en) * 2022-07-04 2022-08-02 荣耀终端有限公司 Notification message reminding method and electronic equipment
CN116055617A (en) * 2022-07-27 2023-05-02 荣耀终端有限公司 Message notification method and device
CN116055617B (en) * 2022-07-27 2024-03-29 荣耀终端有限公司 Message notification method, electronic device, computer storage medium and chip system
CN116048832A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Batch clearing method and device for notification
CN116048832B (en) * 2022-08-31 2023-11-03 荣耀终端有限公司 Batch clearing method and device for notification
CN115291995A (en) * 2022-10-08 2022-11-04 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium
CN115291995B (en) * 2022-10-08 2023-03-31 荣耀终端有限公司 Message display method, related electronic equipment and readable storage medium
CN115766931A (en) * 2022-11-18 2023-03-07 维沃移动通信有限公司 Notification message processing method and device

Also Published As

Publication number Publication date
CN113806105B (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
CN113806105B (en) Message processing method, device, electronic equipment and readable storage medium
WO2020000448A1 (en) Flexible screen display method and terminal
CN111543042B (en) Notification message processing method and electronic equipment
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2019072178A1 (en) Method for processing notification, and electronic device
CN114327666B (en) Application starting method and device and electronic equipment
CN113885759A (en) Notification message processing method, device, system and computer readable storage medium
WO2021159746A1 (en) File sharing method and system, and related device
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN113747374B (en) Message pushing method and device
WO2022089121A1 (en) Method and apparatus for processing push message
WO2022095744A1 (en) Vr display control method, electronic device, and computer readable storage medium
WO2023015963A1 (en) File management method, electronic device, and computer-readable storage medium
CN114625525A (en) Resource control method and equipment
CN113961157A (en) Display interaction system, display method and equipment
CN113805797A (en) Network resource processing method, electronic device and computer readable storage medium
CN113590346B (en) Method and electronic equipment for processing service request
WO2022033355A1 (en) Mail processing method and electronic device
CN112286596A (en) Message display method and electronic equipment
WO2023160455A1 (en) Object deletion method and electronic device
EP4290375A1 (en) Display method, electronic device and system
WO2024109573A1 (en) Method for floating window display and electronic device
WO2022206709A1 (en) Component loading method for application and related apparatus

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