+

CN103019825A - Method and device for controlling application - Google Patents

Method and device for controlling application Download PDF

Info

Publication number
CN103019825A
CN103019825A CN2012105682898A CN201210568289A CN103019825A CN 103019825 A CN103019825 A CN 103019825A CN 2012105682898 A CN2012105682898 A CN 2012105682898A CN 201210568289 A CN201210568289 A CN 201210568289A CN 103019825 A CN103019825 A CN 103019825A
Authority
CN
China
Prior art keywords
application
default
event
triggered
operating system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105682898A
Other languages
Chinese (zh)
Inventor
康上明学
王彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN2012105682898A priority Critical patent/CN103019825A/en
Publication of CN103019825A publication Critical patent/CN103019825A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明公开了一种控制应用的方法,涉及计算机技术领域,该方法用于实现对应用的灵活触发。所述方法包括:监测预设的事件是否被触发;当所述预设的事件被触发时,调用、更新或终止与所述预设的事件对应的应用。本发明还公开了用于实现所述方法的装置。

Figure 201210568289

The invention discloses a method for controlling applications, relates to the technical field of computers, and is used for realizing flexible triggering of applications. The method includes: monitoring whether a preset event is triggered; when the preset event is triggered, invoking, updating or terminating an application corresponding to the preset event. The invention also discloses a device for realizing the method.

Figure 201210568289

Description

一种控制应用的方法及装置A method and device for controlling an application

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种控制应用的方法及装置。The present invention relates to the field of computer technology, in particular to a method and device for controlling applications.

背景技术Background technique

随着移动终端功能的增强,其已经成为人们生活中的必备品。为了满足用户的各种需求,互联网上存在基于智能移动终端开发的各种各样的应用(Application,APP)。同时,为了能提供给用户越来越多的人性化的功能,业内正致力于这方面的研究。With the enhanced functions of the mobile terminal, it has become a must-have in people's life. In order to meet various needs of users, there are various applications (Application, APP) developed based on smart mobile terminals on the Internet. At the same time, in order to provide users with more and more humanized functions, the industry is working on research in this area.

一般各种应用均需要用户手动触发才能使用,通常是通过点击APP的快捷方式打开APP,再通过其提供的各种选项完成相应的操作或使用。Generally, various applications need to be manually triggered by the user before they can be used. Usually, the APP is opened by clicking the shortcut of the APP, and then the corresponding operation or use is completed through various options provided by it.

这种操作方式没有考虑到用户对这些功能需求的时机,尤其是一项经常性的操作,还需要用户记忆并手动触发。This method of operation does not take into account the timing of the user's demand for these functions, especially for a frequent operation that requires the user to memorize and trigger it manually.

为解决该问题,个别应用提供了提醒功能。例如,闹钟应用,可预先设置提醒时间和提醒模式,假如设置早晨7提醒,则需要设置提醒时间为7点。那么到7点时,采用设置的提醒模式提醒用户。但是,需要始终保持闹钟应用为开启状态,否则将无法使用闹铃。也就是说闹铃应用始终占有资源。To solve this problem, individual applications provide a reminder function. For example, the alarm clock application can pre-set the reminder time and reminder mode. If you set a reminder at 7 in the morning, you need to set the reminder time to 7 o'clock. Then when it is 7 o'clock, the user will be reminded by the set reminder mode. However, the alarm clock app needs to be kept open at all times, otherwise the alarm will not work. That is to say, the alarm application always occupies resources.

如果用户在待办事项中设置了提醒时间,那么该待提醒事项也需要始终保持开启状态,发现到达设置的提醒时间时提醒用户查看待办事项。If the user sets a reminder time in the to-do list, the to-do list also needs to be kept open all the time, and the user is reminded to check the to-do list when the set reminder time is reached.

由此可见,所有需要提醒的应用都必须保持开启状态,始终占有资源。若这类应用较多,则给设备带来较大负荷。It can be seen that all applications that need to be reminded must remain open and occupy resources at all times. If there are many such applications, it will bring a large load to the equipment.

