[go: up one dir, main page]

CN104572459A - Message notifying method and device - Google Patents

Message notifying method and device Download PDF

Info

Publication number
CN104572459A
CN104572459A CN201410849742.1A CN201410849742A CN104572459A CN 104572459 A CN104572459 A CN 104572459A CN 201410849742 A CN201410849742 A CN 201410849742A CN 104572459 A CN104572459 A CN 104572459A
Authority
CN
China
Prior art keywords
state
application program
target
target application
monitoring
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.)
Granted
Application number
CN201410849742.1A
Other languages
Chinese (zh)
Other versions
CN104572459B (en
Inventor
罗吉喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410849742.1A priority Critical patent/CN104572459B/en
Publication of CN104572459A publication Critical patent/CN104572459A/en
Application granted granted Critical
Publication of CN104572459B publication Critical patent/CN104572459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

本发明提供了一种数据处理方法和装置,所述的方法包括:检测移动终端中目标应用程序的状态,并基于所述状态对目标应用程序进行监控;当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;在所述移动终端中通过显示所述提醒内容对用户进行提醒。提醒方式更加灵活,基于应用程序状态直接提醒,还减少了按照时间提醒后再开启应用程序的时间。

The present invention provides a data processing method and device. The method includes: detecting the state of a target application program in a mobile terminal, and monitoring the target application program based on the state; when it is detected that the target application program meets the predetermined When the status condition is set, obtain the reminder content corresponding to the preset status condition; remind the user by displaying the reminder content in the mobile terminal. The reminder method is more flexible, and the reminder is based on the status of the application directly, and it also reduces the time to start the application after the reminder according to the time.

Description

一种信息提醒方法和装置An information reminder method and device

技术领域technical field

本发明涉及数据处理技术领域,特别是涉及一种数据处理方法和一种数据处理装置。The present invention relates to the technical field of data processing, in particular to a data processing method and a data processing device.

背景技术Background technique

随着移动终端技术的发展,越来越多的用户使用智能移动终端。移动终端可以安装各种应用程序(Application,APP)便于用户使用,如播放器类应用程序、浏览器类应用程序、文本类应用程序以及即时通讯类应用程序,从而用户可以通过上述应用程序在移动终端获取各种所需信息,执行各种所需操作。With the development of mobile terminal technology, more and more users use smart mobile terminals. Various applications (Applications, APPs) can be installed on the mobile terminal for users to use, such as player applications, browser applications, text applications, and instant messaging applications, so that users can use the above applications on mobile The terminal obtains various required information and performs various required operations.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的数据处理方法和相应的数据处理装置。In view of the above problems, the present invention is proposed to provide a data processing method and a corresponding data processing device that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种信息提醒方法,包括:检测移动终端中目标应用程序的状态,并基于所述状态对目标应用程序进行监控;当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;在所述移动终端中通过显示所述提醒内容对用户进行提醒。According to one aspect of the present invention, an information reminder method is provided, including: detecting the state of a target application program in a mobile terminal, and monitoring the target application program based on the state; when it is detected that the target application program meets the preset When the status condition is met, obtain the reminder content corresponding to the preset status condition; remind the user by displaying the reminder content in the mobile terminal.

可选的,检测移动终端中目标应用程序的状态,包括:获取所述移动终端中运行的应用程序;将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。Optionally, detecting the state of the target application program in the mobile terminal includes: obtaining the application program running in the mobile terminal; comparing the running application program with the target application program, and determining the target application program according to the comparison result The application is either not started or running.

可选的,所述预置状态条件包括第一状态条件,基于所述状态对目标应用程序进行监控,包括:对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。Optionally, the preset status conditions include a first status condition, and monitoring the target application program based on the status includes: monitoring the application program in the mobile terminal; when the status of the monitored application program changes to In the target state, detecting whether the application program is a target application program; when detecting that the application program whose state changes to the target state is a target application program, determining that the target application program satisfies the first state condition.

可选的,所述预置状态条件包括第二状态条件,基于所述状态对目标应用程序进行监控,包括:对处于目标状态的目标应用程序的参数进行监控;当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。Optionally, the preset status conditions include a second status condition, and monitoring the target application program based on the status includes: monitoring the parameters of the target application program in the target status; when monitoring the target application program When the preset parameters appear, it is determined that the target application program satisfies the second state condition.

可选的,所述预置状态条件包括第三状态条件,基于所述状态对目标应用程序进行监控,包括:当目标应用程序转变为目标状态时启动计时器;通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。Optionally, the preset state conditions include a third state condition, and monitoring the target application program based on the state includes: starting a timer when the target application program changes to the target state; The state duration of the target application is monitored; when it is monitored that the state duration of the target application reaches a time threshold, it is determined that the target application meets a third state condition.

可选的,所述对处于目标状态的目标应用程序的参数进行监控,包括:通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。Optionally, the monitoring of the parameters of the target application in the target state includes: performing a callback operation on the target application in the target state through an operation interface; detecting whether the callback field obtained by the callback operation is a preset parameter .

可选的,所述对移动终端中目标应用程序进行监控之前,还包括:获取目标应用程序的应用标识;配置目标应用程序的目标状态,目标状态下的预置参数,或目标状态持续的时间阈值,生成监控信息;将所述应用标识和监控信息存储到监控列表中。Optionally, before the monitoring of the target application in the mobile terminal, it also includes: obtaining the application identification of the target application; configuring the target state of the target application, the preset parameters in the target state, or the duration of the target state Threshold, generating monitoring information; storing the application identification and monitoring information in a monitoring list.

根据本发明的另一个方面,公开了一种信息提醒装置,包括:状态检测模块,用于检测移动终端中目标应用程序的状态;应用监控模块,用于基于所述状态对目标应用程序进行监控;获取模块,用于当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;提醒模块,用于在所述移动终端中通过显示所述提醒内容对用户进行提醒。According to another aspect of the present invention, an information reminding device is disclosed, including: a state detection module, configured to detect the state of a target application program in a mobile terminal; an application monitoring module, configured to monitor the target application program based on the state An acquisition module, configured to acquire the reminder content corresponding to the preset status condition when it is detected that the target application meets the preset status condition; a reminder module, used to display the reminder in the mobile terminal The content reminds the user.

可选的,所述状态检测模块,包括:获取子模块,用于获取所述移动终端中运行的应用程序;比对子模块,用于将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。Optionally, the state detection module includes: an acquisition submodule, configured to acquire an application running in the mobile terminal; a comparison submodule, used to compare the running application with a target application , according to the comparison result, it is determined that the target application program is in a non-started state or a running state.

可选的,所述预置状态条件包括第一状态条件,所述应用监控模块,包括:第一监控子模块,用于对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。Optionally, the preset state condition includes a first state condition, and the application monitoring module includes: a first monitoring submodule, configured to monitor the application program in the mobile terminal; When the state changes to the target state, it is detected whether the application program is the target application program; when it is detected that the application program whose state changes to the target state is the target application program, it is determined that the target application program satisfies the first state condition.

可选的,所述预置状态条件包括第二状态条件,所述应用监控模块,包括:第二监控子模块,用于对处于目标状态的目标应用程序的参数进行监控;当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。Optionally, the preset state condition includes a second state condition, and the application monitoring module includes: a second monitoring submodule, configured to monitor the parameters of the target application program in the target state; when monitoring the When the preset parameter appears in the target application program, it is determined that the target application program satisfies the second state condition.

可选的,所述预置状态条件包括第三状态条件,所述应用监控模块,包括:第三监控子模块,用于当目标应用程序转变为目标状态时启动计时器;通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。Optionally, the preset state conditions include a third state condition, and the application monitoring module includes: a third monitoring submodule, configured to start a timer when the target application program changes to the target state; The state duration of the target application program in the target state is monitored; when the monitored state duration of the target application program reaches a time threshold, it is determined that the target application program meets the third state condition.

可选的,第二监控子模块,用于通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。Optionally, the second monitoring submodule is configured to perform a callback operation on the target application program in the target state through the operation interface; and detect whether the callback field acquired by the callback operation is a preset parameter.

还包括:提醒设置模块,用于获取目标应用程序的应用标识;配置与所述目标应用程序的预置状态条件相关的监控信息和提醒信息,所述监控信息包括目标状态,目标状态下的预置参数,或目标状态持续的时间阈值;将所述应用标识、监控信息和提醒信息存储到监控列表中。It also includes: a reminder setting module, which is used to obtain the application identification of the target application program; configure monitoring information and reminder information related to the preset state conditions of the target application program, and the monitoring information includes the target state, the preset status under the target state Setting parameters, or the duration threshold of the target state; storing the application identification, monitoring information and reminder information in the monitoring list.

区别于按照时间为用户显示编辑的提醒内容的提醒方式,本实施例基于对移动终端中安装的应用程序进行提醒,即基于事实时检测的目标应用程序进行监控,在目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容,对提醒内容进行显示以提醒用户。提醒方式更加灵活,基于应用程序状态直接提醒,还减少了按照时间提醒后再开启应用程序的时间。Different from the reminder method that displays the edited reminder content for the user according to the time, this embodiment is based on reminding the application programs installed in the mobile terminal, that is, monitoring the target application program based on the fact-time detection, and when the target application program meets the preset state condition, acquire the reminder content corresponding to the preset state condition, and display the reminder content to remind the user. The reminder method is more flexible, directly reminded based on the status of the application, and also reduces the time to open the application after the reminder according to the time.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明一个实施例的一种信息提醒方法实施例的步骤流程图;FIG. 1 shows a flow chart of the steps of an embodiment of an information reminder method according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的一种信息提醒方法可选实施例的步骤流程图;FIG. 2 shows a flow chart of steps in an optional embodiment of an information reminder method according to an embodiment of the present invention;

图3示出了根据本发明一个实施例的一种信息提醒装置实施例的结构框图;Fig. 3 shows a structural block diagram of an embodiment of an information reminding device according to an embodiment of the present invention;

图4示出了根据本发明一个实施例的一种信息提醒装置实施例的可选结构框图;Fig. 4 shows an optional structural block diagram of an embodiment of an information reminding device according to an embodiment of the present invention;

图5示出了根据本发明一个实施例的信息提醒装置实施例中状态检测模块的结构框图;Fig. 5 shows a structural block diagram of a state detection module in an embodiment of an information reminding device according to an embodiment of the present invention;

图6示出了根据本发明一个实施例的信息提醒装置实施例中应用监控模块的结构框图。Fig. 6 shows a structural block diagram of an application monitoring module in an embodiment of an information reminding device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

实施例一Embodiment one

参照图1,示出了根据本发明一个实施例的一种信息提醒方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , it shows a flow chart of the steps of an embodiment of an information reminder method according to an embodiment of the present invention, which may specifically include the following steps:

步骤102,检测移动终端中目标应用程序的状态,并基于所述状态对目标应用程序进行监控。Step 102, detecting the status of the target application program in the mobile terminal, and monitoring the target application program based on the status.

移动终端中可以安装各种类型的应用程序,用户在有不同需求时会开启不同的应用程序。用户可以在移动终端中启动应用程序设置提醒事件,但是这类事件通常都是基于时间进行提醒的,在达到相应的时间点时提醒用户该事件。移动终端中每个应用程序均是各自运行执行与其功能相关的操作,但是用户有时所要执行的事件是基于应用程序的,而并不直接与时间相关,此时无法进行提醒。Various types of application programs can be installed in the mobile terminal, and users will open different application programs when they have different needs. A user can start an application program in a mobile terminal to set a reminder event, but such events are usually reminded based on time, and the user is reminded of the event when a corresponding time point is reached. Each application program in the mobile terminal runs independently to perform operations related to its functions, but the event that the user sometimes wants to perform is based on the application program and is not directly related to time, so it cannot be reminded at this time.

因此本实施例中,用户可以配置监控事件,用于对应用程序进行监控,该监控事件中包括被监控的应用程序即目标应用程序,以及进行提醒所要满足的预置状态条件。要实时检测移动终端中目标应用程序的状态,由于目标应用程序处于不同状态时对应的监控事件不同,因此要在获取目标应用程序所处状态的情况下,基于该状态对目标应用程序进行监控,如监控目标应用程序状态的变化,目标应用程序的参数等,进而确定所述目标应用程序是否满足了监控事件中的预置监控条件。Therefore, in this embodiment, the user can configure a monitoring event for monitoring the application program, and the monitoring event includes the monitored application program, that is, the target application program, and preset status conditions to be met for the reminder. To detect the state of the target application in the mobile terminal in real time, since the corresponding monitoring events are different when the target application is in different states, it is necessary to monitor the target application based on the state when the state of the target application is obtained, For example, monitoring the change of the state of the target application program, the parameters of the target application program, etc., and then determining whether the target application program satisfies the preset monitoring conditions in the monitoring event.

步骤104,当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容。Step 104, when it is detected that the target application program satisfies a preset state condition, acquire reminder content corresponding to the preset state condition.

当检测到所述目标应用程序满足预置状态条件时,此时基于目标应用程序进行提醒,因此要获取与所述预置状态条件对应的提醒内容,例如开启应用程序时提醒用户执行某些操作,如提醒用户回复某个指定邮件。When it is detected that the target application meets the preset status conditions, a reminder is based on the target application at this time, so the reminder content corresponding to the preset status conditions must be obtained, for example, reminding the user to perform certain operations when the application is opened , such as reminding the user to reply to a specified email.

步骤106,在所述移动终端中通过显示所述提醒内容对用户进行提醒。Step 106, reminding the user by displaying the reminding content in the mobile terminal.

然后在移动终端中显示该提醒内容,例如可以在应用程序的界面中显示提醒内容,又如可以在移动终端的悬浮式顶层菜单上显示提醒内容,从而对用户进行提醒。Then display the reminder content in the mobile terminal, for example, the reminder content can be displayed in the interface of the application program, and the reminder content can be displayed on the floating top menu of the mobile terminal, so as to remind the user.

综上所述,区别于按照时间为用户显示编辑的提醒内容的提醒方式,本实施例基于对移动终端中安装的应用程序进行提醒,即基于事实时检测的目标应用程序进行监控,在目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容,对提醒内容进行显示以提醒用户。提醒方式更加灵活,基于应用程序状态直接提醒还减少了按照时间提醒后再开启应用程序的时间。To sum up, different from the reminder method that displays the edited reminder content for the user according to time, this embodiment is based on reminding the application program installed in the mobile terminal, that is, monitoring the target application program based on the fact-time detection. When the program satisfies the preset status condition, it acquires the reminder content corresponding to the preset status condition, and displays the reminder content to remind the user. The reminder method is more flexible, and the direct reminder based on the status of the application also reduces the time to start the application after the reminder according to the time.

实施例二Embodiment two

在上述实施例的基础上,本实施例详细论述基于应用程序的信息提醒步骤。On the basis of the above embodiments, this embodiment discusses in detail the steps of information reminder based on application programs.

参照图2,示出了根据本发明一个实施例的一种信息提醒方法可选实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of steps in an optional embodiment of an information reminder method according to an embodiment of the present invention, which may specifically include the following steps:

步骤202,获取目标应用程序的应用标识。Step 202, acquire the application identification of the target application program.

步骤204,配置目标应用程序的目标状态,目标状态下的预置参数,或目标状态持续的时间阈值,生成监控信息。Step 204, configure the target state of the target application, the preset parameters in the target state, or the duration threshold of the target state, and generate monitoring information.

步骤206,将所述应用标识和监控信息存储到监控列表中。Step 206, storing the application identification and monitoring information in a monitoring list.

本实施例中,移动终端中可以安装多种不同的应用程序,而用户对不同应用程序所要监控和提醒的内容也不同,因此可以预先设置监控相关信息。首先确定要监控的目标应用程序,即获取目标应用程序的应用标识,该应用标识用于唯一表示一个应用程序。然后确定该目标应用程序的监控信息,可以获取配置的以下至少一种监控信息:In this embodiment, a variety of different application programs can be installed in the mobile terminal, and the content to be monitored and reminded by the user for different application programs is also different, so monitoring related information can be preset. First, the target application program to be monitored is determined, that is, the application ID of the target application program is acquired, and the application ID is used to uniquely represent an application program. Then determine the monitoring information of the target application, and at least one of the following configured monitoring information can be obtained:

1)目标应用程序的目标状态,即要监控的状态,可以是应用程序转变成的状态,也可以是在该状态下对应用程序的进一步监控。1) The target state of the target application program, that is, the state to be monitored, can be the state the application program transitions into, or it can be the further monitoring of the application program in this state.

