[go: up one dir, main page]

CN106445074A - Control method for application and mobile terminal - Google Patents

Control method for application and mobile terminal Download PDF

Info

Publication number
CN106445074A
CN106445074A CN201610866405.2A CN201610866405A CN106445074A CN 106445074 A CN106445074 A CN 106445074A CN 201610866405 A CN201610866405 A CN 201610866405A CN 106445074 A CN106445074 A CN 106445074A
Authority
CN
China
Prior art keywords
state
application program
mobile terminal
information
sleep state
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
CN201610866405.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610866405.2A priority Critical patent/CN106445074A/en
Publication of CN106445074A publication Critical patent/CN106445074A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明的实施例提供了一种应用程序的控制方法及移动终端,其中该方法包括:获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。本发明的实施例能节省移动终端的耗电量。

An embodiment of the present invention provides a method for controlling an application program and a mobile terminal, wherein the method includes: acquiring sleep state information detected by a wearable device, wherein the wearable device communicates with the mobile terminal; when according to the sleep state information , when determining that the user enters the second state from the first state, save the information of the running application program in the mobile terminal, and close the running application program; when determining that the user enters the first state from the second state according to the sleep state information, According to the saved application program information, open the corresponding application program. The embodiments of the present invention can save the power consumption of the mobile terminal.

Description

一种应用程序的控制方法及移动终端Application program control method and mobile terminal

技术领域technical field

本发明涉及电子技术领域,特别涉及一种应用程序的控制方法及移动终端。The invention relates to the field of electronic technology, in particular to an application program control method and a mobile terminal.

背景技术Background technique

随着智能移动终端的普及,越来越多人拥有它,并将智能移动终端运用在生活的每一个角落,例如睡觉前通过智能移动终端进行休闲、娱乐、购物甚至闭眼享受它播放的声音等。可是用户往往会在使用过程中睡着,而移动终端却依然工作着,这样使得用户会突然惊醒去手动关闭移动终端,或移动终端一直工作到没电而导致关机影响第二天的使用。With the popularity of smart mobile terminals, more and more people own them and use them in every corner of life, such as leisure, entertainment, shopping and even enjoy the sound played by smart mobile terminals before going to bed Wait. But the user often falls asleep during use, but the mobile terminal is still working, so that the user will wake up suddenly and manually close the mobile terminal, or the mobile terminal will work until it runs out of power and cause shutdown to affect the use of the next day.

发明内容Contents of the invention

本发明实施例的目的在于提供一种应用程序的控制方法及移动终端,以解决移动终端的耗电量较大的问题。The purpose of the embodiments of the present invention is to provide a method for controlling an application program and a mobile terminal, so as to solve the problem of high power consumption of the mobile terminal.

为了达到上述目的,本发明的实施例提供了一种应用程序的控制方法,应用于移动终端,该方法包括:In order to achieve the above object, an embodiment of the present invention provides a method for controlling an application program, which is applied to a mobile terminal, and the method includes:

获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;Obtain sleep state information detected by the wearable device, where the wearable device communicates with the mobile terminal;

当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;When determining that the user enters the second state from the first state according to the sleep state information, save the information of the running application program in the mobile terminal, and close the running application program;

当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。When it is determined according to the sleep state information that the user enters the first state from the second state, the corresponding application program is opened according to the stored application program information.

本发明的实施例还提供了一种移动终端,该移动终端包括:Embodiments of the present invention also provide a mobile terminal, which includes:

获取模块,用于获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;An acquisition module, configured to acquire sleep state information detected by the wearable device, wherein the wearable device is connected to the mobile terminal in communication;

第一确定模块,用于当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;The first determination module is used to save the information of the running application program in the mobile terminal when determining that the user enters the second state from the first state according to the sleep state information, and close the running application program;

第二确定模块,用于当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。The second determination module is configured to open the corresponding application program according to the stored application program information when it is determined according to the sleep state information that the user enters the first state from the second state.

本发明的上述方案至少包括以下有益效果:Above-mentioned scheme of the present invention comprises following beneficial effect at least:

在本发明的实施例中,通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序,而当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序,解决了移动终端的耗电量较大的问题,达到了节省移动终端的耗电量的效果。In an embodiment of the present invention, by acquiring the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the second state from the first state, the information of the running application program in the mobile terminal is saved , close the application program that is running, and when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the saved application program information, which solves the problem of relatively high power consumption of the mobile terminal It solves the big problem and achieves the effect of saving the power consumption of the mobile terminal.