发明内容Contents of the invention

本发明实施例提供一种控制应用的方法及装置,用于实现对应用的灵活触发。Embodiments of the present invention provide a method and device for controlling applications, which are used to implement flexible triggering of applications.

一种控制应用的方法,包括以下步骤:监测预设的事件是否被触发;在有预设的事件被触发时,调用、更新或终止与所述预设的事件对应的应用。本实施例中在满足预设条件时调用、更新或终止有关的应用,而不需要始终开启有关的应用,节省资源。A method for controlling an application includes the following steps: monitoring whether a preset event is triggered; when a preset event is triggered, calling, updating or terminating the application corresponding to the preset event. In this embodiment, the relevant application is invoked, updated or terminated when the preset condition is satisfied, instead of opening the relevant application all the time, so as to save resources.

优选的,触发事件包括:达到预设的时间点、经过预设的时间周期、到达预设的位置、达到预设的温度、达到预设的速度、达到预设的高度、接入预设网络、预设按键被触发中的一项或多项。本实施例提供多种触发条件,以满足不同应用的需求。Preferably, the trigger event includes: reaching a preset time point, passing a preset time period, reaching a preset location, reaching a preset temperature, reaching a preset speed, reaching a preset height, accessing a preset network , one or more of preset keys being triggered. This embodiment provides multiple trigger conditions to meet the requirements of different applications.

优选的,监测预设的事件是否被触发之前,还包括步骤:调用提供预设的事件的应用。采用本实施例的方案时,需要调用提供预设的事件的应用,但不需要调用受触发的应用,从而可减少调用应用的数量,节省资源。Preferably, before monitoring whether the preset event is triggered, the method further includes the step of calling an application that provides the preset event. When the solution of this embodiment is adopted, it is necessary to call the application providing the preset event, but it is not necessary to call the triggered application, thereby reducing the number of calling applications and saving resources.

优选的,对应的应用为操作系统提供的应用;调用、更新或终止与所述预设的事件对应的应用的步骤包括:向操作系统发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。本实施例中对操作系统提供的应用需要通过操作系统进行调用或终止,因此针对这类应用提供了解决方案。Preferably, the corresponding application is an application provided by the operating system; the step of invoking, updating or terminating the application corresponding to the preset event includes: sending a call instruction, an update instruction or a termination instruction to the operating system to instruct the operating system to call , updating or terminating the application corresponding to the preset event. In this embodiment, the applications provided by the operating system need to be invoked or terminated by the operating system, so a solution is provided for such applications.

优选的,调用、更新或终止与所述预设的事件对应的应用的同时,还包括步骤:调用、更新或终止与对应的应用关联的应用。本实施例中不仅调用受触发的应用,还调用或终止与其关联的其它应用,从而可简化调用和更新过程,不需要用户一一点击各应用,并且可及时终止应用,以节省资源。Preferably, when invoking, updating or terminating the application corresponding to the preset event, a step is further included: invoking, updating or terminating the application associated with the corresponding application. In this embodiment, not only the triggered application is invoked, but also other applications associated with it are invoked or terminated, so that the invoking and updating process can be simplified, the user does not need to click each application one by one, and the application can be terminated in time to save resources.

一种控制应用的装置,包括:An apparatus for controlling an application, comprising:

触发模块,用于监测预设的事件是否被触发;A trigger module, configured to monitor whether a preset event is triggered;

控制模块,用于在所述触发模块监测得到所述预设的事件被触发时,调用、更新或终止与所述预设的事件对应的应用。The control module is configured to call, update or terminate the application corresponding to the preset event when the trigger module detects that the preset event is triggered.

触发事件包括:达到预设的时间点、经过预设的时间周期、到达预设的位置、达到预设的温度、达到预设的速度、达到预设的高度、接入预设网络、预设按键被触发中的一项或多项。Trigger events include: reaching the preset time point, passing the preset time period, reaching the preset position, reaching the preset temperature, reaching the preset speed, reaching the preset altitude, accessing the preset network, preset One or more of the keys being triggered.