2)目标状态下的预置参数,即处于目标状态下的应用程序所要监控的参数信息。2) The preset parameters in the target state, that is, the parameter information to be monitored by the application program in the target state.

3)目标状态持续的时间阈值,即应用程序处于目标状态下所要监控的持续时间。3) The duration threshold of the target state, that is, the duration to be monitored when the application program is in the target state.

由于移动终端中要监控的目标应用程序可能有多个,因此本实施例还配置了监控列表,用于存储要监控的目标应用程序及其监控信息,要将上述配置的应用标识和监控信息作为一条记录添加到监控列表中,从而完成对要监控目标应用程序的配置。Since there may be multiple target application programs to be monitored in the mobile terminal, this embodiment also configures a monitoring list for storing the target application programs to be monitored and monitoring information thereof, and the application identification and monitoring information of the above configuration shall be used as A record is added to the monitoring list, thus completing the configuration of the target application to be monitored.

本实施例中,同一应用程序可能存在多种监控信息,而不同监控信息对应不同提醒内容,因此,该监控列表中还可以存储与各监控信息对应的提醒内容,从而在检测到监控列表中的监控信息后获取相应的提醒内容。In this embodiment, there may be multiple kinds of monitoring information in the same application, and different monitoring information corresponds to different reminder contents. Therefore, the reminder content corresponding to each monitoring information can also be stored in the monitoring list, so that when the monitoring information in the monitoring list is detected Obtain corresponding reminder content after monitoring information.