附图说明Description of drawings

图1为本发明第一实施例中应用程序的控制方法的流程图;FIG. 1 is a flowchart of a control method of an application program in a first embodiment of the present invention;

图2为本发明第二实施例中应用程序的控制方法的流程图;FIG. 2 is a flowchart of a control method of an application program in a second embodiment of the present invention;

图3为本发明第一个具体实例中应用程序的控制方法的流程图;Fig. 3 is a flow chart of the control method of the application program in the first specific example of the present invention;

图4为本发明第二个具体实例中应用程序的控制方法的流程图;Fig. 4 is a flow chart of the control method of the application program in the second specific example of the present invention;

图5为本发明第三个具体实例中应用程序的控制方法的流程图;Fig. 5 is a flow chart of the control method of the application program in the third specific example of the present invention;

图6为本发明第三实施例中移动终端的结构示意图之一;FIG. 6 is one of the structural schematic diagrams of the mobile terminal in the third embodiment of the present invention;

图7为本发明第三实施例中移动终端的结构示意图之二;FIG. 7 is the second structural schematic diagram of the mobile terminal in the third embodiment of the present invention;

图8为本发明第四实施例中移动终端的结构示意图;FIG. 8 is a schematic structural diagram of a mobile terminal in a fourth embodiment of the present invention;

图9为本发明第五实施例中移动终端的结构示意图。FIG. 9 is a schematic structural diagram of a mobile terminal in a fifth embodiment of the present invention.

具体实施方式detailed description

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。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 to 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.

第一实施例first embodiment

如图1所示,本发明的第一实施例提供了一种应用程序的控制方法,应用于移动终端,该方法包括:As shown in FIG. 1, the first embodiment of the present invention provides a method for controlling an application program, which is applied to a mobile terminal, and the method includes:

步骤101,获取可穿戴设备检测到的睡眠状态信息。Step 101, acquiring sleep state information detected by a wearable device.

其中,可穿戴设备与移动终端通信连接。作为一个示例,移动终端可通过蓝牙、红外、无线保真(WiFi,Wireless Fidelity)等无线通信方式与可穿戴设备建立通信连接。且在本发明的第一实施例中,移动终端获取的可穿戴设备检测到的睡眠状态信息可以是:可穿戴设备通过实时获取用户的生物信号,并根据获取的生物信号而确定的用户的睡眠状态信息。需要说明的是,当用户佩戴可穿戴设备(例如智能手环、智能手表等)时,可穿戴设备可实时获取用户的生物信号。作为一个示例,可穿戴设备获取的生物信号可以是用于确定用户的睡眠状态的生物信号。Wherein, the wearable device communicates with the mobile terminal. As an example, the mobile terminal can establish a communication connection with the wearable device through wireless communication methods such as Bluetooth, infrared, and wireless fidelity (WiFi, Wireless Fidelity). And in the first embodiment of the present invention, the sleep state information detected by the wearable device acquired by the mobile terminal may be: the wearable device acquires the user's biological signal in real time, and determines the user's sleep status according to the acquired biological signal. status information. It should be noted that when a user wears a wearable device (such as a smart bracelet, a smart watch, etc.), the wearable device can obtain the user's biological signal in real time. As an example, the biological signal acquired by the wearable device may be a biological signal used to determine the sleep state of the user.

具体的,上述睡眠状态信息可以包括:用于表明用户处于深度睡眠状态的信息、用于表明用户处于浅度睡眠状态的信息或者用于表明用户处于睡醒状态的信息。此外,上述移动终端可以为智能手机、平板电脑等设备。Specifically, the above sleep state information may include: information indicating that the user is in a deep sleep state, information indicating that the user is in a light sleep state, or information indicating that the user is in an awake state. In addition, the above-mentioned mobile terminal may be a smart phone, a tablet computer and other devices.

步骤102,当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序。Step 102, when it is determined according to the sleep state information that the user enters the second state from the first state, save the information of the running application program in the mobile terminal, and close the running application program.