所述装置还包括:配置模块,用于调用提供预设的事件的应用。The device further includes: a configuration module, configured to invoke an application that provides preset events.

对应的应用为操作系统提供的应用;The corresponding application is an application provided by the operating system;

控制模块向操作系统发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。The control module sends an invoking instruction, an updating instruction or a termination instruction to the operating system to instruct the operating system to invoke, update or terminate the application corresponding to the preset event.

控制模块还用于调用、更新或终止与对应的应用关联的应用。The control module is also used to invoke, update or terminate applications associated with corresponding applications.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present invention, and constitute a part of the description, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute a limitation to the present invention. In the attached picture:

图1为本发明实施例中控制应用的主要方法流程图;Fig. 1 is the flow chart of main method of control application in the embodiment of the present invention;

图2为本发明实施例中控制操作系统提供的应用的方法流程图;FIG. 2 is a flowchart of a method for controlling an application provided by an operating system in an embodiment of the present invention;

图3为本发明实施例中控制关联应用的方法流程图;FIG. 3 is a flowchart of a method for controlling associated applications in an embodiment of the present invention;

图4为本发明实施例中装置的主要结构图;Fig. 4 is the main structural diagram of device in the embodiment of the present invention;

图5为本发明实施例中装置的详细结构图。Fig. 5 is a detailed structural diagram of the device in the embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

本实施例中在满足预设条件时调用、更新或终止有关的应用,而不需要始终开启有关的应用,节省资源。In this embodiment, the relevant application is invoked, updated or terminated when the preset condition is satisfied, instead of opening the relevant application all the time, so as to save resources.

参见图1,本实施例中控制应用的主要方法流程如下:Referring to Fig. 1, the main method flow of the control application in this embodiment is as follows:

步骤101:监测预设的事件是否被触发;若是,则继续步骤102,否则结束本次流程,可继续步骤101。本实施例中需要预先调用提供预设的事件的应用,较佳的,为提供预设的事件的应用创建进程。Step 101: Monitor whether a preset event is triggered; if so, continue to step 102; otherwise, end this process and continue to step 101. In this embodiment, the application providing the preset event needs to be invoked in advance, preferably, a process is created for the application providing the preset event.

步骤102:调用、更新或终止与所述预设的事件对应的应用。Step 102: calling, updating or terminating the application corresponding to the preset event.

较佳的,预设的事件可以有一个或多个。有事件被触发,即可执行步骤102。在步骤102中,调用与所述预设的事件对应的应用的过程包括:为对应的应用创建(一个或多个)进程,并向该进程发送消息,以使该进程完成对应的应用的功能。更新与所述预设的事件对应的应用的过程包括:向对应的应用所对应的进程发送消息,以使该进程完成对该应用的状态更新等。终止与所述预设的事件对应的应用的步骤包括:终止对应的应用所对应的进程,回收该进程对应的资源,以实现终止应用。Preferably, there can be one or more preset events. When an event is triggered, step 102 can be executed. In step 102, the process of invoking the application corresponding to the preset event includes: creating (one or more) processes for the corresponding application, and sending a message to the process, so that the process completes the function of the corresponding application . The process of updating the application corresponding to the preset event includes: sending a message to the process corresponding to the corresponding application, so that the process completes the state update of the application and the like. The step of terminating the application corresponding to the preset event includes: terminating a process corresponding to the corresponding application, and reclaiming resources corresponding to the process, so as to terminate the application.

