CN111124573B - Message notification method and electronic equipment - Google Patents

Message notification method and electronic equipment Download PDF

Info

Publication number
CN111124573B
CN111124573B CN201911296413.8A CN201911296413A CN111124573B CN 111124573 B CN111124573 B CN 111124573B CN 201911296413 A CN201911296413 A CN 201911296413A CN 111124573 B CN111124573 B CN 111124573B
Authority
CN
China
Prior art keywords
message
screen
nth
priority
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911296413.8A
Other languages
Chinese (zh)
Other versions
CN111124573A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911296413.8A priority Critical patent/CN111124573B/en
Publication of CN111124573A publication Critical patent/CN111124573A/en
Priority to PCT/CN2020/134942 priority patent/WO2021121099A1/en
Application granted granted Critical
Publication of CN111124573B publication Critical patent/CN111124573B/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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a message notification method and electronic equipment, relates to the technical field of communication, and aims to solve the problem that the existing message notification mode is poor in man-machine interaction performance. The specific scheme comprises the following steps: receiving a first message; displaying a notification message of the first message in an nth screen of the M screens, in case that the message priority of the first message conforms to the nth message priority; the display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M. The scheme is applied to a scene that the electronic equipment displays the notification message.

Description

Message notification method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a message notification method and electronic equipment.
Background
With the development of communication technology, the functions of electronic devices are more and more abundant. For example, the electronic device may receive messages related to an application program, such as a push message and a friend message, through the application program in the electronic device, and display a notification message corresponding to the message on a screen of the electronic device so that a user knows that the electronic device receives a new message.
In general, in order to avoid that frequently displaying notification messages may affect normal display of other contents in a screen, an electronic device may screen all received messages according to a screening condition, and display notification messages satisfying the screening condition among all messages, and hide notification messages not satisfying the screening condition among all messages.
However, since the filtering condition is predefined, the filtered messages may include the messages of interest to the user, so that the user cannot normally view the messages of interest. Thus, the existing notification message mode has poor man-machine interaction performance.
Disclosure of Invention
The embodiment of the invention provides a message notification method and electronic equipment, and aims to solve the problem that the existing message notification mode is poor in man-machine interaction performance.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a message notification method. The method is applied to an electronic device comprising M screens, and can comprise the following steps: receiving a first message; displaying a notification message of the first message in an nth screen of the M screens, in case that the message priority of the first message conforms to the nth message priority; the display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M.
In a second aspect, an embodiment of the present invention provides an electronic device. The electronic device comprises M screens and comprises a receiving module and a display module. A receiving module, configured to receive a first message; a display module for displaying the notification message of the first message in the nth screen of the M screens under the condition that the message priority of the first message received by the receiving module conforms to the nth message priority; the display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and operable on the processor, and when executed by the processor, the electronic device implements the steps of the message notification method in the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the message notification method in the first aspect.
In the embodiment of the invention, a first message can be received; and displaying a notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message conforms to the nth message priority. By the scheme, after the electronic device receives the first message, the electronic device can control the notification message of the first message to be displayed on the screen with the display priority corresponding to the message priority of the first message according to the message priority of the first message, so that the electronic device can control the notification message with the lower message priority to be displayed on the screen with the lower display priority, for example, on other screens besides the main screen, so that certain messages with lower priority but possibly interested by the user can be displayed on the screen, and the probability that the user misses certain message notifications is reduced. Therefore, the method for notifying the message has better man-machine interaction performance.
Drawings
Fig. 1 is a schematic diagram of an architecture of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a message notification method according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of a message notification method according to an embodiment of the present invention;
fig. 4 is one of schematic interfaces of an application of a message notification method according to an embodiment of the present invention;
fig. 5 is a third schematic diagram illustrating a message notification method according to an embodiment of the present invention;
fig. 6 is a fourth schematic diagram illustrating a message notification method according to an embodiment of the present invention;
fig. 7 is a fifth schematic diagram illustrating a message notification method according to an embodiment of the present invention;
fig. 8 is a sixth schematic diagram illustrating a message notification method according to an embodiment of the present invention;
fig. 9 is a second schematic interface diagram of an application of the message notification method according to the embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 12 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the described embodiments without making any inventive step, fall within the scope of protection of the present application.
The term "and/or" herein is an association relationship describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, a/B denotes a or B.
The terms "first" and "second," etc. herein are used to distinguish between different objects and are not used to describe a particular order of objects. For example, the first message quantity identifier and the second message quantity identifier are used to distinguish different message quantity identifiers, rather than describing a specific order of message quantity identifiers.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention 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.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the message notification method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system. For example, an application program that receives a message in an embodiment of the present invention. It will be appreciated that the electronic device may specifically receive messages via some application. For example, the electronic device may receive, through the communication application program, a chat message triggered and sent by a friend of the user, or the electronic device may receive, through the shopping application program, a merchandise push message triggered and sent by a merchant, or the like.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
Generally, an application may include two parts, one part refers to a service (service) running in the background of an electronic device, and is configured to detect an input of a user for the application and perform a corresponding action in response to the input, for example, if an input of a corresponding notification message of the application by the user is detected, the notification message may be cancelled from being displayed; the other part refers to content displayed on a screen of the electronic device, such as a notification message displayed by the electronic device or message content corresponding to the notification message.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the message notification method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the message notification method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the message notification method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a terminal device. The terminal device may be a mobile terminal device or a non-mobile terminal device. For example, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
The execution main body of the message notification method provided in the embodiment of the present invention may be the electronic device, or may also be a functional module and/or a functional entity that can implement the message notification method in the electronic device, which may be specifically determined according to actual use requirements, and the embodiment of the present invention is not limited. The following takes an electronic device as an example to exemplarily describe a message notification method provided by the embodiment of the present invention.
Generally, when an electronic device receives a message through an application, the electronic device may generate a notification message corresponding to the message according to the message and display the notification message to prompt a user that the application receives a new message. Specifically, in one scenario, after receiving a friend message and a friend dynamic message in an interactive application such as a communication application, a game application, and the like, the electronic device may prompt the user to receive the messages. In another scenario, the electronic device may prompt the user for push messages in other applications, such as a news application, a shopping application, etc., after receiving the messages. In another scenario, the electronic device may prompt the user to receive the system update messages sent by the server after receiving the messages.
In the embodiment of the invention, the electronic equipment can receive a first message; and displaying a notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message conforms to the nth message priority. For example, the electronic device may control messages with high message priority to be displayed on the main screen and messages with low message priority to be displayed on screens other than the main screen. By the scheme, after the electronic device receives the first message, the electronic device can control the notification message of the first message to be displayed on the screen with the display priority corresponding to the message priority of the first message according to the message priority of the first message, so that the electronic device can control the notification message with the lower message priority to be displayed on the screen with the lower display priority, for example, on other screens besides the main screen, so that certain messages with lower priority but possibly interested by the user can be displayed on the screen, and the probability that the user misses certain message notifications is reduced. Therefore, the method for notifying the message has better man-machine interaction performance.
The following describes an exemplary message notification method according to an embodiment of the present invention with reference to the drawings.
As shown in fig. 2, an embodiment of the present invention provides a message notification method, which may be applied to an electronic device including M screens, and may include S201 to S202 described below.
S201, the electronic equipment receives a first message.
Optionally, in the embodiment of the present invention, the first message may be a social message, for example, a mail, a short message, a friend instant message, a friend dynamic message, or the like; the information may also be a push message, for example, a push message of contents such as commodities, current affairs news or video music; the message may also be a system message, for example, a system update message or a memory clear message.
In the embodiment of the present invention, the electronic device receives the first message, which may specifically be that the electronic device receives the first message through an application program in the electronic device. The application program may be a system application program or a non-system application program. The system application is an application provided as part of the implementation of the electronic device, and may specifically be an application provided as part of implementing a certain function of the electronic device, such as a setup application, a browser application, and the like; the non-system application is an application that can provide an internet protocol multimedia subsystem (IMS) connection of its own, and may be an application that is pre-installed in the electronic device or an application that is triggered by a user to be downloaded and installed in the electronic device, such as a communication application, a payment application, and the like.
S202, under the condition that the message priority of the first message is accordant with the Nth message priority, the electronic equipment displays the notification message of the first message in the Nth screen of the M screens.
The display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M.
Optionally, after receiving the first message, the electronic device may determine the message priority of the first message according to the message type of the first message and/or the type of the application program receiving the first message. Specifically, the electronic device may determine the message priority of the first message according to a preset mapping relationship, where the preset mapping relationship may be a mapping relationship between a message type and the message priority, a mapping relationship between a type of an application program that receives the message and the message priority, or a mapping relationship between a message type and a type of an application program that receives the message and the message priority.
Optionally, the message types may include social messages, push messages, system messages, and the like.
Optionally, the types of the application programs for receiving the message may include a social application program, a game application program, an audio application program, a navigation application program, an education application program, a shopping application program, and the like.
Alternatively, the electronic device may store a plurality of message priorities, and one message priority may be used to indicate the importance of one message. For example, the message priorities may be priority 1, priority 2, priority 3 and priority 4 in order of priority from high to low, wherein the message belonging to priority 1 is an urgent message, the message belonging to priority 2 is an important message, the message belonging to priority 3 is a minor message, and the message belonging to priority 4 is an unimportant message.
For example, the message priority of the first message is described by taking a preset mapping relationship as an example of a mapping relationship between the message type and the message priority. The message priorities may include a message priority 1, a message priority 2, and a message priority 3. Wherein, the priority of the message priority 1 is higher than that of the message priority 2, and the priority of the message priority 2 is higher than that of the message priority 3. The preset mapping relationship may be that the social messages correspond to message priority 1, the system messages correspond to message priority 2, and the push messages correspond to message priority 3. Therefore, if the message type of the first message is a social message, the message priority of the first message is message priority 1, if the message type of the first message is a system message, the message priority of the first message is message priority 2, and if the message type of the first message is a push message, the message priority of the first message is message priority 3.
Alternatively, in one possible implementation manner, the electronic device may determine the display priority of each screen according to the usage frequency of the M screens. Wherein one display priority corresponds to one message priority. In another possible implementation manner, the electronic device may determine the display priority of each screen according to a spatial distance between the screen receiving the touch operation and another screen when the first message is received.
Take M as 3, i.e. the electronic device comprises 3 screens as an example. The electronic device may set a first frequency value and a second frequency value in advance, and determine a display priority of each screen according to the use frequency, the first frequency value, and the second frequency value of each screen. The first frequency value is greater than the second frequency value. Specifically, the display priority of the screen whose use frequency is greater than or equal to the first frequency value is a first display priority, the display priority of the screen whose use frequency is less than the first frequency value and greater than or equal to the second frequency value is a second display priority, and the display priority of the screen whose use frequency is less than the second frequency value is a third display priority. Wherein the first display priority is higher than the second display priority, which is higher than the third display priority.
Still take the example that M is 3, i.e. the electronic device comprises 3 screens. The electronic device may also determine the display priority of each screen by ranking the 3 screens from high to low in terms of their frequency of use. Specifically, if the frequency of use of the screen 1 is greater than the frequency of use of the screen 2, and the frequency of use of the screen 2 is greater than the frequency of use of the screen 3, the display priority of the screen 1 is the first display priority, the display priority of the screen 2 is the second display priority, and the display priority of the screen 3 is the third display priority. The priority of the first display priority is higher than that of the second display priority, and the priority of the second display priority is higher than that of the third display priority.
The electronic device may display a notification message of a message belonging to a message priority corresponding to the display priority, according to the display priority of each screen.
Illustratively, the message priority includes a message priority 1, a message priority 2, and a message priority 3, and the display priority of the screen includes a first display priority, a second display priority, and a third display priority. The first display priority screen may be used to display notification messages for messages of message priority 1, the second display priority screen may be used to display notification messages for messages of message priority 2, and the third display priority screen may be used to display notification messages for messages of message priority 3.
Since the notification messages of the messages with different message priorities can be correspondingly displayed in different screens of the electronic device, after the message priority of the first message is determined, the electronic device can display the notification message of the first message in the screen corresponding to the electronic device according to the message priority of the first message.
For example, the message of the nth message priority may be correspondingly displayed in the nth screen of the M screens of the electronic device. Therefore, if it is determined that the message priority of the first message is the nth message priority, that is, the message priority of the first message conforms to the nth message priority, the electronic device may display the notification message of the first message in the nth screen of the M screens.
Optionally, the electronic device may display the notification message of the first message in a lock screen interface of an nth screen, a notification bar of the nth screen, a floating window of the nth screen, or any other area of the nth screen, which may be determined specifically according to actual usage requirements, and the embodiment of the present invention is not limited.
Optionally, the electronic device may further display a notification message of the first message in the second target screen. The second target screen may be a screen that receives a touch operation of a user when the first message is received, that is, a screen that the user is using, so that it is possible to prevent the user from missing a notification message of the first message.
The embodiment of the invention provides a message notification method, which can receive a first message; and displaying a notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message conforms to the nth message priority. By the scheme, after the electronic device receives the first message, the electronic device can control the notification message of the first message to be displayed on the screen with the display priority corresponding to the message priority of the first message according to the message priority of the first message, so that the electronic device can control the notification message with the lower message priority to be displayed on the screen with the lower display priority, for example, on other screens besides the main screen, so that certain messages with lower priority but possibly interested by the user can be displayed on the screen, and the probability that the user misses certain message notifications is reduced. Therefore, the method for notifying the message has better man-machine interaction performance.
Optionally, in the case that icons of the same application program are displayed on different screens of the electronic device, if the first message received by the electronic device is a message received through the first application program, after the electronic device receives the message, the first message quantity identifier may be updated and the second message quantity identifier may be controlled to remain unchanged when the message priority of the first message conforms to the nth message priority. Wherein the first message number indicator is an indicator displayed on an icon of the first application in the nth screen, and the second message number indicator is an indicator displayed on an icon of the first application in the other screen of the M screens.
Exemplarily, referring to fig. 2, as shown in fig. 3, after the above S201, the message notification method provided in the embodiment of the present invention may further include the following S203.
S203, the electronic equipment updates the first identifier and keeps displaying the second identifier under the condition that the message priority of the first message is in accordance with the Nth message priority.
The first message may be a notification message received through the first application. The first application may be an application that displays icons of the application on at least two screens of the electronic device. Wherein the at least two screens include an Nth screen.
The first identifier may be an identifier indicating the number of notification messages displayed on an icon of the first application program in the nth screen, that is, the first identifier may be used to indicate the number of notification messages displayed in the nth screen in the unread messages received by the first application program; the second identifier may be an identifier indicating the number of notification messages displayed on an icon of the first application in the other screens of the M screens, that is, the second message number identifier may be used to indicate the number of messages of the notification messages displayed in the other screens of the M screens among the unread messages received by the first application.
For example, as shown in fig. 4, if the unread messages received by the first application 41 are x + y messages, the electronic device may determine that the notification message with x messages is displayed in the nth screen 42 and the notification message with y messages is displayed in the N +1 th screen 43 according to the message priority of each message in the x + y messages, so that the first message quantity identifier 44 may be x and the second message quantity identifier 45 may be y.
Since the icons of the same application program can be displayed on different screens of the electronic device, that is, the icon of the first application program can be displayed in the nth screen or other screens of the M screens. Thus, in the event that the message priority of the first message conforms to the nth message priority, the electronic device may update the first identifier and maintain the display of the second identifier.
It should be noted that, the updating the first identifier may include the following two cases: in a first case, when the first application does not include an unread message, after receiving a message through the first application, the electronic device may display an identifier indicating that the number of messages is 1 on an icon of the first application; in case that the first application includes other unread messages, the electronic device may change the number of messages indicated by the identifier on the icon of the first application, for example, if the number of messages indicated by the identifier is 2 before the first application receives the message, the number of messages indicated by the identifier may change from 2 to 3 after the first application receives the message.
In the embodiment of the invention, after receiving the message through the application program, the electronic equipment can update the message number identifier on the icon of the application program in the screen for displaying the notification message of the message and control the message number identifier on the icon of the application program in other screens to be unchanged, so that the electronic equipment can distinguish and display the number of messages with different message priorities received by the same application program on different screens, and a user can conveniently process the message according to the message priority of the message under the condition of more unread messages.
Optionally, after receiving the first message, the electronic device may output an alert tone and/or illuminate an alert light according to two possible implementations described below.
In a first possible implementation, the electronic device may output an alert tone and/or illuminate an alert light regardless of the message priority level of the first message.
In a second possible implementation, in the case that the message priority of the first message is greater than or equal to the preset priority, an alert tone is output and/or an alert lamp is lit. Exemplarily, in conjunction with fig. 2, as shown in fig. 5, the message notification method provided in the embodiment of the present invention may further include S204 described below.
And S204, under the condition that the message priority of the first message is greater than or equal to the preset priority, the electronic equipment outputs a prompt tone and/or lights a prompt lamp.
After determining the message priority of the first message, the electronic device may determine whether the message priority of the first message is greater than or equal to a preset priority. If the message priority of the first message is larger than or equal to the preset priority, the electronic equipment outputs a prompt tone and/or lights a prompt lamp, and displays a notification message corresponding to the first message on a corresponding screen; and if the message priority of the first message is less than the preset priority, the electronic equipment only displays the notification message corresponding to the first message on the corresponding screen.
Optionally, the electronic device may start the warning tone function and/or the warning light function through a preset control, and close the warning tone function and/or the warning light function through the preset control. Specifically, a user can respectively perform touch input on the preset control, so that the electronic equipment can start a prompt tone function and/or a prompt lamp function; thereafter, in the case where the message priority of the received message is greater than or equal to the preset priority, the electronic device may output an alert tone and/or light an alert lamp. In addition, the user can also carry out touch input on the preset control, so that the electronic equipment can respond to the touch input and stop the prompt tone and the prompt lamp.
Optionally, the prompt lamp may be a flash lamp, a breathing lamp, a lamp strip, or other possible lamps, and may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the electronic device may output a warning tone and/or light a warning light when the message priority of the first message is greater than or equal to the preset priority. By the scheme, the prompt tone and the prompt lamp are not limited to the screen which is operated by the user, namely, the prompt tone and the prompt lamp which are output by the electronic equipment can be noticed under the condition that the user operates any screen of the electronic equipment, so that even if the user operates other screens which do not display the notification message of the message, the electronic equipment can prompt the user to view the message meeting the preset priority by outputting the prompt tone and/or lighting the prompt lamp, thereby avoiding missing important messages.
Alternatively, in order to facilitate the user to operate the notification messages in all the screens, after the notification message of the first message is displayed in the nth screen of the M screens, the electronic device may display all the notification messages in the nth screen in the first target screen in a case where the electronic device satisfies some conditions.
Exemplarily, with reference to fig. 2, as shown in fig. 6, after the above S202, the message notification method provided in the embodiment of the present invention may further include the following S205.
And S205, under the condition that the preset condition is met, the electronic equipment displays all notification messages in the Nth screen in the first target screen.
Wherein the preset condition may include at least one of the following: the system time of the electronic equipment is a preset time, the number of all notification messages in the Nth screen is larger than or equal to a preset number, and the received input is a preset input.
Optionally, the first target screen may be a first screen with the highest display priority among M screens of the electronic device, or a screen that receives a touch operation when the preset condition is met, that is, a screen currently operated by a user. It should be noted that, the screen receiving the touch operation may be understood as: when a preset condition is met, a screen currently operated by a user is displayed; the first screen may be a screen for receiving a touch operation, or may be another screen, and may be determined according to a use requirement.
Optionally, the electronic device may display the notification message in the nth screen in the first target screen or may display all notification messages in screens other than the first target screen in the first target screen when the preset condition is met.
Taking the preset condition as the system time of the electronic device as the preset time as an example. For example, with the preset time as 7 am on friday: 00, the electronic device may be configured to operate at 7: 00, all notification messages in the nth screen are displayed in the first target screen, or all notification messages in screens other than the first target screen are displayed in the first target screen.
Take the above-mentioned preset condition as the case that the number of notification messages in the nth screen is greater than or equal to the preset number. For example, taking the preset number of 50 as an example, in the case that the number of notification messages in the nth screen of the electronic device is greater than or equal to 50, the electronic device may display all notification messages in the nth screen in the first target screen. Alternatively, in a case where the total number of all notification messages in the screens other than the first target screen in the electronic device is greater than or equal to 50, the electronic device may display all notification messages in the screens other than the first target screen in the first target screen.
Take the above-mentioned preset condition as the received input of the user as the preset input as an example. For example, taking a preset input as a click input to the target control of the user as an example, after the user performs the click input to the target control, the electronic device may receive the click input and, in response to the click input, display the notification message of the first message or all notification messages in the nth screen in the first target screen, or display all notification messages in other screens except the first target screen in the first target screen.
It should be noted that the preset conditions include at least two of the following items: when the system time of the electronic device is a preset time, the number of all notification messages in the nth screen is greater than or equal to the preset number, and the received input is a preset input, the electronic device may display the notification messages of other screens in the first target screen when the preset condition satisfies any one item, or may display the notification messages of other screens in the first target screen when the preset condition satisfies all items.
In the embodiment of the invention, the electronic device can display all the notification messages in the Nth screen in the first target screen under the condition that the preset condition is met, and when the first target screen is the first screen, the priority of the first screen is highest, so that the user can conveniently operate the notification messages or all the notification messages of the first message in the Nth screen. When the first target screen is a screen which receives touch operation when the preset condition is met, the screen is a screen which is currently operated by a user, so that the user can operate the notification message or all notification messages of the first message in the Nth screen under the condition of not switching the screens. Thereby avoiding the user missing notification messages for messages of lower priority.
Alternatively, after the electronic device displays all notification messages in the nth screen in the first target screen, the electronic device may process the notification messages accumulated in the nth screen collectively in the first target screen.
For example, referring to fig. 7 in conjunction with fig. 2, after S205 described above, the message notification method provided in the embodiment of the present invention may further include S206 to S207 described below.
S206, the electronic equipment receives a first input of the target notification message in the first target screen.
The target notification message may be at least one notification message among all notification messages displayed in the first target screen.
Optionally, in this embodiment of the present invention, the first input may be any possible input, such as a click input, a slide-up input, a slide-down input, a slide-left input, a slide-right input, a long-press input, or a re-press input, for the target notification message in the first target screen.
It should be noted that, in the embodiment of the present invention, the upper, lower, left, and right, etc. are all exemplified by the user inputting on the screen of the electronic device when the screen of the electronic device faces the user, that is, the upper, lower, left, and right, etc. are all relative to the screen of the electronic device with respect to the user inputting on the screen of the electronic device.
And S207, the electronic equipment responds to the first input and executes the target action.
The target action may include at least one of: canceling the display of the target notification message in the first target screen and the nth screen; canceling all notification messages from being displayed in the first target screen and the Nth screen; displaying message content corresponding to the target notification message on a first target screen, and canceling display of the target notification message in the first target screen and an Nth screen; deleting the message content corresponding to the target notification message from the electronic equipment; and forwarding the message content corresponding to the target notification message to the target contact.
The following exemplifies a target action by taking as an example a target notification message displayed in the first screen.
For example, in a case where the first input is used to indicate deletion of the target notification message, the electronic device may cancel displaying the target notification message in the first screen and the nth screen in response to the first input. In a case where the first input is used to indicate deletion of all notification messages, the electronic device may cancel displaying all notification messages in the first screen and the nth screen in response to the first input. In a case where the first input is for indicating to view the message content corresponding to the target notification message, the electronic device may display the message content corresponding to the target notification message in the first screen and cancel displaying the target notification message in the first screen and the nth screen in response to the first input. In a case where the first input is for instructing deletion of the message content corresponding to the target notification message, the electronic device may delete the message content corresponding to the target notification message from the electronic device in response to the first input. In a case where the first input is indicative of forwarding message content corresponding to the target notification message to the target contact, the electronic device may forward message content corresponding to the target notification message to the target contact in response to the first input.
In the embodiment of the invention, the electronic equipment can cancel the display of the target notification message in the Nth screen by responding to the input of the first target screen, so that on one hand, the user operation can be simplified, namely, the user does not need to perform repeated operation in the Nth screen. On the other hand, the electronic equipment can not prompt that the message corresponding to the target notification message is received, and the display space of the screen of the electronic equipment is saved.
Optionally, the electronic device may adjust the display priority of each screen in real time according to the frequency of use of each screen in the M screens. Based on this, before displaying the notification message of the first message in the nth screen of the M screens of the electronic device, the electronic device may acquire an nth display priority corresponding to the nth message priority, and determine the nth screen as the screen on which the notification message of the first message is to be displayed, where the display priority of the nth screen is the nth display priority.
For example, with reference to fig. 2, as shown in fig. 8, before the foregoing S202, the message notification method provided in the embodiment of the present invention may further include the following S208 to S209.
S208, the electronic equipment determines the display priority of each screen according to the use frequency of each screen in the M screens.
It should be noted that the execution sequence of S201 and S208 is not specifically limited in the embodiment of the present invention. For example, the electronic device may perform S201 first, and then perform S208; alternatively, S208 may be performed first, and then S201 may be performed; alternatively, S201 and S208 may be performed simultaneously.
Optionally, the electronic device may periodically acquire the use frequency of each screen in the M screens, and determine the display priority of each screen in real time according to the use frequency of each screen in the M screens. For the description that the electronic device determines the display priority of each screen according to the usage frequency of each screen in the M screens, reference may be specifically made to the related description of "display priority" in the above embodiment S201, and details are not described here again.
S209, the electronic equipment acquires the Nth display priority corresponding to the Nth message priority, and determines the Nth screen as a screen for displaying the notification message of the first message.
Wherein the display priority of the Nth screen is the Nth display priority.
Different screens correspond to different display priorities, which may correspond to notification messages of different priorities.
Illustratively, taking N as an example, the first screen may correspond to a first display priority, and the first display priority may correspond to a notification message of a message of the first priority. If the message priority of the first message is the first priority, the electronic device may obtain a first display priority corresponding to the first priority, and further determine the first screen according to the first display priority. Thereafter, the electronic device may determine the first screen as a screen on which a notification message of the first message is to be displayed.
In the embodiment of the invention, the use frequency of each screen in the M screens can be changed along with the time. Therefore, the electronic equipment can adjust the display priority of each screen in real time according to the use frequency of each screen in the M screens, so that the mode of displaying the notification message by the electronic equipment becomes more flexible, and the man-machine interaction performance is improved.
Optionally, the electronic device may further adjust the display priority of each screen in real time according to a spatial distance between the screen receiving the touch operation and another screen when receiving the first message.
For example, before the above S202, the message notification method provided in the embodiment of the present invention may further include the following S210 to S211.
S210, the electronic equipment determines that when the first message is received, the screen receiving the touch operation in the M screens is the first screen with the highest display priority.
S211, the electronic equipment determines the display priority of other screens according to the space distance between the first screen and the other screens of the M screens.
Wherein the farther the spatial distance between the other screens and the first screen is, the lower the display priority of the other screens is.
For example, as shown in fig. 9, when M is 4 and the screen 93 receives the first message, the screen receiving the touch operation is taken as an example among the 4 screens. Since the distance between the screen 92 and the screen 94 and the screen 93 is the closest, and the distance between the screen 91 and the screen 93 is the farthest, the display priorities of the 4 screens may be arranged in order from high to low: display priority of screen 93 > display priority of screen 92 > display priority of screen 94 > display priority of screen 91; alternatively, the display priority of the screen 93 > the display priority of the screen 92 ═ the display priority of the screen 94 > the display priority of the screen 91; alternatively, the display priority of the screen 93 > the display priority of the screen 92 > the display priority of the screen 94 > the display priority of the screen 91.
In the embodiment of the invention, the electronic equipment can adjust the display priority of each screen in real time according to the space distance between the screen receiving the touch operation and other screens when receiving the first message, so that a user can more conveniently process the notification message when receiving the notification message of the first message, and further the man-machine interaction performance is improved.
It should be noted that, in the embodiment of the present invention, the message notification methods shown in the above method drawings are all exemplarily described by referring to one drawing in the embodiment of the present invention. In specific implementation, the message notification method shown in each method drawing may also be implemented in combination with any other drawing that may be combined, which is illustrated in the foregoing embodiments, and is not described here again.
As shown in fig. 10, an embodiment of the present invention provides an electronic device 1010, and the electronic device 1010 may include a receiving module 1011 and a display module 1012. The receiving module 1011 may be configured to receive a first message. The display module 1012 may be configured to display the notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message received by the receiving module 1011 conforms to the nth message priority. The display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M.
Optionally, in this embodiment of the present invention, the display module 1012 may be further configured to display all notification messages in the nth screen of the M screens in the first target screen when a preset condition is met after the notification message of the first message is displayed in the nth screen. The first target screen is a first screen with the highest display priority, or a screen for receiving touch operation when a preset condition is met, wherein the preset condition comprises at least one of the following items: the system time of the electronic equipment is a preset time, the number of all notification messages in the Nth screen is larger than or equal to a preset number, and the received input is a preset input.
Optionally, with reference to fig. 10, as shown in fig. 11, in this embodiment of the present invention, the electronic device 1010 may further include a processing module 1013. The receiving module 1011 may be further configured to receive a first input of the target notification message in the first target screen after the displaying module 1012 displays all the notification messages in the nth screen in the first target screen. The processing module 1013 may be configured to execute the target action in response to the first input received by the receiving module 1011. Wherein the target action comprises at least one of: canceling the display of the target notification message in the first target screen and the nth screen; canceling all notification messages from being displayed in the first target screen and the Nth screen; displaying message content corresponding to the target notification message on a first target screen, and canceling display of the target notification message in the first target screen and an Nth screen; deleting the message content corresponding to the target notification message from the electronic equipment; and forwarding the message content corresponding to the target notification message to the target contact.
Optionally, in this embodiment of the present invention, in a case that the first message is a notification message received through the first application, the display module 1012 may be further configured to update the first identifier and keep displaying the second identifier when the message priority of the first message matches the nth message priority after the receiving module 1011 receives the first message. Wherein the first identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the nth screen, and the second identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the other screens of the M screens.
Optionally, with reference to fig. 10, as shown in fig. 11, in this embodiment of the present invention, the electronic device 1010 may further include a processing module 1013. The processing module 1013 may be further configured to, after the receiving module 1011 receives the first message, determine the message priority of the first message according to the message type of the first message and/or the type of the application program that receives the first message.
Optionally, with reference to fig. 10, as shown in fig. 11, in this embodiment of the present invention, the electronic device 1010 may further include a processing module 1013. The processing module 1013 is further configured to determine a display priority of each screen according to the frequency of use of each screen in the M screens; and acquiring the Nth display priority corresponding to the Nth message priority, and determining the Nth screen as a screen for displaying the notification message of the first message.
Optionally, in this embodiment of the present invention, the electronic device 1010 may further include a processing module 1013. The processing module 1013 may be specifically configured to determine that, when the receiving module 1011 receives the first message, a screen that receives a touch operation in the M screens is a first screen with a highest display priority; determining the display priority of other screens according to the spatial distance between the first screen and other screens of the M screens; wherein the farther the spatial distance between the other screens and the first screen is, the lower the display priority of the other screens is.
Optionally, in this embodiment of the present invention, the display module 1012 may be further configured to display a notification message of the first message in a second target screen after the receiving module 1011 receives the first message, where the second target screen may be a screen that receives a touch operation when the receiving module 1011 receives the first message.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides electronic equipment which can receive a first message; and displaying a notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message conforms to the nth message priority. By the scheme, after the electronic device receives the first message, the electronic device can control the notification message of the first message to be displayed on the screen with the display priority corresponding to the message priority of the first message according to the message priority of the first message, so that the electronic device can control the notification message with the lower message priority to be displayed on the screen with the lower display priority, for example, on other screens besides the main screen, so that certain messages with lower priority but possibly interested by the user can be displayed on the screen, and the probability that the user misses certain message notifications is reduced. Therefore, the method for notifying the message has better man-machine interaction performance.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in fig. 12, the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to control the radio frequency unit 101 to receive a first message; and according to the first message received by the radio frequency unit 101, controlling the display unit 106 to display the notification message of the first message in the nth screen of the M screens under the condition that the message priority of the first message is in accordance with the nth message priority.
It can be understood that, in the embodiment of the present invention, the receiving module 1011 in the structural schematic diagrams of the electronic device (for example, fig. 10 and 11) may be implemented by the radio frequency unit 101, and the display module 1012 may be implemented by the display unit 106. The processing module 1013 in the structural schematic diagram of the electronic device (for example, fig. 11) may be implemented by the processor 110.
The embodiment of the invention provides electronic equipment, which can receive a first message; and displaying a notification message of the first message in an nth screen of the M screens in a case where the message priority of the first message conforms to the nth message priority. By the scheme, after the electronic device receives the first message, the electronic device can control the notification message of the first message to be displayed on the screen with the display priority corresponding to the message priority of the first message according to the message priority of the first message, so that the electronic device can control the notification message with the lower message priority to be displayed on the screen with the lower display priority, for example, on other screens besides the main screen, so that certain messages with lower priority but possibly interested by the user can be displayed on the screen, and the probability that the user misses certain message notifications is reduced. Therefore, the method for notifying the message has better man-machine interaction performance.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 12, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, the first user interface, the application program, and the like, and the modem processor mainly handles the wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 12, the memory 109, and a computer program stored in the memory 109 and capable of running on the processor 110, where the computer program, when executed by the processor 110, implements each process of the foregoing message notification method embodiment, and can achieve the same technical effect, and details are not described here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned message notification method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may include a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (15)

