CN114518926A - Notification message display method and device, electronic equipment and medium - Google Patents

Notification message display method and device, electronic equipment and medium Download PDF

Info

Publication number
CN114518926A
CN114518926A CN202210150894.7A CN202210150894A CN114518926A CN 114518926 A CN114518926 A CN 114518926A CN 202210150894 A CN202210150894 A CN 202210150894A CN 114518926 A CN114518926 A CN 114518926A
Authority
CN
China
Prior art keywords
message
notification
notification message
input
window
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.)
Pending
Application number
CN202210150894.7A
Other languages
Chinese (zh)
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 CN202210150894.7A priority Critical patent/CN114518926A/en
Publication of CN114518926A publication Critical patent/CN114518926A/en
Pending legal-status Critical Current

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

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

Abstract

The application discloses a notification message display method, a notification message display device, an electronic device and a medium, wherein the notification message display method comprises the following steps: receiving a first input of a first notification message in a status notification bar of a target interface; in response to the first input, displaying a message window in the target interface and displaying the first notification message in the message window; wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.

Description

Notification message display method and device, electronic equipment and medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a notification message display method and apparatus, an electronic device, and a medium.
Background
At present, when an electronic device receives a notification, there are two main opening modes: 1. opening a notice on a screen locking interface; 2. a notification is opened in the status bar. For the first mode, after a user clicks a notification on a screen locking interface, unlocking the electronic device to enter a corresponding application program to display the notification; for the second mode, the user clicks the notification after pulling down the top status bar, and then the status bar is retracted and enters the application program where the notification is located to display the notification.
Therefore, in the notification opening mode in the related art, the application program corresponding to the notification is opened based on the operation of the user to display the notification message, and the problem that the display flow of the notification message is relatively complex exists.
Disclosure of Invention
An object of the embodiments of the present application is to provide a notification message display method, an apparatus, an electronic device, and a medium, so as to solve a problem that a display flow of a notification message in the related art is relatively complex.
In a first aspect, an embodiment of the present application provides a notification message display method, including:
receiving a first input of a first notification message in a status notification bar of a target interface;
in response to the first input, displaying a message window in the target interface and displaying the first notification message in the message window;
wherein the target interface comprises any one of: screen locking interface, desktop and application program interface
In a second aspect, an embodiment of the present application provides a notification message display apparatus, including:
the first receiving module is used for receiving first input of a first notification message in a state notification bar of the target interface;
a display module, configured to display a message window in the target interface in response to the first input, and display the first notification message in the message window;
Wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, when first input of a first notification message in a state notification bar of a target interface by a user is received, responding to the first input, displaying a message window for displaying the first notification message on a lock screen interface, a desktop or an application program interface, and displaying the message window on the lock screen interface, so that the notification content corresponding to the first notification message can be acquired through the message window displayed on the lock screen interface in a window display mode without unlocking the electronic equipment by the user; by displaying the message window on the desktop, the notification content corresponding to the first notification message can be displayed on the desktop in a window display mode without entering an application program corresponding to the notification message; by displaying the message window on the application program interface, the notification content corresponding to the first notification message can be displayed on the basis of not interrupting the original use behavior of the user, and the user can be ensured not to quit the currently running application program while knowing the detailed content corresponding to the first notification message.
Drawings
Fig. 1 is a schematic diagram of a notification message display method provided in an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a window for switching from displaying a first notification message on a lock screen interface to displaying a message according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a message window displayed on an application program interface according to an operation on a notification message in a status notification bar according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a switching from a lock screen interface displaying a message window to displaying a first notification message according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a notification message display apparatus provided in an embodiment of the present application;
FIG. 6 is a schematic block diagram of an electronic device provided by an embodiment of the application;
fig. 7 is a second schematic block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a notification message display method provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a notification message display method, including:
step 101, receiving a first input of a first notification message in a status notification bar of a target interface.
The notification message display method provided by the embodiment of the application is applied to the electronic equipment, and after the first notification message is acquired, when the user needs to view the detailed content of the first notification message, the electronic equipment receives the first input of the user on the first notification message in the state notification bar of the target interface. The first input here includes, but is not limited to, a click, a long press, a drag, and the like, and is an input that controls switching of the display mode of the notification to the window display mode.
The receiving of the first input of the user to the first notification message may specifically be receiving an input of the user to the first notification message, which is used for triggering the window style display of the message window. For example, the first input is a dragging input, and the electronic device receives a downward dragging input after the user presses and holds the first notification message to trigger switching to a window display mode; or the first input is a long press input, the electronic equipment receives the long press input of the user to the first notification message, and the window style is displayed when the press duration is longer than the preset duration; or the first input is click input, the electronic device receives click input of the user to the first notification message, and the window style is displayed when the click input meets the preset input characteristic.
Step 102, responding to the first input, displaying a message window in the target interface, and displaying the first notification message in the message window, wherein the target interface includes any one of the following items: a screen locking interface, a desktop, and an application program interface.
After first input of a user for a first notification message is received, responding to the first input, displaying a message window on a target interface, and displaying the first notification message in the message window, specifically displaying notification content corresponding to the first notification message, so that detailed content corresponding to the first notification message is displayed through the message window. And at the same time of displaying the first notification message through the message window, canceling the display of the first notification message in the state notification bar, and displaying the message window in a local area of the target interface.
The target interface in the embodiment of the application is a screen locking interface, a desktop or an application program interface, and the application program interface is an interface corresponding to an application program currently running on the electronic device. The state notification bar is displayed on the target interface, the message window is displayed on the target interface according to the first input of the user to the first notification message in the state notification bar, the input of the user in the target interface is achieved, the notification content corresponding to the first notification message is displayed on the target interface through the message window, and therefore the first notification message is displayed quickly, the operation of the user is simplified due to the fact that the state notification bar and the message window are displayed on the same interface, and the experience of the user in browsing the notification content corresponding to the first notification message is improved.
The following description is respectively directed to the case where the target interface is a lock screen interface, a desktop interface, or an application interface. And responding to the first input and displaying a message window for displaying notification content corresponding to the first notification message on the screen locking interface under the condition that the electronic equipment acquires the first notification message in the screen locking state and receives the first input of a user on the first notification message in a status notification bar of the screen locking interface in the screen locking state. The method and the device have the advantages that the notification content corresponding to the first notification message can be acquired through the message window displayed on the screen locking interface in the window display mode without unlocking the electronic equipment by a user, so that the problem that the display process is relatively complex when the notification is opened on the screen locking interface is solved, and the operation of acquiring the detailed content of the first notification message by the user is simplified.
For the situation that the first notification message is received under the situation that the desktop is displayed, and the state notification bar is displayed on the desktop, responding to the first input of the first notification message in the state notification bar of the desktop by the user, displaying a message window for displaying the notification content corresponding to the first notification message on the desktop, and displaying the notification content corresponding to the first notification message on the desktop in a window display mode without entering an application program corresponding to the notification message.
The method comprises the steps that when the electronic equipment runs a first application program and an application program interface corresponding to the first application program is displayed on a display screen, the electronic equipment acquires a first notification message, receives first input of a user to the first notification message in a state notification bar of the application program interface, and responds to the first input, and a message window used for displaying notification content corresponding to the first notification message is displayed on the application program interface of the first application program. By displaying the message window on the application program interface of the first application program, the notification content corresponding to the first notification message can be displayed on the application program interface on the basis of not interrupting the original use behavior of the user, so that the user can know the detailed content corresponding to the first notification message and can not quit the currently running first application program.
In the implementation process of the application, when a first input of a first notification message in a state notification bar of a target interface by a user is received, a message window for displaying notification content corresponding to the first notification message is displayed on a lock screen interface, a desktop or an application program interface in response to the first input, by displaying the message window on the lock screen interface, it is possible to achieve that the notification content corresponding to the first notification message can be obtained through the message window displayed on the lock screen interface in a window display mode without unlocking an electronic device by the user, by displaying the message window on the desktop, it is possible to display the notification content corresponding to the first notification message in a window display mode on the desktop without entering the application program corresponding to the notification message, by displaying the message window on the application program interface, it is possible to display the notification content corresponding to the first notification message on the basis of not interrupting the original use behavior of the user, the user is ensured not to exit the currently running application program while knowing the detailed content corresponding to the first notification message.
Since the target interface includes any one of a lock screen interface, a desktop, and an application interface, step 101 receives a first input of a first notification message in a status notification bar of the target interface, where the first input includes one of:
Receiving a first input of a first notification message in a status notification bar displayed on a lock screen interface;
receiving a first input of a first notification message in a status notification bar displayed on a desktop;
a first input is received for a first notification message in a status notification bar displayed in an application interface.
The method includes the steps that a state notification bar comprising a first notification message is displayed on a screen locking interface when the electronic equipment acquires the first notification message in a screen locking state, wherein the first notification message displayed in the state notification bar is a prompt state prompting that the first notification message is received, namely, the first notification message in the state notification bar displays at least part of notification content of the first notification message, and only part of the notification content can be displayed when the notification content is more. And aiming at the condition that the first notification message is a voice message, the first notification message in the state notification bar is a voice prompt message. The first input received by the electronic equipment is input of a first notification message in a status notification bar displayed by the lock screen interface by a user. In this case, a message window for displaying notification content corresponding to the first notification message is displayed on the lock screen interface. For example, referring to fig. 2, a user's downward drag input of a first notification message 201 (the first notification message is a notification message associated with an electronic book) in a status notification bar displayed on the lock screen interface is received, and a switch to a window display mode is triggered according to the drag input, that is, a window style 202 display is triggered, so that a message window 203 is displayed on the lock screen interface, and the detailed content of the notification message associated with the electronic book is displayed through the message window 203. Of course, the first input may be other types of inputs, which are not listed here.
And when receiving the downward dragging input of the first notification message by a user, triggering a message window to display on the desktop so as to display the notification content corresponding to the first notification message through the message window. Of course, the first input may be other types of inputs, which are not listed here.
The method comprises the steps that when the first application program is operated by the electronic equipment and an application program interface corresponding to the first application program is displayed on a display screen, the electronic equipment acquires a first notification message, a state notification bar comprising the first notification message is displayed on the application program interface of the first application program, and the first notification message displayed in the state notification bar is a prompt state for prompting that the first notification message is received. Because the graphical user interface of the electronic device currently displays the application program interface corresponding to the first application program, the user can pull down the status notification bar to search for the first notification message and perform the first input on the first notification message, and the electronic device receives the first input of the first notification message in the status notification bar by the user. In this case, a message window for displaying the notification content corresponding to the first notification message is displayed on the application program interface corresponding to the first application program. For example, referring to fig. 3, the electronic device receives a downward drag input of a user to a first notification message 201 in the status notification bar, and switches to a window display mode, that is, triggers a window style 202 to display according to the drag input, so as to display a message window 203 on an application program interface (game interface) corresponding to a first application program, and display notification content of the notification message (first notification message) associated with the electronic book through the message window 203, so that the user can know detailed information conveniently on the basis of not interrupting the original behavior of the user. Of course, the first input may be other types of inputs, which are not listed here.
In the implementation process of the application, aiming at the condition that the electronic equipment acquires the first notification message in the screen locking state, the first input of the first notification message in a state notification bar displayed on the screen locking interface is responded by a user, and a message window is triggered to be displayed on the screen locking interface; in response to a first input of a first notification message in a state notification bar displayed on a desktop by a user, triggering a message window to be displayed on the desktop under the condition that the first notification message is received under the condition that the desktop is displayed; and for the condition that the electronic equipment acquires the first notification message when running the first application program, responding to the first input of the first notification message in a state notification bar displayed on an application program interface by a user, and triggering a message window to be displayed on the application program interface.
Wherein step 102, in response to the first input, displays a message window in the target interface and displays the first notification message in the message window, including:
responding to the first input, displaying the message window for displaying a target application program interface corresponding to the first notification message on the target interface, wherein the target application program interface comprises notification content corresponding to the first notification message;
And the target application program interface is an interface corresponding to the target application program for receiving the first notification message.
And when the message window is displayed in response to the first input, according to the first input of the user, displaying the message window for displaying the target application program interface corresponding to the first notification message on the target interface, wherein the target application program interface displayed on the message window comprises notification content corresponding to the first notification message.
The target application program interface is an interface corresponding to the target application program for receiving the first notification message. Aiming at the condition that the electronic equipment currently runs the first application program, the target application program can be the first application program, and the target application program interface is other application program interfaces which are different from the first application program interface displayed on the display screen at present and correspond to the first application program, so that the other application program interfaces (target application program interfaces) of the first application program are displayed through a message window in a local area of the first application program interface (target interface) under the condition that the first application program interface is displayed on the display screen. For example, the first application program is a communication application program, the first application program interface is an interface for displaying communication contact person dynamic, and when a first notification message sent by a contact person a in the first application program is received, a message window is displayed in the first application program interface in response to a first input of the first notification message in the status notification bar by a user, and an interface for communicating with the contact person a is displayed in the message window. The target application program can also be a second application program different from the first application program, and the target application program interface is an application program interface corresponding to the second application program, so that the application program interface of the second application program is displayed in a local area of the first application program interface through the message window under the condition that the first application program interface is displayed on the display screen. For example, the first application program is a video viewing application, the first application program interface is a video playing interface, and in the case of receiving a first notification message sent by a contact a in a second application program (a communication application), in response to a first input of the first notification message in the status notification bar by a user, a message window is displayed in a local area of the video playing interface, and an interface for communicating with the contact a is displayed in the message window.
When the message window displays the target application program interface corresponding to the first notification message, the display content can be reduced and displayed according to the scale on the basis of the original target application program interface, and the display content cannot deform along with the size of the window body.
In response to the first input, a message window is displayed in a local area of a screen locking interface so as to display a target application program interface comprising notification content corresponding to the first notification message through the message window. And aiming at the condition that the first notification message is received under the condition that the desktop is displayed and the state notification bar is displayed on the desktop, responding to the first input of the first notification message in the state notification bar, and displaying a message window in a local area of the desktop so as to display a target application program interface comprising notification content corresponding to the first notification message through the message window. When the electronic equipment runs a first application program and a first application program interface corresponding to the first application program is displayed on a display screen, the electronic equipment acquires a first notification message and receives a first input of a user to the first notification message, and a message window is displayed in a local area of the first application program interface in response to the first input so as to display a target application program interface including notification content corresponding to the first notification message through the message window. The process can be used for reducing and displaying the content according to the proportion on the basis of the original target application program interface, and the displayed content cannot deform.
In the implementation process of the application, the message window is displayed in the local area of the lock screen interface, the desktop or the application program interface in response to the first input, and the target application program interface including the notification content corresponding to the first notification message is displayed through the message window, so that the notification content can be displayed in the form of the application program interface in the message window.
In an embodiment, in a case that the target interface is an application interface, the displaying a message window in the target interface includes:
and displaying the message window with preset transparency in a first area of the application program interface.
For the case that the target interface is an application program interface, in order to ensure that the content in the application program interface is not blocked when the message window is displayed, the message window may be displayed with a preset transparency in the first area of the application program interface, and the notification content corresponding to the first notification message in the message window may be displayed with the preset transparency.
The message window may be displayed with a first preset transparency, the notification content corresponding to the first notification message in the message window may be displayed with a second preset transparency, the first preset transparency and the second preset transparency may be the same or different, and for the difference between the first preset transparency and the second preset transparency, the difference between the first preset transparency and the second preset transparency is not further limited herein.
The first area of the application program interface may be a predetermined local area, or a local area determined according to the first input. The message window can be displayed in at least a partial area of the first area, and for the case that the message window is displayed in the partial area of the first area, the message window can be moved in the first area according to the trigger of the user, so as to change the position of the message window in the first area based on the requirement of the user.
Correspondingly, the position of the first area can be updated under the condition that the first area is a predetermined local area, and when the position updating input of the user to the first area is received, the message window can be controlled to synchronously update the position, so that the first area is determined in a personalized manner, and the position of the message window is updated. And determining the position of the first area based on the input parameters corresponding to the first input when the first area is the local area determined according to the first input.
By displaying the message window with the first preset transparency and displaying the notification content corresponding to the first notification message in the message window with the second preset transparency, the content in the application program interface is prevented from being shielded on the basis of not interrupting the original behavior of the user when the message window is displayed, and the visual experience of the user is ensured.
In an embodiment, after the displaying the message window in the target interface, the method further includes:
receiving a second input to the message window;
in response to the second input, processing the first notification message.
And displaying a message window on the target interface so as to display the notification content corresponding to the first notification message through the message window, and then receiving a second input of the user to the message window, wherein the second input can be an input of the notification content in the message window or an input of a specific area in the message window. In response to the second input, the first notification message is processed, including but not limited to, deleting the notification content corresponding to the first notification message, replying to the notification content corresponding to the first notification message, copying the notification content corresponding to the first notification message, and the like.
The following describes a process of processing the first notification message in the message window by taking a reply to the notification content corresponding to the first notification message as an example. After the notification content corresponding to the first notification message is displayed through the message window, the click of a user on a specific area in the message window is received, a reply area and a virtual keyboard are displayed in the message window according to the click of the user on the specific area, the reply content is determined according to the input of the user on the virtual keyboard and displayed in the reply area, and finally the reply to the first notification message is completed according to the click of the user on the sending control. In this implementation, the second input includes a click on a particular region, an input on a virtual keyboard, and a click on a send control.
By receiving the second input of the user to the message window, a processing entrance can be provided for processing the notification content corresponding to the first notification message, so that the user can process the notification message in the message window conveniently, the processing process is simplified, and the processing efficiency is improved.
In one embodiment, after the message window is displayed in the target interface, the method further includes:
receiving a third input to the message window;
canceling display of the message window in response to the third input.
After the message window is displayed on the screen locking interface, the desktop or the application program interface, if the user does not need to know the notification content corresponding to the first notification message through the message window, the message window can be directly closed. For the situation, the electronic device receives a third input of the message window from the user, and cancels the display of the message window in response to the third input so as to recover the initial display state of the screen locking interface, the desktop or the application program interface.
Optionally, after the message window is displayed in the target interface, the method further includes:
receiving a fourth input to the message window;
and responding to the fourth input, displaying the first notification message on a state notification bar of the target interface, and canceling the display of the message window.
After the message window is displayed on the screen locking interface, the desktop or the application program interface, if the user does not complete viewing of the notification content corresponding to the first notification message temporarily through the message window, needs to continue viewing later, or needs to review again after completing viewing of the notification content corresponding to the first notification message, the first notification message may be controlled to be restored to the notification state. For this case, the electronic device receives a fourth input to the message window by the user, controls the first notification message to be restored to the initial state displayed in the state notification bar in response to the fourth input, and cancels the display of the message window, so that the display of the first notification message through the message window can be triggered again in response to the input by the user.
Referring to fig. 2 and 3, the message window is displayed in a local area of the target interface to display notification content corresponding to a first notification message (associated with an electronic book), wherein a close control 204 is displayed at a specific position (e.g., an upper right corner) of the message window, and the electronic device receives a third input from the user to the close control 204 to directly close the message window. Referring to fig. 4, a message window 203 is displayed in a local area of a target interface (lock screen interface) to display notification content corresponding to a first notification message, and when a fourth input (dragging the message window to slide upwards until sliding out of the screen) to the message window 203 by a user is received, the first notification message is controlled to be restored to a notification state in response to the fourth input, that is, the first notification message is controlled to be restored to an initial state displayed in a state notification bar, and the message window is cancelled to be displayed.
In the implementation process of the application, after the message window is displayed, the message window is cancelled according to the third input of the user to the message window, and the message window can be directly closed based on the operation of the user; or after receiving a fourth input of the user to the message window, controlling the first notification message to be restored to the initial state and canceling the display of the message window, so that the user can view the notification content corresponding to the first notification message through the message window again, and an entry is provided for displaying the notification content corresponding to the first notification message through the message window again.
In an embodiment, the first input of the first notification message in the status notification bar of the target interface by the user is a drag input, and the display position of the message window is determined based on an input parameter of the drag input.
After receiving a dragging input of a user to the first notification message, responding to the dragging input, triggering to switch to a window display mode, and determining a display position of a message window according to an input parameter corresponding to the dragging input. When determining the display position of the message window, the display position of the message window may be determined according to a position at which the drag input is stopped, and the display position of the message window may be determined according to an area through which the drag input passes. When the display position of the message window is determined according to the position where the drag input is stopped, the position where the drag input is stopped may be used as the start position of the message window to determine the display position of the message window, the position where the drag input is stopped may be used as the end position of the message window to determine the display position of the message window, the position where the drag input is stopped may be used as the center position of the message window to determine the display position of the message window, or the display position of the message window may be determined based on the position where the drag input is stopped according to a predetermined mapping relationship. When the display position of the message window is determined according to the area through which the drag input passes, a target area may be determined according to an area between the start position and the end position of the drag input, and the display position of the message window may be determined within the target area.
The display position of the message window is determined based on the input parameter corresponding to the dragging input, so that a user can conveniently perform corresponding operation according to requirements to determine the display position of the message window, and personalized display of the message window is realized.
In one embodiment, in a case that the status notification bar includes a second notification message, and the second notification message and the first notification message are messages of the same application, displaying the first notification message in the message window includes:
and displaying the first notification message in a first display area of the message window, and displaying the second notification message in a second display area of the message window.
Before the first notification message is displayed through the message window, if a second notification message corresponding to the same application program as the first notification message is acquired and displayed on the status notification bar, the second notification message can be displayed through the message window while the first notification message is displayed through the message window.
The second notification message may be a second notification message acquired before the first input is received and corresponding to the same application as the first notification message, may also be a second notification message acquired after the first input is received and before the first notification message is displayed, and may also be a second notification message acquired after the first input is received, the number of the second notification messages included in the status notification bar is N, where N is an integer greater than or equal to 1, and the N second notification messages may correspond to at least one acquisition opportunity, for example, the acquisition opportunities of the N second notification messages include before the first input is received and before the notification content corresponding to the first notification message is displayed after the first input is received.
In a case where the number of the second notification messages is plural, at least one second target notification message may be determined among the plural second notification messages, and the at least one second target notification message is at least a part of the plural second notification messages. When determining the second target notification message, the second target notification message may be determined by filtering according to notification receiving times corresponding to the plurality of second notification messages, and the second target notification message may be determined by filtering according to importance levels corresponding to the plurality of second notification messages, which is not limited to this.
The message window comprises a first display area and a second display area, wherein the first notification message is displayed in the first display area (the first notification message is displayed to show the notification content corresponding to the first notification message), and the second target notification message is displayed in the second display area (the second target notification message is displayed to show the corresponding notification content). The size corresponding to the first display area can be adaptively adjusted according to the notification content corresponding to the first notification message, correspondingly, the number of the second target notification messages displayed by the message window can be determined according to the size of the first display area and the notification content corresponding to the second target notification messages, and the size of the message window can be adjusted according to the triggering of the user.
According to the implementation process of the application, the first notification message is displayed through the message window, and at least one second notification message is displayed at the same time, so that different notification messages of the same application program can be synchronously displayed.
In the above overall implementation process of the notification message display method provided in the embodiment of the present application, when a first input of a first notification message in a status notification bar of a target interface by a user is received, in response to the first input, a message window for displaying notification content corresponding to the first notification message is displayed on a lock screen interface, a desktop, or an application program interface, and by displaying the message window on the lock screen interface, it is possible to achieve that an electronic device is unlocked without the user, that is, in a window display mode, notification content corresponding to the first notification message is obtained through the message window displayed on the lock screen interface, by displaying the message window on the desktop, it is possible to display the notification content corresponding to the first notification message in a window display mode on the desktop without entering an application program corresponding to the notification message, and by displaying the message window on the application program interface, on the basis of not interrupting an original use behavior of the user, the notification content corresponding to the first notification message is displayed, so that the user can know the detailed content corresponding to the first notification message and does not quit the currently running application program.
Further, the notification message can be displayed in the form of an application program interface in the message window by displaying the message window in response to the first input in the lock screen interface, the desktop or the local area of the application program interface and displaying the target application program interface including the notification content corresponding to the first notification message through the message window.
When the target interface is an application program interface, the message window is displayed with the preset transparency, so that the content in the application program interface is prevented from being shielded on the basis of not interrupting the original behavior of a user when the message window is displayed, and the visual experience of the user is ensured; by receiving the second input of the user to the message window, a processing entry can be provided for processing the first notification message, and the processing efficiency is improved.
After the message window is displayed, the message window can be directly closed based on the operation of the user, or the first notification message is controlled to be restored to the initial state and the display of the message window is cancelled, so that the user can view the first notification message through the message window again; the first notification message is displayed through the message window, and the second notification message is displayed at the same time, so that synchronous display of different notification messages of the same application can be realized.
According to the notification message display method provided by the embodiment of the application, the execution main body can be a notification message display device. In the embodiment of the present application, a notification message display apparatus executes a notification message display method as an example, and the notification message display apparatus provided in the embodiment of the present application is described.
Fig. 5 is a notification message display apparatus provided in an embodiment of the present application, and referring to fig. 5, the apparatus includes:
a first receiving module 501, configured to receive a first input of a first notification message in a status notification bar of a target interface;
a display module 502, configured to display a message window in the target interface in response to the first input, and display the first notification message in the message window;
wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.
Optionally, in a case that the target interface is an application interface, the display module is further configured to:
and displaying the message window with preset transparency in a first area of the application program interface.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a second input to the message window after the display module displays the message window in the target interface;
A first processing module to process the first notification message in response to the second input.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive a third input to the message window after the display module displays the message window in the target interface;
a cancellation module to cancel displaying the message window in response to the third input.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive a fourth input to the message window after the display module displays the message window in the target interface;
and the second processing module is used for responding to the fourth input, displaying the first notification message on a state notification bar of the target interface and canceling the display of the message window.
Optionally, the first input is a drag input, and the display position of the message window is determined based on an input parameter of the drag input.
Optionally, in a case that the status notification bar includes a second notification message, and the second notification message and the first notification message are messages of the same application, the display module is further configured to:
And displaying the first notification message in a first display area of the message window, and displaying the second notification message in a second display area of the message window.
The notification message display apparatus provided in the foregoing for the embodiment of the application, when receiving a first input of a first notification message in a status notification bar of a target interface by a user, in response to the first input, displays a message window for displaying notification content corresponding to the first notification message on a lock screen interface, a desktop, or an application program interface, and displays the message window on the lock screen interface, thereby implementing unlocking of an electronic device by the user, in a window display mode, obtaining the notification content corresponding to the first notification message through the message window displayed on the lock screen interface, displaying the message window on the desktop without entering an application program corresponding to the notification message, displaying the notification content corresponding to the first notification message on the desktop in a window display mode, displaying the message window on the application program interface, and on the basis of not interrupting an original usage behavior of the user, and displaying the notification content corresponding to the first notification message, so that the user can know the detailed content corresponding to the first notification message and does not exit the currently running application program.
When the target interface is an application program interface, the message window is displayed with the preset transparency, so that the content in the application program interface is prevented from being shielded on the basis of not interrupting the original behavior of a user when the message window is displayed, and the visual experience of the user is ensured; by receiving the second input of the user to the message window, a processing entry can be provided for processing the first notification message, and the processing efficiency is improved.
After the message window is displayed, the message window can be directly closed based on the operation of the user, or the first notification message is controlled to be restored to the initial state and the message window is cancelled to be displayed, so that the user can view the first notification message through the message window again; the first notification message is displayed through the message window, and meanwhile, the second notification message is displayed, so that synchronous display of different notification messages of the same application can be realized.
The notification message display device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The notification message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The notification message display device provided in the embodiment of the present application can implement each process implemented by the notification message display method embodiment shown in fig. 1, and implement the same technical effect, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the notification message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: the electronic device comprises a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710 and the like, and the electronic device further comprises a plurality of cameras.
Those skilled in the art will appreciate that the electronic device 700 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 710 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Among other things, the user input unit 707 is to: receiving a first input of a first notification message in a status notification bar of a target interface; the processor 710 is configured to: in response to the first input, controlling the display unit 706 to display a message window in the target interface and to display the first notification message in the message window; wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.
Optionally, in a case that the target interface is an application interface, when a message window is displayed in the target interface, the display unit 706 is further configured to: and displaying the message window with preset transparency in a first area of the application program interface.
Optionally, after displaying the message window in the target interface, the user input unit 707 is further configured to: receiving a second input to the message window; processor 710 is further configured to: in response to the second input, processing the first notification message.
Optionally, after displaying the message window in the target interface, the user input unit 707 is further configured to: receiving a third input to the message window; processor 710 is further configured to: in response to the third input, control the display unit 706 to cancel displaying the message window.
Optionally, after the message window is displayed in the target interface, the user input unit 707 is further configured to: receiving a fourth input to the message window; processor 710 is further configured to: in response to the fourth input, the control display unit 706 displays the first notification message in a status notification bar of the target interface and cancels display of the message window.
Optionally, the first input is a drag input, and the display position of the message window is determined based on an input parameter of the drag input.
Optionally, in a case that the status notification bar includes a second notification message, and the second notification message and the first notification message are messages of the same application, when the message window displays the first notification message, the display unit 706 is further configured to: and displaying the first notification message in a first display area of the message window, and displaying the second notification message in a second display area of the message window.
Thus, when receiving a first input of a first notification message in a state notification bar of a target interface by a user, in response to the first input, displaying a message window for displaying notification content corresponding to the first notification message on a lock screen interface, a desktop or an application program interface, by displaying the message window on the lock screen interface, it is possible to achieve that the notification content corresponding to the first notification message can be obtained through the message window displayed on the lock screen interface in a window display mode without unlocking the electronic device by the user, by displaying the message window on the desktop, it is possible to display the notification content corresponding to the first notification message in a window display mode on the desktop without entering the application program corresponding to the notification message, by displaying the message window on the application program interface, it is possible to display the notification content corresponding to the first notification message on the basis of not interrupting the original use behavior of the user, the user is ensured not to exit the currently running application program while knowing the detailed content corresponding to the first notification message.
When the target interface is an application program interface, the message window is displayed with the preset transparency, so that the content in the application program interface is prevented from being shielded on the basis of not interrupting the original behavior of a user when the message window is displayed, and the visual experience of the user is ensured; by receiving the second input of the user to the message window, a processing entry can be provided for processing the first notification message, and the processing efficiency is improved.
After the message window is displayed, the message window can be directly closed based on the operation of the user, or the first notification message is controlled to be restored to the initial state and the display of the message window is cancelled, so that the user can view the first notification message through the message window again; the first notification message is displayed through the message window, and meanwhile, the second notification message is displayed, so that synchronous display of different notification messages of the same application can be realized.
It should be understood that, in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or a video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 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.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area for storing a program or an instruction and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 709 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the notification message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the notification message display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing notification message display method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) 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 (10)