本实施例中的触发事件包括:达到预设的时间点、经过预设的时间周期、到达预设的位置、达到预设的温度、达到预设的速度、达到预设的高度、接入预设网络、预设按键被触发中的一项或多项。监测预设的事件是否被触发之前,还需要调用提供预设的事件的应用。例如,提供时间的应用为时钟,则始终保持时钟开启,实时捕获时钟事件,当捕获的时钟与预设的时间相同时,则调用对应的应用,该应用可以是一个或多个。例如,闹钟和待办事项的提醒时间均为7点,则到达7点时,可同时调用闹钟和待办事项这两个应用,而不需要这两个应用保持开启状态,从而节省了资源。类似的,提供位置的应用为GPS(全球定位系统),提供天气的应用为天气应用。设备状态包括CPU状态、内存状态、电量状态等,都可以有相应的功能提供CPU状态、内存状态、电量状态等。当然,本实施例中的触发事件不限于以上几种,任何触发条件都可以适用于本实施例,此处不一一列举。The trigger events in this embodiment include: reaching a preset time point, passing a preset time period, reaching a preset position, reaching a preset temperature, reaching a preset speed, reaching a preset height, accessing a preset One or more of network setting and preset button being triggered. Before monitoring whether the preset event is triggered, the application that provides the preset event needs to be invoked. For example, if the application that provides time is a clock, keep the clock on all the time, capture clock events in real time, and when the captured clock is the same as the preset time, call the corresponding application, and there may be one or more applications. For example, the reminder time of both the alarm clock and the to-do list is 7 o'clock, and when 7 o'clock arrives, the two applications of the alarm clock and the to-do list can be called at the same time, without keeping the two applications open, thereby saving resources. Similarly, an application that provides location is GPS (Global Positioning System), and an application that provides weather is a weather application. Device status includes CPU status, memory status, power status, etc., and there are corresponding functions to provide CPU status, memory status, power status, etc. Of course, the triggering events in this embodiment are not limited to the above types, and any triggering conditions can be applied to this embodiment, which are not listed here.

特别的,对应的应用为操作系统提供的应用时,需要向操作系统发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。较佳的,向操作系统进程发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。In particular, when the corresponding application is an application provided by the operating system, it is necessary to send a calling instruction, an updating instruction or a termination instruction to the operating system to instruct the operating system to call, update or terminate the application corresponding to the preset event. Preferably, a call command, an update command or a termination command is sent to the operating system process to instruct the operating system to call, update or terminate the application corresponding to the preset event.

较佳的,调用、更新或终止与所述预设的事件对应的应用的同时,调用、更新或终止与对应的应用关联的应用。例如,用户设置在22点开启飞行模式,这意味着移动终端终止移动通信信号的传输,那么需要移动通信信号传输的应用都可以关闭了,例如可终止GPS、无线网络等应用。Preferably, when the application corresponding to the preset event is invoked, updated or terminated, the application associated with the corresponding application is invoked, updated or terminated. For example, the user sets to turn on the flight mode at 22 o'clock, which means that the mobile terminal terminates the transmission of mobile communication signals, and then all applications that require mobile communication signal transmission can be closed, such as applications such as GPS and wireless networks can be terminated.

下面通过两个典型实施例来详细介绍控制应用的实现过程。The implementation process of the control application will be introduced in detail below through two typical embodiments.

参见图2,本实施例中控制操作系统提供的应用的方法流程如下:Referring to FIG. 2, the flow of the method for controlling the applications provided by the operating system in this embodiment is as follows:

步骤201:监测预设的事件。Step 201: Monitor preset events.

步骤202:判断预设的事件是否被触发;若是,则继续步骤203,否则结束本次流程,可继续步骤201。Step 202: Determine whether the preset event is triggered; if so, continue to step 203; otherwise, end this process and continue to step 201.

步骤203:确定与所述预设的事件对应的应用。Step 203: Determine the application corresponding to the preset event.

步骤204:判断与所述预设的事件对应的应用是否为操作系统提供的应用,若是,则继续步骤205,否则继续步骤206。Step 204: Determine whether the application corresponding to the preset event is an application provided by the operating system, if yes, proceed to step 205, otherwise proceed to step 206.

步骤205:向操作系统发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。Step 205: Send an invoking instruction, an updating instruction or a termination instruction to the operating system to instruct the operating system to invoke, update or terminate the application corresponding to the preset event.