1. A message notification method applied to an electronic device including M screens, the method comprising:
receiving a first message;
displaying a notification message of the first message in an Nth screen of the M screens in case that the message priority of the first message conforms to an Nth message priority;
the display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M;
the first message is a notification message received by a first application program; after the receiving the first message, the method further comprises:
under the condition that the message priority of the first message accords with the Nth message priority, updating the first identifier and keeping displaying the second identifier;
wherein the first identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the nth screen, and the second identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the other screens of the M screens.
2. The method of claim 1, wherein after displaying the notification message of the first message in an nth screen of the M screens, the method further comprises:
displaying all notification messages in the Nth screen in a first target screen under the condition that a preset condition is met;
the first target screen is a first screen with the highest display priority, or a screen for receiving touch operation when the preset condition is met; the preset condition comprises at least one of the following conditions: the system time of the electronic equipment is preset time, the number of all notification messages in the Nth screen is larger than or equal to the preset number, and the received input is preset input.
3. The method of claim 2, wherein after displaying all notification messages in the nth screen in the first target screen, the method further comprises:
receiving a first input of a target notification message in the first target screen;
in response to the first input, performing a target action;
wherein the target action comprises at least one of: canceling the display of the target notification message in the first target screen and the Nth screen; canceling all notification messages from being displayed in the first target screen and the Nth screen; displaying message content corresponding to the target notification message on the first target screen, and canceling the display of the target notification message in the first target screen and the Nth screen; deleting the message content corresponding to the target notification message from the electronic equipment; and forwarding the message content corresponding to the target notification message to the target contact.
4. The method of claim 1, wherein after receiving the first message, the method further comprises:
and determining the message priority of the first message according to the message type of the first message and/or the type of an application program receiving the first message.
5. The method of claim 1, further comprising:
determining the display priority of each screen according to the use frequency of each screen in the M screens;
the displaying the notification message of the first message in an nth screen of the M screens may include:
and acquiring the Nth display priority corresponding to the Nth message priority, and determining the Nth screen as a screen to be used for displaying the notification message of the first message.
6. The method of claim 1, further comprising:
determining that a screen receiving touch operation in the M screens is a first screen with the highest display priority when the first message is received;
determining the display priority of other screens according to the space distance between the first screen and the other screens of the M screens;
wherein the farther the spatial distance between the other screen and the first screen is, the lower the display priority of the other screen is.
7. The method of claim 1, wherein after receiving the first message, the method further comprises:
and displaying a notification message of the first message in a second target screen, wherein the second target screen is a screen for receiving touch operation when receiving the first message.
8. An electronic device, the electronic device comprising M screens, the electronic device comprising a receiving module and a display module:
the receiving module is used for receiving a first message;
the display module is configured to display a notification message of the first message in an nth screen of the M screens when the message priority of the first message received by the receiving module conforms to the nth message priority;
the display priority of the Nth screen is the Nth display priority, the Nth display priority corresponds to the Nth message priority, M and N are positive integers, and N is smaller than or equal to M;
the first message is a notification message received by a first application program;
the display module is further configured to update the first identifier and keep displaying the second identifier when the message priority of the first message conforms to the nth message priority after the receiving module receives the first message;
wherein the first identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the nth screen, and the second identifier is an identifier indicating the number of notification messages displayed on an icon of the first application in the other screens of the M screens.
9. The electronic device of claim 8, wherein the display module is further configured to display all notification messages in an nth screen of the M screens in a first target screen if a preset condition is met after displaying the notification message of the first message in the nth screen;
the first target screen is a first screen with the highest display priority, or a screen for receiving touch operation when the preset condition is met; the preset condition comprises at least one of the following conditions: the system time of the electronic equipment is preset time, the number of all notification messages in the Nth screen is larger than or equal to the preset number, and the received input is preset input.
10. The electronic device of claim 9, further comprising a processing module;
the receiving module is further configured to receive a first input of a target notification message in a first target screen after the display module displays all notification messages in the nth screen in the first target screen;
the processing module is used for responding to the first input received by the receiving module and executing a target action;
wherein the target action comprises at least one of: canceling the display of the target notification message in the first target screen and the Nth screen; canceling all notification messages from being displayed in the first target screen and the Nth screen; displaying message content corresponding to the target notification message on the first target screen, and canceling the display of the target notification message in the first target screen and the Nth screen; deleting the message content corresponding to the target notification message from the electronic equipment; and forwarding the message content corresponding to the target notification message to the target contact.
11. The electronic device of claim 8, further comprising a processing module;
the processing module is used for determining the display priority of each screen according to the use frequency of each screen in the M screens; and acquiring the Nth display priority corresponding to the Nth message priority, and determining the Nth screen as a screen to be used for displaying the notification message of the first message.
12. The electronic device of claim 8, further comprising a processing module;
the processing module is configured to determine that, when the receiving module receives the first message, a screen receiving a touch operation in the M screens is a first screen with a highest display priority; determining the display priority of other screens according to the space distance between the first screen and the other screens of the M screens;
wherein the farther the spatial distance between the other screen and the first screen is, the lower the display priority of the other screen is.
13. The electronic device of claim 8, wherein the display module is further configured to display a notification message of the first message in a second target screen after the receiving module receives the first message, and the second target screen is a screen that receives a touch operation when receiving the first message.
14. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the message notification method as claimed in any one of claims 1 to 7.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the message notification method according to any one of claims 1 to 7.
CN201911296413.8A 2019-12-16 2019-12-16 Message notification method and electronic equipment Active CN111124573B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911296413.8A CN111124573B (en) 2019-12-16 2019-12-16 Message notification method and electronic equipment
PCT/CN2020/134942 WO2021121099A1 (en) 2019-12-16 2020-12-09 Message notification method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911296413.8A CN111124573B (en) 2019-12-16 2019-12-16 Message notification method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111124573A CN111124573A (en) 2020-05-08
CN111124573B true CN111124573B (en) 2022-04-22