其中,上述第一状态可以为睡醒状态,第二状态可以为深度睡眠状态。且保存的移动终端中正在运行的应用程序的信息可以为:正在运行的应用程序的运行状态信息,而保存该信息的目的是为了后续当用户由第二状态进入第一状态时,根据该信息打开对应的应用程序,达到在提升用户体验的情况下,节省移动终端的耗电量的效果。Wherein, the above-mentioned first state may be an awake state, and the second state may be a deep sleep state. And the saved information of the running application program in the mobile terminal can be: the running state information of the running application program, and the purpose of saving this information is to follow up when the user enters the first state from the second state, according to the information Opening the corresponding application program achieves the effect of saving power consumption of the mobile terminal while improving the user experience.

步骤103,当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。Step 103, when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the stored application program information.

其中,当根据睡眠状态信息,确定用户由第二状态进入第一状态,即用户由深度睡眠状态进入睡醒状态时,移动终端能根据之前保存的应用程序的信息,打开对应的应用程序,从而提高移动终端的人性化程度。Wherein, when according to the sleep state information, it is determined that the user enters the first state from the second state, that is, when the user enters the awake state from the deep sleep state, the mobile terminal can open the corresponding application program according to the information of the previously saved application program, thereby Improve the degree of humanization of mobile terminals.

在本发明的第一实施例中,通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序,而当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序,使移动终端能根据用户的睡眠状态信息自动关闭或打开应用程序,从而实现节省移动终端的耗电量的目的。In the first embodiment of the present invention, by acquiring the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the second state from the first state, the running application program in the mobile terminal is saved information, close the running application program, and when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the saved application program information, so that the mobile terminal can The sleep state information automatically closes or opens the application program, thereby achieving the purpose of saving power consumption of the mobile terminal.

第二实施例second embodiment

如图2所示,本发明的第二实施例提供了一种应用程序的控制方法,应用于移动终端,该方法包括:As shown in FIG. 2, the second embodiment of the present invention provides a method for controlling an application program, which is applied to a mobile terminal, and the method includes:

步骤201,获取可穿戴设备检测到的睡眠状态信息。Step 201, acquiring sleep state information detected by a wearable device.

其中,可穿戴设备与移动终端通信连接,且上述睡眠状态信息可以包括:用于表明用户处于深度睡眠状态的信息、用于表明用户处于浅度睡眠状态的信息或者用于表明用户处于睡醒状态的信息。此外,上述移动终端可以为智能手机、平板电脑等设备。Wherein, the wearable device communicates with the mobile terminal, and the above sleep state information may include: information indicating that the user is in a deep sleep state, information indicating that the user is in a light sleep state, or information indicating that the user is in an awake state Information. In addition, the above-mentioned mobile terminal may be a smart phone, a tablet computer and other devices.

步骤202,当根据睡眠状态信息,确定用户由第一状态进入第三状态时,暂停正在运行的应用程序。Step 202, when it is determined according to the sleep state information that the user enters the third state from the first state, suspend the running application program.

其中,上述第一状态可以为睡醒状态,第三状态可以为浅度睡眠状态。在本发明的第二实施例中,当用户由第一状态进入第三状态时,移动终端还能保存移动终端中正在运行的应用程序的信息,该信息具体可以为:正在运行的应用程序的运行状态信息,而保存该信息的目的是为了后续当用户由第三状态进入第一状态时,根据该信息重新启动已暂停的应用程序,达到在提升用户体验的情况下,节省移动终端的耗电量的效果。Wherein, the above-mentioned first state may be an awake state, and the third state may be a light sleep state. In the second embodiment of the present invention, when the user enters the third state from the first state, the mobile terminal can also save the information of the running application program in the mobile terminal, and the information can specifically be: the information of the running application program The purpose of saving this information is to restart the suspended application program according to this information when the user enters the first state from the third state, so as to save the power consumption of the mobile terminal while improving the user experience. power effect.

在本发明的第二实施例中,上述方法还包括:当根据睡眠状态信息,确定用户由第三状态进入第一状态时,重新启动已暂停的应用程序的步骤,从而提高移动终端的人性化程度。需要说明的是,根据上述睡眠状态信息,用户还可能由第一状态进入第二状态,或者,由第二状态进入第一状态,其中,该第二状态可以为深度睡眠状态。In the second embodiment of the present invention, the above method further includes: when it is determined according to the sleep state information that the user enters the first state from the third state, the step of restarting the suspended application program, thereby improving the humanization of the mobile terminal degree. It should be noted that, according to the above sleep state information, the user may also enter the second state from the first state, or enter the first state from the second state, wherein the second state may be a deep sleep state.