步骤206:调用、更新或终止与所述预设的事件对应的应用。Step 206: calling, updating or terminating the application corresponding to the preset event.

参见图3,本实施例中控制关联应用的方法流程如下:Referring to FIG. 3, the flow of the method for controlling associated applications in this embodiment is as follows:

步骤301:监测预设的事件。Step 301: Monitor preset events.

步骤302:判断是否有预设的事件被触发;若是,则继续步骤303,否则结束本次流程,可继续步骤301。Step 302: Determine whether a preset event is triggered; if yes, continue to step 303; otherwise, end this process and continue to step 301.

步骤303:确定与所述预设的事件对应的应用。Step 303: Determine the application corresponding to the preset event.

步骤304:确定与所述预设的事件对应的应用关联的应用。Step 304: Determine an application associated with the application corresponding to the preset event.

步骤305:调用、更新或终止与所述预设的事件对应的应用及其关联应用。Step 305: calling, updating or terminating the application corresponding to the preset event and its associated applications.

例如,用户在家里或下班的时候,不希望被电话打扰,或者不希望接受手机的辐射,希望能够自动开启和关闭飞行模式,以关闭一切手机信号,减少辐射或电话打扰。For example, when the user is at home or off work, he does not want to be disturbed by the phone, or does not want to receive the radiation of the mobile phone, and hopes to automatically turn on and off the flight mode to turn off all mobile phone signals and reduce radiation or phone disturbance.

具体包括如下步骤:Specifically include the following steps:

101、用户设置触发事件及该触发事件可触发的应用;101. The user sets a trigger event and the applications that can be triggered by the trigger event;

例如,在本实施例中,可设置以下两个触发事件中的任一事件(或同时设定两个):For example, in this embodiment, any one of the following two trigger events (or both) can be set:

事件一:手机自身位置处于某一小区,或某一小区的地域范围。Event 1: The location of the mobile phone itself is in a certain cell, or the geographical range of a certain cell.

在设定事件一时,由于开启GPS实时定位比较费电,用户可设定检测触发事件的频率,例如每五分钟进行一次定位,并判断是否处于某一小区的地域范围。When setting event 1, since turning on GPS real-time positioning consumes more power, the user can set the frequency of detecting trigger events, for example, perform positioning every five minutes, and determine whether it is in the geographical range of a certain cell.

事件二:设定时间为20:00-6:00。Event 2: Set the time between 20:00-6:00.

在本实施例中,设定的触发事件对应的应用为情景模式,将情景模式应用更新为“开启飞行模式”。In this embodiment, the application corresponding to the set trigger event is a scene mode, and the scene mode application is updated to "turn on the airplane mode".

检测是否满足事件一或事件二,若是,开启飞行模式。Detect whether event 1 or event 2 is satisfied, and if so, turn on the flight mode.

在本实施例中,执行的功能为“开启飞行模式”,具体为:当操作系统直接提供有飞行模式功能时:根据操作系统提供的接口,向操作系统发送“开启飞行模式”的参数,使操作系统更新情景模式为“飞行模式”。In this embodiment, the executed function is "turn on the flight mode", specifically: when the operating system directly provides the flight mode function: according to the interface provided by the operating system, send the parameters of "turn on the flight mode" to the operating system, so that The operating system update profile is "airplane mode".

以安卓操作系统为例说明,手机中的全球移动通信系统(Global System forMobile Communications,GSM)应用、蓝牙应用和WIFI(一种以无线方式互相连接的技术)应用分别注册了对ACTION_AIRPLANE_MODE_CHANGED消息(一种用于激活应用的消息)的监测,收到该消息后,GSM模块、蓝牙模块和WIFI模块会根据这个消息进行模式切换。Taking the Android operating system as an example, the Global System for Mobile Communications (GSM) application, the Bluetooth application, and the WIFI (a wirelessly connected technology) application in the mobile phone have registered for the ACTION_AIRPLANE_MODE_CHANGED message (a The monitoring of the message used to activate the application), after receiving the message, the GSM module, the Bluetooth module and the WIFI module will switch modes according to the message.