Family

ID=70499312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911296413.8A Active CN111124573B (en) 2019-12-16 2019-12-16 Message notification method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111124573B (en)
WO (1) WO2021121099A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124573B (en) * 2019-12-16 2022-04-22 维沃移动通信有限公司 Message notification method and electronic equipment
CN111857835B (en) * 2020-07-23 2024-01-19 珠海优特电力科技股份有限公司 Signal processing method and device, smart card and readable storage medium
CN112099685B (en) * 2020-09-04 2022-08-16 维沃移动通信有限公司 Notification message display control method and device, electronic equipment and readable storage medium
CN112148412A (en) * 2020-09-29 2020-12-29 维沃移动通信有限公司 Notification message display method and device and electronic equipment
CN112199174A (en) * 2020-09-30 2021-01-08 北京字节跳动网络技术有限公司 Message sending control method and device, electronic equipment and computer readable storage medium
CN117056092A (en) * 2022-05-07 2023-11-14 华为技术有限公司 Message pushing method and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3938307B2 (en) * 2001-12-27 2007-06-27 インターナショナル・ビジネス・マシーンズ・コーポレーション Display device, display method, display program, and recording medium
CN103488376A (en) * 2013-06-29 2014-01-01 华为技术有限公司 Desktop assembly fusing, combining and splitting method and equipment
CN104238875B (en) * 2014-08-15 2018-07-24 小米科技有限责任公司 Application program footmark adding method and device
US10616145B2 (en) * 2016-06-30 2020-04-07 Microsoft Technology Licensing, Llc Message grouping and relevance
US10114525B2 (en) * 2016-12-28 2018-10-30 Byung Jin Kim Device and method for organizing and displaying instant messages in various structured fashions
WO2018120190A1 (en) * 2016-12-30 2018-07-05 华为技术有限公司 Method for indicating unread message, and terminal
WO2018201300A1 (en) * 2017-05-02 2018-11-08 华为技术有限公司 Notification processing method and electronic device
US10749828B2 (en) * 2018-03-14 2020-08-18 Rovi Guides, Inc. Systems and methods for presenting event notifications, based on trending communications, on devices notwithstanding a user instruction to disable event notifications
CN109614183A (en) * 2018-11-22 2019-04-12 维沃移动通信有限公司 A kind of message display method and terminal device
CN109683838A (en) * 2018-12-20 2019-04-26 维沃移动通信有限公司 A kind of display methods and terminal of terminal
CN109976844A (en) * 2019-01-25 2019-07-05 维沃移动通信有限公司 A kind of message display method and mobile terminal
CN111124573B (en) * 2019-12-16 2022-04-22 维沃移动通信有限公司 Message notification method and electronic equipment