在此,以三个具体实例进一步阐述上述方法。其中,在第一个具体实例中,假设用户处于睡醒状态,则如图3所示,上述方法包括如下步骤:Here, three specific examples are used to further illustrate the above method. Wherein, in the first specific example, assuming that the user is in a state of waking up, as shown in Figure 3, the above method includes the following steps:

步骤301,获取可穿戴设备检测到的睡眠状态信息;Step 301, acquiring sleep state information detected by the wearable device;

步骤302,根据睡眠状态信息,判断用户是否处于睡醒状态,若是,则执行步骤306,否则,执行步骤303;Step 302, according to the sleep state information, judge whether the user is in the awake state, if so, execute step 306, otherwise, execute step 303;

步骤303,判断用户是否进入深度睡眠状态,若是,则执行步骤304,否则,执行步骤305;Step 303, judging whether the user enters a deep sleep state, if so, then execute step 304, otherwise, execute step 305;

步骤304,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;Step 304, save the information of the running application program in the mobile terminal, and close the running application program;

步骤305,确定用户进入浅度睡眠状态,暂停正在运行的应用程序;Step 305, determine that the user enters a light sleep state, and suspend the running application program;

步骤306,应用程序正常运行。Step 306, the application runs normally.

在第二个具体实例中,假设用户当前处于浅度睡眠状态,则如图4所示,上述方法包括如下步骤:In the second specific example, assuming that the user is currently in a light sleep state, as shown in Figure 4, the above method includes the following steps:

步骤401,获取可穿戴设备检测到的睡眠状态信息;Step 401, acquiring sleep state information detected by the wearable device;

步骤402,根据睡眠状态信息,判断用户是否进入睡醒状态,若是,则执行步骤403,否则,执行步骤404;Step 402, according to the sleep state information, it is judged whether the user enters the sleep state, if so, then execute step 403, otherwise, execute step 404;

步骤403,重新启动已暂停的应用程序;Step 403, restarting the suspended application program;

步骤404,控制已暂停的应用程序仍处于暂停状态。Step 404, controlling the suspended application to remain in the suspended state.

在第三个具体实例中,假设用户当前处于深度睡眠状态,则如图5所示,上述方法包括如下步骤:In the third specific example, assuming that the user is currently in a deep sleep state, as shown in Figure 5, the above method includes the following steps:

步骤501,获取可穿戴设备检测到的睡眠状态信息;Step 501, acquiring sleep state information detected by the wearable device;

步骤502,根据睡眠状态信息,判断用户是否进入睡醒状态,若是,则执行步骤503,否则,执行步骤504;Step 502, according to the sleep state information, it is judged whether the user enters the sleep state, if so, then execute step 503, otherwise, execute step 504;

步骤503,根据保存的应用程序的信息,打开对应的应用程序;Step 503, open the corresponding application program according to the stored application program information;

步骤504,控制已关闭的应用程序仍处于关闭状态。Step 504, controlling the closed application program to remain in the closed state.

由此可见,在本发明的第二实施例中,通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第三状态时,暂停正在运行的应用程序,而当根据睡眠状态信息,确定用户由第三状态进入第一状态时,重新启动已暂停的应用程序,使移动终端能根据用户的睡眠状态信息自动暂停或重新启动应用程序,从而实现节省移动终端的耗电量的目的。It can be seen that, in the second embodiment of the present invention, by acquiring the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the third state from the first state, the running application is suspended program, and when it is determined that the user enters the first state from the third state according to the sleep state information, the suspended application program is restarted, so that the mobile terminal can automatically suspend or restart the application program according to the user's sleep state information, thereby realizing saving The purpose of power consumption of the mobile terminal.

第三实施例third embodiment

如图6~图7所示,本发明的第三实施例提供了一种移动终端,该移动终端600包括:获取模块601、第一确定模块602以及第二确定模块603,且第一确定模块602与获取模块601以及第二确定模块603连接。As shown in Figures 6 to 7, the third embodiment of the present invention provides a mobile terminal, the mobile terminal 600 includes: an acquisition module 601, a first determination module 602 and a second determination module 603, and the first determination module 602 is connected with the acquisition module 601 and the second determination module 603 .

其中,获取模块601,用于获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;Wherein, the obtaining module 601 is used to obtain the sleep state information detected by the wearable device, wherein the wearable device is communicatively connected with the mobile terminal;