步骤208,获取所述移动终端中运行的应用程序。Step 208, acquiring the application programs running in the mobile terminal.

步骤210,将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。Step 210, comparing the running application program with the target application program, and determining that the target application program is in a non-started state or a running state according to the comparison result.

获取移动终端中运行的应用程序,然后将运行的应用程序与监控列表中的目标应用程序进行比对,确定每个目标应用程序所处的状态,该状态包括未启动状态或运行状态。Obtain the application program running in the mobile terminal, then compare the running application program with the target application program in the monitoring list, and determine the state of each target application program, and the state includes the unstarted state or the running state.

步骤212,对目标应用程序进行监控。Step 212, monitor the target application program.

本实施例中,基于状态对目标应用程序进行监控时可以监控目标应用程序是否满足预置状态条件。其中,所述预置状态条件包括以下至少一种:第一状态条件、第二状态条件和第三状态条件。In this embodiment, when monitoring the target application program based on the state, it may be monitored whether the target application program satisfies a preset state condition. Wherein, the preset state conditions include at least one of the following: a first state condition, a second state condition, and a third state condition.

其中,第一状态条件用于为基于应用程序状态转变的监控提供依据;第二状态条件用于为基于目标应用程序的参数的监控提供依据;第三状态条件用于为基于应用程序状态转变持续时间的监控提供依据。Among them, the first state condition is used to provide a basis for monitoring based on the application state transition; the second state condition is used to provide a basis for monitoring based on the parameters of the target application program; Time monitoring provides a basis.

从而对目标应用程序进行监控,包括以下至少一项:The target application is thereby monitored, including at least one of the following:

1)对所述移动终端中的应用程序进行监控,即对移动终端中已安装应用程序的状态转变进行监控,如监控由未启动状态转变为运行状态的应用程序,监控由运行状态转变为未启动状态的应用程序等。1) Monitoring the application program in the mobile terminal, that is, monitoring the state transition of the installed application program in the mobile terminal, such as monitoring an application program that changes from a non-started state to a running state, and monitoring from a running state to a non-starting state. Startup state of the application, etc.