Also Published As

Publication number Publication date
CN111124573A (en) 2020-05-08
WO2021121099A1 (en) 2021-06-24

Similar Documents

Publication Publication Date Title
CN110069306B (en) Message display method and terminal equipment
CN111124224B (en) Application program control method and electronic equipment
CN110995923B (en) Screen projection control method and electronic equipment
CN110752980B (en) Message sending method and electronic equipment
CN111124573B (en) Message notification method and electronic equipment
CN108958865B (en) Corner mark management method and mobile terminal
CN111459355B (en) Content sharing method and electronic equipment
CN109101147B (en) Message notification display method and terminal
CN109543099B (en) Content recommendation method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN110750188A (en) Message display method and electronic equipment
CN109471690B (en) Message display method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN109871164B (en) Message sending method and terminal equipment
CN110888707A (en) Message sending method and electronic equipment
CN109857494B (en) Message prompting method and terminal equipment
CN110764666B (en) Display control method and electronic equipment
CN111596982A (en) Display method, display device and electronic equipment
CN110647266A (en) Information display method and terminal equipment
CN109600297B (en) Identification clearing method and terminal equipment
CN110752981B (en) Information control method and electronic equipment
CN109358931B (en) Interface display method and terminal
CN111443844A (en) Information processing method and electronic equipment
CN111030917B (en) Message display method and electronic equipment
CN110231972B (en) Message display method and terminal equipment

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