CN111314208A - Information prompting method and electronic equipment - Google Patents
Information prompting method and electronic equipment Download PDFInfo
- Publication number
- CN111314208A CN111314208A CN202010066058.1A CN202010066058A CN111314208A CN 111314208 A CN111314208 A CN 111314208A CN 202010066058 A CN202010066058 A CN 202010066058A CN 111314208 A CN111314208 A CN 111314208A
- Authority
- CN
- China
- Prior art keywords
- prompt information
- message
- interface
- electronic device
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/234—Monitoring or handling of messages for tracking messages
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例公开了一种信息提示方法及电子设备,涉及通信技术领域,用以解决现有技术中存在容易忽略处于编辑状态的消息的问题。该方法包括:获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。
The embodiment of the present invention discloses an information prompting method and an electronic device, which relate to the technical field of communications and are used to solve the problem that messages in an editing state are easily ignored in the prior art. The method includes: acquiring a first message in a first application; when the first message is in an editing state, outputting target prompt information; wherein the target prompt information is used to prompt a user to process the first message, and the target prompt information is prompt information other than the prompt information displayed in the first area, where the first area is an area corresponding to the first message in the message list interface of the first application.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种信息提示方法及电子设备。Embodiments of the present invention relate to the field of communication technologies, and in particular, to an information prompting method and an electronic device.
背景技术Background technique
随着终端技术以及移动互联网的迅速发展,即时社交应用程序的种类越来越多。With the rapid development of terminal technology and mobile Internet, there are more and more types of instant social applications.
目前,用户可以随时随地通过即时社交应用程序与其他用户聊天,电子设备在接收到消息时,会输出提示信息提醒用户接收到新消息。用户在通过对应的即时社交应用程序查看该新消息之后,会在消息界面的输入框中编辑回复消息并发送。然而,在编辑该回复消息的过程中,用户可能由于某种原因暂停编辑该回复消息,去处理其他事情,从而导致该回复消息处于编辑状态,而且,通常情况下,很可能会忽略处于编辑状态的该回复消息。At present, users can chat with other users through instant social applications anytime and anywhere. When the electronic device receives a message, it will output a prompt message to remind the user to receive a new message. After viewing the new message through the corresponding instant social application, the user will edit and send the reply message in the input box of the message interface. However, in the process of editing the reply message, the user may pause editing the reply message for some reason to deal with other things, which causes the reply message to be in the editing state, and, usually, it is likely to ignore the editing state. the reply message.
如此,现有技术中存在容易忽略处于编辑状态的消息的问题。As such, there is a problem in the prior art that messages in the editing state are easily ignored.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种信息提示方法及电子设备,以解决现有技术中存在容易忽略处于编辑状态的消息的问题。Embodiments of the present invention provide an information prompting method and an electronic device, so as to solve the problem in the prior art that messages in an editing state are easily ignored.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种信息提示方法,应用于电子设备,该方法包括:获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。In a first aspect, an embodiment of the present invention provides an information prompting method, which is applied to an electronic device. The method includes: acquiring a first message in a first application program; and outputting a target prompt when the first message is in an editing state information; wherein, the target prompt information is used to prompt the user to process the first message, and the target prompt information is prompt information other than the prompt information displayed in the first area, and the first area is the message list interface of the first application program middle, the area corresponding to the first message.
可选地,在第一消息处于编辑状态的情况下,输出目标提示信息,包括:在第一消息处于编辑状态的第一预设时长内,该电子设备未处理第一消息的情况下,输出该目标提示信息。Optionally, when the first message is in the editing state, outputting the target prompt information includes: in the case that the electronic device does not process the first message within the first preset time period when the first message is in the editing state, outputting the information. Information about the target.
可选地,在该目标提示信息包括第一提示信息的情况下,该在第一目标界面的第二区域中显示第一提示信息,包括:按照第一预设显示效果,在该第二区域中显示第一提示信息;在该目标提示信息包括第一提示信息的情况下,该在第二目标界面上悬浮显示第一提示信息,包括:按照第二预设显示效果,在第二目标界面上悬浮显示第一提示信息;在该目标提示信息包括第二提示信息的情况下,该播放第二提示信息,包括:在该电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息;在该目标提示信息包括震动提示信息的情况下,该控制该电子设备震动,包括:在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。Optionally, when the target prompt information includes the first prompt information, the displaying the first prompt information in the second area of the first target interface includes: according to the first preset display effect, in the second area Displaying the first prompt information in the display; if the target prompt information includes the first prompt information, displaying the first prompt information on the second target interface in a floating manner includes: according to the second preset display effect, displaying the first prompt information on the second target interface The first prompt information is displayed in the upper suspension; if the target prompt information includes the second prompt information, the playing the second prompt information includes: when the electronic device is in a screen-locked state or a screen-off state, playing the second prompt information Prompt information; if the target prompt information includes vibration prompt information, controlling the electronic device to vibrate includes: controlling the electronic device to vibrate when the electronic device is in a screen-locked state or a screen-off state.
可选地,该目标提示信息包括震动提示信息,在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动之后,该方法还包括:在控制该电子设备震动之后的第二预设时长内,该电子设备未处理第一消息的情况下,播放第二语音提示信息。Optionally, the target prompt information includes vibration prompt information, and in the case that the electronic device is in a screen-locked state or a screen-off state, after controlling the vibration of the electronic device, the method further includes: after controlling the vibration of the electronic device, the first step is: In the second preset time period, when the electronic device does not process the first message, the second voice prompt message is played.
第二方面,本发明实施例提供了一种电子设备,该电子设备包括:获取模块和输出模块;该获取模块,用于获取第一应用程序中的第一消息;该输出模块,用于在该获取模块获取的第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。In a second aspect, an embodiment of the present invention provides an electronic device, the electronic device includes: an acquisition module and an output module; the acquisition module is used to acquire the first message in the first application; the output module is used to When the first message acquired by the acquiring module is in the editing state, output target prompt information; wherein, the target prompt information is used to prompt the user to process the first message, and the target prompt information is the prompt information displayed in the first area other than the prompt information displayed in the first area. The first area is the area corresponding to the first message in the message list interface of the first application.
可选地,该输出模块,具体用于在第一消息处于编辑状态的第一预设时长内,该电子设备未处理第一消息的情况下,输出该目标提示信息。Optionally, the output module is specifically configured to output the target prompt information when the electronic device does not process the first message within a first preset time period when the first message is in the editing state.
可选地,在该目标提示信息包括第一提示信息的情况下,该输出模块,具体用于按照第一预设显示效果,在该第二区域中显示第一提示信息;在该目标提示信息包括第一提示信息的情况下,该输出模块,具体用于按照第二预设显示效果,在第二目标界面上悬浮显示第一提示信息;在该目标提示信息包括第二提示信息的情况下,该输出模块,具体用于在该电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息;在该目标提示信息包括震动提示信息的情况下,该输出模块,具体用于在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。Optionally, when the target prompt information includes the first prompt information, the output module is specifically configured to display the first prompt information in the second area according to the first preset display effect; in the target prompt information In the case of including the first prompt information, the output module is specifically configured to display the first prompt information in a floating manner on the second target interface according to the second preset display effect; in the case that the target prompt information includes the second prompt information , the output module is specifically used to play the second prompt information when the electronic device is in the screen-locked state or the screen-off state; in the case that the target prompt information includes vibration prompt information, the output module is specifically used for When the electronic device is in a screen-locked state or a screen-off state, the electronic device is controlled to vibrate.
可选地,该目标提示信息包括震动提示信息,该输出模块,还用于在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动之后,在控制该电子设备震动之后的第二预设时长内,未检测到该电子设备处理第一消息的情况下,播放第二语音提示信息。Optionally, the target prompt information includes vibration prompt information, and the output module is further configured to control the electronic device to vibrate after controlling the electronic device to vibrate when the electronic device is in a screen-locked state or a screen-off state. Within the second preset period of time, if it is not detected that the electronic device processes the first message, the second voice prompt message is played.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面中的信息提示方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, the computer program being executed by the processor to achieve the The steps of an information prompt method in an 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 information prompting method in the first aspect.
在本发明实施例中,电子设备可以通过获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。通过该方案,电子设备可以在获取的第一应用程序中的第一消息处于编辑状态的情况下,输出目标提示信息,以及时提示用户处理该消息,从而可以避免用户因忘记而忽略处理该处于编辑状态的消息,且可以提高人机交互性能。In this embodiment of the present invention, the electronic device can obtain the first message in the first application program; when the first message is in the editing state, output target prompt information; wherein the target prompt information is used to prompt the user to process the first message. A message, the target prompt information is prompt information other than the prompt information displayed in the first area, and the first area is the area corresponding to the first message in the message list interface of the first application program. With this solution, the electronic device can output target prompt information when the acquired first message in the first application program is in the editing state, and prompt the user to process the message in time, so as to prevent the user from forgetting and ignoring the processing of the message. Edit status messages and improve human-computer interaction performance.
附图说明Description of drawings
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;1 is a schematic diagram of the architecture of a possible Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种信息提示方法的流程图;2 is a flowchart of a method for prompting information provided by an embodiment of the present invention;
图3为本发明实施例提供的信息提示方法的界面的示意图之一;3 is one of the schematic diagrams of the interface of the information prompting method provided by the embodiment of the present invention;
图4为本发明实施例提供的信息提示方法的界面的示意图之二;4 is the second schematic diagram of the interface of the information prompting method provided by the embodiment of the present invention;
图5为本发明实施例提供的信息提示方法的界面的示意图之三;5 is a third schematic diagram of an interface of an information prompting method provided by an embodiment of the present invention;
图6为本发明实施例提供的信息提示方法的界面的示意图之四;6 is the fourth schematic diagram of the interface of the information prompting method provided by the embodiment of the present invention;
图7为本发明实施例提供的信息提示方法的界面的示意图之五;7 is the fifth schematic diagram of the interface of the information prompting method provided by the embodiment of the present invention;
图8为本发明实施例提供的信息提示方法的界面的示意图之六;8 is a sixth schematic diagram of an interface of an information prompting method provided by an embodiment of the present invention;
图9为本发明实施例提供的信息提示方法的界面的示意图之七;9 is a seventh schematic diagram of an interface of an information prompting method provided by an embodiment of the present invention;
图10为本发明实施例提供的一种电子设备的结构示意图;10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图11为本发明实施例提供的一种电子设备的硬件示意图。FIG. 11 is a schematic diagram of hardware of an electronic 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", "second", "third" and "fourth" 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 input, the second input, the third input, and the fourth input, etc. are used to distinguish different inputs, rather than to describe a specific order of the inputs.
在本发明实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplarily" or "for example" are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present invention as "exemplarily" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" 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 processing units refers to two or more processing units; a plurality of elements Refers to two or more elements, etc.
本发明实施例提供一种信息提示方法,电子设备可以通过获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。通过该方案,电子设备可以在获取的第一应用程序中的第一消息处于编辑状态的情况下,输出目标提示信息,以及时提示用户处理该消息,从而可以避免用户因忘记而忽略处理该处于编辑状态的消息,且可以提高人机交互性能。An embodiment of the present invention provides a method for prompting information. An electronic device can obtain a first message in a first application program; when the first message is in an editing state, output target prompt information; wherein the target prompt information is used for The user is prompted to process the first message, and the target prompt information is prompt information other than the prompt information displayed in the first area, which is the area corresponding to the first message in the message list interface of the first application. With this solution, the electronic device can output target prompt information when the acquired first message in the first application program is in the editing state, and prompt the user to process the message in time, so as to prevent the user from forgetting and ignoring the processing of the message. Edit status messages and improve human-computer interaction performance.
下面以安卓操作系统为例,介绍一下本发明实施例提供的信息提示方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the information prompting 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 a possible Android operating system provided by 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 the embodiment of the present invention, a developer can develop a software program for implementing the information prompting method provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG. The prompting method can be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the electronic device can implement the information prompting method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。The electronic device in the embodiment of the present invention may be a mobile electronic device or a non-mobile electronic device. The mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. ; The non-mobile electronic device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present invention are not specifically limited.
本发明实施例提供的信息提示方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以电子设备为例,对本发明实施例提供的信息提示方法进行示例性地说明。The executive body of the information prompting method provided by the embodiment of the present invention may be the above-mentioned electronic device (including mobile electronic device and non-mobile electronic device), or may be a functional module and/or functional entity in the electronic device capable of implementing the method, The specifics can be determined according to actual usage requirements, which are not limited in the embodiments of the present invention. The information prompting method provided by the embodiment of the present invention is exemplarily described below by taking an electronic device as an example.
本发明实施例,应用于消息界面存在处于编辑状态的消息时,提示用户及时处理该处于编辑状态的消息的场景。示例性地,用户在对应的消息界面控制电子设备编辑消息的部分或全部内容之后,用户(在未发送该消息的情况下)控制电子设备退出该消息界面,去执行其他操作,或者,用户放弃操作该电子设备(电子设备可以仍显示该消息界面,或者电子设备处于锁屏或熄屏状态等),去干其他事情。The embodiment of the present invention is applied to the scenario that when there is a message in the editing state in the message interface, the user is prompted to process the message in the editing state in time. Exemplarily, after the user controls the electronic device to edit part or all of the content of the message in the corresponding message interface, the user (in the case of not sending the message) controls the electronic device to exit the message interface to perform other operations, or the user gives up Operate the electronic device (the electronic device may still display the message interface, or the electronic device is in a screen-locked or off-screen state, etc.) to do other things.
参考图2所示,本发明实施例提供了一种信息提示方法,应用于电子设备,该方法可以包括下述的步骤201-步骤202。Referring to FIG. 2, an embodiment of the present invention provides an information prompting method, which is applied to an electronic device, and the method may include the following steps 201-202.
步骤201、电子设备获取第一应用程序中的第一消息。
本发明实施例中,第一应用程序可以为电子设备中安装的任意即时社交应用程序,本发明实施例适用于电子设备中安装的所有即时社交应用程序。In the embodiment of the present invention, the first application program may be any instant social application program installed in the electronic device, and the embodiment of the present invention is applicable to all instant social application programs installed in the electronic device.
本发明实施例中,电子设备可以一次获取一条消息,也可以同时获取多条消息,具体根据实际使用情况确定,此处不作限定。In this embodiment of the present invention, the electronic device may acquire one message at a time, or may acquire multiple messages at the same time, which is specifically determined according to the actual usage, which is not limited here.
步骤202、电子设备在第一消息处于编辑状态的情况下,输出目标提示信息。
其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。The target prompt information is used to prompt the user to process the first message, and the target prompt information is prompt information other than the prompt information displayed in the first area, where the first area is in the message list interface of the first application, The area corresponding to the first message.
可以理解,本发明实施例中,处于编辑状态的消息指在对应的消息界面的消息编辑框中、已编辑部分或全部内容但未发送的消息(一直保留在消息编辑框中的消息)。It can be understood that, in this embodiment of the present invention, a message in an editing state refers to a message whose content has been edited but not sent (a message kept in the message editing box) in the message editing box of the corresponding message interface.
本发明实施例中,第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域,具体为第一应用程序的消息列表界面中、与第一消息所属的消息界面(以下称为第一消息界面)对应的区域,第一消息界面可以为第一应用程序中的任意聊天界面,例如,可以为包括至少三个用户的群聊(或群聊天或群组)窗口界面、也可以是包括两个用户的私聊窗口界面。In this embodiment of the present invention, the first area is an area corresponding to the first message in the message list interface of the first application, and specifically is the message interface to which the first message belongs in the message list interface of the first application (hereinafter referred to as the area corresponding to the first message interface), the first message interface can be any chat interface in the first application program, for example, can be a group chat (or group chat or group) window interface including at least three users, It can also be a private chat window interface including two users.
可以理解,第一消息为在第一消息界面的编辑框中、已编辑部分或全部内容但未发送的消息。It can be understood that the first message is a message that has been edited but not sent in the edit box of the first message interface.
可选地,本发明实施例中,目标提示信息可以包括以下至少一项:字符提示信息、语音提示信息、响铃提示信息、震动提示信息,目标提示信息也可以包括其他提示信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the target prompt information may include at least one of the following: character prompt information, voice prompt information, bell prompt information, and vibration prompt information, and the target prompt information may also include other prompt information. The actual use requirement is determined, which is not limited in the embodiment of the present invention.
可选地,本发明实施例中,字符提示信息可以包括以下至少一项,文本提示信息,图案提示信息,动画提示信息,图标提示信息,字符提示信息还可以包括其他提示信息,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the character prompting information may include at least one of the following: text prompting information, pattern prompting information, animation prompting information, icon prompting information, and character prompting information may also include other prompting information. The usage requirement is determined, which is not limited in the embodiment of the present invention.
需要说明的是,本发明实施例中,在目标提示信息包括语音提示信息的情况下,语音提示信息的具体内容可以根据实际使用需求设定,本发明实施例不作限定。It should be noted that, in the embodiment of the present invention, when the target prompt information includes voice prompt information, the specific content of the voice prompt information can be set according to actual usage requirements, which is not limited in the embodiment of the present invention.
本发明实施例中,消息列表界面中包括N(N为正整数)个区域,每个区域指示一个包括历史聊天信息的消息界面,第一区域用于指示第一消息界面。通常情况下,当电子设备接收到用户点击消息列表界面中的第一区域的操作时,电子设备将消息列表界面切换为第一消息界面。In this embodiment of the present invention, the message list interface includes N (N is a positive integer) areas, each area indicates a message interface including historical chat information, and the first area is used to indicate the first message interface. Generally, when the electronic device receives an operation of the user clicking on the first area in the message list interface, the electronic device switches the message list interface to the first message interface.
本发明实施例中,显示在第一区域的提示信息,例如为“草稿”、“编辑中”、“已编辑的内容”等类似的提示信息。In the embodiment of the present invention, the prompt information displayed in the first area is, for example, prompt information such as "draft", "editing", "edited content" and the like.
可以理解,本发明实施例中,电子设备在获取的第一消息处于编辑状态的情况下,输出该目标提示信息,以提示用户及时处理第一消息,以避免用户忘记第一消息。It can be understood that, in this embodiment of the present invention, when the acquired first message is in the editing state, the electronic device outputs the target prompt information to prompt the user to process the first message in time to prevent the user from forgetting the first message.
需要说明的是,本发明实施例中,电子设备可以按照预设周期(预设周期具体可以根据实际使用需求确定,本发明实施例不作限定)周期性的获取第一应用程序中的第一消息,并判断第一消息是否处于编辑状态,当第一消息处于编辑状态的情况下,电子设备可以输出目标提示信息。可选地,当电子设备同时获取了至少一条消息的情况下,电子设备可以针对该至少一条消息,输出一次目标提示信息,也可以针对该至少一条消息中的每条消息分别输出对应的目标提示信息,具体可以根据实际使用需求确定,本发明实施例不作限定。可选地,电子设备可以针对每条消息在每次检测到该每条消息处于编辑状态的目标预设时长(目标预设时长具体可以根据实际使用需求确定,本发明实施例不作限定)内,输出目标提示信息;也可以针对每条消息一直输出目标提示信息,直至检测到电子设备对该消息执行发送或删除等处理操作的情况下,停止输出该目标提示信息;具体可以根据实际使用需求确定,本发明实施例不作限定。It should be noted that, in this embodiment of the present invention, the electronic device may periodically acquire the first message in the first application program according to a preset period (the preset period may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention). , and determine whether the first message is in an editing state, and when the first message is in an editing state, the electronic device can output target prompt information. Optionally, when the electronic device acquires at least one message at the same time, the electronic device may output the target prompt information once for the at least one message, or output the corresponding target prompt for each message in the at least one message. The information can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention. Optionally, for each message, the electronic device may detect that each message is in the editing state each time within the target preset duration (the target preset duration may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention), Output the target prompt information; it can also output the target prompt information for each message until the electronic device detects that the electronic device performs processing operations such as sending or deleting the message, and stops outputting the target prompt information; the specific information can be determined according to the actual use requirements , the embodiments of the present invention are not limited.
本发明实施例提供了一种信息提示方法,电子设备可以通过获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。通过该方案,电子设备可以在获取的第一应用程序中的第一消息处于编辑状态的情况下,输出目标提示信息,以及时提示用户处理该消息,从而可以避免用户因忘记而忽略处理该处于编辑状态的消息,且可以提高人机交互性能。An embodiment of the present invention provides an information prompting method. An electronic device can obtain a first message in a first application program; when the first message is in an editing state, output target prompting information; wherein the target prompting information uses In order to prompt the user to process the first message, the target prompt information is prompt information other than the prompt information displayed in the first area, and the first area is the area corresponding to the first message in the message list interface of the first application program . With this solution, the electronic device can output target prompt information when the acquired first message in the first application program is in the editing state, and prompt the user to process the message in time, so as to prevent the user from forgetting and ignoring the processing of the message. Edit status messages and improve human-computer interaction performance.
可选地,本发明实施例中,可以设置为在检测到第一消息处于编辑状态的一定时间之后,再输出目标提示信息。Optionally, in this embodiment of the present invention, it may be set to output the target prompt information after a certain period of time when it is detected that the first message is in the editing state.
示例性地,该步骤202具体地可以通过下述步骤202a实现。Exemplarily, this
步骤202a、电子设备在第一消息处于编辑状态的第一预设时长内,该电子设备未处理第一消息的情况下,输出该目标提示信息。Step 202a, the electronic device outputs the target prompt information in the case that the electronic device does not process the first message within the first preset time period when the first message is in the editing state.
第一预设时长具体可以根据实际使用需求确定,本发明实施例不作限定,例如,第一预设时长可以为30s。The first preset duration may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention. For example, the first preset duration may be 30s.
本发明实施例中,电子设备处理第一消息可以为电子设备根据用户的输入对第一消息执行对应的处理操作,处理操作可以包括以下至少一项:编辑第一消息,发送第一消息,取消显示第一消息,处理操作还可以包括其他的可行性操作,本发明实施例不作限定。In this embodiment of the present invention, processing the first message by the electronic device may be that the electronic device performs a corresponding processing operation on the first message according to the user's input, and the processing operation may include at least one of the following: editing the first message, sending the first message, canceling The first message is displayed, and the processing operation may further include other feasible operations, which are not limited in this embodiment of the present invention.
可以理解,本发明实施例中,电子设备在在第一消息处于编辑状态(检测到第一消息处于编辑状态之后)的第一预设时长内,未检测到该电子设备处理第一消息的情况下,输出该目标提示信息,以提示用户及时处理第一消息,以避免用户忘记第一消息;否则,在第一消息处于编辑状态的第一预设时长内,如果检测到该电子设备处理第一消息的情况下,不需要输出该目标提示信息。It can be understood that, in this embodiment of the present invention, the electronic device does not detect that the electronic device processes the first message within the first preset time period when the first message is in the editing state (after detecting that the first message is in the editing state). , output the target prompt information to prompt the user to process the first message in time to prevent the user from forgetting the first message; otherwise, within the first preset time period when the first message is in the editing state, if it is detected that the electronic device In the case of a message, it is not necessary to output the target prompt information.
本发明实施例中,设置在在第一消息处于编辑状态的第一预设时长内,该电子设备未处理第一消息的情况下,输出该目标提示信息,在用户记得处理第一消息的情况下,可以避免打扰用户,可以提高人机交互性能。In this embodiment of the present invention, the target prompt information is output when the electronic device does not process the first message within the first preset time period when the first message is in the editing state, and the user remembers to process the first message. It can avoid disturbing the user and improve the human-computer interaction performance.
可选地,本发明实施例中,输出目标提示信息的具体方式可以多种多样,可以设置至少一种输出目标提示信息的方式,以达到提示用户的效果。Optionally, in this embodiment of the present invention, the specific manner of outputting the target prompt information may be various, and at least one manner of outputting the target prompt information may be set to achieve the effect of prompting the user.
示例性地,该步骤202具体地可以通过下述步骤202b-步骤202e中的至少一步实现。Exemplarily, this
可以理解,本发明实施例中,下述步骤202b-步骤202e可以择一执行,也可以同时执行下述步骤202b-步骤202e中的多个步骤,即电子设备可以执行步骤202b-步骤202e中的至少一项,具体可以根据实际使用需求确定,本发明实施例不作限定。It can be understood that, in this embodiment of the present invention, the following steps 202b to 202e may be selectively executed, or multiple steps of the following steps 202b to 202e may be executed simultaneously, that is, the electronic device may execute the steps 202b to 202e. At least one item can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
步骤202b、电子设备在该目标提示信息包括第一提示信息的情况下,在第一目标界面的第二区域中显示第一提示信息。Step 202b, in the case that the target prompt information includes the first prompt information, the electronic device displays the first prompt information in the second area of the first target interface.
可以理解,第一提示信息在第一目标界面中是以嵌入的方式显示。It can be understood that the first prompt information is displayed in an embedded manner in the first target interface.
可选地,本发明实施例中,第一提示信息包括字符提示信息,第一目标界面包括以下至少一项:该电子设备的桌面、该电子设备的锁屏界面、该电子设备的熄屏界面、该电子设备的通知栏界面。Optionally, in this embodiment of the present invention, the first prompt information includes character prompt information, and the first target interface includes at least one of the following: a desktop of the electronic device, a screen lock interface of the electronic device, and a screen-off interface of the electronic device , the notification bar interface of the electronic device.
其中,对字符提示信息的描述可以参考上述步骤201中对目标提示信息的描述中对字符提示信息的相关描述,此处不再赘述。桌面即电子设备的主界面、显示应用图标的界面;锁屏界面即电子设备处于锁屏状态下,点亮屏幕时的界面;熄屏界面即电子设备处于锁屏状态下,未点亮屏幕时的界面;通知栏界面即电子设备中显示通知消息的界面。For the description of the character prompt information, reference may be made to the relevant description of the character prompt information in the description of the target prompt information in the foregoing
可选地,第二区域可以为第一目标界面中的空白区域。Optionally, the second area may be a blank area in the first target interface.
可以理解,本发明实施例中,第二区域可以为桌面中的空白区域,也可以为锁屏界面中的空白区域,也可以为熄屏界面中的空白区域,也可以为通知栏界面中的空白区域,还可以为其他界面中的空白区域,具体可以根据实际使用需求确定,本发明实施例不作限定。It can be understood that, in this embodiment of the present invention, the second area may be a blank area on the desktop, a blank area in a lock screen interface, a blank area in a screen-off interface, or a blank area in a notification bar interface. The blank area may also be a blank area in other interfaces, which may be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
可以理解,第一提示信息可以在桌面、锁屏界面、熄屏界面和通知栏界面中的至少一个界面中的空白区域中显示。It can be understood that the first prompt information may be displayed in a blank area in at least one of the desktop, the lock screen interface, the screen-off interface, and the notification bar interface.
可选地,在第一目标界面为桌面时,第二区域可以为桌面中与第一消息所属的应用程序的图标所在的区域。此时,第一提示信息可以为显示在应用程序的图标所在的区域的小图标。Optionally, when the first target interface is the desktop, the second area may be an area on the desktop where the icon of the application to which the first message belongs is located. At this time, the first prompt information may be a small icon displayed in the area where the icon of the application program is located.
示例性地,如图3所示,第一提示信息为对应的应用程序(app5)右下角的圆点图标,该圆点图标中的数字用于指示app5中存在的处于编辑状态的消息的数量。用户可以根据该圆点图标中的数字确定app5中存在的处于编辑状态的消息的数量,从而可以防止用户忘记处理app5中处于编辑状态的消息。Exemplarily, as shown in FIG. 3 , the first prompt information is a dot icon in the lower right corner of the corresponding application (app5), and the number in the dot icon is used to indicate the number of messages in the editing state that exist in app5. . The user can determine the number of messages in the editing state existing in the app5 according to the number in the dot icon, thereby preventing the user from forgetting to process the messages in the editing state in the app5.
本发明实施例中,针对第一提示信息在界面中以嵌入的方式显示的情况,提供了多种可能的第一目标界面,从而可以根据实际使用需求具体确定,使第一提示信息的显示更灵活,可以更好的起到提示用户的作用,可以提高人机交互性能。In the embodiment of the present invention, for the case where the first prompt information is displayed in an embedded manner in the interface, a variety of possible first target interfaces are provided, so that the first target interface can be specifically determined according to the actual use requirements, so that the display of the first prompt information can be more accurate. Flexible, can better play the role of prompting users, and can improve the performance of human-computer interaction.
可选地,本发明实施例中,第一提示信息可以具体包括以下至少一项:第一应用程序的标识、第一消息所属的消息界面的标识。Optionally, in this embodiment of the present invention, the first prompt information may specifically include at least one of the following: an identifier of the first application, and an identifier of the message interface to which the first message belongs.
可以理解,第一应用程序的标识用于指示第一应用程序,第一应用程序的标识可以为第一应用程序的图标、第一应用程序的名称、第一应用程序的界面缩略图等,本发明实施例不作限定。第一消息界面的标识可以为第一消息界面对应的联系人标识(例如联系人名称、昵称、头像等)、第一消息界面的缩略图等,本发明实施例不作限定。It can be understood that the identifier of the first application is used to indicate the first application, and the identifier of the first application may be the icon of the first application, the name of the first application, the interface thumbnail of the first application, etc. The embodiments of the invention are not limited. The identifier of the first message interface may be a contact identifier (such as a contact name, nickname, avatar, etc.) corresponding to the first message interface, a thumbnail image of the first message interface, etc., which is not limited in this embodiment of the present invention.
示例性地,第一提示信息可以包括第一应用程序的标识,第一提示信息也可以包括第一消息界面的标识,第一提示信息也可以包括第一应用程序的标识和第一消息界面的标识,第一提示信息还可以包括其他的内容,本发明实施例不作限定。Exemplarily, the first prompt information may include the identifier of the first application, the first prompt information may also include the identifier of the first message interface, and the first prompt information may also include the identifier of the first application and the identifier of the first message interface. The first prompt information may also include other content, which is not limited in this embodiment of the present invention.
可选地,本发明实施例中,第一提示信息还可以具体包括:第一消息处于编辑状态的时长。Optionally, in this embodiment of the present invention, the first prompt information may further specifically include: a time period for which the first message is in an editing state.
示例性地,第一提示信息可以包括第一应用程序的标识和第一消息处于编辑状态的时长,第一提示信息也可以包括第一消息界面的标识和第一消息处于编辑状态的时长,第一提示信息也可以包括第一应用程序的标识、第一消息界面的标识和第一消息处于编辑状态的时长。Exemplarily, the first prompt information may include the identification of the first application and the duration of the editing state of the first message, the first prompt information may also include the identification of the first message interface and the duration of the editing state of the first message, A prompt message may also include the identifier of the first application, the identifier of the first message interface, and the duration of the editing state of the first message.
本发明实施例中,提供了多种第一提示信息的具体形式,从而可以根据实际使用需求设定第一提示信息,可以满足用户的不同需求,可以提高人机交互性能。而且,当第一提示信息包括第一消息处于编辑状态的时长时,可以提示用户第一消息被遗忘的时长,从而用户可以根据第一消息的重要程度等确定是否需要及时处理第一消息。In the embodiment of the present invention, a variety of specific forms of the first prompt information are provided, so that the first prompt information can be set according to actual use requirements, which can meet different needs of users, and can improve human-computer interaction performance. Moreover, when the first prompt information includes the duration that the first message is in the editing state, the user can be prompted for the duration of the forgotten first message, so that the user can determine whether the first message needs to be processed in time according to the importance of the first message.
可选地,本发明实施例中,第一提示信息可以是提示列表中的一条提示信息,提示列表中还可以包括其他的提示信息,提示列表中包括多少条提示信息可以根据实际情况确定。Optionally, in this embodiment of the present invention, the first prompt information may be one piece of prompt information in the prompt list, the prompt list may further include other prompt information, and the number of prompt information included in the prompt list may be determined according to the actual situation.
本发明实施例中,提示列表中的提示信息可以是针对同一个应用程序的提示信息,也可以是针对不同应用程序的提示信息,本发明实施例不作限定。In this embodiment of the present invention, the prompt information in the prompt list may be prompt information for the same application program, or may be prompt information for different application programs, which is not limited in this embodiment of the present invention.
本发明实施例中,提示列表中的不同提示信息的类型可以相同,也可以不相同,本发明实施例不作限定。例如,提示列表中的提示信息均用于提示应用程序中存在处于编辑状态的消息,或者,提示列表中的提示信息有的用于提示应用程序中存在处于编辑状态的消息,有的用于提示应用程序中存在未读消息等。In the embodiment of the present invention, the types of different prompt information in the prompt list may be the same or different, which is not limited in the embodiment of the present invention. For example, the prompt information in the prompt list is used to prompt that there is a message in the editing state in the application, or some of the prompt information in the prompt list are used to prompt that there is a message in the editing state in the application, and some are used to prompt There are unread messages in the app, etc.
示例性地,该第二区域中还包括:至少一个第三提示信息,每个第三提示信息用于指示一个处于编辑状态的第二消息,该每个第三提示信息可以具体包括:对应的第二消息所属的应用程序的标识、该对应的第二消息所属的消息界面的标识。Exemplarily, the second area further includes: at least one third prompt information, each third prompt information is used to indicate a second message in an editing state, and each third prompt information may specifically include: a corresponding The identifier of the application to which the second message belongs, and the identifier of the message interface to which the corresponding second message belongs.
可选地,本发明实施例中,该每个第三提示信息还可以具体包括:该对应的第二消息处于编辑状态的时长。Optionally, in this embodiment of the present invention, each of the third prompt information may further specifically include: a time period during which the corresponding second message is in an editing state.
可以理解,该第二区域用于显示该提示列表,提示列表中包括第一提示信息和至少一个第三提示信息。每个第二消息可以为不同应用程序中的消息,也可以是相同应用程序中的消息。对第二消息的具体描述可以参考上述步骤201中对第一消息的相关描述,此处不予赘述。对每个第三提示信息的具体描述可以参考上述对第一提示信息的相关描述,此处不予赘述。It can be understood that the second area is used to display the prompt list, and the prompt list includes first prompt information and at least one third prompt information. Each second message may be a message in a different application program, or may be a message in the same application program. For a specific description of the second message, reference may be made to the relevant description of the first message in the foregoing
本发明实施例中,电子设备可以在第二区域中,同时显示多条提示信息,便于用户快速地获知存在多少提示信息,并可以根据每条提示信息的重要程度等确定先处理哪些提示信息。且当该多条提示信息均为用于提示存在处于编辑状态的消息的提示信息时,用户可以快速地获知哪些应用程序中,存在哪些处于编辑状态、需要处理的消息。In this embodiment of the present invention, the electronic device can simultaneously display multiple pieces of prompt information in the second area, so that the user can quickly know how many prompt information exists, and can determine which prompt information to process first according to the importance of each prompt information. And when the multiple pieces of prompt information are all prompt information for prompting that there is a message in an editing state, the user can quickly know which application programs have messages that are in an editing state and need to be processed.
示例性地,如图4所示,电子设备在桌面中的空白区域显示提示列表,或者如图5所示,电子设备在锁屏界面中的空白区域显示提示列表。其中,提示列表中包括多条提示信息,每条提示信息包括:对应的消息所属的应用程序的名称、对应的消息所属的消息界面的联系人名称和对应的消息处于编辑状态的时长。而且,当提示列表中的提示信息较多时,用户可以通过对图4中的标记“1”指示的控件的输入,触发电子设备更新当前对用户可见的提示信息。Exemplarily, as shown in FIG. 4 , the electronic device displays a prompt list in a blank area on the desktop, or as shown in FIG. 5 , the electronic device displays a prompt list in a blank area in a lock screen interface. Wherein, the prompt list includes a plurality of prompt information, and each prompt information includes: the name of the application program to which the corresponding message belongs, the contact name of the message interface to which the corresponding message belongs, and the duration of the corresponding message in the editing state. Moreover, when there are many prompt information in the prompt list, the user can trigger the electronic device to update the prompt information currently visible to the user by inputting the control indicated by the mark "1" in FIG. 4 .
可选地,本发明实施例中,可以设置按照第一显示效果显示第一提示信息。Optionally, in this embodiment of the present invention, it may be configured to display the first prompt information according to the first display effect.
示例性地,上述步骤202b具体可以通过下述步骤202b1实现。Exemplarily, the above step 202b may be specifically implemented by the following step 202b1.
步骤202b1、电子设备按照第一预设显示效果,在该第二区域中显示第一提示信息。Step 202b1, the electronic device displays the first prompt information in the second area according to the first preset display effect.
可以理解,第一预设显示效果可以为预设颜色显示效果、加粗显示效果、下划线显示效果、闪烁显示效果或抖动显示效果等,第一预设显示效果还可以为其他显示效果,本发明实施例不作限定。It can be understood that the first preset display effect may be a preset color display effect, a bold display effect, an underline display effect, a flickering display effect or a shaking display effect, etc. The first preset display effect may also be other display effects. The embodiment is not limited.
示例性地,如图6所示,第一提示信息为在应用程序的图标上增加的边框图案,第一预设显示效果为红色显示效果(边框为红色)和闪烁显示效果(边框闪烁),需要说明的是图中以app4上增加黑色边框示意。Exemplarily, as shown in FIG. 6 , the first prompt information is a frame pattern added on the icon of the application program, and the first preset display effect is a red display effect (the frame is red) and a flashing display effect (the frame is flashing), It should be noted that in the figure, a black border is added to app4.
本发明实施例中,电子设备按照第一预设显示效果,在该第二区域中显示第一提示信息,可以使提示信息更醒目,从而可以更好地起到提示作用,可以提高人机交互性能。In the embodiment of the present invention, the electronic device displays the first prompt information in the second area according to the first preset display effect, which can make the prompt information more conspicuous, so that the prompt function can be better played, and the human-computer interaction can be improved. performance.
步骤202c、电子设备在该目标提示信息包括第一提示信息的情况下,在第二目标界面上悬浮显示第一提示信息。Step 202c: In the case that the target prompt information includes the first prompt information, the electronic device displays the first prompt information in a floating manner on the second target interface.
可以理解,第一提示信息在第二目标界面中以悬浮的方式显示,则用户可以通过输入,触发电子设备移动第一提示信息在第二目标界面中的显示位置,改变第一提示信息的显示尺寸等。It can be understood that if the first prompt information is displayed in a floating manner in the second target interface, the user can trigger the electronic device to move the display position of the first prompt information in the second target interface through input, and change the display of the first prompt information size etc.
可以理解,第一提示信息可以悬浮显示在第二目标界面的任意区域上。It can be understood that the first prompt information can be displayed in a suspended manner on any area of the second target interface.
可选地,第一提示信息包括字符提示信息,第二目标界面包括以下至少一项:该桌面(即该电子设备的桌面)、该锁屏界面(即该电子设备的锁屏界面)、该熄屏界面(即该电子设备的熄屏界面)、第二应用程序的界面,第二应用程序为任意应用程序。Optionally, the first prompt information includes character prompt information, and the second target interface includes at least one of the following: the desktop (ie the desktop of the electronic device), the lock screen interface (ie the lock screen interface of the electronic device), the The screen-off interface (that is, the screen-off interface of the electronic device), the interface of the second application program, and the second application program is any application program.
其中,对字符提示信息的描述可以参考上述步骤201中对目标提示信息的描述中对字符提示信息的相关描述,此处不再赘述。对桌面、锁屏界面、熄屏界面的描述可以参考上述步骤202b中对桌面、锁屏界面、熄屏界面的相关描述,此处不再赘述。其中,第二应用程序的界面可以为第二应用程序的主界面,也可以为第二应用程序的功能界面,本发明实施例不作限定。第二应用程序可以为第一应用程序,也可以为除第一应用程序之外的应用程序,本发明实施例不作限定。For the description of the character prompt information, reference may be made to the relevant description of the character prompt information in the description of the target prompt information in the foregoing
可选地,本发明实施例中,第一提示信息具体包括以下至少一项:第一应用程序的标识、第一消息界面的标识。Optionally, in this embodiment of the present invention, the first prompt information specifically includes at least one of the following: an identifier of the first application program, and an identifier of the first message interface.
可选地,本发明实施例中,第一提示信息还具体包括:第一消息处于编辑状态的时长。Optionally, in this embodiment of the present invention, the first prompt information further specifically includes: a time period for which the first message is in an editing state.
可选地,本发明实施例中,第一提示信息显示在第一界面中,第一界面悬浮显示在第二目标界面上,第一界面中还包括该至少一个第三提示信息,每个第三提示信息用于指示一个处于编辑状态的第二消息,该每个第三提示信息具体包括:对应的第二消息所属的应用程序的标识、该对应的第二消息所属的消息界面的标识。Optionally, in this embodiment of the present invention, the first prompt information is displayed on the first interface, the first interface is suspended and displayed on the second target interface, and the first interface further includes the at least one third prompt information, each The three prompt information is used to indicate a second message in an editing state, and each third prompt information specifically includes: the identifier of the application program to which the corresponding second message belongs, and the identifier of the message interface to which the corresponding second message belongs.
可选地,本发明实施例中,该每个第三提示信息还具体包括:该对应的第二消息处于编辑状态的时长。Optionally, in this embodiment of the present invention, each of the third prompt information further specifically includes: a time period during which the corresponding second message is in an editing state.
本发明实施例中,第一界面中显示提示列表,提示列表中包括第一提示信息和至少一个第三提示信息。In this embodiment of the present invention, a prompt list is displayed on the first interface, and the prompt list includes first prompt information and at least one third prompt information.
其中,对第一提示信息、每个第三提示信息、第二消息、提示列表的具体描述可以分别参考上述步骤202b中对第一提示信息、每个第三提示信息、第二消息、提示列表的相关描述,此处不再赘述。Wherein, for the specific description of the first prompt information, each third prompt information, the second message, and the prompt list, please refer to the first prompt information, each third prompt information, the second message, and the prompt list in the above step 202b, respectively. The related descriptions are not repeated here.
本发明实施例中,电子设备在第二目标界面上悬浮显示第一提示信息,可以使第一提示信息的显示更灵活(由于可以移动位置、改变尺寸),而且更醒目,可以更好地起到提示作用,可以提高人机交互性能。而且可以在第一界面中显示多条提示信息,便于用户快速地获知存在多少提示信息,并可以根据每条提示信息的重要程度等确定先处理哪些提示信息。且当该多条提示信息均为用于提示存在编辑状态的消息的提示信息时,用户可以快速地获知哪些应用程序中,存在哪些处于编辑状态、需要处理的消息。In this embodiment of the present invention, the electronic device suspends and displays the first prompt information on the second target interface, which can make the display of the first prompt information more flexible (because the position and size can be moved), and it is more conspicuous and can play a better role in the display of the first prompt information. To prompt function, can improve the performance of human-computer interaction. Moreover, multiple pieces of prompt information can be displayed in the first interface, so that the user can quickly know how many prompt information there is, and can determine which prompt information to process first according to the importance of each prompt information. And when the multiple pieces of prompt information are all prompt information for prompting messages that exist in an editing state, the user can quickly learn which application programs have messages that are in an editing state and need to be processed.
可选地,本发明实施例中,可以设置按照第二显示效果显示第一提示信息。Optionally, in this embodiment of the present invention, it may be configured to display the first prompt information according to the second display effect.
示例性地,上述步骤202c具体可以通过下述步骤202c1实现。Exemplarily, the above step 202c may be specifically implemented by the following step 202c1.
步骤202c1、电子设备按照第二预设显示效果,在第二目标界面上悬浮显示第一提示信息。Step 202c1, the electronic device displays the first prompt information in a floating manner on the second target interface according to the second preset display effect.
其中,对第二显示效果的具体描述可以参考上述步骤202b1中对第一显示效果的相关描述,此处不再赘述。Wherein, for the specific description of the second display effect, reference may be made to the relevant description of the first display effect in the foregoing step 202b1, which will not be repeated here.
本发明实施例中,第二预设显示效果与第一预设显示效果可以相同,也可以不相同,本发明实施例不作限定。In this embodiment of the present invention, the second preset display effect may be the same as or different from the first preset display effect, which is not limited in the embodiment of the present invention.
示例性地,如图7所示,第二目标界面为app2的消息列表界面,第一提示信息为第一消息界面对应的联系人头像,第一提示信息显示在第一界面中,第一界面悬浮显示在app2的消息列表界面上,第一界面中还包括一个第三提示信息,第一提示信息和第三提示信息可以具有抖动显示效果。其中,标记“2”指示第一提示信息、标记“3”指示第三提示信息、标记“4”指示第一界面。Exemplarily, as shown in FIG. 7 , the second target interface is the message list interface of app2, the first prompt information is the contact avatar corresponding to the first message interface, the first prompt information is displayed in the first interface, and the first interface The floating display is displayed on the message list interface of app2, and the first interface further includes a third prompt information, and the first prompt information and the third prompt information may have a shaking display effect. Wherein, the mark "2" indicates the first prompt information, the mark "3" indicates the third prompt information, and the mark "4" indicates the first interface.
示例性地,如图8所示,第二显示界面为熄屏界面,第一提示信息为“您存在处于编辑状态的消息!”,且在电子设备为具有屏下指纹识别功能的电子设备时,可以在屏幕上的指纹识别区域处显示闪烁动画。Exemplarily, as shown in FIG. 8 , the second display interface is a screen-off interface, the first prompt message is "You have a message in an editing state!", and when the electronic device is an electronic device with an off-screen fingerprint recognition function , you can display a blinking animation at the fingerprint recognition area on the screen.
本发明实施例中,电子设备按照第二预设显示效果,在第二目标界面上悬浮显示第一提示信息,可以使提示信息更醒目,从而可以更好地起到提示作用,可以提高人机交互性能。In the embodiment of the present invention, according to the second preset display effect, the electronic device suspends and displays the first prompt information on the second target interface, which can make the prompt information more conspicuous, so that the prompt function can be better played, and the human-machine can be improved. Interactive performance.
可选地,本发明实施例中,用户可以通过对第一提示信息的输入,触发电子设备执行显示第一消息界面,取消显示第一提示信息(删除第一提示信息)或取消显示第一消息(删除第一消息)等操作。Optionally, in this embodiment of the present invention, the user can trigger the electronic device to execute the display of the first message interface by inputting the first prompt information, cancel the display of the first prompt information (delete the first prompt information) or cancel the display of the first message. (delete the first message) and other operations.
示例性地,在上述步骤202b或步骤202b1或步骤202c之后,本发明实施例提供的信息提示方法还可以包括下述的步骤203-步骤204。Exemplarily, after the above step 202b or step 202b1 or step 202c, the information prompting method provided by the embodiment of the present invention may further include the following steps 203-204.
步骤203、电子设备接收用户对第一提示信息的第一输入。Step 203: The electronic device receives the first input of the first prompt information by the user.
可选地,第一输入可以为用户对第一提示信息的点击输入,也可以为用户对第一提示信息的滑动输入,也可以为用户对第一提示信息的拖动输入,还可以其他的可行性输入,本发明实施例不作限定。Optionally, the first input may be the user's click input on the first prompt information, the user's sliding input on the first prompt information, or the user's drag input on the first prompt information, or other The feasible input is not limited in this embodiment of the present invention.
示例性地,上述点击输入可以为任意次数的点击输入或多指点击输入,例如,单击输入、双击输入、三击输入、双指点击输入或三指点击输入等;上述滑动输入可以为向任意方向上的滑动输入或多指滑动输入,例如,向上的滑动输入、向下的滑动输入、向左的滑动输入、向右的滑动输入、双指滑动输入或三指滑动输入等;上述拖动输入可以为向任意方向的拖动输入,例如,向上的拖动输入、向下的拖动输入、向左的拖动输入或向右的拖动输入等。Exemplarily, the above-mentioned click input can be any number of times of click input or multi-finger click input, for example, single-click input, double-click input, triple-click input, two-finger click input or three-finger click input, etc. Slide input in any direction or multi-finger slide input, for example, upward slide input, downward slide input, left slide input, right slide input, two-finger slide input or three-finger slide input, etc.; The dynamic input may be a drag input in any direction, for example, an upward drag input, a downward drag input, a left drag input, a right drag input, and the like.
步骤204、电子设备响应于第一输入,执行与第一输入对应的目标操作。Step 204: The electronic device performs a target operation corresponding to the first input in response to the first input.
该目标操作包括以下至少一项:显示第一消息所属的消息界面,取消显示第一提示信息,取消显示第一消息。The target operation includes at least one of the following: displaying a message interface to which the first message belongs, canceling the display of the first prompt information, and canceling the display of the first message.
示例性地,若第一输入为用户对第一提示信息的点击输入,则电子设备显示第一消息界面,同时电子设备也可以取消显示第一提示信息;若第一输入为用户对第一提示信息的拖动输入,则电子设备取消显示第一提示信息;若第一输入为用户对第一提示信息的滑动输入,则电子设备取消显示第一消息,同时电子设备也可以取消显示第一提示信息。Exemplarily, if the first input is the user's click input on the first prompt information, the electronic device displays the first message interface, and the electronic device can also cancel the display of the first prompt information; if the first input is the user's input to the first prompt If the information is dragged and input, the electronic device cancels the display of the first prompt information; if the first input is the user's sliding input to the first prompt information, the electronic device cancels the display of the first message, and the electronic device can also cancel the display of the first prompt information.
可以理解,本发明实施例中,在电子设备接收到第一输入的情况下,电子设备根据与第一提示信息关联的第一消息界面的路径信息,找到第一消息界面,并显示第一消息界面,进一步地,电子设备可以取消显示第一消息界面的第一消息。It can be understood that in this embodiment of the present invention, when the electronic device receives the first input, the electronic device finds the first message interface according to the path information of the first message interface associated with the first prompt information, and displays the first message interface, further, the electronic device can cancel the display of the first message of the first message interface.
需要说明的是,在用户仅选择取消显示第一提示信息的情况下,用户可能觉得第一消息不重要,可以忽略不作处理,因此电子设备可以不用输出第一提示信息。It should be noted that when the user only chooses to cancel the display of the first prompt information, the user may feel that the first message is not important and can be ignored and not processed, so the electronic device does not need to output the first prompt information.
示例性地,用户点击如图4中的第一提示信息(app4对应的提示信息),则如图9所示,电子设备显示第一消息界面,且电子设备取消显示app4对应的提示信息。或者,用户点击如图7中的标记“2”指示的第一提示信息,则如图9所示,电子设备显示第一消息界面,且电子设备取消显示标记“2”指示的第一提示信息。Exemplarily, the user clicks the first prompt information (prompt information corresponding to app4) in FIG. 4 , as shown in FIG. 9 , the electronic device displays the first message interface, and the electronic device cancels the prompt information corresponding to app4. Or, the user clicks the first prompt information indicated by the mark "2" in Fig. 7, then as shown in Fig. 9, the electronic device displays the first message interface, and the electronic device cancels the display of the first prompt information indicated by the mark "2" .
本发明实施例中,用户可以通过对第一提示信息的第一输入,触发电子设备对第一提示信息、第一消息等执行对应操作,从而可以简化处理第一提示信息和第一消息的操作步骤,可以节约用户处理的时间,可以提高人机交互性能。In this embodiment of the present invention, the user can trigger the electronic device to perform corresponding operations on the first prompt information, the first message, etc. through the first input of the first prompt information, so that the operation of processing the first prompt information and the first message can be simplified. The steps can save the processing time of the user and improve the human-computer interaction performance.
步骤202d、电子设备在该目标提示信息包括第二提示信息的情况下,播放第二提示信息。Step 202d, in the case that the target prompt information includes the second prompt information, the electronic device plays the second prompt information.
第二提示信息包括以下至少一项:第一语音提示信息和响铃提示信息。The second prompt information includes at least one of the following: first voice prompt information and ringing prompt information.
本发明实施例中,不限定第一语音提示信息的具体内容。In this embodiment of the present invention, the specific content of the first voice prompt information is not limited.
本发明实施例中,电子设备播放第二提示信息,用户可以在不看电子设备的情况下,就可以获知存在处于编辑状态的消息,从而可以更好地提示用户,提高人机交互性能。In the embodiment of the present invention, the electronic device plays the second prompt information, and the user can know that there is a message in the editing state without looking at the electronic device, so as to better prompt the user and improve the human-computer interaction performance.
可选地,本发明实施例中,可以设置在电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息。Optionally, in this embodiment of the present invention, it may be set to play the second prompt information when the electronic device is in a screen-locked state or a screen-off state.
示例性地,上述步骤202d具体可以通过下述步骤202d1实现。Exemplarily, the above step 202d may be specifically implemented by the following step 202d1.
步骤202d1、电子设备在该电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息。Step 202d1, the electronic device plays the second prompt message when the electronic device is in a screen-locked state or a screen-off state.
本发明实施例中,电子设备在该电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息。可以有利于在用户未使用电子设备的情况下,及时提示用户存在处于编辑状态的消息。In this embodiment of the present invention, the electronic device plays the second prompt message when the electronic device is in a screen-locked state or a screen-off state. It can be beneficial to prompt the user that there is a message in the editing state in time when the user does not use the electronic device.
步骤202e、电子设备在该目标提示信息包括震动提示信息的情况下,控制该电子设备震动。Step 202e, the electronic device controls the electronic device to vibrate when the target prompt information includes vibration prompt information.
本发明实施例中,电子设备控制该电子设备震动,用户可以在不看电子设备的情况下,就可以获知存在处于编辑状态的消息,从而可以更好地提示用户,提示效果更显著,可以提高人机交互性能。In the embodiment of the present invention, the electronic device controls the electronic device to vibrate, and the user can know that there is a message in the editing state without looking at the electronic device, so that the user can be better prompted, the prompt effect is more significant, and the Human-computer interaction performance.
可选地,本发明实施例中,可以设置在电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。Optionally, in this embodiment of the present invention, it may be set to control the electronic device to vibrate when the electronic device is in a screen-locked state or a screen-off state.
示例性地,上述步骤202e具体可以通过下述步骤202e1实现。Exemplarily, the above step 202e may be specifically implemented by the following step 202e1.
步骤202e1、电子设备在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。Step 202e1, the electronic device controls the electronic device to vibrate when the electronic device is in a screen-locked state or a screen-off state.
本发明实施例中,电子设备在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。可以有利于在用户未使用电子设备的情况下,及时提示用户存在处于编辑状态的消息。In the embodiment of the present invention, the electronic device controls the electronic device to vibrate when the electronic device is in a screen-locked state or a screen-off state. It can be beneficial to prompt the user that there is a message in the editing state in time when the user does not use the electronic device.
可选地,在上述步骤202e之后,若用户未处理第一消息,电子设备可以在一定时间之后,播放第二语音提示信息。Optionally, after the above step 202e, if the user does not process the first message, the electronic device may play the second voice prompt information after a certain period of time.
示例性地,在上述步骤202e之后,本发明实施例提供的信息提示方法还可以包括下述的步骤205。Exemplarily, after the above step 202e, the information prompting method provided by the embodiment of the present invention may further include the following step 205.
步骤205、电子设备在控制该电子设备震动之后的第二预设时长内,未检测到该电子设备处理第一消息的情况下,播放第二语音提示信息。Step 205: The electronic device plays the second voice prompt message within a second preset period of time after the electronic device is controlled to vibrate and does not detect that the electronic device processes the first message.
本发明实施例中,第二预设时长可以根据实际使用需求确定,本发明实施例不作限定。例如第二预设时长可以为5min。第二预设时长可以与第一预设时长相同,也可以不相同,本发明实施例不作限定。In this embodiment of the present invention, the second preset duration may be determined according to actual usage requirements, which is not limited in this embodiment of the present invention. For example, the second preset duration may be 5 minutes. The second preset duration may be the same as or different from the first preset duration, which is not limited in this embodiment of the present invention.
本发明实施例中,不限定第二语音提示信息的具体内容。第二语音提示信息与第一语音提示信息可以相同,也可以不相同,本发明实施例不作限定。In this embodiment of the present invention, the specific content of the second voice prompt information is not limited. The second voice prompt information and the first voice prompt information may be the same or different, which is not limited in this embodiment of the present invention.
本发明实施例中,电子设备在控制该电子设备震动之后的第二预设时长内,未检测到该电子设备处理第一消息(该电子设备未处理第一消息)的情况下,再播放第二语音提示信息,可以起到更好地提示作用,以避免用户遗忘重要信息。In this embodiment of the present invention, within a second preset time period after the electronic device is controlled to vibrate, the electronic device will play the The second voice prompt information can play a better prompting role to prevent users from forgetting important information.
需要说明的是,本发明实施例中,用户可以根据实际使用需求确定输出目标提示信息的方式,用户也可以根据实际使用需求确定不同的应用程序对应不同的输出目标提示信息的方式,用户也可以根据实际使用需求确定不同的消息界面中的消息对应不同的输出目标提示信息的方式,本发明实施例不作限定。It should be noted that, in this embodiment of the present invention, the user can determine the method of outputting the target prompt information according to the actual use requirement, and the user can also determine the method of outputting the target prompt information corresponding to different application programs according to the actual use requirement. The manner in which messages in different message interfaces correspond to different output target prompt information is determined according to actual usage requirements, which is not limited in this embodiment of the present invention.
本发明实施例中,电子设备在熄屏界面显示第一提示信息,那么在用户未点亮屏幕的情况下,就可以看到存在处于编辑状态的消息;电子设备在锁屏界面显示第一提示信息,那么在用户点亮屏幕的情况下,就可以看到存在处于编辑状态的消息;电子设备在桌面显示第一提示信息,那么在用户打开桌面的情况下,就可以看到存在处于编辑状态的消息;电子设备在通知栏界面显示第一提示信息,那么在用户打开通知栏界面的情况下,就可以看到存在处于编辑状态的消息;电子设备在第二应用程序的界面显示第一提示信息,那么在用户打开第二应用程序的情况下,就可以看到存在处于编辑状态的消息;电子设备播放第二提示信息,则在用户听到第二提示信息的情况下,就可以获知存在处于编辑状态的消息;电子设备控制电子设备震动,则在用户察觉电子设备震动的情况下,就可以获知存在处于编辑状态的消息。因此,相比相关技术中,电子设备在检测到有些即时社交应用程序的消息界面中存在处于编辑状态的消息时,在消息列表界面中该消息界面对应的区域(对应的消息项所在的区域)中显示“草稿”、“编辑中”或“已编辑内容”等类似的提示信息(以下称为第四提示信息)的方式(一方面,上述第四提示信息的字体很小,另一方面,当该消息列表界面中包括大量的消息项,且当用户在该消息界面编辑之后,该消息列表界面中增加了大量的新消息项的情况下,用户很难发现该消息项所在的区域中显示的第四提示信息,从而很可能忘记回复该消息,如此,上述显示第四提示信息的方式存在对用户的提示作用不够明显的问题),本发明实施例提出的输出提示信息的方式可以更显著,更醒目,更好地起到提示用户的作用。In this embodiment of the present invention, the electronic device displays the first prompt message on the screen-off interface, so when the user does not light the screen, he can see that there is a message in the editing state; the electronic device displays the first prompt on the screen-lock interface information, then when the user lights up the screen, he can see that there is a message in the editing state; the electronic device displays the first prompt message on the desktop, then when the user opens the desktop, he can see that the existence is in the editing state The electronic device displays the first prompt information on the notification bar interface, then when the user opens the notification bar interface, he can see that there is a message in the editing state; the electronic device displays the first prompt on the interface of the second application program information, then when the user opens the second application program, he can see that there is a message in the editing state; the electronic device plays the second prompt information, and when the user hears the second prompt information, he can know that there is a message in the editing state The message in the editing state; the electronic device controls the vibration of the electronic device, and when the user perceives the vibration of the electronic device, he can know that there is a message in the editing state. Therefore, compared with the related art, when the electronic device detects that there is a message in the editing state in the message interface of some instant social applications, the area corresponding to the message interface in the message list interface (the area where the corresponding message item is located) The way to display similar prompt information (hereinafter referred to as the fourth prompt information) such as "draft", "editing" or "edited content" in the When the message list interface includes a large number of message items, and after the user edits the message interface, a large number of new message items are added to the message list interface, it is difficult for the user to find the area where the message item is located. Therefore, the above-mentioned method of displaying the fourth prompt information has the problem that the prompting effect on the user is not obvious enough), and the method of outputting the prompt information proposed by the embodiment of the present invention can be more significant , more conspicuous, and better play the role of prompting users.
本发明实施例中的各个附图均是结合独权实施例附图示例的,具体实现时,各个附图还可以结合其它任意可以结合的附图实现,本发明实施例不作限定。例如,上述步骤202b-步骤202e,均可以是在上述步骤202a的基础上实现。Each accompanying drawing in the embodiment of the present invention is exemplified by combining with the accompanying drawing of the exclusive embodiment. During specific implementation, each accompanying drawing can also be implemented by combining with any other accompanying drawings, which is not limited by the embodiment of the present invention. For example, the above steps 202b to 202e may all be implemented on the basis of the above step 202a.
如图10所示,本发明实施例提供一种电子设备120,该电子设备120包括:获取模块121和输出模块122;该获取模块121,用于获取第一应用程序中的第一消息;该输出模块122,用于在该获取模块121获取的第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。As shown in FIG. 10, an embodiment of the present invention provides an
可选地,该输出模块122,具体用于在第一消息处于编辑状态的第一预设时长内,该电子设备未处理第一消息的情况下,输出该目标提示信息。Optionally, the
可选地,该输出模块122,具体用于执行以下至少一项:在该目标提示信息包括第一提示信息的情况下,在第一目标界面的第二区域中显示第一提示信息,第一提示信息包括字符提示信息,第一目标界面包括以下至少一项:该电子设备的桌面、该电子设备的锁屏界面、该电子设备的熄屏界面、该电子设备的通知栏界面;在该目标提示信息包括第一提示信息的情况下,在第二目标界面上悬浮显示第一提示信息,第二目标界面包括以下至少一项:该桌面、该锁屏界面、该熄屏界面、第二应用程序的界面,第二应用程序为任意应用程序;在该目标提示信息包括第二提示信息的情况下,播放第二提示信息,第二提示信息包括以下至少一项:第一语音提示信息和响铃提示信息;在该目标提示信息包括震动提示信息的情况下,控制该电子设备震动。Optionally, the
可选地,在该目标提示信息包括第一提示信息的情况下,第一提示信息具体包括以下至少一项:第一应用程序的标识、第一消息所属的消息界面的标识;其中,该第二区域中还包括:至少一个第三提示信息,每个第三提示信息用于指示一个处于编辑状态的第二消息,该每个第三提示信息具体包括:对应的第二消息所属的应用程序的标识、该对应的第二消息所属的消息界面的标识;或者,第一提示信息显示在第一界面中,第一界面悬浮显示在第二目标界面上,第一界面中还包括该至少一个第三提示信息。Optionally, when the target prompt information includes first prompt information, the first prompt information specifically includes at least one of the following: an identifier of the first application, an identifier of the message interface to which the first message belongs; wherein the first prompt information The second area also includes: at least one third prompt information, each third prompt information is used to indicate a second message in an editing state, and each third prompt information specifically includes: the application to which the corresponding second message belongs The identifier of the corresponding second message and the identifier of the message interface to which the corresponding second message belongs; or, the first prompt information is displayed on the first interface, the first interface is suspended and displayed on the second target interface, and the first interface further includes the at least one The third prompt message.
可选地,第一提示信息还具体包括:第一消息处于编辑状态的时长;该每个第三提示信息还具体包括:该对应的第二消息处于编辑状态的时长。Optionally, the first prompt information further specifically includes: the duration that the first message is in the editing state; and each third prompt information further specifically includes: the duration that the corresponding second message is in the editing state.
可选地,该电子设备120还包括:接收模块123和执行模块124;该接收模块123,用于接收用户对第一提示信息的第一输入;该执行模块124,用于响应于该接收模块123接收的第一输入,执行与第一输入对应的目标操作,该目标操作包括以下至少一项:显示第一消息所属的消息界面,取消显示第一提示信息,取消显示第一消息。Optionally, the
可选地,在该目标提示信息包括第一提示信息的情况下,该输出模块122,具体用于按照第一预设显示效果,在该第二区域中显示第一提示信息;在该目标提示信息包括第一提示信息的情况下,该输出模块122,具体用于按照第二预设显示效果,在第二目标界面上悬浮显示第一提示信息;在该目标提示信息包括第二提示信息的情况下,该输出模块122,具体用于在该电子设备处于锁屏状态或熄屏状态的情况下,播放第二提示信息;在该目标提示信息包括震动提示信息的情况下,该输出模块122,具体用于在该电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动。Optionally, when the target prompt information includes the first prompt information, the
可选地,在该目标提示信息包括震动提示信息的情况下,该输出模块122,还用于在电子设备处于锁屏状态或熄屏状态的情况下,控制该电子设备震动之后,在控制该电子设备震动之后的第二预设时长内,未检测到该电子设备处理第一消息的情况下,播放第二语音提示信息。Optionally, when the target prompt information includes vibration prompt information, the
需要说明的是,如图10所示,电子设备120中一定包括的模块用实线框示意,如获取模块121和输出模块122;电子设备120中可以包括也可以不包括的模块用虚线框示意,如接收模块123和执行模块124。It should be noted that, as shown in FIG. 10 , the modules that must be included in the
本发明实施例提供的电子设备能够实现上述方法实施例中图2至图9任意之一所示的各个过程,为避免重复,此处不再赘述。The electronic device provided in the embodiment of the present invention can implement each process shown in any one of FIG. 2 to FIG. 9 in the foregoing method embodiment, which is not repeated here to avoid repetition.
本发明实施例提供了一种电子设备,电子设备可以通过获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。通过该方案,电子设备可以在获取的第一应用程序中的第一消息处于编辑状态的情况下,输出目标提示信息,以及时提示用户处理该消息,从而可以避免用户因忘记而忽略处理该处于编辑状态的消息,且可以提高人机交互性能。An embodiment of the present invention provides an electronic device. The electronic device can obtain a first message in a first application program; when the first message is in an editing state, output target prompt information; wherein the target prompt information is used for The user is prompted to process the first message, and the target prompt information is prompt information other than the prompt information displayed in the first area, which is the area corresponding to the first message in the message list interface of the first application. With this solution, the electronic device can output target prompt information when the acquired first message in the first application program is in the editing state, and prompt the user to process the message in time, so as to prevent the user from forgetting and ignoring the processing of the message. Edit status messages and improve human-computer interaction performance.
图11为实现本发明各个实施例的一种电子设备的硬件结构示意图。如图11所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. As shown in FIG. 11 , the
其中,处理器110,用于获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。Wherein, the
本发明实施例提供的电子设备,电子设备可以通过获取第一应用程序中的第一消息;在第一消息处于编辑状态的情况下,输出目标提示信息;其中,该目标提示信息用于提示用户处理第一消息,该目标提示信息为除显示在第一区域的提示信息之外的提示信息,该第一区域为第一应用程序的消息列表界面中、与第一消息对应的区域。通过该方案,电子设备可以在获取的第一应用程序中的第一消息处于编辑状态的情况下,输出目标提示信息,以及时提示用户处理该消息,从而可以避免用户因忘记而忽略处理该处于编辑状态的消息,且可以提高人机交互性能。In the electronic device provided by the embodiment of the present invention, the electronic device can obtain the first message in the first application program; when the first message is in the editing state, output target prompt information; wherein, the target prompt information is used to prompt the user The first message is processed, where the target prompt information is prompt information other than the prompt information displayed in the first area, where the first area is an area corresponding to the first message in the message list interface of the first application. With this solution, the electronic device can output target prompt information when the acquired first message in the first application program is in the editing state, and prompt the user to process the message in time, so as to prevent the user from forgetting and ignoring the processing of the message. Edit status messages and improve human-computer interaction performance.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图11中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the
可选地,本发明实施例还提供一种电子设备,可以包括上述如图11所示的处理器110,存储器109,以及存储在存储器109上并可在该处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例中图2至图9任意之一所示的信息提示方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。Optionally, an embodiment of the present invention further provides an electronic device, which may include the above-mentioned
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例中图2至图9任意之一所示的信息提示方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。其中,所述的计算机可读存储介质,如只读存储器(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. When the computer program is executed by a processor, the computer program shown in any one of FIG. 2 to FIG. 9 in the foregoing method embodiments is implemented. The various processes of the information prompting method can achieve the same technical effect, and in order to avoid repetition, they will not be 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 an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to 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 (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010066058.1A CN111314208A (en) | 2020-01-20 | 2020-01-20 | Information prompting method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010066058.1A CN111314208A (en) | 2020-01-20 | 2020-01-20 | Information prompting method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111314208A true CN111314208A (en) | 2020-06-19 |
Family
ID=71148365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010066058.1A Pending CN111314208A (en) | 2020-01-20 | 2020-01-20 | Information prompting method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111314208A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612395A (en) * | 2020-12-24 | 2021-04-06 | 维沃移动通信有限公司 | Message processing method and device |
CN113537938A (en) * | 2021-07-16 | 2021-10-22 | 维沃移动通信(杭州)有限公司 | To-do event processing method and device |
CN115695354A (en) * | 2022-10-28 | 2023-02-03 | 北京字跳网络技术有限公司 | Message processing method, message processing device, electronic equipment, storage medium and program product |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080189620A1 (en) * | 2007-02-07 | 2008-08-07 | Yahoo! Inc. | Templates for themed instant messages |
US20130110940A1 (en) * | 2011-10-27 | 2013-05-02 | Research In Motion Limited | Setting Reminders From An Instant Messaging Application |
CN104135564A (en) * | 2014-07-14 | 2014-11-05 | 掌赢信息科技(上海)有限公司 | A switching method, a displaying interface and a switching device for multimode input of an instant messaging program |
CN105637477A (en) * | 2013-03-14 | 2016-06-01 | 微软技术许可有限责任公司 | Reminder views for facilitating draft reminders |
CN106130870A (en) * | 2016-06-02 | 2016-11-16 | 重庆扑希计算机系统有限公司 | Emergency based reminding method and system for prompting thereof |
CN106412282A (en) * | 2016-09-26 | 2017-02-15 | 维沃移动通信有限公司 | Real-time message voice prompting method and mobile terminal |
CN107257983A (en) * | 2015-02-23 | 2017-10-17 | 谷歌公司 | Selectivity to complete to be interrupted task is reminded |
CN108632130A (en) * | 2017-03-16 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Method, apparatus, electronic equipment and the storage medium of multiple terminals chat input transfer |
WO2018234706A1 (en) * | 2017-06-23 | 2018-12-27 | Orange | Method and device for processing text messages received by a messaging application executed in a communication terminal of a user |
CN110069306A (en) * | 2019-03-29 | 2019-07-30 | 维沃移动通信有限公司 | A kind of message display method and terminal device |
-
2020
- 2020-01-20 CN CN202010066058.1A patent/CN111314208A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080189620A1 (en) * | 2007-02-07 | 2008-08-07 | Yahoo! Inc. | Templates for themed instant messages |
US20130110940A1 (en) * | 2011-10-27 | 2013-05-02 | Research In Motion Limited | Setting Reminders From An Instant Messaging Application |
CN105637477A (en) * | 2013-03-14 | 2016-06-01 | 微软技术许可有限责任公司 | Reminder views for facilitating draft reminders |
CN104135564A (en) * | 2014-07-14 | 2014-11-05 | 掌赢信息科技(上海)有限公司 | A switching method, a displaying interface and a switching device for multimode input of an instant messaging program |
CN107257983A (en) * | 2015-02-23 | 2017-10-17 | 谷歌公司 | Selectivity to complete to be interrupted task is reminded |
CN106130870A (en) * | 2016-06-02 | 2016-11-16 | 重庆扑希计算机系统有限公司 | Emergency based reminding method and system for prompting thereof |
CN106412282A (en) * | 2016-09-26 | 2017-02-15 | 维沃移动通信有限公司 | Real-time message voice prompting method and mobile terminal |
CN108632130A (en) * | 2017-03-16 | 2018-10-09 | 北京京东尚科信息技术有限公司 | Method, apparatus, electronic equipment and the storage medium of multiple terminals chat input transfer |
WO2018234706A1 (en) * | 2017-06-23 | 2018-12-27 | Orange | Method and device for processing text messages received by a messaging application executed in a communication terminal of a user |
CN110069306A (en) * | 2019-03-29 | 2019-07-30 | 维沃移动通信有限公司 | A kind of message display method and terminal device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612395A (en) * | 2020-12-24 | 2021-04-06 | 维沃移动通信有限公司 | Message processing method and device |
CN113537938A (en) * | 2021-07-16 | 2021-10-22 | 维沃移动通信(杭州)有限公司 | To-do event processing method and device |
CN115695354A (en) * | 2022-10-28 | 2023-02-03 | 北京字跳网络技术有限公司 | Message processing method, message processing device, electronic equipment, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110752980B (en) | Message sending method and electronic equipment | |
WO2020199758A1 (en) | Message display method and terminal device | |
WO2021104365A1 (en) | Object sharing method and electronic device | |
US11575636B2 (en) | Method of managing processing progress of a message in a group communication interface and terminal | |
CN108958865B (en) | Corner mark management method and mobile terminal | |
CN110851051A (en) | Object sharing method and electronic equipment | |
CN111124245B (en) | A control method and electronic device | |
CN110750188A (en) | A message display method and electronic device | |
CN111596982A (en) | Display method, display device and electronic equipment | |
CN110855830A (en) | Information processing method and electronic equipment | |
CN110888707A (en) | Message sending method and electronic equipment | |
CN109871164B (en) | Message sending method and terminal equipment | |
WO2020238449A1 (en) | Notification message processing method and terminal | |
CN110647266A (en) | Information display method and terminal device | |
CN109002243A (en) | A kind of image parameter adjusting method and terminal device | |
WO2020215932A1 (en) | Method for displaying unread message and terminal device | |
CN110909180B (en) | Media file processing method and electronic equipment | |
CN111443844A (en) | Information processing method and electronic equipment | |
CN110855549A (en) | Message display method and terminal equipment | |
CN110046013A (en) | A kind of interface display method and terminal device | |
CN109976640A (en) | A kind of content copying methods and terminal | |
WO2020215982A1 (en) | Desktop icon management method and terminal device | |
WO2021057301A1 (en) | File control method and electronic device | |
CN109240783A (en) | A kind of interface display method and terminal device | |
CN111399715A (en) | Interface display method and electronic device |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200619 |