2)对处于目标状态的目标应用程序的参数进行监控,即对处于已运行状态的目标应用程序,对该目标应用程序所出现的参数进行监控。2) Monitoring the parameters of the target application program in the target state, that is, monitoring the parameters of the target application program in the running state.

3)对于目标应用程序的状态转变为目标状态的持续时间的监控,即对于发生状态转变的目标应用程序,监控其状态转变后所持续的时间。3) Monitoring the duration of the state transition of the target application program to the target state, that is, monitoring the duration of the state transition of the target application program when the state transition occurs.

从而通过上述基于状态对目标应用程序进行监控,后续对用户进行提醒。Therefore, the target application program is monitored based on the above status, and the user is subsequently reminded.

步骤214,监控应用程序的状态是否发生转变。Step 214, monitor whether the state of the application program changes.

针对状态转换类目标应用程序的监控,首先要监控终端中应用程序的状态是否发生转变,即是否转变为目标状态,如由未启动状态转变为运行状态,或由运行状态转变为未启动状态。For the monitoring of state-transition target applications, it is first necessary to monitor whether the state of the application in the terminal changes, that is, whether it changes to the target state, such as changing from a non-started state to a running state, or from a running state to a non-started state.

若是,即应用程序的状态发生转变,则执行步骤216;若否,即应用程序的状态未发生转变,继续进行监控。If yes, that is, the state of the application program changes, execute step 216; if not, that is, the state of the application program does not change, and continue monitoring.

步骤216,检测所述应用程序是否为转变成目标状态的目标应用程序。Step 216, detecting whether the application program is a target application program transitioning to a target state.

当监控到应用程序的状态发生转变时,将转变成的状态作为目标状态,检测所述应用程序是否为目标应用程序,即通过监控列表查看该应用程序为目标应用程序时,监控信息是否是转变成该目标状态。When the status of the application program is monitored to change, the changed state is used as the target state to detect whether the application program is the target application program, that is, when the application program is viewed as the target application program through the monitoring list, whether the monitoring information is a transition into the target state.

若是,则执行步骤218;如否,则继续监控。If yes, execute step 218; if no, continue monitoring.

步骤218,确定所述目标应用程序满足第一状态条件。Step 218, determine that the target application meets the first state condition.

当目标应用程序转变为目标状态时,确定所述目标应用程序满足第一状态条件。When the target application transitions to the target state, it is determined that the target application satisfies a first state condition.

例如,用户要在开启即时通讯客户端时提醒与用户A联系,则终端检测到即时通讯客户启动时,确认其满足第一状态条件,需要进行提醒。For example, when the user wants to remind to contact user A when starting the instant messaging client, the terminal detects that the instant messaging client is started, confirms that it meets the first state condition, and needs to be reminded.

步骤220,监控所述目标应用程序是否出现预置参数。Step 220, monitor whether the target application program has preset parameters.

对于处于目标状态的目标应用程序,依据监控列表中该目标应用程序的监控信息,检测通过其操作接口获取的回调字段是否为预置参数。For the target application program in the target state, according to the monitoring information of the target application program in the monitoring list, it is detected whether the callback field obtained through its operation interface is a preset parameter.

若是,即监控到所述目标应用程序中出现预置参数,则执行步骤222;若否,即监控所述目标应用程序未出现预置参数,则继续监控。If yes, that is to say, it is monitored that the preset parameter appears in the target application program, then execute step 222; if not, that is, the monitored target application program does not have the preset parameter, then continue monitoring.

步骤222,确定所述目标应用程序满足第二状态条件。Step 222, determine that the target application meets the second state condition.

本发明一个可选实施例中,所述对处于目标状态的目标应用程序的参数进行监控,包括:通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。In an optional embodiment of the present invention, the monitoring of the parameters of the target application program in the target state includes: performing a callback operation on the target application program in the target state through an operation interface; detecting the callback field obtained by the callback operation Whether it is a preset parameter.

对处于目标状态的目标应用程序,可以通过操作接口API(ApplicationProgramming Interface)向该目标应用程序执行回调操作,通过回调操作获取相应的回调字段,然后检测该回调字段是否为预置参数。当通过操作接口获取处于目标状态的目标应用程序的回调字段,与监控列表中该目标应用程序的监控信息中存储的目标状态下的预置参数相同时,确认目标应用程序满足第二状态条件。For the target application in the target state, you can execute a callback operation to the target application through the operation interface API (Application Programming Interface), obtain the corresponding callback field through the callback operation, and then check whether the callback field is a preset parameter. When the callback field of the target application in the target state obtained through the operation interface is the same as the preset parameters in the target state stored in the monitoring information of the target application in the monitoring list, it is confirmed that the target application meets the second state condition.

本实施例中,预先在监控列表中记录目标应用程序的应用标识ID(Identity),并且记录监控信息以及该监控信息对应的提醒内容。例如,检测到天气预报有降雪时提醒。从而通过API向该目标应用程序的相应字段发起回调,对该字段的内容进行检测,在确定该字段的内容与监控列表中记录预置参数相同时确认需要对显示基于应用程序的提醒。In this embodiment, the application identification ID (Identity) of the target application is pre-recorded in the monitoring list, and the monitoring information and the reminder content corresponding to the monitoring information are recorded. For example, alerts when snowfall is detected in the forecast. Therefore, a callback is initiated to the corresponding field of the target application program through the API, the content of the field is detected, and when the content of the field is determined to be the same as the preset parameter recorded in the monitoring list, it is confirmed that a reminder based on the application needs to be displayed.

步骤224,当目标应用程序转变为目标状态时启动计时器。Step 224, start a timer when the target application transitions to the target state.

步骤226,计时器的计时时间是否达到时间阈值。Step 226, whether the time counted by the timer reaches the time threshold.

监控列表中有些目标应用程序是在其转变为目标状态后持续一段时间后进行提醒,若启动小说阅读类应用程序1小时后提醒用户。则监控到目标应用程序转变为目标状态时启动计时器开始计时,从而通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控,即检测计时器的计时时间是否达到时间阈值。Some target applications in the monitoring list will be reminded after a period of time after they change to the target state. If the novel reading application is started, the user will be reminded 1 hour later. Then, when it is monitored that the target application program changes to the target state, the timer is started to start counting, so as to monitor the state duration of the target application program in the target state through the timer, that is, to detect whether the timing time of the timer reaches the time threshold.

若是,即计时器的计时时间达到时间阈值,则执行步骤228,否则继续检测。If yes, that is, the counting time of the timer reaches the time threshold, then perform step 228, otherwise continue to detect.

步骤228,确定所述目标应用程序满足第三状态条件。Step 228, determine that the target application meets the third state condition.