第一确定模块602,用于当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;The first determination module 602 is used to save the information of the running application program in the mobile terminal and close the running application program when it is determined that the user enters the second state from the first state according to the sleep state information;

第二确定模块603,用于当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。The second determination module 603 is configured to open the corresponding application program according to the stored application program information when it is determined according to the sleep state information that the user enters the first state from the second state.

其中,上述移动终端600可以为智能手机、平板电脑等设备。Wherein, the above-mentioned mobile terminal 600 may be a smart phone, a tablet computer and other devices.

可选的,上述移动终端还包括:与获取模块601连接的第三确定模块604。Optionally, the mobile terminal above further includes: a third determination module 604 connected to the acquisition module 601 .

该第三确定模块604,用于当根据睡眠状态信息,确定用户由第一状态进入第三状态时,暂停正在运行的应用程序。The third determination module 604 is configured to suspend the running application program when it is determined according to the sleep state information that the user enters the third state from the first state.

可选的,上述移动终端还包括:与第三确定模块604连接的第四确定模块605。Optionally, the foregoing mobile terminal further includes: a fourth determination module 605 connected to the third determination module 604 .

该第四确定模块605,用于当根据睡眠状态信息,确定用户由第三状态进入第一状态时,重新启动已暂停的应用程序。The fourth determination module 605 is configured to restart the suspended application program when it is determined according to the sleep state information that the user enters the first state from the third state.

可选的,上述第一状态为睡醒状态,第二状态为深度睡眠状态。Optionally, the above-mentioned first state is an awake state, and the second state is a deep sleep state.

可选的,上述第一状态为睡醒状态,第二状态为深度睡眠状态,第三状态为浅度睡眠状态。Optionally, the above-mentioned first state is an awake state, the second state is a deep sleep state, and the third state is a light sleep state.

在本发明的第三实施例中,移动终端通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序,而当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序,使移动终端能根据用户的睡眠状态信息自动关闭或打开应用程序,从而实现节省移动终端的耗电量的目的。In the third embodiment of the present invention, the mobile terminal obtains the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the second state from the first state, saves the application information, close the running application program, and when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the saved application program information, so that the mobile terminal can The user's sleep state information automatically closes or opens the application program, thereby achieving the purpose of saving power consumption of the mobile terminal.

需要说明的是,本发明第三实施例提供的移动终端是应用上述方法的移动终端,即上述方法的所有实施例均适用于该移动终端,且均能达到相同或相似的有益效果。It should be noted that the mobile terminal provided by the third embodiment of the present invention is a mobile terminal applying the above method, that is, all embodiments of the above method are applicable to the mobile terminal, and can achieve the same or similar beneficial effects.

第四实施例Fourth embodiment

如图8所示,本发明的第四实施例提供了一种移动终端,该移动终端800包括:至少一个处理器801、存储器802、至少一个网络接口804和用户接口803。移动终端800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。As shown in FIG. 8 , the fourth embodiment of the present invention provides a mobile terminal. The mobile terminal 800 includes: at least one processor 801 , a memory 802 , at least one network interface 804 and a user interface 803 . Various components in the mobile terminal 800 are coupled together through a bus system 805 . It can be understood that the bus system 805 is used to realize connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 805 in FIG. 8 for clarity of illustration.

其中,用户接口803可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 803 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.

可以理解,本发明实施例中的存储器802可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 802 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 802 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器802存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统8021和应用程序8022。In some implementations, the memory 802 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 8021 and an application program 8022 .

其中,操作系统8021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022,包含各种应用程序,例如媒体播放器(MediaPlayer)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序8022中。Among them, the operating system 8021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 8022 includes various application programs, such as a media player (MediaPlayer), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 8022 .

在本发明实施例中,通过调用存储器802存储的程序或指令,具体的,可以是应用程序8022中存储的程序或指令,处理器801用于获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。其中,第一状态为睡醒状态,第二状态为深度睡眠状态。In the embodiment of the present invention, the processor 801 is used to obtain the sleep state information detected by the wearable device by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, wherein, The wearable device communicates with the mobile terminal; when it is determined that the user enters the second state from the first state according to the sleep state information, save the information of the running application program in the mobile terminal, and close the running application program; when according to the sleep state Information, when it is determined that the user enters the first state from the second state, the corresponding application program is opened according to the saved application program information. Wherein, the first state is the awake state, and the second state is the deep sleep state.