1. A notification message display method, comprising:
receiving a first input of a first notification message in a status notification bar of a target interface;
in response to the first input, displaying a message window in the target interface and displaying the first notification message in the message window;
wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.
2. A notification message display method according to claim 1, wherein in a case where the target interface is an application interface, the displaying a message window in the target interface includes:
and displaying the message window with preset transparency in a first area of the application program interface.
3. A notification message display method according to claim 1, further comprising, after displaying a message window in said target interface:
receiving a second input to the message window;
in response to the second input, processing the first notification message.
4. A notification message display method according to any one of claims 1 to 3, wherein after displaying a message window in said target interface, said method further comprises:
Receiving a third input to the message window;
canceling display of the message window in response to the third input.
5. A notification message display method according to any one of claims 1 to 3, wherein after displaying a message window in said target interface, said method further comprises:
receiving a fourth input to the message window;
and responding to the fourth input, displaying the first notification message on a state notification bar of the target interface, and canceling the display of the message window.
6. A notification message display method according to claim 1, wherein the first input is a drag input, and the display position of the message window is determined based on an input parameter of the drag input.
7. The notification message display method according to claim 1, wherein in a case where the status notification bar includes a second notification message and the first notification message are messages of the same application, displaying the first notification message in the message window includes:
and displaying the first notification message in a first display area of the message window, and displaying the second notification message in a second display area of the message window.
8. A notification message display apparatus, comprising:
the first receiving module is used for receiving first input of a first notification message in a state notification bar of the target interface;
a display module, configured to display a message window in the target interface in response to the first input, and display the first notification message in the message window;
wherein the target interface comprises any one of: a screen locking interface, a desktop, and an application program interface.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the notification message display method of any of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the notification message display method according to any one of claims 1 to 7.
CN202210150894.7A 2022-02-18 2022-02-18 Notification message display method and device, electronic equipment and medium Pending CN114518926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210150894.7A CN114518926A (en) 2022-02-18 2022-02-18 Notification message display method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210150894.7A CN114518926A (en) 2022-02-18 2022-02-18 Notification message display method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN114518926A true CN114518926A (en) 2022-05-20

Family

ID=81599902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210150894.7A Pending CN114518926A (en) 2022-02-18 2022-02-18 Notification message display method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114518926A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192793A (en) * 2023-02-22 2023-05-30 维沃移动通信有限公司 Notification message management method and device and electronic equipment
CN116700551A (en) * 2022-09-21 2023-09-05 荣耀终端有限公司 Application display method and device, electronic equipment and readable storage medium
WO2024088319A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Lock screen interface operating method and apparatus, electronic device, and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700551A (en) * 2022-09-21 2023-09-05 荣耀终端有限公司 Application display method and device, electronic equipment and readable storage medium
WO2024088319A1 (en) * 2022-10-28 2024-05-02 维沃移动通信有限公司 Lock screen interface operating method and apparatus, electronic device, and medium
CN116192793A (en) * 2023-02-22 2023-05-30 维沃移动通信有限公司 Notification message management method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112099705B (en) Screen projection method and device and electronic equipment
CN114518926A (en) Notification message display method and device, electronic equipment and medium
CN112162665B (en) Operation method and device
CN112835485A (en) Application interface processing method and device, electronic equipment and readable storage medium
CN112462988A (en) Reminding method and device and electronic equipment
CN111857464A (en) Information display method and device, electronic equipment and readable storage medium
CN112764624A (en) Information screen display method and device
CN111857511A (en) Wallpaper display control method and device and electronic equipment
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN112948843B (en) Encryption method, encryption device, electronic equipment and medium
CN112035877A (en) Information hiding method and device, electronic equipment and readable storage medium
CN112181559A (en) Interface display method and device and electronic equipment
CN111552532A (en) Popup window control method and device, electronic equipment and storage medium
CN115951852A (en) Information display method and device, electronic equipment and storage medium
CN115756238A (en) Component display method and device, electronic equipment and medium
CN115729544A (en) Desktop component generation method and device, electronic equipment and readable storage medium
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium
CN115576514A (en) Content display method and device, electronic equipment and readable storage medium
CN115795429A (en) Application interface management method and device, electronic equipment and readable storage medium
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN114416269A (en) Interface display method and display device
CN114995713A (en) Display control method and device, electronic equipment and readable storage medium
CN114895813A (en) Information display method and device, electronic equipment and readable storage medium
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN114416248A (en) Conversation method and device thereof

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