当监控到所述目标应用程序的状态持续时间达到时间阈值,即计时器的计时时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。When it is monitored that the state duration of the target application program reaches the time threshold, that is, when the counting time of the timer reaches the time threshold, it is determined that the target application program meets the third state condition.

如上例,检测到小说阅读类应用程序启动时,开启计时器开始计时,当计时时间达到1小时时,确认满足第三状态条件,需要进行提醒。As in the above example, when it is detected that the novel reading application is started, the timer is turned on to start timing, and when the timing reaches 1 hour, it is confirmed that the third state condition is met, and a reminder is required.

步骤230,获取与所述预置状态条件对应的提醒内容。Step 230, acquiring reminder content corresponding to the preset state condition.

步骤232,在所述移动终端中通过显示所述提醒内容对用户进行提醒。Step 232, reminding the user by displaying the reminding content in the mobile terminal.

在监控到目标应用程序满足预置状态条件时,可以对用户进行提醒,则获取该目标应用程序在该预置状态条件下的提醒内容,即获取提醒列表中该目标应用程序所满足的监控信息对应的提醒内容。When it is monitored that the target application meets the preset state conditions, the user can be reminded, and the reminder content of the target application under the preset state conditions is obtained, that is, the monitoring information satisfied by the target application in the reminder list is obtained. The corresponding reminder content.

然后在移动终端中显示该提醒内容,可以直接在该目标应用程序的界面上显示提醒内容,或者在移动终端的悬浮式顶层菜单上显示提醒内容,从而对用户进行提醒。Then display the reminding content in the mobile terminal, the reminding content can be displayed directly on the interface of the target application program, or the reminding content can be displayed on the floating top-level menu of the mobile terminal, thereby reminding the user.

通过上述步骤,本实施例可以在各种应用场景下对用户进行提醒,例如对如下应用场景进行提醒。Through the above steps, this embodiment can remind the user in various application scenarios, for example, remind the following application scenarios.

应用场景一,打开目标应用程序时,给用户显示某提示。如用户想在下次上即时通讯客户端时联系好友B,即可在其启动即时通讯客户端时,检测到该事件,然后显示提示与好友B联系Application Scenario 1: When the target application is opened, a prompt is displayed to the user. If the user wants to contact friend B the next time he logs into the instant messaging client, the event will be detected when the user starts the instant messaging client, and then a prompt will be displayed to contact friend B

应用场景二,当目标应用程序中预置参数改变时,给用户提示某信息。如用户配置在预报第一场下雪时,接到提示,则将相关应用标识、监控信息和提醒内容添加到监控列表中。则可以通过API向该应用程序的相应字段发起回调,检测该字段为特定内容且当被回调时,显示对应的提醒内容。Application scenario 2, when the preset parameters in the target application program change, prompt the user with certain information. If the user is configured to receive a prompt when the first snowfall is forecast, the relevant application identification, monitoring information and reminder content will be added to the monitoring list. Then you can initiate a callback to the corresponding field of the application program through the API, detect that the field is a specific content, and when the callback is called back, display the corresponding reminder content.

应用场景三,运行目标应用程序一段时间后显示提示信息,如用户配置每次看半小时微信即提醒,则通过监控列表中配置的监控信息在该微信的应用程序启动时开启计时器,从而当计时器的计时时间达到半小时,获取提醒内容进行提醒。Application Scenario 3: After running the target application for a period of time, a prompt message will be displayed. If the user configures to be reminded every time he or she watches WeChat for half an hour, then the timer will be started when the WeChat application is started based on the monitoring information configured in the monitoring list. When the timing time of the timer reaches half an hour, the reminder content is obtained for reminder.

综上,本实施例基于移动终端中的应用程序对用户进行提醒,从而便于用户在使用不同应用程序时及时获取与该应用程序相关的提醒内容,简化了提醒流程,提高效率。To sum up, this embodiment reminds the user based on the application program in the mobile terminal, so that the user can obtain the reminder content related to the application program in time when using different application programs, simplifies the reminder process, and improves efficiency.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action order, because according to the embodiment of the present invention , certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

实施例三Embodiment three

在上述实施例的基础上,本实施例还提供了一种信息提醒装置。On the basis of the above embodiments, this embodiment also provides an information reminding device.

参照图3,示出了根据本发明一个实施例的一种信息提醒装置实施例的结构框图,具体可以包括如下模块:Referring to Fig. 3, it shows a structural block diagram of an embodiment of an information reminding device according to an embodiment of the present invention, which may specifically include the following modules:

状态检测模块302,用于检测移动终端中目标应用程序的状态。The state detection module 302 is configured to detect the state of the target application program in the mobile terminal.

应用监控模块304,用于基于所述状态对目标应用程序进行监控。An application monitoring module 304, configured to monitor the target application based on the state.

获取模块306,用于当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;An acquisition module 306, configured to acquire reminder content corresponding to the preset status condition when it is detected that the target application program meets the preset status condition;

提醒模块308,用于在所述移动终端中通过显示所述提醒内容对用户进行提醒。The reminder module 308 is configured to remind the user by displaying the reminder content in the mobile terminal.

综上所述,区别于按照时间为用户显示编辑的提醒内容的提醒方式,本实施例基于对移动终端中安装的应用程序进行提醒,即基于事实时检测的目标应用程序进行监控,在目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容,对提醒内容进行显示以提醒用户。提醒方式更加灵活,基于应用程序状态直接提醒还减少了按照时间提醒后再开启应用程序的时间。To sum up, different from the reminder method that displays the edited reminder content for the user according to time, this embodiment is based on reminding the application program installed in the mobile terminal, that is, monitoring the target application program based on the fact-time detection. When the program satisfies the preset status condition, it acquires the reminder content corresponding to the preset status condition, and displays the reminder content to remind the user. The reminder method is more flexible, and the direct reminder based on the status of the application also reduces the time to start the application after the reminder according to the time.

参照图4,示出了根据本发明一个实施例的一种信息提醒装置实施例的可选结构框图。Referring to FIG. 4 , it shows an optional structural block diagram of an embodiment of an information reminder device according to an embodiment of the present invention.

参照图5,示出了根据本发明一个实施例的信息提醒装置实施例中状态检测模块的结构框图。Referring to FIG. 5 , it shows a structural block diagram of a state detection module in an embodiment of an information reminding device according to an embodiment of the present invention.

参照图6,示出了根据本发明一个实施例的信息提醒装置实施例中应用监控模块的结构框图。Referring to FIG. 6 , it shows a structural block diagram of an application monitoring module in an embodiment of an information reminding device according to an embodiment of the present invention.