上述本发明实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801 . The processor 801 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 801 or instructions in the form of software. The above-mentioned processor 801 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and completes the steps of the above method in combination with its hardware.

可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,处理器801还用于:当根据睡眠状态信息,确定用户由第一状态进入第三状态时,暂停正在运行的应用程序。其中,第一状态为睡醒状态,第二状态为深度睡眠状态,第三状态为浅度睡眠状态。Optionally, the processor 801 is further configured to: suspend the running application program when it is determined according to the sleep state information that the user enters the third state from the first state. Wherein, the first state is the awake state, the second state is the deep sleep state, and the third state is the light sleep state.

可选地,处理器801还用于:当根据睡眠状态信息,确定用户由第三状态进入第一状态时,重新启动已暂停的应用程序。Optionally, the processor 801 is further configured to: restart the suspended application program when it is determined according to the sleep state information that the user enters the first state from the third state.

移动终端800能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 800 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.

在本发明的第四实施例中,移动终端通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序,而当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序,使移动终端能根据用户的睡眠状态信息自动关闭或打开应用程序,从而实现节省移动终端的耗电量的目的。In the fourth embodiment of the present invention, the mobile terminal obtains the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the second state from the first state, saves the application information, close the running application program, and when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the saved application program information, so that the mobile terminal can The user's sleep state information automatically closes or opens the application program, thereby achieving the purpose of saving power consumption of the mobile terminal.

第五实施例fifth embodiment

如图9所示,本发明的第五实施例提供了一种移动终端,该移动终端900可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。As shown in FIG. 9 , a fifth embodiment of the present invention provides a mobile terminal. The mobile terminal 900 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图9中的移动终端900包括射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、处理器960、音频电路970、WiFi(Wireless Fidelity)模块980和电源990。Mobile terminal 900 in FIG.

其中,输入单元930可用于接收用户输入的数字或字符信息,以及产生与移动终端900的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元930可以包括触控面板931。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器960,并能接收处理器960发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 930 can be used to receive number or character information input by the user, and generate signal input related to the user setting and function control of the mobile terminal 900 . Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931 . The touch panel 931, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 931 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 960, and can receive and execute commands sent by the processor 960. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元940可用于显示由用户输入的信息或提供给用户的信息以及移动终端900的各种菜单界面。显示单元940可包括显示面板941,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。Wherein, the display unit 940 can be used to display information input by the user or provided to the user and various menu interfaces of the mobile terminal 900 . The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板931可以覆盖显示面板941,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器960以确定触摸事件的类型,随后处理器960根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 931 can cover the display panel 941 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 960 to determine the type of the touch event, and then the processor The 960 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器960是移动终端900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器921内的软件程序和/或模块,以及调用存储在第二存储器922内的数据,执行移动终端900的各种功能和处理数据,从而对移动终端900进行整体监控。可选的,处理器960可包括一个或多个处理单元。Wherein the processor 960 is the control center of the mobile terminal 900, utilizes various interfaces and lines to connect various parts of the whole mobile phone, and runs or executes the software programs and/or modules stored in the first memory 921, and calls the software programs and/or modules stored in the second memory 921. The data in the memory 922 executes various functions of the mobile terminal 900 and processes data, so as to monitor the mobile terminal 900 as a whole. Optionally, the processor 960 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器921内的软件程序和/或模块和/或该第二存储器922内的数据,处理器960用于获取可穿戴设备检测到的睡眠状态信息,其中,可穿戴设备与移动终端通信连接;当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序;当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序。其中,第一状态为睡醒状态,第二状态为深度睡眠状态。In the embodiment of the present invention, the processor 960 is used to acquire the sleep state information detected by the wearable device by calling the software programs and/or modules stored in the first memory 921 and/or the data in the second memory 922 , wherein, the wearable device communicates with the mobile terminal; when it is determined that the user enters the second state from the first state according to the sleep state information, the information of the running application program in the mobile terminal is saved, and the running application program is closed; According to the sleep state information, when it is determined that the user enters the first state from the second state, the corresponding application program is opened according to the stored application program information. Wherein, the first state is the awake state, and the second state is the deep sleep state.

可选地,处理器960还用于:当根据睡眠状态信息,确定用户由第一状态进入第三状态时,暂停正在运行的应用程序。其中,第一状态为睡醒状态,第二状态为深度睡眠状态,第三状态为浅度睡眠状态。Optionally, the processor 960 is further configured to: suspend the running application program when it is determined according to the sleep state information that the user enters the third state from the first state. Wherein, the first state is the awake state, the second state is the deep sleep state, and the third state is the light sleep state.

