技术领域technical field
本发明涉及移动终端技术领域,具体涉及一种状态栏通知消息显示方法及移动终端。The present invention relates to the technical field of mobile terminals, in particular to a method for displaying notification messages in a status bar and a mobile terminal.
背景技术Background technique
随着科学技术的发展,通信科技日新月异,移动通信手机已被人们广泛应用于日常生活和学习中,人们使用移动通信手机通话,甚至视频通话,短信,网络聊天拍照等,已经成为现代生活中不可缺少的工具。With the development of science and technology, communication technology is changing with each passing day, mobile communication mobile phones have been widely used in daily life and study. People use mobile communication mobile phones to make calls, even video calls, text messages, online chatting and taking pictures, etc., has become an indispensable part of modern life. missing tools.
在现今的智能手机中,例如android及IOS,当系统安装的应用程序有新的消息推送时,该应用程序的图标就会出现在手机最上端的状态栏中,用户只有通过下拉状态栏才可以知晓哪些应用程序推送了新的消息,以及具体的推送消息内容,上述操作起来非常麻烦和繁琐,给用户造成了不便。In today's smart phones, such as android and IOS, when a system-installed application has a new message push, the icon of the application will appear in the status bar at the top of the phone, and users can only know by pulling down the status bar. Which applications push new messages and the specific push message content, the above operations are very troublesome and cumbersome, causing inconvenience to users.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种状态栏通知消息显示方法及移动终端,以期提升移动终端交互的便捷性。Embodiments of the present invention provide a method for displaying notification messages in a status bar and a mobile terminal, so as to improve the convenience of interaction of the mobile terminal.
本发明实施例第一方面提供一种状态栏通知消息显示方法,包括:A first aspect of an embodiment of the present invention provides a method for displaying notification messages in a status bar, including:
获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标;acquiring touch parameters for a first touch operation on a terminal status bar, where the status bar displays an application icon corresponding to the application;
若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标;If it is detected that the touch parameter meets the preset condition, the application icon is displayed in the first preset area of the terminal according to the first preset display size;
检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作;detecting a second touch operation on the application icon displayed according to the first preset display size;
在检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。When the second touch operation is detected, a notification message is displayed, wherein the notification message is associated with the application program corresponding to the application icon operated by the second touch operation.
可选的,所述显示通知消息之后,所述方法还包括:Optionally, after the displaying the notification message, the method further includes:
获取所述第二触控操作的触控力度;obtaining the touch force of the second touch operation;
在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。When it is detected that the acquired touch force of the second touch operation is greater than the first preset pressure threshold, the font of the displayed notification message is enlarged according to the second preset display size.
可选的,所述在终端第一预设区域按照第一预设显示尺寸显示所述应用图标之后,所述检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作之前,所述方法还包括:Optionally, after the application icon is displayed in the first preset area of the terminal according to the first preset display size, the detecting a second touch operation on the application icon displayed according to the first preset display size Before, the method further includes:
获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点;Obtain a time interval between a first time node and a second time node, where the first time node is a time node where the application icon is displayed in the first preset area of the terminal according to the first preset display size, and the second time node is The time node is the time node at which the second touch operation on the application icon displayed according to the first preset display size is detected;
若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。If the time interval is greater than the first preset time threshold, remove the icon corresponding to the application displayed in the first preset area of the terminal.
可选的,所述第一触控操作的触控参数包括触控力度;检测到所述触控参数满足预设条件,包括:Optionally, the touch parameter of the first touch operation includes touch force; it is detected that the touch parameter meets a preset condition, including:
检测到第一触控操作的触控力度大于等于第二预设压力阈值;It is detected that the touch force of the first touch operation is greater than or equal to the second preset pressure threshold;
或者,所述第一触控操作的触控参数包括触控时长;Alternatively, the touch parameter of the first touch operation includes a touch duration;
检测到所述触控参数满足预设条件,包括:It is detected that the touch parameters meet the preset conditions, including:
检测到第一触控操作的触控时长大于等于第二预设时间阈值。The touch duration for which the first touch operation is detected is greater than or equal to the second preset time threshold.
可选的,所述显示通知消息,包括:Optionally, the displaying a notification message includes:
在所述终端当前界面的第二预设区域显示所述通知消息;Display the notification message in the second preset area of the current interface of the terminal;
或者,终端显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。Or, the terminal displays the application interface of the application program corresponding to the application icon operated by the second touch operation, and displays the notification message on the application interface.
本发明实施例第二方面提供一种移动终端,其特征在于,包括:A second aspect of the embodiments of the present invention provides a mobile terminal, which is characterized by comprising:
第一获取模块,用于获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标;a first acquisition module, configured to acquire touch parameters for a first touch operation on a terminal status bar, where the status bar displays an application icon corresponding to an application;
第一检测模块,用于检测所述触控参数是否满足预设条件;a first detection module, configured to detect whether the touch parameter meets a preset condition;
第一显示模块,用于若所述检测模块检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标;a first display module, configured to display the application icon in a first preset area of the terminal according to a first preset display size if the detection module detects that the touch parameter meets a preset condition;
第二检测模块,用于检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作;a second detection module, configured to detect a second touch operation on the application icon displayed according to the first preset display size;
第二显示模块,用于在所述第二检测模块检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。The second display module is configured to display a notification message when the second detection module detects the second touch operation, wherein the notification message corresponds to the application icon operated by the second touch operation Application association.
可选的,所述移动终端还包括:Optionally, the mobile terminal further includes:
第二获取模块,用于所述第二显示模块显示通知消息之后,获取所述第二触控操作的触控力度;a second acquiring module, configured to acquire the touch force of the second touch operation after the second display module displays the notification message;
放大模块,用于在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。The enlargement module is configured to enlarge the font of the displayed notification message according to the second preset display size when it is detected that the acquired touch force of the second touch operation is greater than the first preset pressure threshold.
可选的,所述移动终端还包括:Optionally, the mobile terminal further includes:
第三获取模块,用于所述第一显示模块在终端第一预设区域按照第一预设显示尺寸显示所述应用图标之后,所述第二检测模块检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作之前,获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点;a third acquisition module, used for the second detection module to detect that the application icon according to the first preset display size is displayed by the first display module in the first preset area of the terminal according to the first preset display size. Before the second touch operation of displaying the application icon displayed in size, obtain the time interval between the first time node and the second time node, wherein the first time node is displayed in the first preset area of the terminal according to the first preset a time node when the size of the application icon is displayed, and the second time node is a time node when a second touch operation on the application icon displayed according to the first preset display size is detected;
移除模块,用于若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。A removal module, configured to remove the icon corresponding to the application displayed in the first preset area of the terminal if the time interval is greater than the first preset time threshold.
可选的,所述第一触控操作的触控参数包括触控力度;Optionally, the touch parameter of the first touch operation includes touch force;
所述第一检测模块,具体用于检测第一触控操作的触控力度是否大于或者等于第二预设压力阈值;The first detection module is specifically configured to detect whether the touch force of the first touch operation is greater than or equal to the second preset pressure threshold;
或者,or,
所述第一触控操作的触控参数包括触控时长;The touch parameters of the first touch operation include touch duration;
所述第一检测模块,具体用于检测第一触控操作的触控时长是否大于或者等于第二预设时间阈值。The first detection module is specifically configured to detect whether the touch duration of the first touch operation is greater than or equal to the second preset time threshold.
可选的,所述第二显示模块,具体用于在所述终端当前界面的第二预设区域显示所述通知消息;Optionally, the second display module is specifically configured to display the notification message in a second preset area of the current interface of the terminal;
或者,显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。Or, the application interface of the application program corresponding to the application icon operated by the second touch operation is displayed, and the notification message is displayed on the application interface.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1是本发明第一实施例提供的一种状态栏通知消息显示方法的流程示意图;1 is a schematic flowchart of a method for displaying notification messages in a status bar provided by a first embodiment of the present invention;
图2是本发明第二实施例提供的一种状态栏通知消息显示方法的流程示意图;2 is a schematic flowchart of a method for displaying notification messages in a status bar provided by a second embodiment of the present invention;
图2-1是本发明第二实施例提供的一种状态栏通知消息显示方法的效果示意图;2-1 is a schematic diagram of the effect of a method for displaying notification messages in a status bar provided by the second embodiment of the present invention;
图3是本发明第三实施例提供的一种状态栏通知消息显示方法的流程示意图;3 is a schematic flowchart of a method for displaying notification messages in a status bar provided by a third embodiment of the present invention;
图4是本发明第四实施例提供的一种移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention;
图5是本发明第五实施例提供的一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, 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 only These are some embodiments of the present invention, but not all 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.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
请参阅图1,图1是本发明第一实施例提供的一种状态栏通知消息显示方法的流程示意图,本发明实施例中的方法可以应用在任何具备通信和存储功能的包括触控屏的设备中,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等。如图1所示,本发明实施例中的所述方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for displaying notification messages in a status bar provided by a first embodiment of the present invention. The method in this embodiment of the present invention can be applied to any device with communication and storage functions, including a touch screen. Among the equipment, for example: tablet computer, mobile phone, electronic reader, remote control, personal computer (Personal Computer, PC), notebook computer, in-vehicle equipment, Internet TV, wearable equipment and so on. As shown in FIG. 1 , the method in the embodiment of the present invention includes the following steps:
S101、终端获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标。S101. The terminal acquires touch parameters for a first touch operation on a status bar of the terminal, where the status bar displays an application icon corresponding to the application.
所述终端包括触控显示屏,上述触控显示屏为触控屏和显示屏的集成,该触控显示屏中可以设置有压力传感器阵列,移动终端能够通过该压力传感器阵列检测压力参数,其中,上述压力传感器例如可以是电阻应变片压力传感器、半导体应变片压力传感器、压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等,本发明实施例中包括但不限于上述方式来获取触控力度。The terminal includes a touch display screen, the touch display screen is an integration of the touch screen and the display screen, a pressure sensor array may be set in the touch display screen, and the mobile terminal can detect pressure parameters through the pressure sensor array, wherein , the above-mentioned pressure sensor may be, for example, a resistance strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, a resonant pressure sensor, etc. The embodiments of the present invention include but are not limited to The above method is used to obtain the touch force.
举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;设置于所述触摸传感器下方的铟锡氧化物基板;以及设置于所述铟锡氧化物基板的上表面或者下表面的压力传感器;或者For example, the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and the touch sensor disposed an indium tin oxide substrate below; and a pressure sensor disposed on the upper surface or the lower surface of the indium tin oxide substrate; or
又举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;以及设置于所述触摸传感器下方的压力传感器。For another example, the touch display screen may include: a screen surface; an indium tin oxide pattern disposed under the screen surface; a touch sensor disposed under the indium tin oxide pattern; and an indium tin oxide pattern disposed under the indium tin oxide pattern The pressure sensor below the touch sensor.
本发明实施例中,用户可以通过手指触控终端状态栏,用户还可以使用触控笔等输入设备触控终端状态栏,本发明实施例不做唯一限定。In this embodiment of the present invention, the user may touch the terminal status bar with a finger, and the user may also use an input device such as a stylus to touch the terminal status bar, which is not uniquely limited in this embodiment of the present invention.
S102、终端若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。S102. If the terminal detects that the touch parameter meets a preset condition, the application icon is displayed in a first preset area of the terminal according to a first preset display size.
可以理解的,所述第一触控操作的触控参数包括触控力度或触控时长,终端检测到第一触控操作的触控力度大于等于第二预设压力阈值,或者,检测到第一触控操作的触控时长大于等于第二预设时间阈值时,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。其中按照第一预设显示尺寸显示所述应用图标可以是按照预设放大的尺寸显示所述应用图标,该放大的尺寸适合手指触控图标。It can be understood that the touch parameters of the first touch operation include touch force or touch duration, and the terminal detects that the touch force of the first touch operation is greater than or equal to the second preset pressure threshold, or detects the first touch force. When the touch duration of a touch operation is greater than or equal to the second preset time threshold, the application icon is displayed in the first preset area of the terminal according to the first preset display size. Wherein, displaying the application icon according to the first preset display size may be displaying the application icon according to a preset enlarged size, and the enlarged size is suitable for a finger to touch the icon.
可选的,所述在终端第一预设区域按照第一预设显示尺寸显示所述应用图标之后,所述检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作之前,还可以执行以下操作:Optionally, after the application icon is displayed in the first preset area of the terminal according to the first preset display size, the detecting a second touch operation on the application icon displayed according to the first preset display size Before, you could also do the following:
获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点;Obtain a time interval between a first time node and a second time node, where the first time node is a time node where the application icon is displayed in the first preset area of the terminal according to the first preset display size, and the second time node is The time node is the time node at which the second touch operation on the application icon displayed according to the first preset display size is detected;
若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。If the time interval is greater than the first preset time threshold, remove the icon corresponding to the application displayed in the first preset area of the terminal.
S103、终端检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作。S103. The terminal detects a second touch operation on the application icon displayed according to the first preset display size.
S104、终端在检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。S104. When detecting the second touch operation, the terminal displays a notification message, wherein the notification message is associated with the application program corresponding to the application icon operated by the second touch operation.
可选的,所述显示通知消息的具体实现方式可以是:Optionally, the specific implementation manner of displaying the notification message may be:
在所述终端当前界面的第二预设区域显示所述通知消息;Display the notification message in the second preset area of the current interface of the terminal;
或者,终端显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。Or, the terminal displays the application interface of the application program corresponding to the application icon operated by the second touch operation, and displays the notification message on the application interface.
可选的,所述终端在显示通知消息之后,还可以执行以下操作:Optionally, after displaying the notification message, the terminal may also perform the following operations:
终端在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。When detecting that the acquired touch force of the second touch operation is greater than the first preset pressure threshold, the terminal enlarges the font of the displayed notification message according to the second preset display size.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
请参阅图2,图2是本发明第二实施例提供的一种状态栏通知消息显示方法的流程示意图,本发明实施例中的方法可以应用在任何具备通信和存储功能的包括触控屏的设备中,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等。如图2所示,本发明实施例中的所述方法包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for displaying a notification message in a status bar provided by a second embodiment of the present invention. The method in this embodiment of the present invention can be applied to any device with communication and storage functions, including a touch screen. Among the equipment, for example: tablet computer, mobile phone, electronic reader, remote control, personal computer (Personal Computer, PC), notebook computer, in-vehicle equipment, Internet TV, wearable equipment and so on. As shown in FIG. 2, the method in the embodiment of the present invention includes the following steps:
S201、终端获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标。S201. The terminal acquires touch parameters for a first touch operation on a terminal status bar, where the status bar displays an application icon corresponding to the application.
S202、终端若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。S202. If the terminal detects that the touch parameter meets a preset condition, the application icon is displayed in a first preset area of the terminal according to a first preset display size.
其中,所述第一触控操作的触控参数包括触控力度或触控时长,终端检测到第一触控操作的触控力度大于等于第二预设压力阈值,或者,检测到第一触控操作的触控时长大于等于第二预设时间阈值时,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。其中按照第一预设显示尺寸显示所述应用图标可以是按照预设放大的尺寸显示所述应用图标。The touch parameters of the first touch operation include touch force or touch duration, and the terminal detects that the touch force of the first touch operation is greater than or equal to a second preset pressure threshold, or detects that the first touch When the touch duration of the control operation is greater than or equal to the second preset time threshold, the application icon is displayed in the first preset area of the terminal according to the first preset display size. Wherein, displaying the application icon according to the first preset display size may be displaying the application icon according to a preset enlarged size.
S203、终端检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作。S203. The terminal detects a second touch operation on the application icon displayed according to the first preset display size.
S204、终端在检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。S204. When detecting the second touch operation, the terminal displays a notification message, wherein the notification message is associated with the application program corresponding to the application icon operated by the second touch operation.
其中,所述显示通知消息的具体实现方式可以是:在所述终端当前界面的第二预设区域显示所述通知消息;或者,终端显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。The specific implementation manner of displaying the notification message may be: displaying the notification message in a second preset area of the current interface of the terminal; or, displaying the notification message corresponding to the application icon operated by the second touch operation on the terminal. An application interface of an application program, where the notification message is displayed on the application interface.
举例来说,请参阅图2-1,图2-1是本发明第二实施例中提供的一种状态栏通知消息显示方法的效果示意图,终端获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有微信图标、电话图标、短信图标,所述触控参数可以是触控力度或触控时长,终端若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。终端检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,终端在检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的电话图标关联,终端显示未接电话通知消息。For example, please refer to FIG. 2-1. FIG. 2-1 is a schematic diagram of the effect of a method for displaying notification messages in a status bar provided in the second embodiment of the present invention. The terminal acquires the first touch operation on the status bar of the terminal. Touch parameters, the status bar displays a WeChat icon, a phone icon, and a text message icon, and the touch parameters can be touch force or touch duration. If the terminal detects that the touch parameters meet the preset conditions, the terminal will The first preset area displays the application icon according to the first preset display size. The terminal detects a second touch operation on the application icon displayed according to the first preset display size, and when the terminal detects the second touch operation, displays a notification message, wherein the notification message is the same as the first touch operation. The phone icons operated by the two touch operations are associated, and the terminal displays a missed call notification message.
S205、终端在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。S205. When detecting that the acquired touch force of the second touch operation is greater than a first preset pressure threshold, the terminal enlarges the font of the displayed notification message according to a second preset display size.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
请参阅图3,图3是本发明第三实施例提供的一种状态栏通知消息显示方法的流程示意图,本发明实施例中的方法可以应用在任何具备通信和存储功能的包括触控屏的设备中,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等。如图3所示,本发明实施例中的所述方法包括以下步骤:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a method for displaying notification messages in a status bar provided by a third embodiment of the present invention. The method in this embodiment of the present invention can be applied to any device with communication and storage functions, including a touch screen. Among the equipment, for example: tablet computer, mobile phone, electronic reader, remote control, personal computer (Personal Computer, PC), notebook computer, in-vehicle equipment, Internet TV, wearable equipment and so on. As shown in FIG. 3 , the method in the embodiment of the present invention includes the following steps:
S301、终端获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标。S301. The terminal acquires touch parameters for a first touch operation on a status bar of the terminal, where the status bar displays an application icon corresponding to the application.
S302、终端若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标。S302. If the terminal detects that the touch parameter meets a preset condition, the application icon is displayed in a first preset area of the terminal according to a first preset display size.
可选的,所述第一触控操作的触控参数包括触控力度;检测到所述触控参数满足预设条件的具体实施方式可以是:Optionally, the touch parameter of the first touch operation includes touch force; the specific implementation manner of detecting that the touch parameter meets a preset condition may be:
检测到第一触控操作的触控力度大于等于第二预设压力阈值;It is detected that the touch force of the first touch operation is greater than or equal to the second preset pressure threshold;
或者,所述第一触控操作的触控参数包括触控时长;Alternatively, the touch parameter of the first touch operation includes a touch duration;
检测到所述触控参数满足预设条件,包括:It is detected that the touch parameters meet the preset conditions, including:
检测到第一触控操作的触控时长大于等于第二预设时间阈值。The touch duration for which the first touch operation is detected is greater than or equal to the second preset time threshold.
S303、终端检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作。S303. The terminal detects a second touch operation on the application icon displayed according to the first preset display size.
S304、终获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点。S304. Finally obtain the time interval between the first time node and the second time node, wherein the first time node is the time node where the application icon is displayed in the first preset area of the terminal according to the first preset display size, so The second time node is a time node when a second touch operation on the application icon displayed according to the first preset display size is detected.
S305、若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。S305. If the time interval is greater than the first preset time threshold, remove the icon corresponding to the application displayed in the first preset area of the terminal.
可以理解的,终端在第一预设区域按照第一预设显示尺寸显示所述应用图标之后,若在第一预设时间阈值所代表的时间间隔内都没有检测到用户针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,则将在第一预设区域按照第一预设显示尺寸显示所述应用图标移除。It can be understood that, after the terminal displays the application icon in the first preset area according to the first preset display size, if it does not detect that the user is targeting the application according to the first preset time interval within the time interval represented by the first preset time threshold. The second touch operation of the application icon displayed in the preset display size will remove the application icon displayed in the first preset area according to the first preset display size.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例一至三实现的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例一至实施例三。The following are apparatus embodiments of the present invention. The apparatus embodiments of the present invention are used to execute the methods implemented by the first to third method embodiments of the present invention. For convenience of description, only the parts related to the embodiments of the present invention are shown, and the specific technical details are not disclosed. , please refer to Embodiment 1 to Embodiment 3 of the present invention.
请参阅图4,图4是本发明第四实施例提供的一种移动终端的结构示意图,本发明实施例中的移动终端可以是任何具备通信和存储功能的包括触控屏的设备中,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等。如图4所示,本发明实施例中的移动终端包括以下模块:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention. The mobile terminal in this embodiment of the present invention may be any device including a touch screen with communication and storage functions, such as : Tablet computer, mobile phone, electronic reader, remote control, personal computer (Personal Computer, PC), notebook computer, in-vehicle equipment, Internet TV, wearable equipment, etc. As shown in FIG. 4 , the mobile terminal in the embodiment of the present invention includes the following modules:
第一获取模块401,用于获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标;A first obtaining module 401, configured to obtain touch parameters for a first touch operation on a terminal status bar, where the status bar displays an application icon corresponding to an application;
第一检测模块402,用于检测所述触控参数是否满足预设条件;a first detection module 402, configured to detect whether the touch parameter meets a preset condition;
第一显示模块403,用于若所述检测模块检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标;A first display module 403, configured to display the application icon in a first preset area of the terminal according to a first preset display size if the detection module detects that the touch parameter meets a preset condition;
第二检测模块404,用于检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作;The second detection module 404 is configured to detect a second touch operation on the application icon displayed according to the first preset display size;
第二显示模块405,用于在所述第二检测模块检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。The second display module 405 is configured to display a notification message when the second detection module detects the second touch operation, wherein the notification message corresponds to the application icon operated by the second touch operation application association.
可选的,所述移动终端还可以进一步包括:Optionally, the mobile terminal may further include:
第二获取模块406,用于所述第二显示模块405显示通知消息之后,获取所述第二触控操作的触控力度;The second obtaining module 406 is configured to obtain the touch force of the second touch operation after the second display module 405 displays the notification message;
放大模块407,用于在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。The enlargement module 407 is configured to enlarge the font of the displayed notification message according to the second preset display size when it is detected that the acquired touch force of the second touch operation is greater than the first preset pressure threshold.
可选的,所述移动终端还可以进一步包括:Optionally, the mobile terminal may further include:
第三获取模块408,用于所述第一显示模块403在终端第一预设区域按照第一预设显示尺寸显示所述应用图标之后,所述第二检测模块检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作之前,获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点;The third acquisition module 408 is used for the second detection module to detect that the application icon according to the first preset display size is displayed by the first display module 403 in the first preset area of the terminal according to the first preset display size. Before the second touch operation of the application icon displayed in the preset display size, the time interval between the first time node and the second time node is obtained, wherein the first time node is in the first preset area of the terminal according to the first preset time. Set the time node at which the application icon is displayed in the display size, and the second time node is the time node at which the second touch operation on the application icon displayed according to the first preset display size is detected;
移除模块409,用于若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。The removing module 409 is configured to remove the icon corresponding to the application displayed in the first preset area of the terminal if the time interval is greater than the first preset time threshold.
可选的,所述第一触控操作的触控参数包括触控力度;Optionally, the touch parameter of the first touch operation includes touch force;
所述第一检测模块402,具体用于检测第一触控操作的触控力度是否大于或者等于第二预设压力阈值;The first detection module 402 is specifically configured to detect whether the touch force of the first touch operation is greater than or equal to the second preset pressure threshold;
或者,or,
所述第一触控操作的触控参数包括触控时长;The touch parameters of the first touch operation include touch duration;
所述第一检测模块402,具体用于检测第一触控操作的触控时长是否大于或者等于第二预设时间阈值。The first detection module 402 is specifically configured to detect whether the touch duration of the first touch operation is greater than or equal to the second preset time threshold.
可选的,所述第二显示模块405,具体用于在所述终端当前界面的第二预设区域显示所述通知消息;或者,显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。Optionally, the second display module 405 is specifically configured to display the notification message in the second preset area of the current interface of the terminal; or, display the corresponding application icon operated by the second touch operation An application interface of an application program, where the notification message is displayed on the application interface.
具体的,上述各个模块的具体实现可参考图1至图3对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation of the above-mentioned modules, reference may be made to the descriptions of the relevant steps in the corresponding embodiments in FIG. 1 to FIG. 3 , and details are not described here.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
请参考图5,图5是本发明第五实施例提供的一种移动终端的结构示意图。如图5所示,该移动终端500具体可以包括至少一个处理器501,至少一个存储器502,至少一个通信总线503,接收/发送电路504,天线505,至少一个触控屏506,至少一个显示屏507,麦克风508,扬声器509,客户识别模块SIM Card1510,物理按键511,蓝牙控制器512,数字信号处理电路513;其中,所述存储器502包括以下至少一种:随机存取存贮器、非易失性存储器以及外部存储器,所述处理器501通过接收/发送电路504和天线505控制与外部蜂窝网的通信;该至少一个存储器中存储有指令集合,该指令集合集成在操作系统或者通过处理器501可执行的应用程序中,该指令集合能够引导处理器501执行本发明方法实施例中具体披露的应用控制方法。所述移动终端例如可以是智能手机、平板电脑、笔记本电脑、可穿戴设备(如智能手表)等各类通用电子设备。Please refer to FIG. 5 , which is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention. As shown in FIG. 5, the mobile terminal 500 may specifically include at least one processor 501, at least one memory 502, at least one communication bus 503, receiving/transmitting circuit 504, antenna 505, at least one touch screen 506, at least one display screen 507, a microphone 508, a speaker 509, a customer identification module SIM Card 1510, a physical key 511, a Bluetooth controller 512, a digital signal processing circuit 513; wherein, the memory 502 includes at least one of the following: random access memory, non-volatile memory A volatile memory and an external memory, the processor 501 controls the communication with the external cellular network through the receiving/transmitting circuit 504 and the antenna 505; the at least one memory stores an instruction set, the instruction set is integrated in the operating system or through the processor In the executable application program 501, the instruction set can guide the processor 501 to execute the application control method specifically disclosed in the method embodiment of the present invention. The mobile terminal may be, for example, various general electronic devices such as a smart phone, a tablet computer, a notebook computer, a wearable device (eg, a smart watch).
所述触控显示屏为所述触控屏506和所述显示屏507的集成,该触控显示屏中可以设置有压力传感器阵列,移动终端能够通过该压力传感器阵列检测压力参数,其中,上述压力传感器例如可以是电阻应变片压力传感器、半导体应变片压力传感器、压阻式压力传感器、电感式压力传感器、电容式压力传感器、谐振式压力传感器等,本发明实施例中包括但不限于上述方式来获取触控力度。The touch display screen is an integration of the touch screen 506 and the display screen 507. A pressure sensor array may be provided in the touch display screen, and the mobile terminal can detect pressure parameters through the pressure sensor array. The pressure sensor may be, for example, a resistance strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, a resonant pressure sensor, etc. The embodiments of the present invention include but are not limited to the above methods to get the touch force.
举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;设置于所述触摸传感器下方的铟锡氧化物基板;以及设置于所述铟锡氧化物基板的上表面或者下表面的压力传感器;或者For example, the touch display screen may include: a screen; an indium tin oxide pattern disposed under the screen; a touch sensor disposed under the indium tin oxide pattern; and the touch sensor disposed an indium tin oxide substrate below; and a pressure sensor disposed on the upper surface or the lower surface of the indium tin oxide substrate; or
又举例来说,所述触控显示屏可以包括:屏面;设置于所述屏面下方的铟锡氧化物图形;设置于所述铟锡氧化物图形下方的触摸传感器;以及设置于所述触摸传感器下方的压力传感器。For another example, the touch display screen may include: a screen surface; an indium tin oxide pattern disposed under the screen surface; a touch sensor disposed under the indium tin oxide pattern; and an indium tin oxide pattern disposed under the indium tin oxide pattern The pressure sensor below the touch sensor.
上述移动终端500中的处理器501能够耦合所述至少一个存储器502,所述存储器502中预存有指令集合,所述存储器502还进一步存储有内核模块,所述内核模块包括操作系统(如WINDOWSTM,ANDROIDTM,IOSTM等)。所述处理器501调用所述指令集合以执行本发明实施例所公开的应用控制方法,具体包括以下步骤:The processor 501 in the above-mentioned mobile terminal 500 can be coupled to the at least one memory 502, the memory 502 is pre-stored with an instruction set, and the memory 502 further stores a kernel module, and the kernel module includes an operating system (such as WINDOWSTM) . , ANDROIDTM , IOSTM , etc.). The processor 501 invokes the instruction set to execute the application control method disclosed in the embodiment of the present invention, which specifically includes the following steps:
所述处理器501,用于获取针对终端状态栏的第一触控操作的触控参数,所述状态栏显示有应用程序对应的应用图标;若检测到所述触控参数满足预设条件,在终端第一预设区域按照第一预设显示尺寸显示所述应用图标;检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作;在检测到所述第二触控操作时,显示通知消息,其中,所述通知消息与所述第二触控操作所操作的应用图标对应的应用程序关联。The processor 501 is configured to acquire touch parameters for a first touch operation on a terminal status bar, where the status bar displays an application icon corresponding to an application; if it is detected that the touch parameter meets a preset condition, Display the application icon in the first preset area of the terminal according to the first preset display size; detect a second touch operation on the application icon displayed according to the first preset display size; after detecting the second touch When the second touch operation is performed, a notification message is displayed, wherein the notification message is associated with the application program corresponding to the application icon operated by the second touch operation.
可选的,所述处理器501,在用于显示通知消息之后,还用于获取所述第二触控操作的触控力度;在检测到获取的所述第二触控操作的触控力度大于第一预设压力阈值时,将显示的所述通知消息的字体按照第二预设显示尺寸放大。Optionally, after the processor 501 is used to display the notification message, it is further configured to acquire the touch force of the second touch operation; after detecting the acquired touch force of the second touch operation When the pressure is greater than the first preset pressure threshold, the displayed font of the notification message is enlarged according to the second preset display size.
可选的,所述处理器501,在用于在终端第一预设区域按照第一预设显示尺寸显示所述应用图标之后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作之前,还用于获取第一时间节点与第二时间节点的时间间隔,其中,所述第一时间节点是在终端第一预设区域按照第一预设显示尺寸显示所述应用图标的时间节点,所述第二时间节点是检测到针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作的时间节点;若所述时间间隔大于第一预设时间阈值,移除所述在终端第一预设区显示的应用程序对应的图标。Optionally, the processor 501 is configured to, after displaying the application icon in the first preset area of the terminal according to the first preset display size, detect a response to the application icon displayed according to the first preset display size. Before the second touch operation, it is also used to obtain the time interval between the first time node and the second time node, wherein the first time node is to display the first time node in the first preset area of the terminal according to the first preset display size. The time node of the application icon, where the second time node is the time node at which the second touch operation on the application icon displayed according to the first preset display size is detected; if the time interval is greater than the first preset time Threshold, remove the icon corresponding to the application displayed in the first preset area of the terminal.
可选的,所述第一触控操作的触控参数包括触控力度;检测到所述触控参数满足预设条件,包括:Optionally, the touch parameter of the first touch operation includes touch force; it is detected that the touch parameter meets a preset condition, including:
检测到第一触控操作的触控力度大于等于第二预设压力阈值;It is detected that the touch force of the first touch operation is greater than or equal to the second preset pressure threshold;
或者,所述第一触控操作的触控参数包括触控时长;Alternatively, the touch parameter of the first touch operation includes a touch duration;
检测到所述触控参数满足预设条件,包括:It is detected that the touch parameters meet the preset conditions, including:
检测到第一触控操作的触控时长大于等于第二预设时间阈值。The touch duration for which the first touch operation is detected is greater than or equal to the second preset time threshold.
可选的,所述处理器501,在用于显示通知消息时,具体用于:Optionally, when the processor 501 is used to display the notification message, it is specifically used for:
在所述终端当前界面的第二预设区域显示所述通知消息;Display the notification message in the second preset area of the current interface of the terminal;
或者,终端显示所述第二触控操作所操作的应用图标对应的应用程序的应用界面,在所述应用界面显示所述通知消息。Or, the terminal displays the application interface of the application program corresponding to the application icon operated by the second touch operation, and displays the notification message on the application interface.
本发明实施例中的所述处理器501的具体实现可参考图1至图3对应实施例中相关方法步骤的具体描述,在此不赘述。For the specific implementation of the processor 501 in this embodiment of the present invention, reference may be made to the specific descriptions of the related method steps in the corresponding embodiments of FIG. 1 to FIG. 3 , and details are not described here.
可以看出,本发明实施例技术方案中,终端首先获取针对终端状态栏的第一触控操作的触控参数,在检测到所述触控参数满足预设条件时,在第一预设区域按照第一预设显示尺寸显示所述应用图标,然后,检测针对所述按照第一预设显示尺寸显示的应用图标的第二触控操作,在检测到所述第二触控操作时,显示通知消息。可见,本发明实施例中的移动终端可以基于用户的触控操作显示状态栏中的图标,并再次基于触控操作完成显示通知消息的操作,如此,用户无需通过下拉状态栏即可完成与移动终端的交互操作,有利于提升移动终端的交互便捷性。It can be seen that, in the technical solution of the embodiment of the present invention, the terminal first obtains the touch parameters for the first touch operation on the terminal status bar, and when it is detected that the touch parameters meet the preset conditions, the terminal will display the first preset area in the first preset area. Display the application icon according to the first preset display size, then detect a second touch operation on the application icon displayed according to the first preset display size, and display the second touch operation when the second touch operation is detected. notification message. It can be seen that the mobile terminal in the embodiment of the present invention can display the icon in the status bar based on the user's touch operation, and complete the operation of displaying the notification message based on the touch operation again. In this way, the user can complete and move the status bar without pulling down the status bar. The interactive operation of the terminal is beneficial to improve the interactive convenience of the mobile terminal.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种服务进程的监控方法的部分或全部步骤。Embodiments of the present invention further provide a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any service process monitoring method described in the above method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本发明实施例所提供的一种状态栏通知消息显示方法及移动终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A method for displaying notification messages in a status bar and a mobile terminal provided by the embodiments of the present invention have been described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used for Help to understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification It should not be construed as a limitation of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610033639.9ACN105718142B (en) | 2016-01-19 | 2016-01-19 | A kind of status bar notification message display methods and mobile terminal |
| PCT/CN2016/084069WO2017124677A1 (en) | 2016-01-19 | 2016-05-31 | Method for displaying notification message in status bar, and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610033639.9ACN105718142B (en) | 2016-01-19 | 2016-01-19 | A kind of status bar notification message display methods and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN105718142A CN105718142A (en) | 2016-06-29 |
| CN105718142Btrue CN105718142B (en) | 2019-03-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610033639.9AActiveCN105718142B (en) | 2016-01-19 | 2016-01-19 | A kind of status bar notification message display methods and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN105718142B (en) |
| WO (1) | WO2017124677A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106445392A (en)* | 2016-10-31 | 2017-02-22 | 维沃移动通信有限公司 | Operating method of status bar icon and mobile terminal |
| CN107491238B (en)* | 2017-08-08 | 2020-02-28 | 北京小米移动软件有限公司 | Method and device for displaying push information |
| CN108196758A (en)* | 2018-01-31 | 2018-06-22 | 努比亚技术有限公司 | Icon amplification method, mobile terminal and computer readable storage medium |
| CN109101147B (en)* | 2018-06-28 | 2022-01-18 | 维沃移动通信有限公司 | Message notification display method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103500079A (en)* | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
| CN104571873A (en)* | 2015-01-30 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Management method and device of notification bars |
| CN104679392A (en)* | 2013-11-27 | 2015-06-03 | 腾讯科技(上海)有限公司 | Page display method and device based on status bar |
| CN105183284A (en)* | 2015-08-27 | 2015-12-23 | 广东欧珀移动通信有限公司 | Short message viewing method and user terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103853433B (en)* | 2014-04-01 | 2018-06-01 | 联想(北京)有限公司 | Notification message reminding method and notification message suggestion device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103500079A (en)* | 2013-09-17 | 2014-01-08 | 小米科技有限责任公司 | Notification message display method and device and electronic equipment |
| CN104679392A (en)* | 2013-11-27 | 2015-06-03 | 腾讯科技(上海)有限公司 | Page display method and device based on status bar |
| CN104571873A (en)* | 2015-01-30 | 2015-04-29 | 深圳市中兴移动通信有限公司 | Management method and device of notification bars |
| CN105183284A (en)* | 2015-08-27 | 2015-12-23 | 广东欧珀移动通信有限公司 | Short message viewing method and user terminal |
| Publication number | Publication date |
|---|---|
| CN105718142A (en) | 2016-06-29 |
| WO2017124677A1 (en) | 2017-07-27 |
| Publication | Publication Date | Title |
|---|---|---|
| EP3644172B1 (en) | Application control method and terminal | |
| CN109583356B (en) | Fingerprint identification method and related product | |
| CN103309561B (en) | Method and device for processing information | |
| US20140002396A1 (en) | Information processing method, information processing apparatus and electronic device | |
| CN107608514A (en) | Information processing method and mobile terminal | |
| CN105700789B (en) | Picture sending method and terminal equipment | |
| CN109407929B (en) | Desktop icon sorting method and terminal | |
| CN105718142B (en) | A kind of status bar notification message display methods and mobile terminal | |
| CN105487781B (en) | A kind of screenshot method and terminal device | |
| CN105681657B (en) | A kind of method and terminal device for shooting focusing | |
| CN108073380A (en) | Electronic device, display control method and related product | |
| CN105227760A (en) | A kind of alarm clock setting method and terminal | |
| CN105159548A (en) | A list interface operation method and electronic terminal | |
| CN104765525A (en) | Operation interface switching method and device | |
| CN105700790B (en) | A kind of screenshot method and terminal device | |
| CN108121641A (en) | State information display method and relevant device | |
| CN105549895A (en) | An application control method and mobile terminal | |
| CN105677788B (en) | File searching method and user terminal | |
| CN109032465B (en) | Data processing method, device and mobile terminal | |
| CN106569916A (en) | Data backup method and mobile terminal | |
| CN105739886A (en) | Video playing method and mobile terminal | |
| CN105677081B (en) | A kind of touch control method and terminal device | |
| CN105700749B (en) | A touch control method and terminal device | |
| CN105912244A (en) | A method and terminal for changing display screen background | |
| CN105549822B (en) | A kind of icon moving method and mobile terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250821 Address after:518000Guangdong ProvinceShenzhen CityFutian DistrictFutian StreetFu'an CommunityMin Tian Road 171Xinhua Insurance Building 1913 Patentee after:Shenzhen Wangchao Yi Technology Co.,Ltd. Country or region after:China Address before:518057, Nanshan District hi tech Industrial Park (North Zone), Guangdong, Shenzhen Province, No. 2, Mengxi Road Patentee before:YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd. Country or region before:China |