因此,当预设的触发条件被触发时,在ACTION_AIRPLANE_MODE_CHANGED消息中定义关闭GSM应用、蓝牙应用和WIFI应用的参数,并广播ACTION_AIRPLANE_MODE_CHANGED消息即可实现。Therefore, when the preset trigger condition is triggered, it can be realized by defining the parameters of closing the GSM application, the Bluetooth application and the WIFI application in the ACTION_AIRPLANE_MODE_CHANGED message, and broadcasting the ACTION_AIRPLANE_MODE_CHANGED message.

以上描述了控制应用的实现过程,该过程可由装置实现,下面对装置的内部功能和结构进行介绍。The implementation process of the control application has been described above, which can be realized by the device, and the internal functions and structures of the device will be introduced below.

参见图4,本实施例中控制应用的装置包括:触发模块401和控制模块402。该装置可以是移动终端、计算机等具有各种提醒功能的电子设备。Referring to FIG. 4 , the device for controlling applications in this embodiment includes: a trigger module 401 and a control module 402 . The device may be an electronic device with various reminding functions such as a mobile terminal and a computer.

触发模块401用于监测预设的事件是否被触发。The triggering module 401 is used to monitor whether a preset event is triggered.

控制模块402用于当触发模块401监测得到预设的事件被触发时,调用、更新或终止与所述预设的事件对应的应用。The control module 402 is configured to call, update or terminate the application corresponding to the preset event when the trigger module 401 detects that the preset event is triggered.

本实施例中触发事件包括:达到预设的时间点、经过预设的时间周期、到达预设的位置、达到预设的温度、达到预设的速度、达到预设的高度、接入预设网络、预设按键被触发中的一项或多项。In this embodiment, triggering events include: reaching a preset time point, passing a preset time period, reaching a preset position, reaching a preset temperature, reaching a preset speed, reaching a preset height, accessing a preset One or more of network and preset keys are triggered.

所述装置还包括:配置模块403,参见图5所示。配置模块403用于配置预设的事件及对应的应用和关联应用,以及调用提供预设的事件的应用。The device further includes: a configuration module 403 , as shown in FIG. 5 . The configuration module 403 is used for configuring preset events, corresponding applications and associated applications, and invoking applications that provide preset events.

特别的,对应的应用为操作系统提供的应用时,控制模块402向操作系统发送调用指令、更新指令或终止指令,以指示操作系统调用、更新或终止与所述预设的事件对应的应用。Specifically, when the corresponding application is an application provided by the operating system, the control module 402 sends a calling instruction, an updating instruction or a termination instruction to the operating system to instruct the operating system to call, update or terminate the application corresponding to the preset event.

较佳的,控制模块402还用于调用、更新或终止与对应的应用关联的应用。Preferably, the control module 402 is also used for invoking, updating or terminating the application associated with the corresponding application.

本实施例中在触发预设事件时调用、更新或终止有关的应用,而不需要始终开启有关的应用,节省资源。本实施例还可以调用或终止关联的应用,调用应用可节省用户的操作,实现自动触发;自动终止关联应用可节省设备资源。In this embodiment, when a preset event is triggered, a related application is invoked, updated or terminated, and the related application does not need to be opened all the time, thereby saving resources. This embodiment can also invoke or terminate associated applications, and invoking applications can save user operations and realize automatic triggering; automatically terminating associated applications can save device resources.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1. a method of controlling application is characterized in that, may further comprise the steps:
Whether the default event of monitoring is triggered;
When described default event is triggered, calls, upgrade or application that termination is corresponding with described default event.
2. the method for claim 1, it is characterized in that default event comprises: reach default time point, through the default time cycle, arrive default position, reach default temperature, reach default speed, reach one or more in being triggered of the default default network of height, access, programmable button.
3. the method for claim 1 is characterized in that, before whether the default event of monitoring was triggered, described method also comprised step: the application of calling the event that provides default.
4. the method for claim 1 is characterized in that, corresponding is applied as the application that operating system provides;
Call, upgrade or the step of the application that termination is corresponding with described default event comprises: send call instruction, update instruction or command for stopping to operating system, with the application that indication operating system is called, upgraded or termination is corresponding with described default event.
5. the method for claim 1 is characterized in that, calls, upgrades or when application that termination is corresponding with described default event, also comprise step: call, upgrade or stop application with corresponding association.
6. a device of controlling application is characterized in that, comprising:
Whether trigger module is used for the default event of monitoring and is triggered;
Control module is used for when described trigger module monitoring obtains described default event and is triggered, and calls, upgrades or application that termination is corresponding with described default event.
7. device as claimed in claim 6, it is characterized in that trigger event comprises: reach default time point, through the default time cycle, arrive default position, reach default temperature, reach default speed, reach one or more in being triggered of the default default network of height, access, programmable button.
8. device as claimed in claim 6 is characterized in that, described device also comprises: configuration module is used for the application of calling the event that provides default.
9. device as claimed in claim 6 is characterized in that, corresponding is applied as the application that operating system provides;
Control module sends call instruction, update instruction or command for stopping to operating system, with the application that indication operating system is called, upgraded or termination is corresponding with described default event.
10. device as claimed in claim 6 is characterized in that, control module also is used for calling, upgrade or stops application with corresponding association.
CN2012105682898A 2012-12-24 2012-12-24 Method and device for controlling application Pending CN103019825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105682898A CN103019825A (en) 2012-12-24 2012-12-24 Method and device for controlling application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105682898A CN103019825A (en) 2012-12-24 2012-12-24 Method and device for controlling application

Publications (1)

Publication Number Publication Date
CN103019825A true CN103019825A (en) 2013-04-03

Family

ID=47968456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105682898A Pending CN103019825A (en) 2012-12-24 2012-12-24 Method and device for controlling application

Country Status (1)