可选地,处理器960还用于:当根据睡眠状态信息,确定用户由第三状态进入第一状态时,重新启动已暂停的应用程序。Optionally, the processor 960 is further configured to: restart the suspended application program when it is determined according to the sleep state information that the user enters the first state from the third state.

可见,在本发明的第五实施例中,移动终端通过获取可穿戴设备检测到的睡眠状态信息,并当根据睡眠状态信息,确定用户由第一状态进入第二状态时,保存移动终端中正在运行的应用程序的信息,关闭正在运行的应用程序,而当根据睡眠状态信息,确定用户由第二状态进入第一状态时,根据保存的应用程序的信息,打开对应的应用程序,使移动终端能根据用户的睡眠状态信息自动关闭或打开应用程序,从而实现节省移动终端的耗电量的目的。It can be seen that in the fifth embodiment of the present invention, the mobile terminal obtains the sleep state information detected by the wearable device, and when it is determined according to the sleep state information that the user enters the second state from the first state, saves the current state in the mobile terminal. information of the running application program, close the running application program, and when it is determined according to the sleep state information that the user enters the first state from the second state, open the corresponding application program according to the saved application program information, and make the mobile terminal The application program can be automatically closed or opened according to the sleep state information of the user, thereby achieving the purpose of saving power consumption of the mobile terminal.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. a kind of control method of application program, is applied to mobile terminal, it is characterised in that methods described includes:
The sleep state information that detects of wearable device is obtained, wherein, the wearable device and the communication of mobile terminal Connection;
When according to the sleep state information, determining that user enters the second state by first state, the mobile terminal is preserved In the information of application program that is currently running, close described in the application program that is currently running;
When according to the sleep state information, determining that user enters first state by the second state, according to the application journey for preserving The information of sequence, opens corresponding application program.
2. method according to claim 1, it is characterised in that also include:
When according to the sleep state information, determining that user enters the third state by first state, it is currently running described in time-out Application program.
3. method according to claim 2, it is characterised in that also include:
When according to the sleep state information, determining that user enters first state by the third state, restart paused Application program.
4. the method according to any one of claims 1 to 3, it is characterised in that the first state is awake state, described Second state is deep sleep.
5. according to the method in claim 2 or 3, it is characterised in that the first state is awake state, second shape State is deep sleep, and the third state is either shallow sleep state.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Acquisition module, for obtaining the sleep state information that wearable device is detected, wherein, the wearable device with described Communication of mobile terminal connects;
First determining module, for working as according to the sleep state information, when determining that user enters the second state by first state, The information of the application program being currently running in the mobile terminal is preserved, the application program being currently running described in closing;
Second determining module, for working as according to the sleep state information, when determining that user enters first state by the second state, According to the information of the application program for preserving, corresponding application program is opened.
7. mobile terminal according to claim 6, it is characterised in that also include:
3rd determining module, for working as according to the sleep state information, when determining that user enters the third state by first state, The application program being currently running described in suspending.
8. mobile terminal according to claim 7, it is characterised in that also include:
4th determining module, for working as according to the sleep state information, when determining that user enters first state by the third state, Restart paused application program.
9. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the first state is awake state, Second state is deep sleep.
10. the mobile terminal according to claim 7 or 8, it is characterised in that the first state is awake state, described Second state is deep sleep, and the third state is either shallow sleep state.
CN201610866405.2A 2016-09-29 2016-09-29 Control method for application and mobile terminal Pending CN106445074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610866405.2A CN106445074A (en) 2016-09-29 2016-09-29 Control method for application and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610866405.2A CN106445074A (en) 2016-09-29 2016-09-29 Control method for application and mobile terminal

Publications (1)

Publication Number Publication Date
CN106445074A true CN106445074A (en) 2017-02-22

Family

ID=58170137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610866405.2A Pending CN106445074A (en) 2016-09-29 2016-09-29 Control method for application and mobile terminal

Country Status (1)