本发明一个可选实施例中,所述状态检测模块302,包括:获取子模块30202,用于获取所述移动终端中运行的应用程序;比对子模块30204,用于将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态;In an optional embodiment of the present invention, the state detection module 302 includes: an acquisition submodule 30202, used to acquire the application program running in the mobile terminal; a comparison submodule 30204, used to compare the running application program The program is compared with the target application program, and according to the comparison result, it is determined that the target application program is in an inactive state or a running state;

本发明一个可选实施例中,所述预置状态条件包括第一状态条件,所述应用监控模块304,包括:第一监控子模块30402,用于对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。In an optional embodiment of the present invention, the preset state condition includes a first state condition, and the application monitoring module 304 includes: a first monitoring submodule 30402, configured to monitor the application program in the mobile terminal ; When the state of the monitoring application program changes to the target state, detect whether the application program is the target application program; when the application program whose detection state changes to the target state is the target application program, determine that the target application program satisfies the first state condition.

所述预置状态条件包括第二状态条件,所述应用监控模块304,包括:第二监控子模块30404,用于对处于目标状态的目标应用程序的参数进行监控;当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。The preset state conditions include a second state condition, and the application monitoring module 304 includes: a second monitoring submodule 30404 configured to monitor the parameters of the target application program in the target state; when monitoring the target application When the preset parameters appear in the program, it is determined that the target application program satisfies the second state condition.

所述预置状态条件包括第三状态条件,所述应用监控模块304,包括:第三监控子模块30406,用于当目标应用程序转变为目标状态时启动计时器;通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。The preset state conditions include a third state condition, and the application monitoring module 304 includes: a third monitoring submodule 30406, which is used to start a timer when the target application program changes to the target state; The state duration of the target application is monitored; when the monitored state duration of the target application reaches a time threshold, it is determined that the target application meets the third state condition.

本发明一个可选实施例中,第二监控子模块30404,用于通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。In an optional embodiment of the present invention, the second monitoring submodule 30404 is configured to perform a callback operation on the target application program in the target state through the operation interface; detect whether the callback field obtained by the callback operation is a preset parameter.

本发明一个可选实施例中,还包括:提醒设置模块310,用于获取目标应用程序的应用标识;配置与所述目标应用程序的预置状态条件相关的监控信息和提醒信息,所述监控信息包括目标状态,目标状态下的预置参数,或目标状态持续的时间阈值;将所述应用标识、监控信息和提醒信息存储到监控列表中。In an optional embodiment of the present invention, it also includes: a reminder setting module 310, configured to obtain the application identifier of the target application; configure monitoring information and reminder information related to the preset status conditions of the target application, the monitoring The information includes the target state, the preset parameters in the target state, or the duration threshold of the target state; the application identification, monitoring information and reminder information are stored in the monitoring list.

综上,本实施例基于移动终端中的应用程序对用户进行提醒,从而便于用户在使用不同应用程序时及时获取与该应用程序相关的提醒内容,简化了提醒流程,提高效率。To sum up, this embodiment reminds the user based on the application program in the mobile terminal, so that the user can obtain the reminder content related to the application program in time when using different application programs, simplifies the reminder process, and improves efficiency.

对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method or method so disclosed may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种信息提醒方法和装置设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of some or all of the information reminder method and device according to an embodiment of the present invention. Function. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明公开了A1、一种信息提醒方法,包括:检测移动终端中目标应用程序的状态,并基于所述状态对目标应用程序进行监控;当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;在所述移动终端中通过显示所述提醒内容对用户进行提醒。The present invention discloses A1. An information reminder method, comprising: detecting the state of the target application program in the mobile terminal, and monitoring the target application program based on the state; when it is detected that the target application program satisfies the preset state condition , acquiring the reminder content corresponding to the preset state condition; reminding the user by displaying the reminder content in the mobile terminal.

A2、如A1所述的方法,检测移动终端中目标应用程序的状态,包括:获取所述移动终端中运行的应用程序;将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。A2. The method as described in A1, detecting the state of the target application program in the mobile terminal, including: obtaining the application program running in the mobile terminal; comparing the running application program with the target application program, and according to the comparison As a result, it is determined that the target application program is in a non-started state or a running state.

A3、如A1所述的方法,所述预置状态条件包括第一状态条件,基于所述状态对目标应用程序进行监控,包括:对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。A3. The method as described in A1, the preset state condition includes a first state condition, and monitoring the target application program based on the state includes: monitoring the application program in the mobile terminal; When the state of the program changes to the target state, it is detected whether the application program is the target application program; when the detected application program whose state changes to the target state is the target application program, it is determined that the target application program satisfies the first state condition.

A4、如A1所述的方法,所述预置状态条件包括第二状态条件,基于所述状态对目标应用程序进行监控,包括:对处于目标状态的目标应用程序的参数进行监控;当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。A4. The method as described in A1, the preset state condition includes a second state condition, and monitoring the target application program based on the state includes: monitoring the parameters of the target application program in the target state; When the preset parameter appears in the target application program, it is determined that the target application program satisfies the second state condition.

A5、如A1所述的方法,所述预置状态条件包括第三状态条件,基于所述状态对目标应用程序进行监控,包括:当目标应用程序转变为目标状态时启动计时器;通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。A5. The method as described in A1, wherein the preset state conditions include a third state condition, and monitoring the target application program based on the state includes: starting a timer when the target application program changes to the target state; The state duration of the target application in the target state is monitored; when the monitored state duration of the target application reaches a time threshold, it is determined that the target application meets a third state condition.

A6、如A4所述的方法,所述对处于目标状态的目标应用程序的参数进行监控,包括:通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。A6. The method as described in A4, the monitoring of the parameters of the target application program in the target state includes: performing a callback operation on the target application program in the target state through the operation interface; detecting the callback field obtained by the callback operation Whether it is a preset parameter.

A7、如A1所述的方法,所述对移动终端中目标应用程序进行监控之前,还包括:获取目标应用程序的应用标识;配置目标应用程序的目标状态,目标状态下的预置参数,或目标状态持续的时间阈值,生成监控信息;将所述应用标识和监控信息存储到监控列表中。A7. The method as described in A1, before the monitoring of the target application in the mobile terminal, it also includes: obtaining the application identification of the target application; configuring the target state of the target application, the preset parameters in the target state, or The time threshold for the duration of the target state is used to generate monitoring information; and the application identification and monitoring information are stored in a monitoring list.

本发明还公开了B8、一种信息提醒装置,包括:状态检测模块,用于检测移动终端中目标应用程序的状态;应用监控模块,用于基于所述状态对目标应用程序进行监控;获取模块,用于当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;提醒模块,用于在所述移动终端中通过显示所述提醒内容对用户进行提醒。The present invention also discloses B8, an information reminding device, comprising: a state detection module, used to detect the state of the target application program in the mobile terminal; an application monitoring module, used to monitor the target application program based on the state; an acquisition module , used to obtain reminder content corresponding to the preset status condition when it is detected that the target application program meets the preset status condition; a reminder module is used to remind the user by displaying the reminder content in the mobile terminal Make a reminder.

B9、如B8所述的装置,所述状态检测模块,包括:获取子模块,用于获取所述移动终端中运行的应用程序;比对子模块,用于将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态;B9. The device as described in B8, the state detection module includes: an acquisition submodule, used to acquire the application program running in the mobile terminal; a comparison submodule, used to compare the running application program and the target The application program is compared, and according to the comparison result, it is determined that the target application program is in a non-started state or a running state;

B10、如B8所述的装置,所述预置状态条件包括第一状态条件,所述应用监控模块,包括:第一监控子模块,用于对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。B10. The device as described in B8, the preset state condition includes a first state condition, and the application monitoring module includes: a first monitoring submodule, configured to monitor the application program in the mobile terminal; when When it is monitored that the state of the application program changes to the target state, it is detected whether the application program is a target application program; when the application program whose detection state changes to the target state is a target application program, it is determined that the target application program satisfies the first state condition .

B11、如B8所述的装置,所述预置状态条件包括第二状态条件,所述应用监控模块,包括:第二监控子模块,用于对处于目标状态的目标应用程序的参数进行监控;当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。B11. The device as described in B8, wherein the preset state conditions include a second state condition, and the application monitoring module includes: a second monitoring submodule, configured to monitor parameters of the target application program in the target state; When it is monitored that the target application program has preset parameters, it is determined that the target application program satisfies the second state condition.

B12、如B8所述的装置,所述预置状态条件包括第三状态条件,所述应用监控模块,包括:第三监控子模块,用于当目标应用程序转变为目标状态时启动计时器;通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。B12. The device as described in B8, the preset state condition includes a third state condition, and the application monitoring module includes: a third monitoring submodule, configured to start a timer when the target application program changes to the target state; The state duration of the target application in the target state is monitored by a timer; when the monitored state duration of the target application reaches a time threshold, it is determined that the target application meets the third state condition.

B13、如B11所述的装置,第二监控子模块,用于通过操作接口对处于目标状态的目标应用程序执行回调操作;检测所述回调操作获取的回调字段是否为预置参数。B13. The device as described in B11, the second monitoring submodule is configured to perform a callback operation on the target application program in the target state through the operation interface; detect whether the callback field obtained by the callback operation is a preset parameter.

B14、如B11所述的装置,还包括:提醒设置模块,用于获取目标应用程序的应用标识;配置与所述目标应用程序的预置状态条件相关的监控信息和提醒信息,所述监控信息包括目标状态,目标状态下的预置参数,或目标状态持续的时间阈值;将所述应用标识、监控信息和提醒信息存储到监控列表中。B14. The device as described in B11, further comprising: a reminder setting module, configured to obtain the application identification of the target application; configure monitoring information and reminder information related to the preset status conditions of the target application, the monitoring information Including the target state, the preset parameters in the target state, or the duration threshold of the target state; storing the application identification, monitoring information and reminder information in the monitoring list.

Claims (10)

1.一种信息提醒方法,包括:1. A method for reminding information, comprising: 检测移动终端中目标应用程序的状态,并基于所述状态对目标应用程序进行监控;Detecting the state of the target application program in the mobile terminal, and monitoring the target application program based on the state; 当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;When it is detected that the target application program satisfies a preset state condition, acquiring reminder content corresponding to the preset state condition; 在所述移动终端中通过显示所述提醒内容对用户进行提醒。Reminding the user by displaying the reminding content in the mobile terminal. 2.如权利要求1所述的方法,其特征在于,检测移动终端中目标应用程序的状态,包括:2. The method according to claim 1, wherein detecting the state of the target application program in the mobile terminal comprises: 获取所述移动终端中运行的应用程序;Obtain the application programs running in the mobile terminal; 将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。The running application program is compared with the target application program, and the target application program is determined to be in a non-started state or a running state according to the comparison result. 3.如权利要求1所述的方法,其特征在于,所述预置状态条件包括第一状态条件,基于所述状态对目标应用程序进行监控,包括:3. The method according to claim 1, wherein the preset status condition comprises a first status condition, and monitoring the target application program based on the status includes: 对所述移动终端中的应用程序进行监控;Monitoring the application program in the mobile terminal; 当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;When it is monitored that the state of the application program changes to the target state, detect whether the application program is a target application program; 当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。When the application whose detected state transitions to the target state is the target application, it is determined that the target application satisfies the first state condition. 4.如权利要求1所述的方法,其特征在于,所述预置状态条件包括第二状态条件,基于所述状态对目标应用程序进行监控,包括:4. The method according to claim 1, wherein the preset status condition comprises a second status condition, and monitoring the target application program based on the status includes: 对处于目标状态的目标应用程序的参数进行监控;monitoring of parameters of the target application in the target state; 当监控到所述目标应用程序出现预置参数时,确定所述目标应用程序满足第二状态条件。When it is monitored that the target application program has preset parameters, it is determined that the target application program satisfies the second state condition. 5.如权利要求1所述的方法,其特征在于,所述预置状态条件包括第三状态条件,基于所述状态对目标应用程序进行监控,包括:5. The method according to claim 1, wherein the preset status condition comprises a third status condition, and monitoring the target application program based on the status includes: 当目标应用程序转变为目标状态时启动计时器;Start a timer when the target application transitions to the target state; 通过计时器对处于目标状态的目标应用程序的状态持续时间进行监控;The state duration of the target application in the target state is monitored by a timer; 当监控到所述目标应用程序的状态持续时间达到时间阈值时,确定所述目标应用程序满足第三状态条件。When it is monitored that the state duration of the target application program reaches a time threshold, it is determined that the target application program satisfies a third state condition. 6.如权利要求4所述的方法,其特征在于,所述对处于目标状态的目标应用程序的参数进行监控,包括:6. The method according to claim 4, wherein the monitoring the parameters of the target application in the target state comprises: 通过操作接口对处于目标状态的目标应用程序执行回调操作;Execute callback operations on the target application in the target state through the operation interface; 检测所述回调操作获取的回调字段是否为预置参数。Detect whether the callback field acquired by the callback operation is a preset parameter. 7.如权利要求1所述的方法,其特征在于,所述对移动终端中目标应用程序进行监控之前,还包括:7. The method according to claim 1, wherein, before the monitoring of the target application in the mobile terminal, further comprising: 获取目标应用程序的应用标识;obtain the application identification of the target application; 配置目标应用程序的目标状态,目标状态下的预置参数,或目标状态持续的时间阈值,生成监控信息;Configure the target state of the target application, the preset parameters in the target state, or the time threshold for the duration of the target state, and generate monitoring information; 将所述应用标识和监控信息存储到监控列表中。Store the application identification and monitoring information in a monitoring list. 8.一种信息提醒装置,包括:8. An information reminder device, comprising: 状态检测模块,用于检测移动终端中目标应用程序的状态;A state detection module is used to detect the state of the target application program in the mobile terminal; 应用监控模块,用于基于所述状态对目标应用程序进行监控;An application monitoring module, configured to monitor the target application program based on the state; 获取模块,用于当检测到所述目标应用程序满足预置状态条件时,获取与所述预置状态条件对应的提醒内容;An acquisition module, configured to acquire reminder content corresponding to the preset status condition when it is detected that the target application program meets the preset status condition; 提醒模块,用于在所述移动终端中通过显示所述提醒内容对用户进行提醒。A reminding module, configured to remind the user by displaying the reminding content in the mobile terminal. 9.如权利要求8所述的装置,其特征在于,所述状态检测模块,包括:9. The device according to claim 8, wherein the state detection module comprises: 获取子模块,用于获取所述移动终端中运行的应用程序;obtaining a submodule, configured to obtain an application program running in the mobile terminal; 比对子模块,用于将所述运行的应用程序和目标应用程序进行比对,依据比对结果确定所述目标应用程序为未启动状态或运行状态。The comparison sub-module is used to compare the running application program with the target application program, and determine that the target application program is in a non-started state or a running state according to the comparison result. 10.如权利要求8所述的装置,其特征在于,所述预置状态条件包括第一状态条件,所述应用监控模块,包括:10. The device according to claim 8, wherein the preset state condition comprises a first state condition, and the application monitoring module comprises: 第一监控子模块,用于对所述移动终端中的应用程序进行监控;当监控到应用程序的状态转变为目标状态时,检测所述应用程序是否为目标应用程序;当检测状态转变为目标状态的应用程序为目标应用程序时,确定所述目标应用程序满足第一状态条件。The first monitoring submodule is used to monitor the application program in the mobile terminal; when it is monitored that the state of the application program changes to the target state, detect whether the application program is a target application program; when the detected state changes to the target state When the application in the state is the target application, it is determined that the target application satisfies the first state condition.
CN201410849742.1A 2014-12-29 2014-12-29 A kind of information prompting method and device Active CN104572459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849742.1A CN104572459B (en) 2014-12-29 2014-12-29 A kind of information prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849742.1A CN104572459B (en) 2014-12-29 2014-12-29 A kind of information prompting method and device

Publications (2)

Publication Number Publication Date
CN104572459A true CN104572459A (en) 2015-04-29
CN104572459B CN104572459B (en) 2017-12-12

Family

ID=53088591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849742.1A Active CN104572459B (en) 2014-12-29 2014-12-29 A kind of information prompting method and device

Country Status (1)

Country Link
CN (1) CN104572459B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326078A (en) * 2015-06-30 2017-01-11 致伸科技股份有限公司 Operation time monitoring system
CN110012167A (en) * 2019-04-01 2019-07-12 维沃移动通信有限公司 Reminder method and terminal
CN110351430A (en) * 2019-07-16 2019-10-18 中国联合网络通信集团有限公司 Based reminding method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944057A (en) * 2010-09-02 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Method and system for indicating service condition of application program, and mobile terminal
CN102200942A (en) * 2011-06-08 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Cloud-computing-based application program behavior monitoring method and cloud server
CN102427491A (en) * 2011-10-08 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for automatically reminding user to restart electronic device
US20130179554A1 (en) * 2012-01-06 2013-07-11 Lenovo (Beijing) Co., Ltd Method, apparatus and electronic device for application display
CN103365760A (en) * 2012-04-01 2013-10-23 腾讯科技(深圳)有限公司 Mobile terminal and method for displaying information
CN103488487A (en) * 2013-09-26 2014-01-01 深圳市金立通信设备有限公司 Event reminding method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944057A (en) * 2010-09-02 2011-01-12 宇龙计算机通信科技(深圳)有限公司 Method and system for indicating service condition of application program, and mobile terminal
CN102200942A (en) * 2011-06-08 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Cloud-computing-based application program behavior monitoring method and cloud server
CN102427491A (en) * 2011-10-08 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for automatically reminding user to restart electronic device
US20130179554A1 (en) * 2012-01-06 2013-07-11 Lenovo (Beijing) Co., Ltd Method, apparatus and electronic device for application display
CN103365760A (en) * 2012-04-01 2013-10-23 腾讯科技(深圳)有限公司 Mobile terminal and method for displaying information
CN103488487A (en) * 2013-09-26 2014-01-01 深圳市金立通信设备有限公司 Event reminding method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326078A (en) * 2015-06-30 2017-01-11 致伸科技股份有限公司 Operation time monitoring system
CN110012167A (en) * 2019-04-01 2019-07-12 维沃移动通信有限公司 Reminder method and terminal
CN110351430A (en) * 2019-07-16 2019-10-18 中国联合网络通信集团有限公司 Based reminding method and device

Also Published As

Publication number Publication date
CN104572459B (en) 2017-12-12

Similar Documents

Publication Publication Date Title
US9781542B2 (en) Techniques for predictive power management of a mobile device
TWI488105B (en) Method and electronic device for managing event notification
US9060107B2 (en) Video responses to messages
WO2017166613A1 (en) Method and apparatus for controlling terminal usage duration, and electronic device
CN104639758B (en) Alarm clock control method and alarm clock control device applied to intelligent terminal
TW201633226A (en) Social reminders
CN105630566A (en) Application page loading duration determining method and application page loading duration determining device
CN103685731A (en) A message communication method and a message communication client
CN106651289B (en) Task reminding method and device
CN108510986A (en) Voice interactive method, device, electronic equipment and computer readable storage medium
CN105117110B (en) Method and device for displaying user equipment state on preset interface of application program
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN109656440B (en) Application icon display method, device and medium
CN103036769A (en) Method and breathing light for message prompt
US9310886B2 (en) Transient message display control
WO2017107843A1 (en) Periodic task processing method and apparatus, computer program, and readable medium
CN104572459B (en) A kind of information prompting method and device
CN103488557B (en) The acquisition methods of a kind of computer operating system on time and device
KR20160031217A (en) Method for controlling and an electronic device thereof
CN106406965A (en) Method and device for processing application deletion operation on intelligent terminal
CN106557250A (en) A kind of blank screen treating method and apparatus in a mobile device
WO2016202074A1 (en) Method and apparatus for setting state of contact in address book
WO2017128544A1 (en) Notification prompting method and apparatus
CN105095420A (en) Method and device for displaying notification messages in browser
CN112130735A (en) Image processing method, image processing apparatus, terminal, and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220721

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right