Country Link
CN (1) CN103019825A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156050A (en) * 2014-08-18 2014-11-19 联想(北京)有限公司 Task monitoring method and electronic device
CN104375853A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Electronic device and control method thereof
CN104378835A (en) * 2013-08-13 2015-02-25 华为终端有限公司 Reservation processing method and terminal of access network
WO2016154916A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Terminal setting adjustment method and apparatus
CN106293837A (en) * 2016-08-10 2017-01-04 北京小米移动软件有限公司 Open the method and device at interface
CN108121574A (en) * 2016-11-29 2018-06-05 阿里巴巴集团控股有限公司 Hot upgrade method, device and the virtual machine system of a kind of kernel module
CN108550236A (en) * 2018-03-13 2018-09-18 维沃移动通信有限公司 fire monitoring method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677352A (en) * 2004-03-30 2005-10-05 京瓷株式会社 Mobile phone terminal, its program management method and corresponding computer program
CN1732452A (en) * 2002-10-25 2006-02-08 贝蒂纳·埃克斯珀顿 System and method for automatically launching and accessing network addresses and applications
US20070225830A1 (en) * 2006-03-22 2007-09-27 Fujitsu Limited Application activating method
WO2008101912A1 (en) * 2007-02-19 2008-08-28 Schneider Electric Automation Gmbh Method for invoking an automation program in an automation device and automation device
CN101640719A (en) * 2008-07-30 2010-02-03 深圳富泰宏精密工业有限公司 Alarm clock task management system and method
CN102282582A (en) * 2009-01-19 2011-12-14 阿尔卡特朗讯美国公司 Event-triggered application execution
US20120218197A1 (en) * 2011-02-24 2012-08-30 Chi Mei Communication Systems, Inc. Electronic device and method for starting applications in the electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1732452A (en) * 2002-10-25 2006-02-08 贝蒂纳·埃克斯珀顿 System and method for automatically launching and accessing network addresses and applications
CN1677352A (en) * 2004-03-30 2005-10-05 京瓷株式会社 Mobile phone terminal, its program management method and corresponding computer program
US20070225830A1 (en) * 2006-03-22 2007-09-27 Fujitsu Limited Application activating method
WO2008101912A1 (en) * 2007-02-19 2008-08-28 Schneider Electric Automation Gmbh Method for invoking an automation program in an automation device and automation device
CN101640719A (en) * 2008-07-30 2010-02-03 深圳富泰宏精密工业有限公司 Alarm clock task management system and method
CN102282582A (en) * 2009-01-19 2011-12-14 阿尔卡特朗讯美国公司 Event-triggered application execution
US20120218197A1 (en) * 2011-02-24 2012-08-30 Chi Mei Communication Systems, Inc. Electronic device and method for starting applications in the electronic device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378835A (en) * 2013-08-13 2015-02-25 华为终端有限公司 Reservation processing method and terminal of access network
CN104375853A (en) * 2013-08-16 2015-02-25 联想(北京)有限公司 Electronic device and control method thereof
CN104156050A (en) * 2014-08-18 2014-11-19 联想(北京)有限公司 Task monitoring method and electronic device
CN104156050B (en) * 2014-08-18 2017-03-01 联想(北京)有限公司 The method of Mission Monitor and electronic equipment
WO2016154916A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Terminal setting adjustment method and apparatus
CN106576389A (en) * 2015-03-31 2017-04-19 华为技术有限公司 Terminal setting adjustment method and apparatus
US10057406B2 (en) 2015-03-31 2018-08-21 Huawei Technologies Co., Ltd. Method for adjusting terminal setting, and apparatus
CN106576389B (en) * 2015-03-31 2020-10-09 华为技术有限公司 A method and device for adjusting terminal settings
CN106293837A (en) * 2016-08-10 2017-01-04 北京小米移动软件有限公司 Open the method and device at interface
CN108121574A (en) * 2016-11-29 2018-06-05 阿里巴巴集团控股有限公司 Hot upgrade method, device and the virtual machine system of a kind of kernel module
CN108121574B (en) * 2016-11-29 2021-09-24 阿里巴巴集团控股有限公司 Hot upgrading method and device for kernel module and virtual machine system
CN108550236A (en) * 2018-03-13 2018-09-18 维沃移动通信有限公司 fire monitoring method and device

Similar Documents

Publication Publication Date Title
CN103019825A (en) Method and device for controlling application
US9071923B2 (en) Automatic archiving of an application on a mobile device
CN106227055B (en) Method for controlling intelligent household equipment, server and gateway
EP3276928B1 (en) Terminal control method, device and terminal
EP3151526B1 (en) Reminding method and device thereof
CN103518170B (en) The application of the power saving in portable electric appts updates
CN107436777B (en) Mobile terminal, application crash processing method and processing device
WO2015131679A1 (en) Task process processing method and device
EP3112979B1 (en) Method and device for waking up mcu
JP6250844B2 (en) Power consumption control method, apparatus, program, and recording medium
WO2018219104A1 (en) Power saving control method and related product
CN105848190A (en) OTA upgrading method and apparatus
US20200396325A1 (en) Application switching method and terminal
CN110032266B (en) Information processing method, apparatus, computer device, and computer-readable storage medium
CN106406117A (en) Device control method and device
CN106354242A (en) Mode switching method and device
CN110706705A (en) Voice control method, terminal and computer storage medium
CN104572104A (en) Processing method and device for monitoring alarm clock
CN108334345B (en) Application processing method, device, readable storage medium and mobile terminal
CN108279835B (en) Window display control method and device
CN114968375A (en) System switching method and device, electronic equipment and readable storage medium
US20200382367A1 (en) Systems and methods for configuring a device action based on one or more events
CN105208209A (en) Alarm clock setting method and device and terminal equipment
WO2016112602A1 (en) Shortcut operation method, shortcut operation device and terminal
CN109992362B (en) Application processing method and apparatus, electronic device, and computer-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
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102, No. 50, block B, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载