CN110069304A - A kind of notification message display methods and terminal device - Google Patents
A kind of notification message display methods and terminal device Download PDFInfo
- Publication number
- CN110069304A CN110069304A CN201910234535.8A CN201910234535A CN110069304A CN 110069304 A CN110069304 A CN 110069304A CN 201910234535 A CN201910234535 A CN 201910234535A CN 110069304 A CN110069304 A CN 110069304A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- notification message
- control
- display
- input
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例公开了一种通知消息显示方法及终端设备,涉及通信技术领域,以解决查找通知消息的过程较为繁琐的问题。该方法包括:在终端设备显示第一通知消息的情况下,接收用户的第一输入;响应于该第一输入,撤销对该第一通知消息的显示,并显示第一控件;在接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。该方法可以应用于在消息通知栏或消息悬浮窗等界面中查找通知消息的场景中。
The embodiment of the present invention discloses a notification message display method and a terminal device, which relate to the technical field of communications, so as to solve the problem that the process of finding the notification message is cumbersome. The method includes: when the terminal device displays the first notification message, receiving a first input from the user; in response to the first input, canceling the display of the first notification message and displaying the first control; In the case of a second input to the first control, the first notification message is displayed in response to the second input. This method can be applied to the scenario of finding notification messages in interfaces such as the message notification bar or the message floating window.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种通知消息显示方法及终端设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for displaying notification messages and a terminal device.
背景技术Background technique
随着通信技术的发展,终端设备可以通过终端设备中的各类应用程序获取多种消息,并将这些消息展示在终端设备的通知栏中。With the development of communication technology, a terminal device can obtain various messages through various application programs in the terminal device, and display these messages in the notification bar of the terminal device.
目前,终端设备通常具备一键清空通知栏中的通知消息的功能。例如,在终端设备解锁屏幕之后,终端设备可以在通知栏中显示多个通知消息和一键清空控件,从而用户可以通过点击该一键清空控件,触发终端设备将该多个通知消息从通知栏中删除。At present, the terminal device usually has the function of clearing the notification message in the notification bar with one click. For example, after the terminal device unlocks the screen, the terminal device can display multiple notification messages and one-key clearing controls in the notification bar, so that the user can click the one-key clearing control to trigger the terminal device to remove the multiple notification messages from the notification bar. deleted in.
然而,在用户触发终端设备将上述多个通知消息删除时,如果用户发现该多个通知消息中包括一个感兴趣的消息,那么在终端设备删除这些消息之后,用户可以从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用,以从该应用中查找该通知消息。如此导致查找通知消息的过程较为繁琐。However, when the user triggers the terminal device to delete the above-mentioned multiple notification messages, if the user finds that the multiple notification messages include a message of interest, then after the terminal device deletes these messages, the user can find and receive messages from multiple applications. application of the notification message, and triggering the terminal device to run the application to find the notification message from the application. As a result, the process of finding the notification message is cumbersome.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种通知消息显示方法及终端设备,以解决查找通知消息的过程较为繁琐的问题。Embodiments of the present invention provide a notification message display method and a terminal device, so as to solve the problem that the process of searching for notification messages is cumbersome.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供了一种通知消息显示方法。该方法可以应用于终端设备。该方法可以包括:在终端设备显示第一通知消息的情况下,接收用户的第一输入;响应于该第一输入,撤销对该第一通知消息的显示,并显示第一控件;在接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。In a first aspect, an embodiment of the present invention provides a notification message display method. The method can be applied to terminal equipment. The method may include: when the terminal device displays the first notification message, receiving a first input from the user; in response to the first input, canceling the display of the first notification message and displaying the first control; In the case of a second input by the user to the first control, the first notification message is displayed in response to the second input.
第二方面,本发明实施例提供了一种终端设备。该终端设备可以包括接收模块和显示模块。接收模块,用于在显示模块显示第一通知消息的情况下,接收用户的第一输入;显示模块,用于响应于接收模块接收的该第一输入,撤销对该第一通知消息的显示,并显示第一控件;显示模块,还用于在接收模块接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示第一通知消息。In a second aspect, an embodiment of the present invention provides a terminal device. The terminal device may include a receiving module and a display module. a receiving module, configured to receive the first input from the user when the display module displays the first notification message; the display module, configured to cancel the display of the first notification message in response to the first input received by the receiving module, and display the first control; the display module is further configured to display the first notification message in response to the second input when the receiving module receives the second input of the user on the first control.
第三方面,本发明实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的通知消息显示方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to implement the first The steps of the notification message display method provided by the aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的通知消息显示方法的步骤。In a fourth aspect, an embodiment of the present invention 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, implements the steps of the notification message display method provided in the first aspect.
在本发明实施例中,可以在终端设备显示第一通知消息的情况下,接收用户的第一输入;并响应于该第一输入,撤销对该第一通知消息的显示,并显示第一控件;以及在接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。通过该方案,由于在用户触发终端设备撤销对第一通知消息显示的情况下,终端设备可以撤销对第一通知消息的显示,并显示第一控件,因此在终端设备撤销对第一通知消息的显示之后,如果用户想要再次查看该第一通知消息,那么用户可以通过对该第一控件的输入,触发终端设备再次显示该第一通知消息。如此用户无需从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用以从该应用中查找到该通知消息,从而可以简化用户查找通知消息的过程。In this embodiment of the present invention, when the terminal device displays the first notification message, it may receive the first input from the user; and in response to the first input, cancel the display of the first notification message and display the first control ; and displaying the first notification message in response to a second input from the user on the first control in response to the second input. With this solution, when the user triggers the terminal device to cancel the display of the first notification message, the terminal device can cancel the display of the first notification message and display the first control. Therefore, when the terminal device cancels the display of the first notification message After the display, if the user wants to view the first notification message again, the user can trigger the terminal device to display the first notification message again by inputting the first control. In this way, the user does not need to find the application receiving the notification message from multiple applications, and trigger the terminal device to run the application to find the notification message from the application, thereby simplifying the user's process of finding the notification message.
附图说明Description of drawings
图1为本发明实施例提供的一种安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种通知消息显示方法的示意图之一;2 is one of schematic diagrams of a method for displaying notification messages according to an embodiment of the present invention;
图3为本发明实施例提供的用户对第一通知消息的操作示意图之一;3 is one of schematic diagrams of operations performed by a user on a first notification message according to an embodiment of the present invention;
图4为本发明实施例提供的用户对第一通知消息的操作示意图之二;FIG. 4 is the second schematic diagram of the operation of the first notification message by the user according to an embodiment of the present invention;
图5为本发明实施例提供的一种通知消息显示方法的示意图之二;5 is a second schematic diagram of a method for displaying notification messages according to an embodiment of the present invention;
图6为本发明实施例提供的一种通知消息显示方法的示意图之三;6 is a third schematic diagram of a method for displaying a notification message provided by an embodiment of the present invention;
图7为本发明实施例提供的终端设备显示第一控件和第二通知消息的示意图;7 is a schematic diagram of a terminal device displaying a first control and a second notification message according to an embodiment of the present invention;
图8为本发明实施例提供的一种通知消息显示方法的示意图之四;FIG. 8 is a fourth schematic diagram of a method for displaying notification messages according to an embodiment of the present invention;
图9为本发明实施例提供的用户对第二通知消息的操作示意图;FIG. 9 is a schematic diagram of an operation of a second notification message by a user according to an embodiment of the present invention;
图10为本发明实施例提供的一种通知消息显示方法的示意图之五;FIG. 10 is a fifth schematic diagram of a method for displaying notification messages according to an embodiment of the present invention;
图11为本发明实施例提供的用户对第一控件的操作示意图;11 is a schematic diagram of a user's operation of a first control provided by an embodiment of the present invention;
图12为本发明实施例提供的一种通知消息显示方法的示意图之六;12 is a sixth schematic diagram of a method for displaying notification messages according to an embodiment of the present invention;
图13为本发明实施例提供的一种通知消息显示方法的示意图之七;13 is a seventh schematic diagram of a method for displaying notification messages according to an embodiment of the present invention;
图14为本发明实施例提供的用户对第三控件的操作示意图之一;14 is one of schematic diagrams of operations performed by a user on a third control according to an embodiment of the present invention;
图15为本发明实施例提供的用户对第三控件的操作示意图之二;FIG. 15 is the second schematic diagram of the operation of the third control by the user according to the embodiment of the present invention;
图16为本发明实施例提供的终端设备的结构示意图之一;FIG. 16 is one of schematic structural diagrams of a terminal device provided by an embodiment of the present invention;
图17为本发明实施例提供的终端设备的结构示意图之二;FIG. 17 is the second schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图18为本发明实施例提供的终端设备的硬件示意图。FIG. 18 is a schematic diagram of hardware of a terminal device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this paper is an association relationship that describes an associated object, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone these three situations. The symbol "/" in this document indicates the relationship in which the associated object is or, for example, A/B indicates A or B.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一消息和第二消息等是用于区别不同的消息,而不是用于描述消息的特定顺序。The terms "first" and "second" and the like in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first message and the second message, etc. are used to distinguish different messages, rather than to describe a specific order of the messages.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described as "exemplary" or "such as" in the embodiments of the present invention should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise stated, the meaning of "plurality" refers to two or more, for example, a plurality of elements refers to two or more elements and the like.
本发明实施例提供一种通知消息显示方法及终端设备,可以在终端设备显示第一通知消息的情况下,接收用户的第一输入;并响应于该第一输入,撤销对该第一通知消息的显示,并显示第一控件;以及在接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。通过该方案,由于在用户触发终端设备撤销对第一通知消息显示的情况下,终端设备可以撤销对第一通知消息的显示,并显示第一控件,因此在终端设备撤销对第一通知消息的显示之后,如果用户想要再次查看该第一通知消息,那么用户可以通过对该第一控件的输入,触发终端设备再次显示该第一通知消息。如此用户无需从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用以从该应用中查找到该通知消息,从而可以简化用户查找通知消息的过程。Embodiments of the present invention provide a method for displaying a notification message and a terminal device, which can receive a first input from a user when the terminal device displays a first notification message; and cancel the first notification message in response to the first input and displaying the first control; and in the case of receiving a second input from the user to the first control, displaying the first notification message in response to the second input. With this solution, when the user triggers the terminal device to cancel the display of the first notification message, the terminal device can cancel the display of the first notification message and display the first control. Therefore, when the terminal device cancels the display of the first notification message After the display, if the user wants to view the first notification message again, the user can trigger the terminal device to display the first notification message again by inputting the first control. In this way, the user does not need to find the application receiving the notification message from multiple applications, and trigger the terminal device to run the application to find the notification message from the application, thereby simplifying the user's process of finding the notification message.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的通知消息显示方法所应用的软件环境。The following takes the Android operating system as an example to introduce a software environment to which the notification message display method provided by the embodiment of the present invention is applied.
如图1所示,为本发明实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic structural diagram of an Android operating system according to an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer under the condition of complying with the development principles of the framework of the application.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的通知消息显示方法的软件程序,从而使得该通知消息显示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的通知消息显示方法。Taking the Android operating system as an example, in this embodiment of the present invention, a developer can develop a software program for implementing the notification message display method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The notification message display method may be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal device can implement the notification message display method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的终端设备可以为移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA) etc., the embodiments of the present invention are not specifically limited.
本发明实施例提供的通知消息显示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该通知消息显示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的通知消息显示方法进行示例性的说明。The execution subject of the notification message display method provided by the embodiment of the present invention may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device capable of implementing the notification message display method, and the specific implementation may be based on actual usage requirements. It is determined that the embodiments of the present invention are not limited. The following takes a terminal device as an example to exemplarily describe the notification message display method provided by the embodiment of the present invention.
如图2所示,本发明实施例提供一种通知消息显示方法。该方法可以应用于终端设备。该方法可以包括下述的S101至S103。As shown in FIG. 2 , an embodiment of the present invention provides a method for displaying notification messages. The method can be applied to terminal equipment. The method may include S101 to S103 described below.
S101、在终端设备显示第一通知消息的情况下,终端设备接收用户的第一输入。S101. In the case that the terminal device displays the first notification message, the terminal device receives the first input of the user.
可选的,本发明实施例中,上述第一通知消息可以为终端设备当前显示的目标界面中的消息。其中,此处“当前”是指终端设备接收到用户的第一输入的时刻。Optionally, in this embodiment of the present invention, the foregoing first notification message may be a message in a target interface currently displayed by the terminal device. Wherein, "current" here refers to the moment when the terminal device receives the first input from the user.
需要说明的是,本发明实施例对第一通知消息包括消息的数量不作具体限定,例如第一通知消息可以包括一个通知消息或多个通知消息,具体可以根据实际使用需求确定。为了更加清楚地描述本发明,下述实施例均以第一通知消息包括X个第一消息为例进行示例性说明,其并不对本发明实施例形成任何限定。其中,X为正整数。It should be noted that this embodiment of the present invention does not specifically limit the number of messages included in the first notification message. For example, the first notification message may include one notification message or multiple notification messages, which may be determined according to actual usage requirements. In order to describe the present invention more clearly, in the following embodiments, the first notification message includes X first messages as an example for illustrative description, which does not form any limitation to the embodiments of the present invention. where X is a positive integer.
可选的,本发明实施例中,上述目标界面可以为消息通知栏或消息悬浮窗。相应的,通知消息可以为消息通知栏中的消息,或为消息悬浮窗中的消息。Optionally, in this embodiment of the present invention, the above-mentioned target interface may be a message notification bar or a message floating window. Correspondingly, the notification message may be the message in the message notification bar, or the message in the message floating window.
可选的,本发明实施例中,在终端设备的目标界面中包括通知消息的情况下,该目标界面中还可以包括目标控件,该目标控件可以用于触发终端设备撤销对目标界面中的通知消息的显示。Optionally, in this embodiment of the present invention, when the target interface of the terminal device includes a notification message, the target interface may further include a target control, and the target control may be used to trigger the terminal device to cancel the notification on the target interface. display of the message.
需要说明的是,本发明实施例中,在终端设备当前显示的目标界面中的通知消息不同的情况下,目标控件可以用于触发终端设备撤销对不同的通知消息的显示。例如,在目标界面显示第一通知消息的情况下,目标控件可以用于触发终端设备撤销对第一通知消息的显示;在目标界面显示第二通知消息的情况下,目标控件可以用于触发终端设备撤销对第二通知消息的显示。It should be noted that, in this embodiment of the present invention, when the notification messages in the target interface currently displayed by the terminal device are different, the target control may be used to trigger the terminal device to cancel the display of different notification messages. For example, when the target interface displays the first notification message, the target control can be used to trigger the terminal device to cancel the display of the first notification message; when the target interface displays the second notification message, the target control can be used to trigger the terminal The device revokes display of the second notification message.
可选的,本发明实施例中,第一通知消息可以为终端设备的应用程序从服务器接收的通知消息,例如,推送消息、联系人消息、短信消息等;或者,第一通知消息也可以为终端设备的应用程序生成的通知消息,例如,屏幕使用时间消息、手机助手消息等;或者,第一通知消息还可以为终端设备的应用程序从终端设备的其他应用程序获取的通知消息,例如,用户的运动信息、地图信息等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first notification message may be a notification message received from a server by an application of the terminal device, for example, a push message, a contact message, a short message message, etc.; or, the first notification message may also be A notification message generated by an application program of the terminal device, such as a screen usage time message, a mobile phone assistant message, etc.; or, the first notification message may also be a notification message obtained by an application program of the terminal device from other application programs of the terminal device, for example, User's movement information, map information, etc. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第一通知消息可以存储在目标存储区域中。其中,该目标存储区域可以为目标界面对应的存储区域。Optionally, in this embodiment of the present invention, the foregoing first notification message may be stored in the target storage area. The target storage area may be a storage area corresponding to the target interface.
示例性的,假设第一通知消息为终端设备的第一应用程序从服务器接收的消息,第一应用程序对应的存储区域为第一存储区域,消息通知栏对应的存储区域为目标存储区域。在终端设备在消息通知栏显示第一通知消息的情况下,第一通知消息可以分别存储在第一存储区域和目标存储区域。进一步的,用户可以触发终端设备删除目标存储区域的第一通知消息,而不删除第一存储区域的第一通知消息;或者,用户可以触发终端设备分别删除第一存储区域和目标存储区域的第一通知消息Exemplarily, it is assumed that the first notification message is a message received from the server by the first application of the terminal device, the storage area corresponding to the first application is the first storage area, and the storage area corresponding to the message notification bar is the target storage area. When the terminal device displays the first notification message in the message notification bar, the first notification message may be stored in the first storage area and the target storage area, respectively. Further, the user may trigger the terminal device to delete the first notification message of the target storage area without deleting the first notification message of the first storage area; or, the user may trigger the terminal device to delete the first storage area and the first notification message of the target storage area respectively. a notification message
可选的,本发明实施例中,上述第一通知消息可以为目标界面中的全部通知消息;或者,上述第一通知消息可以为目标界面的通知消息中的满足预设条件的消息,例如,该预设条件可以为第一通知消息为非常驻通知消息。Optionally, in this embodiment of the present invention, the above-mentioned first notification message may be all notification messages in the target interface; or, the above-mentioned first notification message may be a message that satisfies a preset condition in the notification messages of the target interface, for example, The preset condition may be that the first notification message is a non-resident notification message.
需要说明的是,本发明实施例中,上述非常驻通知消息是指目标界面中除常驻通知消息以外的消息。具体的,终端设备无法自动从目标界面中删除常驻通知消息,需要用户主动点击常驻通知消息的关闭控件以触发终端设备结束进程,即需要用户手动操作以触发终端设备从目标界面中删除常驻通知消息。示例性的,常驻通知消息可以为日程通知消息、备忘录通知消息等,具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in this embodiment of the present invention, the above-mentioned non-resident notification message refers to a message other than the resident notification message in the target interface. Specifically, the terminal device cannot automatically delete the resident notification message from the target interface, and the user needs to actively click the close control of the resident notification message to trigger the terminal device to end the process, that is, the user needs to manually operate to trigger the terminal device to delete the resident notification message from the target interface. resident notification message. Exemplarily, the resident notification message may be a schedule notification message, a memorandum notification message, etc., which may be specifically determined according to actual usage requirements, which are not limited in this embodiment of the present invention.
可选的,本发明实施例中,上述第一输入可以为针对第一通知消息的输入。Optionally, in this embodiment of the present invention, the above-mentioned first input may be an input for a first notification message.
可选的,本发明实施例中,上述第一输入可以为触控输入、语音输入、按键输入等。例如,触控输入可以为用户对目标界面中的目标控件的按压输入,或者为对第一通知消息的圈选输入等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first input may be touch input, voice input, key input, or the like. For example, the touch input may be a user's pressing input on a target control in the target interface, or a circle selection input on the first notification message, or the like. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第一输入可以用于触发终端设备撤销对第一通知消息的显示。Optionally, in this embodiment of the present invention, the above-mentioned first input may be used to trigger the terminal device to cancel the display of the first notification message.
示例性的,假设在接收到用户的第一输入之前,终端设备显示的界面为终端设备的桌面界面。在接收到新消息或者接收到用户的输入的情况下,如图3中的(a)或图3中的(b)所示,终端设备可以在该桌面界面上叠加显示消息通知栏,该消息通知栏可以包括3(X=3)个第一消息(即第一通知消息)和一个目标控件01,该目标控件01可以用于触发终端设备撤销对该消息通知栏中3个第一消息的显示。如果用户想要撤销对这3个第一消息的显示,那么用户可以点击该目标控件01。如此,终端设备可以接收到用户的第一输入,并执行下述的S102。Exemplarily, it is assumed that before receiving the first input from the user, the interface displayed by the terminal device is the desktop interface of the terminal device. When a new message is received or a user's input is received, as shown in (a) or (b) in FIG. 3 , the terminal device may display a message notification bar superimposed on the desktop interface, the message The notification bar can include 3 (X=3) first messages (ie, first notification messages) and a target control 01, which can be used to trigger the terminal device to revoke the three first messages in the message notification bar. show. If the user wants to revoke the display of these 3 first messages, the user can click on the target control 01. In this way, the terminal device can receive the user's first input, and execute the following S102.
示例性的,假设在接收到用户的第一输入之前,终端设备显示的界面为终端设备的应用界面。在接收到新消息或者接收到用户的输入的情况下,如图4中的(a)或图4中的(b)所示,终端设备可以在该应用界面上叠加显示消息悬浮窗,该消息悬浮窗可以包括3(X=3)个第一消息(即第一通知消息)和一个目标控件01,该目标控件01可以用于触发终端设备撤销对该消息悬浮窗中3个第一消息的显示。如果用户想要撤销显示对这3个第一消息的显示,那么用户可以点击该目标控件01。如此,终端设备可以接收到用户的第一输入,并执行下述的S102。Exemplarily, it is assumed that before receiving the user's first input, the interface displayed by the terminal device is an application interface of the terminal device. When a new message is received or a user's input is received, as shown in FIG. 4(a) or FIG. 4(b), the terminal device can superimpose a message floating window on the application interface. The floating window can include 3 (X=3) first messages (ie, first notification messages) and a target control 01, which can be used to trigger the terminal device to revoke the three first messages in the message floating window. show. If the user wants to cancel the display of the 3 first messages, the user can click on the target control 01. In this way, the terminal device can receive the user's first input, and execute the following S102.
需要说明的是,本发明实施例对第一通知消息在目标界面的显示方式不作具体限定。示例性的,如图3中的(a)或图4中的(a)所示,X个第一消息(即第一通知消息)可以显示在目标界面的不同区域;或者,如图3中的(b)或图4中的(b)所示,X个第一消息可以位于目标界面中的同一区域,且该X个第一消息可以叠加显示。具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, the embodiment of the present invention does not specifically limit the display manner of the first notification message on the target interface. Exemplarily, as shown in (a) in FIG. 3 or (a) in FIG. 4 , X first messages (ie, first notification messages) may be displayed in different areas of the target interface; or, as shown in FIG. 3 As shown in (b) of FIG. 4 or (b) of FIG. 4 , X pieces of first messages may be located in the same area in the target interface, and the X pieces of first messages may be superimposed and displayed. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
S102、终端设备响应于该第一输入,撤销对第一通知消息的显示,并显示第一控件。S102. In response to the first input, the terminal device cancels the display of the first notification message, and displays the first control.
其中,上述第一控件可以用于触发终端设备显示第一通知消息。The above-mentioned first control may be used to trigger the terminal device to display the first notification message.
需要说明的是,本发明实施例中,上述“撤销”是指在终端设备显示消息的情况下,终端设备可以响应于用户的输入,取消对目标界面中的消息的显示。It should be noted that, in this embodiment of the present invention, the above-mentioned "cancellation" means that when the terminal device displays the message, the terminal device can cancel the display of the message in the target interface in response to the user's input.
可选的,本发明实施例中,若在接收到第一输入时第一通知消息为目标界面中的消息,那么在终端设备接收到第一输入之后,终端设备可以在目标界面中撤销对第一通知消息的显示,并在目标界面中显示第一控件。Optionally, in this embodiment of the present invention, if the first notification message is a message in the target interface when the first input is received, then after the terminal device receives the first input, the terminal device may cancel the first notification in the target interface. A notification message is displayed, and a first control is displayed in the target interface.
可选的,本发明实施例中,在终端设备撤销对第一通知消息的显示之后,终端设备可以将第一控件作为母节点,将第一通知消息作为该母节点的子节点。如此,在终端设备显示第一控件的情况下,第一通知消息可以处于隐藏状态。Optionally, in this embodiment of the present invention, after the terminal device cancels the display of the first notification message, the terminal device may use the first control as a parent node and the first notification message as a child node of the parent node. In this way, when the terminal device displays the first control, the first notification message may be in a hidden state.
可选的,本发明实施例中,假设在接收到用户的第一输入时,终端设备当前显示的目标界面中包括目标控件,那么在接收到第一输入之后,本发明实施例提供的通知消息显示方法还可以包括:终端设备响应于第一输入,在目标界面中撤销对目标控件的显示。Optionally, in this embodiment of the present invention, it is assumed that the target interface currently displayed by the terminal device includes target controls when the first input from the user is received, then after receiving the first input, the notification message provided by the embodiment of the present invention The display method may further include: in response to the first input, the terminal device cancels the display of the target control in the target interface.
示例性的,如图3中的(a)或图3中的(b)所示,消息通知栏可以包括3个第一消息(即第一通知消息)和一个目标控件01。如果用户点击该目标控件01,那么如图3中的(c)所示,终端设备可以响应于接收到的用户的第一输入,在该消息通知栏中撤销对该3个第一消息和目标控件01的显示,并在该消息通知栏中显示“撤销清空”控件02(即第一控件)。Exemplarily, as shown in (a) of FIG. 3 or (b) of FIG. 3 , the message notification bar may include three first messages (ie, first notification messages) and one target control 01 . If the user clicks on the target control 01, as shown in (c) of FIG. 3 , the terminal device can cancel the three first messages and the target in the message notification bar in response to the received first input of the user. Control 01 is displayed, and the "Undo Clear" control 02 (ie, the first control) is displayed in the message notification bar.
示例性的,如图4中的(a)或图4中的(b)所示,消息悬浮窗可以包括3个第一消息(即第一通知消息)和一个目标控件01。如果用户点击该目标控件01,那么如图4中的(c)所示,终端设备可以响应于接收到的用户的第一输入,在该消息悬浮窗中撤销对该3个第一消息和目标控件01的显示,并在该消息悬浮窗中显示“撤销清空”控件02(即第一控件)。Exemplarily, as shown in (a) of FIG. 4 or (b) of FIG. 4 , the message floating window may include three first messages (ie, first notification messages) and one target control 01 . If the user clicks on the target control 01, as shown in (c) in FIG. 4 , the terminal device can cancel the three first messages and the target in the message floating window in response to the received first input of the user. Control 01 is displayed, and the "Undo Clear" control 02 (ie, the first control) is displayed in the message floating window.
S103、在终端设备接收到用户对第一控件的第二输入的情况下,终端设备响应于该第二输入,显示该第一通知消息。S103. In the case that the terminal device receives the second input of the user on the first control, the terminal device displays the first notification message in response to the second input.
可选的,本发明实施例中,上述第二输入可以为用户对第一控件的点击输入、长按输入或滑动输入等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned second input may be a user's click input on the first control, a long-press input, or a slide input, or the like. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
示例性的,假设在终端设备接收到用户的第一输入之后,终端设备显示的界面为如图3中的(c)所示的界面。如果用户想要再次查看撤销显示的3个第一消息(即第一通知消息)中的某个消息,那么用户可以点击如图3中的(c)所示的消息通知栏中的第一控件02。如此,终端设备可以响应于接收到的用户的第二输入,如图3中的(a)或图3中的(b)所示,在消息通知栏中取消对第一控件02的显示,并在消息通知栏中再次显示该3个第一消息和目标控件01。进而,用户可以通过对该3个第一消息中的某个消息的输入,触发终端设备显示该消息的界面;或者,用户可以通过对目标控件01的输入,触发终端设备再次撤销对消息通知栏中的该3个第一消息和目标控件01的显示。Exemplarily, it is assumed that after the terminal device receives the user's first input, the interface displayed by the terminal device is the interface shown in (c) of FIG. 3 . If the user wants to view one of the three first messages (ie, the first notification message) that have been canceled and displayed again, the user can click the first control in the message notification bar as shown in (c) in FIG. 3 . 02. In this way, the terminal device can cancel the display of the first control 02 in the message notification bar in response to the received second input of the user, as shown in (a) or (b) in FIG. 3 , and The three first messages and the target control 01 are displayed again in the message notification bar. Further, the user can trigger the terminal device to display the interface of the message by inputting a certain message in the three first messages; or, the user can trigger the terminal device to revoke the message notification bar again by inputting the target control 01 The display of the 3 first messages and the target control 01 in .
示例性的,假设在终端设备接收到用户的第一输入之后,终端设备显示的界面为如图4中的(c)所示的界面。如果用户想要再次查看撤销显示的3个第一消息(即第一通知消息)中的某个消息,那么用户可以点击图4中的(c)所示的消息悬浮窗中的第一控件02。如此,终端设备可以响应于接收到的用户的第二输入,如图4中的(a)或图4中的(b)所示,在消息悬浮窗中取消对第一控件02的显示,并在消息悬浮窗中再次显示该3个第一消息和目标控件01。进而,用户可以通过对该3个第一消息中的某个消息的输入,触发终端设备显示该消息的界面;或者,用户可以通过对目标控件01的输入,触发终端设备再次撤销对消息悬浮窗中的该3个第一消息和目标控件01的显示。Exemplarily, it is assumed that after the terminal device receives the user's first input, the interface displayed by the terminal device is the interface shown in (c) of FIG. 4 . If the user wants to view one of the three first messages (that is, the first notification message) that has been canceled and displayed again, the user can click the first control 02 in the message floating window shown in (c) in FIG. 4 . . In this way, the terminal device can cancel the display of the first control 02 in the message floating window in response to the received second input of the user, as shown in FIG. 4(a) or FIG. 4(b), and The three first messages and the target control 01 are displayed again in the message floating window. Further, the user can trigger the terminal device to display the interface of the message by inputting a certain message in the three first messages; or, the user can trigger the terminal device to cancel the message floating window again by inputting the target control 01 The display of the 3 first messages and the target control 01 in .
可选的,本发明实施例中,如果接收用户的第一输入之前,第一通知消息显示在目标界面中,那么在终端设备接收到用户对第一控件的第二输入的情况下,终端设备可以响应于该第二输入,在目标界面中显示该第一通知消息。Optionally, in this embodiment of the present invention, if the first notification message is displayed on the target interface before receiving the user's first input, then when the terminal device receives the user's second input on the first control, the terminal device The first notification message may be displayed in the target interface in response to the second input.
可选的,本发明实施例提供的通知消息显示方法还可以包括:在终端设备接收到用户对第一控件的第二输入的情况下,终端设备响应于第二输入,取消对第一控件的显示。可以理解,在终端设备再次显示第一通知消息之后,由于用户无需通过对第一控件的输入触发终端设备显示第一通知消息,因此终端设备取消对第一控件的显示,可以提高终端设备的智能化程度。Optionally, the method for displaying a notification message provided in this embodiment of the present invention may further include: in the case that the terminal device receives a second input from the user to the first control, the terminal device cancels the first control in response to the second input. show. It can be understood that after the terminal device displays the first notification message again, since the user does not need to trigger the terminal device to display the first notification message by inputting the first control, the terminal device cancels the display of the first control, which can improve the intelligence of the terminal device. degree of transformation.
可选的,本发明实施例提供的通知消息显示方法还可以包括:终端设备响应于第二输入,显示目标控件。可以理解,在终端设备再次显示第一通知消息之后,如果用户想要再次撤销对该第一通知消息的显示,那么用户可以通过对目标控件的再次输入,触发终端设备再次撤销对该第一通知消息的显示,从而提高了用户的操作便捷性。Optionally, the notification message display method provided by the embodiment of the present invention may further include: the terminal device displays a target control in response to the second input. It can be understood that after the terminal device displays the first notification message again, if the user wants to cancel the display of the first notification message again, the user can trigger the terminal device to cancel the first notification message again by inputting the target control again. The display of the message improves the convenience of the user's operation.
可选的,在终端设备未接收到第二输入的情况下,本发明实施例提供的通知消息显示方法还可以包括:删除目标存储区域中的第一通知消息。具体的,终端设备可以通过下述的方式一、方式二或方式三实现:Optionally, in the case where the terminal device does not receive the second input, the method for displaying a notification message provided by the embodiment of the present invention may further include: deleting the first notification message in the target storage area. Specifically, the terminal device can be implemented in the following manners 1, 2 or 3:
方式一,在终端设备撤销对第一通知消息的显示之后,终端设备开始计时,并在计时时长达到预设时长的情况下,删除目标存储区域中的第一通知消息。Manner 1: After the terminal device cancels the display of the first notification message, the terminal device starts timing, and deletes the first notification message in the target storage area when the timing duration reaches a preset duration.
方式二,在终端设备显示第三控件的情况下,终端设备响应于用户对第三控件的输入,删除目标存储区域中的第一通知消息。其中,该第三控件为在接收到第一输入后在目标界面中显示的控件,该第三控件可以用于触发终端设备删除目标存储区域中的第一通知消息。In a second manner, when the terminal device displays the third control, the terminal device deletes the first notification message in the target storage area in response to the user's input to the third control. The third control is a control displayed in the target interface after receiving the first input, and the third control can be used to trigger the terminal device to delete the first notification message in the target storage area.
方式三、在终端设备显示第三控件的情况下,如果终端设备在达到预设时长之后,仍未接收到用户对第三控件的输入,那么终端设备可以自动删除目标存储区域中的第一通知消息,并取消对第一控件和第三控件的显示。Manner 3: In the case where the terminal device displays the third control, if the terminal device has not received the user's input for the third control after the preset time period is reached, the terminal device can automatically delete the first notification in the target storage area message and cancel the display of the first and third controls.
对于方式二和方式三中的第三控件的具体描述,可以参照下述实施例S110至S112中的相关描述,此处不予赘述。For the specific description of the third control in the second and third modes, reference may be made to the relevant descriptions in the following embodiments S110 to S112, which will not be repeated here.
本发明实施例提供一种通知消息显示方法,由于在用户触发终端设备撤销对第一通知消息显示的情况下,终端设备可以撤销对第一通知消息的显示,并显示第一控件,因此在终端设备撤销对第一通知消息的显示之后,如果用户想要再次查看该第一通知消息,那么用户可以通过对该第一控件的输入,触发终端设备再次显示该第一通知消息。如此用户无需从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用以从该应用中查找到该通知消息,从而可以简化用户查找通知消息的过程。An embodiment of the present invention provides a method for displaying a notification message. In the case where the user triggers the terminal device to cancel the display of the first notification message, the terminal device can cancel the display of the first notification message and display the first control. After the device cancels the display of the first notification message, if the user wants to view the first notification message again, the user can trigger the terminal device to display the first notification message again by inputting the first control. In this way, the user does not need to find the application receiving the notification message from multiple applications, and trigger the terminal device to run the application to find the notification message from the application, thereby simplifying the user's process of finding the notification message.
可选的,本发明实施例中,终端设备还可以接收并显示第二通知消息。具体的,第一种可能的实现方式为,结合图2,如图5所示,在上述S102之后,本发明实施例提供的通知消息显示方法还可以包括下述的S104;第二种可能的实现方式为,结合图2,如图6所示,在上述S103之后,本发明实施例提供的通知消息显示方法还可以包括下述的S105。Optionally, in this embodiment of the present invention, the terminal device may also receive and display the second notification message. Specifically, the first possible implementation manner is, with reference to FIG. 2 , as shown in FIG. 5 , after the above S102 , the notification message display method provided by the embodiment of the present invention may further include the following S104 ; the second possible implementation manner is as follows: The implementation is as follows, with reference to FIG. 2 , as shown in FIG. 6 , after the above S103 , the notification message display method provided by the embodiment of the present invention may further include the following S105 .
对于上述第一种可能的实现方式:For the first possible implementation above:
S104、在终端设备接收到第二通知消息的情况下,终端设备保持显示第一控件,并显示该第二通知消息。S104. In the case that the terminal device receives the second notification message, the terminal device keeps displaying the first control and displays the second notification message.
需要说明的是,本发明实施例中,上述S103和S104可以择一执行,即终端设备可以执行S103,或执行S104;或者,终端设备可以先执行S104,再执行S103。具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in this embodiment of the present invention, the above S103 and S104 may be executed alternatively, that is, the terminal device may execute S103 or S104; or, the terminal device may execute S104 first, and then execute S103. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,第二通知消息可以包括一个通知消息或多个通知消息,具体可以根据实际使用需求确定。需要说明的是,为了更加清楚地描述本发明,下述实施例以第二通知消息包括Y个第二消息为例进行示例性说明,其并不对本发明实施例形成任何限定。其中,Y为正整数。Optionally, in this embodiment of the present invention, the second notification message may include one notification message or multiple notification messages, which may be specifically determined according to actual usage requirements. It should be noted that, in order to describe the present invention more clearly, the following embodiment takes the second notification message including Y second messages as an example for illustrative description, which does not form any limitation to the embodiment of the present invention. where Y is a positive integer.
可选的,本发明实施例中,上述第一通知消息和第二通知消息可以为包括不同内容的消息,也可以为包括相同内容的消息。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first notification message and second notification message may be messages including different content, or may be messages including the same content. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,第二通知消息可以为终端设备的应用程序从服务器接收的消息,例如,推送消息、联系人消息、短信消息等;或者,第二通知消息也可以为终端设备的应用程序生成的消息,例如,屏幕使用时间消息、手机助手消息等;或者,第二通知消息还可以为终端设备的应用程序从终端设备的其他应用程序获取的消息,例如,用户的运动信息、地图信息等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the second notification message may be a message received from a server by an application of the terminal device, for example, a push message, a contact message, a short message message, etc.; or, the second notification message may also be a terminal device Messages generated by the application of the device, such as screen usage time messages, mobile assistant messages, etc.; or, the second notification message may also be a message obtained by the application of the terminal device from other applications of the terminal device, such as the user's movement information, map information, etc. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第二通知消息可以为目标界面中的全部通知消息;或者,上述第二通知消息可以为目标界面的通知消息中的满足预设条件的通知消息,例如,该预设条件可以为第二通知消息为非常驻通知消息。Optionally, in this embodiment of the present invention, the above-mentioned second notification message may be all notification messages in the target interface; or, the above-mentioned second notification message may be a notification message that satisfies a preset condition in the notification messages of the target interface, for example , the preset condition may be that the second notification message is a non-resident notification message.
可选的,在第一种可能的实现方式中,在终端设备接收到第二通知消息的情况下,本发明实施例提供的通知消息显示方法还可以包括:终端设备在目标界面中显示目标控件,该目标控件可以用于触发终端设备撤销对第二通知消息的显示。Optionally, in the first possible implementation manner, when the terminal device receives the second notification message, the notification message display method provided by the embodiment of the present invention may further include: the terminal device displays the target control in the target interface. , the target control can be used to trigger the terminal device to cancel the display of the second notification message.
示例性的,以在终端设备接收到第二通知消息之前,终端设备显示的界面为如图3中的(c)所示的消息通知栏为例进行示例性说明。假设终端设备接收到1(Y=1)个第二消息(即第二通知消息),那么如图7中的(a)所示,终端设备可以在消息通知栏中保持显示第一控件02和第三控件,并在消息通知栏中显示该1个第二消息和目标控件01。其中,该目标控件01可以用于触发终端设备撤销对消息通知栏中当前显示的1个第二消息的显示。Exemplarily, before the terminal device receives the second notification message, the interface displayed by the terminal device is the message notification bar as shown in (c) in FIG. 3 as an example for illustration. Assuming that the terminal device receives 1 (Y=1) second messages (ie, second notification messages), as shown in (a) of FIG. 7 , the terminal device can keep displaying the first controls 02 and 02 in the message notification bar. The third control, and the one second message and the target control 01 are displayed in the message notification bar. The target control 01 may be used to trigger the terminal device to cancel the display of the one second message currently displayed in the message notification bar.
示例性的,以在终端设备接收到第二通知消息之前,终端设备显示的界面为如图4中的(c)所示的消息悬浮窗为例进行示例性说明。假设终端设备接收到1(Y=1)个第二消息(即第二通知消息),那么如图7中的(b)所示,终端设备可以在消息悬浮窗中保持显示第一控件02和第三控件,并在消息悬浮窗中显示该1个第二消息和目标控件01。其中,该目标控件01可以用于触发终端设备撤销对消息悬浮窗中当前显示的1个第二消息的显示。Exemplarily, before the terminal device receives the second notification message, the interface displayed by the terminal device is the message floating window as shown in (c) in FIG. 4 as an example for illustration. Assuming that the terminal device receives 1 (Y=1) second messages (ie, second notification messages), as shown in (b) of FIG. 7 , the terminal device can keep displaying the first controls 02 and 02 in the message floating window. The third control, and the one second message and the target control 01 are displayed in the message floating window. The target control 01 can be used to trigger the terminal device to cancel the display of a second message currently displayed in the message floating window.
对于上述第三控件的具体描述,可以参照下述实施例S110至S112中的相关描述。For the specific description of the above-mentioned third control, reference may be made to the relevant descriptions in the following embodiments S110 to S112.
本发明实施例提供的通知消息显示方法,在终端设备显示第一控件的情况下,若终端设备接收到第二通知消息,则终端设备可以保持显示第一控件,并显示第二通知消息,因此,第一控件和第二通知消息的显示无相互影响,从而便于用户选择对第一控件或第二通知消息进行操作,即提高了用户的操作便捷性。In the notification message display method provided by the embodiment of the present invention, when the terminal device displays the first control, if the terminal device receives the second notification message, the terminal device can keep displaying the first control and display the second notification message. Therefore, the terminal device can keep displaying the first control and display the second notification message. , the displays of the first control and the second notification message have no mutual influence, so that it is convenient for the user to choose to operate the first control or the second notification message, that is, the operation convenience of the user is improved.
对于上述第二种可能的实现方式:For the second possible implementation above:
S105、在终端设备接收到第二通知消息的情况下,终端设备保持显示第一通知消息,并显示第二通知消息。S105. In the case that the terminal device receives the second notification message, the terminal device keeps displaying the first notification message and displays the second notification message.
对于第一通知消息、第二通知消息和目标控件的具体描述,可以参照上述实施例中的相关描述,此处不再赘述。For the specific description of the first notification message, the second notification message, and the target control, reference may be made to the relevant descriptions in the foregoing embodiments, which will not be repeated here.
可选的,在第二种可能的实现方式中,在终端设备接收到第二通知消息的情况下,本发明实施例提供的通知消息显示方法还可以包括:终端设备在目标界面中显示目标控件,该目标控件可以用于触发终端设备撤销对第一通知消息和第二通知消息的显示。Optionally, in the second possible implementation manner, when the terminal device receives the second notification message, the method for displaying a notification message provided by the embodiment of the present invention may further include: displaying the target control in the target interface by the terminal device. , the target control can be used to trigger the terminal device to cancel the display of the first notification message and the second notification message.
示例性的,假设终端设备在消息通知栏或消息悬浮窗中显示有第一通知消息。如果终端设备接收到第二通知消息,那么终端设备可以在消息通知栏或消息悬浮窗中保持显示第一通知消息,并在消息通知栏或消息悬浮窗中显示第二通知消息和目标控件。如果用户想要撤销对第一通知消息和第二通知消息的显示,那么用户可以点击该目标控件。如此,终端设备可以接收到用户的点击输入,撤销对第一通知消息和第二通知消息的显示,并在消息通知栏或消息悬浮窗中显示一个控件,该一个控件可以用于触发终端设备再次显示第一通知消息和第二通知消息。进一步的,如果用户点击该一个控件,那么终端设备可以再次显示第一通知消息和第二通知消息。Exemplarily, it is assumed that the terminal device displays the first notification message in the message notification bar or the message floating window. If the terminal device receives the second notification message, the terminal device can keep displaying the first notification message in the message notification bar or the message floating window, and display the second notification message and the target control in the message notification bar or the message floating window. If the user wants to revoke the display of the first notification message and the second notification message, the user can click on the target control. In this way, the terminal device can receive the user's click input, cancel the display of the first notification message and the second notification message, and display a control in the message notification bar or the message floating window, and the control can be used to trigger the terminal device to once again The first notification message and the second notification message are displayed. Further, if the user clicks on the one control, the terminal device can display the first notification message and the second notification message again.
本发明实施例提供的通知消息显示方法,在终端设备显示第一通知消息的情况下,若终端设备接收到第二通知消息,则终端设备可以保持显示第一通知消息,并显示第二通知消息,如此用户可以触发终端设备对第一控件或第二通知消息的显示,从而可以提高用户的操作便捷性。In the notification message display method provided by the embodiment of the present invention, in the case where the terminal device displays the first notification message, if the terminal device receives the second notification message, the terminal device can keep displaying the first notification message and display the second notification message , so that the user can trigger the terminal device to display the first control or the second notification message, so that the user's operation convenience can be improved.
可选的,结合图5,如图8所示,在上述S104之后,本发明实施例提供的通知消息显示方法还可以包括下述的S106和S107。Optionally, with reference to FIG. 5 , as shown in FIG. 8 , after the foregoing S104 , the notification message display method provided in this embodiment of the present invention may further include the following S106 and S107 .
S106、终端设备接收用户的第三输入。S106. The terminal device receives the third input from the user.
其中,上述第三输入可以为针对上述实施例中的第二通知消息的输入。Wherein, the above-mentioned third input may be an input for the second notification message in the above-mentioned embodiment.
S107、终端设备响应于该第三输入,取消对第一控件的显示,并撤销对第二通知消息的显示,以及显示显示第二控件。S107. In response to the third input, the terminal device cancels the display of the first control, cancels the display of the second notification message, and displays and displays the second control.
进一步的,在上述S107之后,本发明实施例提供的通知消息显示方法还可以包括:在接收到用户对第二控件的第四输入的情况下,响应于该第四输入,显示第二通知消息。Further, after the above S107, the method for displaying a notification message provided in this embodiment of the present invention may further include: in the case of receiving a fourth input from the user to the second control, displaying a second notification message in response to the fourth input .
其中,上述第二控件可以用于触发终端设备显示第二通知消息。The above-mentioned second control may be used to trigger the terminal device to display the second notification message.
本发明实施例中,上述第三输入可以用于触发终端设备撤销显示目标界面中当前显示的第二通知消息。其中,此处的“当前”是指终端设备接收到第三输入的时刻。In this embodiment of the present invention, the above-mentioned third input may be used to trigger the terminal device to cancel the display of the second notification message currently displayed in the target interface. Wherein, "current" here refers to the moment when the terminal device receives the third input.
可选的,本发明实施例中,上述第三输入可以为触控输入、语音输入、按键输入等。例如,触控输入可以为用户对目标界面中的目标控件的按压输入,或者为对第二通知消息的圈选输入等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the third input may be touch input, voice input, key input, or the like. For example, the touch input may be a user's pressing input on a target control in the target interface, or a circle selection input on the second notification message, or the like. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第四输入可以为对第二控件的点击输入、长按输入、滑动输入或圈选输入等,具体可以根据实际使用需求确定。Optionally, in this embodiment of the present invention, the above-mentioned fourth input may be a click input, a long-press input, a slide input, or a circle selection input on the second control, etc., which may be specifically determined according to actual usage requirements.
可选的,本发明实施例中,假设在接收到第三输入时,当前显示的目标界面中包括目标控件,那么在接收到第三输入之后,本发明实施例提供的通知消息显示方法还可以包括:终端设备响应于第三输入,在目标界面中撤销显示目标控件。Optionally, in this embodiment of the present invention, it is assumed that the currently displayed target interface includes target controls when the third input is received, then after the third input is received, the notification message display method provided in the embodiment of the present invention may also The method includes: in response to the third input, the terminal device cancels the display of the target control in the target interface.
可选的,本发明实施例中,本发明实施例提供的通知消息显示方法还可以包括:终端设备响应于第三输入,删除目标存储区域中的第一通知消息。其中,该目标存储区域可以为目标界面对应的存储区域。可以理解,通过删除目标存储区域中的第一通知消息,可以使终端设备不会再在目标界面中显示该第一通知消息,并提高终端设备的内存量。Optionally, in the embodiment of the present invention, the method for displaying a notification message provided by the embodiment of the present invention may further include: in response to the third input, the terminal device deletes the first notification message in the target storage area. The target storage area may be a storage area corresponding to the target interface. It can be understood that by deleting the first notification message in the target storage area, the terminal device can no longer display the first notification message in the target interface, and the memory capacity of the terminal device can be increased.
示例性的,以在终端设备接收到用户的第三输入之前,终端设备显示的界面为如图9中的(a)所示的消息通知栏,且该消息通知栏包括目标控件01、第一控件02、第三控件03和1个第二消息(即第二通知消息)为例进行示例性说明。如图9中的(a)所示,在终端设备接收到用户对目标控件01的输入(即第三输入)情况下,终端设备可以响应于该第三输入,如图9中的(b)所示,在消息通知栏中撤销对该1个第二消息的显示、取消显示目标控件01、第一控件02和第三控件03,并在消息通知栏中显示第二控件04和第四控件05,以及删除目标存储区域中的3个第一消息(即第一通知消息)。进一步的,如果用户点击如图9中的(b)所示的消息通知栏中的第二控件04,那么终端设备可以响应于接收到的用户对第二控件04的第四输入,在消息通知栏中撤销对第二控件04和第四控件05的显示,并在消息通知栏中再次显示该1个第二消息;如果用户点击如图9中的(b)所示的消息通知栏中的第四控件05,那么终端设备可以在消息通知栏中撤销对第二控件04和第四控件05的显示,并删除目标存储区域中的该1个第二消息。Exemplarily, before the terminal device receives the third input from the user, the interface displayed by the terminal device is a message notification bar as shown in (a) in FIG. 9 , and the message notification bar includes the target control 01, the first The control 02, the third control 03 and one second message (ie, the second notification message) are taken as an example for illustrative description. As shown in (a) of FIG. 9 , in the case where the terminal device receives the user's input to the target control 01 (ie, the third input), the terminal device may respond to the third input, as shown in (b) of FIG. 9 shown in the message notification bar, cancel the display of the one second message, cancel the display of the target control 01, the first control 02 and the third control 03, and display the second control 04 and the fourth control in the message notification bar 05, and delete the three first messages (ie, the first notification messages) in the target storage area. Further, if the user clicks on the second control 04 in the message notification bar as shown in (b) in FIG. 9 , the terminal device can respond to the received fourth input of the user on the second control 04 in the message notification bar. The display of the second control 04 and the fourth control 05 is canceled in the bar, and the second message is displayed again in the message notification bar; if the user clicks on the message notification bar as shown in (b) in FIG. The fourth control 05, the terminal device can cancel the display of the second control 04 and the fourth control 05 in the message notification bar, and delete the one second message in the target storage area.
示例性的,以在终端设备接收到用户的第三输入之前,终端设备显示的界面为如图9中的(c)所示的消息悬浮窗,且该消息悬浮窗包括目标控件01、第一控件02、第三控件03和1个第二消息(即第二通知消息)为例进行示例性说明。如图9中的(c)所示,在终端设备接收到用户对目标控件01的输入(即第三输入)情况下,终端设备可以响应于该第三输入,如图9中的(d)所示,在消息悬浮窗中撤销对该1个第二消息的显示、取消显示目标控件01、第一控件02和第三控件03,并在消息悬浮窗中显示第二控件04和第四控件05,以及删除目标存储区域中的3个第一消息(即第一通知消息)。进一步的,如果用户点击如图9中的(d)所示的消息悬浮窗中的第二控件04,那么终端设备可以响应于接收到的用户对第二控件04的第四输入,在消息悬浮窗中撤销对第二控件04和第四控件05的显示,并在消息悬浮窗中再次显示该1个第二消息;如果用户点击如图9中的(d)所示的消息悬浮窗中的第四控件05,那么终端设备可以在消息悬浮窗中撤销对第二控件04和第四控件05的显示,并删除目标存储区域中的该1个第二消息。Exemplarily, before the terminal device receives the third input from the user, the interface displayed by the terminal device is a message floating window as shown in (c) in FIG. 9 , and the message floating window includes the target control 01, the first The control 02, the third control 03, and one second message (ie, the second notification message) are taken as an example for illustrative description. As shown in (c) of FIG. 9 , in the case where the terminal device receives the user's input to the target control 01 (ie, the third input), the terminal device may respond to the third input, as shown in (d) of FIG. 9 . As shown, cancel the display of the one second message in the message floating window, cancel the display of the target control 01, the first control 02 and the third control 03, and display the second control 04 and the fourth control in the message floating window 05, and delete the three first messages (ie, the first notification messages) in the target storage area. Further, if the user clicks on the second control 04 in the message floating window as shown in (d) in FIG. 9 , the terminal device can respond to the received fourth input from the user to the second control 04, in the message floating window. The display of the second control 04 and the fourth control 05 is canceled in the window, and the second message is displayed again in the message floating window; if the user clicks the The fourth control 05, the terminal device can cancel the display of the second control 04 and the fourth control 05 in the message floating window, and delete the one second message in the target storage area.
需要说明的是,本发明实施例中,上述第一控件与第二控件可以为显示外观相同的不同控件,上述第三控件与第四控件可以为显示外观相同的不同控件。其中,该第一控件可以用于触发终端设备显示第一通知消息,该第二控件可以用于触发终端设备显示第二通知消息;该第三控件可以用于触发终端设备删除目标存储区域中的第一通知消息,该第四控件可以用于触发终端设备删除目标存储区域中的第二通知消息。It should be noted that, in this embodiment of the present invention, the first control and the second control may be different controls with the same display appearance, and the third control and the fourth control may be different controls with the same display appearance. Wherein, the first control can be used to trigger the terminal device to display the first notification message, the second control can be used to trigger the terminal device to display the second notification message; the third control can be used to trigger the terminal device to delete the The first notification message, the fourth control can be used to trigger the terminal device to delete the second notification message in the target storage area.
本发明实施例提供的通知消息显示方法,在接收到用户针对第二通知消息的第三输入的情况下,通过在目标界面中撤销显示第二通知消息和第一控件,并在目标界面中显示第二控件,可以方便用户可以选择是否触发终端设备重新显示第二通知消息,从而可以提高用户的操作便捷性。In the notification message display method provided by the embodiment of the present invention, in the case of receiving the third input from the user for the second notification message, the display of the second notification message and the first control is canceled in the target interface, and displayed in the target interface With the second control, it is convenient for the user to choose whether to trigger the terminal device to redisplay the second notification message, thereby improving the user's operational convenience.
可选的,结合图5,如图10所示,在上述S104之后,本发明实施例提供的通知消息显示方法还可以包括下述的S108和S109。Optionally, with reference to FIG. 5 , as shown in FIG. 10 , after the foregoing S104 , the notification message display method provided by the embodiment of the present invention may further include the following S108 and S109 .
S108、终端设备接收用户对第一控件的输入。S108. The terminal device receives the user's input on the first control.
S109、终端设备响应于该对第一控件的输入,取消对第一控件的显示,并显示第一通知消息和第二通知消息。S109. In response to the input of the first control, the terminal device cancels the display of the first control, and displays the first notification message and the second notification message.
可选的,若在接收用户对第一控件的输入时,目标界面中包括第三控件和目标控件,那么上述S109具体可以为:响应于对第一控件的输入,在目标界面中取消显示第一控件和第三控件,并在目标界面中显示第一通知消息、第二通知消息和目标控件。Optionally, if the target interface includes a third control and a target control when receiving the user's input to the first control, then the above S109 may specifically be: in response to the input to the first control, cancel the display of the third control in the target interface. a control and a third control, and display the first notification message, the second notification message and the target control in the target interface.
示例性的,如图11中的(a)所示,在终端设备在消息通知栏显示目标控件01、第一控件02、第三控件03和一个第二消息的情况下,用户可以点击第一控件02。在终端设备接收到用户对第一控件02的输入之后,如图11中的(b)所示,终端设备可以响应于该输入,在消息通知栏中取消显示第一控件02和第三控件03,并在消息通知栏中显示3个第一消息(即第一通知消息)、1个第二消息(即第二通知消息)和目标控件01。Exemplarily, as shown in (a) of FIG. 11 , when the terminal device displays the target control 01, the first control 02, the third control 03 and a second message in the message notification bar, the user can click the first Control 02. After the terminal device receives the user's input to the first control 02, as shown in (b) of FIG. 11 , the terminal device may cancel the display of the first control 02 and the third control 03 in the message notification bar in response to the input. , and display three first messages (ie, first notification messages), one second message (ie, second notification messages) and target control 01 in the message notification bar.
需要说明的是,对于终端设备响应于对第一控件的输入,在目标界面中取消显示第一控件,并在目标界面中显示第一通知消息的描述,可以参照上述实施例的S103的具体描述,此处不再赘述。It should be noted that, for the terminal device to cancel the display of the first control in the target interface in response to the input of the first control, and display the description of the first notification message in the target interface, reference may be made to the specific description of S103 in the above embodiment. , and will not be repeated here.
本发明实施例提供的通知消息显示方法,由于用户可以通过对该第一控件的输入,触发终端设备再次显示被撤销显示的第一通知消息,即无需从多个应用中找到接收该消息的应用,并触发终端设备运行该应用以从该应用中查找到该消息,因此可以简化用户查找消息的过程。In the method for displaying a notification message provided by the embodiment of the present invention, because the user can trigger the terminal device to display the first notification message that has been canceled by inputting the first control, that is, there is no need to find an application that receives the message from multiple applications , and trigger the terminal device to run the application to find the message from the application, so the process of finding the message for the user can be simplified.
可选的,在上述S101之后,本发明实施例提供的通知消息显示方法还可以包括下述的S110。进一步的,结合图2,如图12所示,在S110之后,本发明实施例提供的通知消息显示方法还可以包括下述的S111。Optionally, after the above S101, the method for displaying a notification message provided in this embodiment of the present invention may further include the following S110. Further, with reference to FIG. 2 , as shown in FIG. 12 , after S110 , the notification message display method provided by the embodiment of the present invention may further include the following S111 .
S110、终端设备响应于第一输入,显示第三控件。S110. The terminal device displays a third control in response to the first input.
S111、在接收到用户对第三控件的第五输入的情况下,终端设备响应于该第五输入,删除目标存储区域中的第一通知消息。S111. In the case of receiving the fifth input from the user to the third control, the terminal device deletes the first notification message in the target storage area in response to the fifth input.
其中,上述第三控件可以用于触发终端设备删除目标存储区域中的第一通知消息。该目标存储区域可以为目标界面对应的存储区域。The above third control may be used to trigger the terminal device to delete the first notification message in the target storage area. The target storage area may be a storage area corresponding to the target interface.
需要说明的是,上述图12是以终端设备先执行S102,再执行S110为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,实际实现时,终端设备可以同时执行S102和S110;或者,可以先执行S110,再执行S102。具体可以根据实际使用需求确定。It should be noted that, the foregoing FIG. 12 uses an example in which the terminal device first executes S102 and then executes S110 for illustrative description, which does not form any limitation to the embodiments of the present invention. It can be understood that, in actual implementation, the terminal device may execute S102 and S110 at the same time; or, S110 may be executed first, and then S102 may be executed. The specific can be determined according to the actual use requirements.
可选的,本发明实施例中,上述第五输入可以为对第三控件的点击输入、长按输入、滑动输入或圈选输入等,具体可以根据实际使用需求确定。Optionally, in this embodiment of the present invention, the fifth input may be a click input, a long-press input, a slide input, or a circle selection input on the third control, which may be specifically determined according to actual usage requirements.
示例性的,仍以图3为例进行示例性说明。如果终端设备在如图3中的(a)或如图3中的(b)所示的消息通知栏中接收到用户的第一输入,那么如图3中的(c)所示,终端设备除了可以显示第一控件02,还可以显示第三控件03。该第三控件03可以用于触发终端设备删除目标存储区域中的第一通知消息。Illustratively, still take FIG. 3 as an example for illustrative description. If the terminal device receives the user's first input in the message notification bar as shown in (a) in FIG. 3 or (b) in FIG. 3 , then as shown in (c) in FIG. 3 , the terminal device In addition to displaying the first widget 02, a third widget 03 can also be displayed. The third control 03 may be used to trigger the terminal device to delete the first notification message in the target storage area.
示例性的,仍以图4为例进行示例性说明。如果终端设备在如图4中的(a)或如图4中的(b)所示的消息悬浮窗中接收到用户的第一输入,那么如图4中的(c)所示,终端设备除了可以显示第一控件02,还可以显示第三控件03。该第三控件03可以用于触发终端设备删除目标存储区域中的第一通知消息。Exemplarily, still take FIG. 4 as an example for illustration. If the terminal device receives the user's first input in the message floating window as shown in FIG. 4(a) or FIG. 4(b), then as shown in FIG. 4(c), the terminal device In addition to displaying the first widget 02, a third widget 03 can also be displayed. The third control 03 may be used to trigger the terminal device to delete the first notification message in the target storage area.
本发明实施例提供的通知消息显示方法,通过显示第三控件,可以提供选择是否将目标存储区域中的第一通知消息删除,从而使得终端设备不会再显示第二通知消息,并提高终端设备的内存量,并提高了用户体验感。In the notification message display method provided by the embodiment of the present invention, by displaying the third control, it is possible to select whether to delete the first notification message in the target storage area, so that the terminal device will no longer display the second notification message, and the terminal device can be improved. the amount of memory and improve the user experience.
可选的,结合图12,如图13所示,在上述S111之后,本发明实施例提供的通知消息显示方法还可以包括下述的S112。Optionally, with reference to FIG. 12 , as shown in FIG. 13 , after the foregoing S111 , the method for displaying a notification message provided by this embodiment of the present invention may further include the following S112 .
S112、终端设备响应于第五输入,取消对第一控件和第三控件的显示。S112. The terminal device cancels the display of the first control and the third control in response to the fifth input.
需要说明的是,上述图13是以终端设备先执行S111,再执行S112为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,实际实现时,终端设备可以同时执行S111和S112。具体可以根据实际使用需求确定。It should be noted that, the above FIG. 13 uses an example that the terminal device first executes S111 and then executes S112 for illustrative description, which does not form any limitation to the embodiments of the present invention. It can be understood that, in actual implementation, the terminal device may execute S111 and S112 at the same time. The specific can be determined according to the actual use requirements.
示例性的,如图14中的(a)所示,在消息通知栏包括第一控件02和第三控件03的情况下,用户可以点击第三控件03。在终端设备接收到用户对第三控件03的第五输入的情况下,如图14中的(b)所示,终端设备可以响应于该第五输入,删除目标存储区域中的第一通知消息,并取消显示消息通知栏、第一控件02和第三控件03。Exemplarily, as shown in (a) of FIG. 14 , when the message notification bar includes the first control 02 and the third control 03 , the user can click the third control 03 . In the case where the terminal device receives a fifth input from the user to the third control 03, as shown in (b) of FIG. 14 , the terminal device may delete the first notification message in the target storage area in response to the fifth input , and cancel the display of the message notification bar, the first control 02 and the third control 03.
示例性的,如图14中的(c)所示,在消息悬浮窗包括第一控件02和第三控件03的情况下,用户可以点击第三控件03。在终端设备接收到用户对第三控件03的第五输入的情况下,如图14中的(d)所示,终端设备可以响应于该第五输入,删除目标存储区域中的第一通知消息,并取消显示消息悬浮窗、第一控件02和第三控件03。Exemplarily, as shown in (c) of FIG. 14 , when the message floating window includes the first control 02 and the third control 03 , the user can click the third control 03 . When the terminal device receives the fifth input of the third control 03 by the user, as shown in (d) of FIG. 14 , the terminal device may delete the first notification message in the target storage area in response to the fifth input , and cancel the display of the message floating window, the first control 02 and the third control 03.
可选的,本发明实施例中,如果在终端设备接收到用户的第五输入时,目标界面还包括第二通知消息,那么在接收到用户的第五输入之后,本发明实施例提供的通知消息显示方法还可以包括:响应于用户的第五输入,保持显示第二通知消息。Optionally, in this embodiment of the present invention, if the target interface further includes a second notification message when the terminal device receives the fifth input from the user, then after receiving the fifth input from the user, the notification provided in the embodiment of the present invention The message display method may further include maintaining the display of the second notification message in response to the user's fifth input.
示例性的,如图15中的(a)所示,在消息通知栏包括目标控件01、第一控件02、第三控件03、1个第二消息(即第二通知消息)的情况下,用户可以点击第三控件03。在终端设备接收到用户对第三控件03的第五输入的情况下,如图15中的(b)所示,终端设备可以响应于该第五输入,删除目标存储区域中的第一通知消息,并在消息通知栏中取消显示第一控件02和第三控件03,以及在消息通知栏中保持显示目标控件01和该1个第二消息。Exemplarily, as shown in (a) of FIG. 15 , when the message notification bar includes the target control 01, the first control 02, the third control 03, and one second message (ie, the second notification message), The user can click on the third control 03. In the case where the terminal device receives the fifth input from the user to the third control 03, as shown in (b) of FIG. 15 , the terminal device may delete the first notification message in the target storage area in response to the fifth input , and cancel the display of the first control 02 and the third control 03 in the message notification bar, and keep displaying the target control 01 and the one second message in the message notification bar.
示例性的,如图15中的(c)所示,在消息悬浮窗包括目标控件01、第一控件02、第三控件03、1个第二消息(即第二通知消息)的情况下,用户可以点击第三控件03。在终端设备接收到用户对第三控件03的第五输入的情况下,如图15中的(d)所示,终端设备可以响应于该第五输入,删除目标存储区域中的第一通知消息,并在消息悬浮窗中取消显示第一控件02和第三控件03,以及在消息悬浮窗中保持显示目标控件01和该1个第二消息。Exemplarily, as shown in (c) of FIG. 15 , when the message floating window includes the target control 01, the first control 02, the third control 03, and one second message (ie, the second notification message), The user can click on the third control 03. In the case where the terminal device receives the fifth input from the user to the third control 03, as shown in (d) of FIG. 15 , the terminal device may delete the first notification message in the target storage area in response to the fifth input , and cancel the display of the first control 02 and the third control 03 in the message floating window, and keep displaying the target control 01 and the one second message in the message floating window.
本发明实施例提供的通知消息显示方法,在接收到用户对第三控件的输入的情况下,不但可以将目标存储区域中的第一通知消息删除,而且可以取消对第一控件和第三控件的显示。可以理解,在将第一通知消息删除之后,终端设备无需再次显示第一通知消息,也无需再次删除第一通知消息,因此终端设备取消对第一控件和第三控件的显示,可以提高终端设备的智能化程度,并提高用户的体验感。The notification message display method provided by the embodiment of the present invention can not only delete the first notification message in the target storage area, but also cancel the display of the first control and the third control when the user's input to the third control is received display. It can be understood that after the first notification message is deleted, the terminal device does not need to display the first notification message again, nor does it need to delete the first notification message again. Therefore, the terminal device cancels the display of the first control and the third control, which can improve the performance of the terminal device. and improve the user experience.
需要说明的是,本实施例中的上述附图5、附图6、附图12均是结合附图2进行示例说明的,其并对本发明实施例形成任何限定。可以理解,实际实现时,附图5、附图6、附图12还可以结合其它任意可以结合的附图实现。It should be noted that the above-mentioned FIG. 5 , FIG. 6 , and FIG. 12 in this embodiment are all illustrative in conjunction with FIG. 2 , and do not form any limitation to the embodiments of the present invention. It can be understood that, in actual implementation, FIG. 5 , FIG. 6 , and FIG. 12 can also be implemented in combination with any other accompanying drawings.
如图16所示,本发明实施例提供一种终端设备1600。该终端设备可以包括接收模块1601和显示模块1602。其中,接收模块1601,可以用于在显示模块1602显示第一通知消息的情况下,接收用户的第一输入;显示模块1602,可以用于响应于接收模块1601接收的该第一输入,撤销对该第一通知消息的显示,并显示第一控件;显示模块1602,还可以用于在接收模块1601接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。As shown in FIG. 16 , an embodiment of the present invention provides a terminal device 1600 . The terminal device may include a receiving module 1601 and a display module 1602 . Among them, the receiving module 1601 can be used to receive the first input of the user when the display module 1602 displays the first notification message; the display module 1602 can be used to respond to the first input received by the receiving module 1601, cancel the Display the first notification message, and display the first control; the display module 1602 can also be used to display the second input in response to the second input when the receiving module 1601 receives the second input of the first control. the first notification message.
可选的,本发明实施例中,显示模块1602,还可以用于响应于接收模块1601接收的该第二输入,取消对该第一控件的显示。Optionally, in this embodiment of the present invention, the display module 1602 may be further configured to cancel the display of the first control in response to the second input received by the receiving module 1601 .
可选的,本发明实施例中,显示模块1602,还可以用于在显示第一控件之后,在接收模块1601接收到第二通知消息的情况下,保持显示该第一控件,并显示该第二通知消息。Optionally, in this embodiment of the present invention, the display module 1602 may also be configured to, after displaying the first control, keep displaying the first control and display the first control when the receiving module 1601 receives the second notification message. 2. Notification message.
可选的,本发明实施例中,接收模块1601,还可以用于在显示模块1602显示第二通知消息之后,接收用户的第三输入;显示模块1602,还可以用于响应于接收模块1601接收的该第三输入,取消对第一控件的显示,并撤销对该第二通知消息的显示,以及显示第二控件;显示模块1602,还可以用于在接收模块1601接收到用户对该第二控件的第四输入的情况下,响应于该第四输入,显示该第二通知消息。Optionally, in this embodiment of the present invention, the receiving module 1601 may also be configured to receive a third input from the user after the display module 1602 displays the second notification message; the display module 1602 may also be configured to respond to the receiving module 1601 receiving the third input, cancel the display of the first control, and cancel the display of the second notification message, and display the second control; the display module 1602 can also be used to receive the user's second control in the receiving module 1601. In the case of the fourth input of the control, the second notification message is displayed in response to the fourth input.
可选的,结合图16,如图17所示,本发明实施例提供的终端设备还可以包括处理模块1603。处理模块1603,可以用于响应于接收模块1601接收的第三输入,删除目标存储区域中的第一通知消息。Optionally, with reference to FIG. 16 , as shown in FIG. 17 , the terminal device provided in this embodiment of the present invention may further include a processing module 1603 . The processing module 1603 may be configured to delete the first notification message in the target storage area in response to the third input received by the receiving module 1601 .
可选的,如图17所示,本发明实施例提供的终端设备还可以包括处理模块1603。显示模块1602,还可以用于响应于第一输入,显示第三控件。处理模块1603,还用于在接收模块1601接收到用户对该第三控件的第五输入的情况下,响应于第五输入,删除目标存储区域中的第一通知消息。Optionally, as shown in FIG. 17 , the terminal device provided in this embodiment of the present invention may further include a processing module 1603 . The display module 1602 may also be configured to display a third control in response to the first input. The processing module 1603 is further configured to delete the first notification message in the target storage area in response to the fifth input when the receiving module 1601 receives the fifth input from the user on the third control.
可选的,本发明实施例中,显示模块1602,还可以用于响应于接收模块1601接收的该第五输入,取消对第一控件和第三控件的显示。Optionally, in this embodiment of the present invention, the display module 1602 may be further configured to cancel the display of the first control and the third control in response to the fifth input received by the receiving module 1601 .
可选的,本发明实施例中,在终端设备的目标界面包括通知消息的情况下,该目标界面中还可以包括目标控件,该目标控件可以用于触发终端设备撤销对该目标界面中的通知消息的显示。Optionally, in this embodiment of the present invention, when the target interface of the terminal device includes a notification message, the target interface may further include a target control, and the target control may be used to trigger the terminal device to cancel the notification in the target interface. display of the message.
可选的,本发明实施例中,上述通知消息可以为消息通知栏中的消息,或为消息悬浮窗中的消息。Optionally, in this embodiment of the present invention, the above notification message may be a message in a message notification bar or a message in a message floating window.
本发明实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiments of the present invention can implement each process implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not described herein again.
本发明实施例提供一种终端设备,由于在用户触发终端设备撤销对第一通知消息显示的情况下,终端设备可以撤销对第一通知消息的显示,并显示第一控件,因此在终端设备撤销对第一通知消息的显示之后,如果用户想要再次查看该第一通知消息,那么用户可以通过对该第一控件的输入,触发终端设备再次显示该第一通知消息。如此用户无需从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用以从该应用中查找到该通知消息,从而可以简化用户查找通知消息的过程。An embodiment of the present invention provides a terminal device. In the case where the user triggers the terminal device to cancel the display of the first notification message, the terminal device can cancel the display of the first notification message and display the first control. Therefore, the terminal device can cancel the display of the first notification message and display the first control. After the first notification message is displayed, if the user wants to view the first notification message again, the user can trigger the terminal device to display the first notification message again by inputting the first control. In this way, the user does not need to find the application receiving the notification message from multiple applications, and trigger the terminal device to run the application to find the notification message from the application, thereby simplifying the user's process of finding the notification message.
图18为实现本发明各个实施例的一种终端设备的硬件结构示意图。如图18所示,该终端设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图18中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。FIG. 18 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention. As shown in FIG. 18 , the terminal device 200 includes but is not limited to: a radio frequency unit 201 , a network module 202 , an audio output unit 203 , an input unit 204 , a sensor 205 , a display unit 206 , a user input unit 207 , an interface unit 208 , and a memory 209 , the processor 210, and the power supply 211 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 18 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than the one shown, or combine some components, or different components layout. In the embodiment of the present invention, the terminal device includes but is not limited to a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle terminal device, a wearable device, a pedometer, and the like.
其中,用户输入单元207,可以用于在显示单元206显示第一通知消息的情况下,接收用户的第一输入;显示单元206,可以用于响应于用户输入单元207接收的该第一输入,撤销对第一通知消息的显示,并显示第一控件;显示单元206,还可以用于在用户输入单元207接收到用户对该第一控件的第二输入的情况下,响应于该第二输入,显示该第一通知消息。Wherein, the user input unit 207 can be used to receive the first input from the user when the display unit 206 displays the first notification message; the display unit 206 can be used to respond to the first input received by the user input unit 207, Cancel the display of the first notification message and display the first control; the display unit 206 may also be configured to respond to the second input of the first control when the user input unit 207 receives the second input from the user to display the first notification message.
本发明实施例提供一种终端设备,由于在用户触发终端设备撤销对第一通知消息显示的情况下,终端设备可以撤销对第一通知消息的显示,并显示第一控件,因此在终端设备撤销对第一通知消息的显示之后,如果用户想要再次查看该第一通知消息,那么用户可以通过对该第一控件的输入,触发终端设备再次显示该第一通知消息。如此用户无需从多个应用中找到接收该通知消息的应用,并触发终端设备运行该应用以从该应用中查找到该通知消息,从而可以简化用户查找通知消息的过程。An embodiment of the present invention provides a terminal device. In the case where the user triggers the terminal device to cancel the display of the first notification message, the terminal device can cancel the display of the first notification message and display the first control. Therefore, the terminal device can cancel the display of the first notification message and display the first control. After the first notification message is displayed, if the user wants to view the first notification message again, the user can trigger the terminal device to display the first notification message again by inputting the first control. In this way, the user does not need to find the application receiving the notification message from multiple applications, and trigger the terminal device to run the application to find the notification message from the application, thereby simplifying the user's process of finding the notification message.
应理解的是,本发明实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 201 may be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 210; The uplink data is sent to the base station. Generally, the radio frequency unit 201 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 201 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides the user with wireless broadband Internet access through the network module 202, such as helping the user to send and receive emails, browse web pages, and access streaming media.
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与终端设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal device 200 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(Graphics Processing Unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。The input unit 204 is used to receive audio or video signals. The input unit 204 may include a graphics processor (Graphics Processing Unit, GPU) 2041 and a microphone 2042. The graphics processor 2041 captures images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 206 . The image frames processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or transmitted via the radio frequency unit 201 or the network module 202 . The microphone 2042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 201 for output in the case of a telephone call mode.
终端设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在终端设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 200 also includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 2061 and the display panel 2061 when the terminal device 200 moves to the ear / or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板2061。The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
用户输入单元207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 207 can be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the terminal device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072 . The touch panel 2071, also known as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, or any suitable object or accessory on or near the touch panel 2071). operate). The touch panel 2071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 210, the command sent by the processor 210 is received and executed. In addition, the touch panel 2071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 2071 , the user input unit 207 may also include other input devices 2072 . Specifically, other input devices 2072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图18中,触控面板2071与显示面板2061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 2071 can be covered on the display panel 2061. When the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of the touch event according to the touch The type of event provides corresponding visual output on display panel 2061. Although in FIG. 18 , the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the terminal device, but in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated The input and output functions of the terminal device are implemented, which is not specifically limited here.
接口单元208为外部装置与终端设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备200内的一个或多个元件或者可以用于在终端设备200和外部装置之间传输数据。The interface unit 208 is an interface for connecting an external device to the terminal device 200 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 208 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal device 200 or may be used between the terminal device 200 and external Transfer data between devices.
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 209 may be used to store software programs as well as various data. The memory 209 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 209 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.
处理器210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器210可包括一个或多个处理单元;可选的,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。The processor 210 is the control center of the terminal equipment, uses various interfaces and lines to connect various parts of the entire terminal equipment, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209. , perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The modulation processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 210.
终端设备200还可以包括给各个部件供电的电源211(比如电池),可选的,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 200 may also include a power supply 211 (such as a battery) for supplying power to various components. Optionally, the power supply 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system management and other functions.
另外,终端设备200包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 200 includes some unshown functional modules, which will not be repeated here.
可选的,本发明实施例还提供一种终端设备,包括如图18所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides a terminal device, including a processor 210 as shown in FIG. 18, a memory 209, a computer program stored in the memory 209 and executable on the processor 210, the computer program being When the processor 210 executes, each process of the foregoing method embodiments is implemented, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide 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, each process of the foregoing method embodiment can be achieved, and the same technical effect can be achieved, In order to avoid repetition, details are not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例描述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
Claims (16)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910234535.8A CN110069304A (en) | 2019-03-26 | 2019-03-26 | A kind of notification message display methods and terminal device |
| PCT/CN2020/074792 WO2020192282A1 (en) | 2019-03-26 | 2020-02-12 | Notification message display method and terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910234535.8A CN110069304A (en) | 2019-03-26 | 2019-03-26 | A kind of notification message display methods and terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110069304A true CN110069304A (en) | 2019-07-30 |
Family
ID=67366738
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910234535.8A Pending CN110069304A (en) | 2019-03-26 | 2019-03-26 | A kind of notification message display methods and terminal device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110069304A (en) |
| WO (1) | WO2020192282A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110888568A (en) * | 2019-10-21 | 2020-03-17 | 维沃移动通信有限公司 | Notification bar display method and terminal equipment |
| WO2020192282A1 (en) * | 2019-03-26 | 2020-10-01 | 维沃移动通信有限公司 | Notification message display method and terminal device |
| CN112181233A (en) * | 2020-10-27 | 2021-01-05 | 深圳传音控股股份有限公司 | Message processing method, intelligent terminal and computer readable storage medium |
| CN112286412A (en) * | 2020-10-22 | 2021-01-29 | 维沃移动通信(杭州)有限公司 | Notification message management method and device |
| CN112733042A (en) * | 2021-02-03 | 2021-04-30 | 北京百度网讯科技有限公司 | Recommendation information generation method, related device and computer program product |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10198518A (en) * | 1996-12-30 | 1998-07-31 | Canon Inc | Bulletin information processing apparatus and method, and medium recording bulletin information processing control program |
| CN104169855A (en) * | 2013-12-20 | 2014-11-26 | 华为终端有限公司 | Method and device for message management in notification bar |
| CN104182497A (en) * | 2014-08-14 | 2014-12-03 | 宇龙计算机通信科技(深圳)有限公司 | Recovery method and system for notification messages |
| CN104463004A (en) * | 2013-09-24 | 2015-03-25 | 北京三星通信技术研究有限公司 | Method and device for protecting interface content |
| US20150177970A1 (en) * | 2013-12-24 | 2015-06-25 | Lg Electronics Inc. | Mobile terminal and control method thereof |
| US9256747B2 (en) * | 2012-02-24 | 2016-02-09 | Pantech Co., Ltd. | Terminal and method for hiding and restoring message |
| CN106055232A (en) * | 2016-05-25 | 2016-10-26 | 维沃移动通信有限公司 | Message processing method and mobile terminal |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10834217B2 (en) * | 2017-08-16 | 2020-11-10 | T-Mobile Usa, Inc. | Managing mobile notifications received via a wireless communication network |
| CN109408156A (en) * | 2018-11-07 | 2019-03-01 | 四川长虹电器股份有限公司 | A kind of method that a key deletes all both for reminding of new message in APP |
| CN110069304A (en) * | 2019-03-26 | 2019-07-30 | 维沃移动通信有限公司 | A kind of notification message display methods and terminal device |
-
2019
- 2019-03-26 CN CN201910234535.8A patent/CN110069304A/en active Pending
-
2020
- 2020-02-12 WO PCT/CN2020/074792 patent/WO2020192282A1/en not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10198518A (en) * | 1996-12-30 | 1998-07-31 | Canon Inc | Bulletin information processing apparatus and method, and medium recording bulletin information processing control program |
| US9256747B2 (en) * | 2012-02-24 | 2016-02-09 | Pantech Co., Ltd. | Terminal and method for hiding and restoring message |
| CN104463004A (en) * | 2013-09-24 | 2015-03-25 | 北京三星通信技术研究有限公司 | Method and device for protecting interface content |
| CN104169855A (en) * | 2013-12-20 | 2014-11-26 | 华为终端有限公司 | Method and device for message management in notification bar |
| US20150177970A1 (en) * | 2013-12-24 | 2015-06-25 | Lg Electronics Inc. | Mobile terminal and control method thereof |
| CN104182497A (en) * | 2014-08-14 | 2014-12-03 | 宇龙计算机通信科技(深圳)有限公司 | Recovery method and system for notification messages |
| CN106055232A (en) * | 2016-05-25 | 2016-10-26 | 维沃移动通信有限公司 | Message processing method and mobile terminal |
Non-Patent Citations (1)
| Title |
|---|
| 黑马公社: "安卓通知栏提醒找回", 《HTTPS://WWW.CCTALK.COM/V/14993994177288?SID=1502180401516563》 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2020192282A1 (en) * | 2019-03-26 | 2020-10-01 | 维沃移动通信有限公司 | Notification message display method and terminal device |
| CN110888568A (en) * | 2019-10-21 | 2020-03-17 | 维沃移动通信有限公司 | Notification bar display method and terminal equipment |
| CN112286412A (en) * | 2020-10-22 | 2021-01-29 | 维沃移动通信(杭州)有限公司 | Notification message management method and device |
| CN112181233A (en) * | 2020-10-27 | 2021-01-05 | 深圳传音控股股份有限公司 | Message processing method, intelligent terminal and computer readable storage medium |
| CN112733042A (en) * | 2021-02-03 | 2021-04-30 | 北京百度网讯科技有限公司 | Recommendation information generation method, related device and computer program product |
| CN112733042B (en) * | 2021-02-03 | 2024-06-25 | 北京百度网讯科技有限公司 | Recommendation information generation method, related device and computer program product |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020192282A1 (en) | 2020-10-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110752980A (en) | A message sending method and electronic device | |
| CN110062105B (en) | Interface display method and terminal equipment | |
| CN111414143A (en) | Display control method, electronic device, and medium | |
| CN110888707A (en) | Message sending method and electronic equipment | |
| CN110231972B (en) | Message display method and terminal equipment | |
| CN110647266A (en) | Information display method and terminal equipment | |
| CN109828705B (en) | Icon display method and terminal equipment | |
| CN110069304A (en) | A kind of notification message display methods and terminal device | |
| CN110244884B (en) | A desktop icon management method and terminal device | |
| CN110865745A (en) | Screen capturing method and terminal equipment | |
| CN110209323A (en) | A kind of method and terminal device showing unread message | |
| CN109614061A (en) | Display method and terminal | |
| CN110489029A (en) | Icon display method and terminal device | |
| CN110069178A (en) | Interface control method and terminal device | |
| CN110058754A (en) | A kind of option display method and terminal device | |
| CN110049187B (en) | A display method and terminal device | |
| CN110752981A (en) | An information control method and electronic device | |
| CN110764666A (en) | Display control method and electronic equipment | |
| CN111104236A (en) | Paste control method and electronic equipment | |
| CN110769118A (en) | A message prompting method and terminal device | |
| CN108614725B (en) | Interface display method and terminal | |
| CN108681427B (en) | Access right control method and terminal equipment | |
| CN110049486A (en) | A SIM card selection method and terminal device | |
| CN109976611A (en) | The control method and terminal device of terminal device | |
| CN110147186A (en) | Applied control 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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190730 |