Country Link
CN (1) CN106445074A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302627A (en) * 2017-05-23 2017-10-27 深圳天珑无线科技有限公司 Improve method, mobile terminal and the storage device of mobile terminal endurance
CN108628645A (en) * 2018-04-28 2018-10-09 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN108762472A (en) * 2018-05-30 2018-11-06 努比亚技术有限公司 Wearable device control method, wearable device and computer readable storage medium
CN109062637A (en) * 2018-06-08 2018-12-21 出门问问信息科技有限公司 interface control method, device and intelligent wearable device
CN112213941A (en) * 2020-09-28 2021-01-12 泰州市盛祥纸制品有限公司 Power saving control method of wearable device and wearable device
CN114967897A (en) * 2021-02-19 2022-08-30 深圳市万普拉斯科技有限公司 Power consumption optimization method and device and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699409A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Awakening state switching-in method, device and system for electronic device
US20140125493A1 (en) * 2012-11-08 2014-05-08 Aliphcom General health and wellness management method and apparatus for a wellness application using data associated with a data-capable band
CN104410747A (en) * 2014-10-17 2015-03-11 广东欧珀移动通信有限公司 A method and system for controlling automatically an audio and video application by a wearable intelligent device
CN105677354A (en) * 2016-01-08 2016-06-15 上海斐讯数据通信技术有限公司 Mobile terminal matching device, mobile terminal and mobile terminal control method
CN105892616A (en) * 2016-03-29 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140125493A1 (en) * 2012-11-08 2014-05-08 Aliphcom General health and wellness management method and apparatus for a wellness application using data associated with a data-capable band
CN103699409A (en) * 2013-12-19 2014-04-02 小米科技有限责任公司 Awakening state switching-in method, device and system for electronic device
CN104410747A (en) * 2014-10-17 2015-03-11 广东欧珀移动通信有限公司 A method and system for controlling automatically an audio and video application by a wearable intelligent device
CN105677354A (en) * 2016-01-08 2016-06-15 上海斐讯数据通信技术有限公司 Mobile terminal matching device, mobile terminal and mobile terminal control method
CN105892616A (en) * 2016-03-29 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302627A (en) * 2017-05-23 2017-10-27 深圳天珑无线科技有限公司 Improve method, mobile terminal and the storage device of mobile terminal endurance
CN108628645A (en) * 2018-04-28 2018-10-09 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN108628645B (en) * 2018-04-28 2021-01-01 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN108762472A (en) * 2018-05-30 2018-11-06 努比亚技术有限公司 Wearable device control method, wearable device and computer readable storage medium
CN109062637A (en) * 2018-06-08 2018-12-21 出门问问信息科技有限公司 interface control method, device and intelligent wearable device
CN112213941A (en) * 2020-09-28 2021-01-12 泰州市盛祥纸制品有限公司 Power saving control method of wearable device and wearable device
CN114967897A (en) * 2021-02-19 2022-08-30 深圳市万普拉斯科技有限公司 Power consumption optimization method and device and mobile terminal

Similar Documents

Publication Publication Date Title
CN106445074A (en) Control method for application and mobile terminal
CN106570372B (en) A kind of application startup method and mobile terminal
WO2018040891A1 (en) Information display method and mobile terminal
CN107562345B (en) Information storage method and mobile terminal
CN107613117A (en) A multitasking-based interface display method and mobile terminal
CN106454456A (en) Video playing control method and mobile terminal
CN106569656A (en) Operation control method for mobile terminal, and mobile terminal
CN108710512B (en) Application program preloading method and device, storage medium and intelligent terminal
CN106022078A (en) Fingerprint module starting control method and mobile terminal
CN106775322B (en) A method and mobile terminal for preventing false triggering of virtual keys
CN107608591A (en) The display methods and mobile terminal of a kind of virtual key
CN106648113A (en) Message vibration prompting method and mobile terminal
CN106161804A (en) A kind of audio play control method and mobile terminal
CN107580134B (en) Display method of mobile terminal and mobile terminal
CN106250026A (en) The startup method of the application program of a kind of mobile terminal and mobile terminal
CN106648502A (en) Display control method of mobile terminal and mobile terminal
CN106791086B (en) Control method of mobile terminal and mobile terminal
CN107659986A (en) A screen-off clock control method and mobile terminal
CN105893130A (en) Mobile terminal application program processing method and mobile terminal
CN107221347A (en) Method and terminal that a kind of audio is played
CN106547358A (en) A kind of display packing and terminal of terminal time information
CN106681628A (en) Method and terminal for starting application programs
CN107277219A (en) A kind of start-up control method and mobile terminal
CN106210231A (en) A kind of method of information processing and mobile terminal
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication