WO2013034020A1 - Method and device for performing event reminding on terminal devices - Google Patents

Method and device for performing event reminding on terminal devices Download PDF

Info

Publication number
WO2013034020A1
WO2013034020A1 PCT/CN2012/077952 CN2012077952W WO2013034020A1 WO 2013034020 A1 WO2013034020 A1 WO 2013034020A1 CN 2012077952 W CN2012077952 W CN 2012077952W WO 2013034020 A1 WO2013034020 A1 WO 2013034020A1
Authority
WO
WIPO (PCT)
Prior art keywords
application module
prompter
operating system
terminal device
event
Prior art date
Application number
PCT/CN2012/077952
Other languages
French (fr)
Chinese (zh)
Inventor
双丹
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013034020A1 publication Critical patent/WO2013034020A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Definitions

  • the present invention relates to the field of event reminding technology for terminal devices, and in particular, to a method and device for event reminding of a terminal device. Background technique
  • the existing terminal device often has the function of event reminding, that is, using the prompting device on the terminal device to remind the user to have a birthday on a certain day, to attend a meeting at a certain time, and the like.
  • the prompting device of the terminal device is controlled by an application module.
  • the application module controls the prompting device to work; when there is no reminding event, the application module turns off the prompting device.
  • the application module performs mode conversion with the operating system. For example, when the operating system enters the sleep mode, the application module enters the sleep mode with it; when the operating system enters the awake mode, the application module enters the wakeup mode with it. mode. Therefore, when the terminal device has a reminder event and the operating system just enters the sleep mode, the application module also enters the sleep mode, and the prompter cannot be controlled, so that the terminal device cannot perform event reminding, which affects the user experience.
  • the Android (Android) mobile phone uses the prompt light to perform event reminding, and the application (APP) terminal controls the prompt light to flash when there is a reminding event.
  • the APP terminal goes into sleep. Mode, at this time, the APP side cannot control the flashing of the indicator light, and the event reminder cannot be realized.
  • the embodiment of the invention provides a method and device for an event reminder of a terminal device, which is used to solve the problem that the terminal device cannot perform event reminding after the operating system enters the sleep mode.
  • An embodiment of the present invention provides a method for an event reminder of a terminal device, where the method includes: receiving a command to cause an operating system of the terminal device to enter a sleep mode;
  • the prompter in the terminal device is controlled to work.
  • the controlling the prompting operation in the terminal device when there is a reminding event includes:
  • the first application module in the terminal device sends the working parameter of the prompter to the second application module in the terminal device;
  • the second application module controls the prompter to work according to the working parameter of the prompter; wherein the first application module controls the work of the prompter when the operating system is in the awake mode, and An application module that can enter a sleep mode with the operating system; the second application module is an application module that does not enter a sleep mode with the operating system.
  • the second application module closes the prompter.
  • the method further includes:
  • the second application module is prohibited from entering a sleep mode.
  • the first application module is an application (APP) end; and the second application module is a modem (Modem) end.
  • APP application
  • Modem modem
  • the working parameters of the prompter may include an identifier and a working period of the prompter.
  • An embodiment of the present invention provides a device for performing event reminding by a terminal device, where the device includes: a command receiving unit and a prompter control unit;
  • a command receiving unit configured to receive an operating system of the terminal device to enter a sleep mode Command
  • the prompter control unit is configured to, after the command receiving unit receives the command, control the prompter in the terminal device to work when the reminding event exists.
  • the prompter control unit includes a first application module and a second application module, where the first application module controls the work of the prompter when the operating system is in the awake mode, and can The application module enters a sleep mode with the operating system; the second application module is an application module that does not enter the sleep mode with the operating system;
  • the first application module is configured to send the working parameter of the prompter to the second application module when a reminder event exists;
  • the second application module is configured to control the prompter to work according to the working parameter of the prompter sent by the first application module.
  • the device further includes:
  • a mode control unit configured to control the operating system to enter an awake mode after the second application module controls the prompter to work
  • the second application module is further configured to close the prompter after the mode control unit controls the operating system to enter an awake mode.
  • the device further includes: a prohibiting unit, configured to prohibit the second application module from entering a sleep mode when the prompter is working.
  • a prohibiting unit configured to prohibit the second application module from entering a sleep mode when the prompter is working.
  • the first application module is an APP end; and the second application module is a Modem end.
  • the terminal device after the terminal device receives the command to put the operating system into the sleep mode, if there is a reminding event, the terminal device controls the prompter to work. Compared with the prior art, the foregoing technical solution enables the terminal device to perform event reminding after the operating system enters the sleep mode, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for an event reminder of a terminal device according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of an apparatus for event reminding of a terminal device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of another terminal according to an embodiment of the present invention
  • FIG. 4 is a structural diagram of an apparatus for performing event reminding by a terminal device according to an embodiment of the present invention
  • an embodiment of the present invention provides a method for an event reminder of a terminal device, which includes the following steps:
  • Step S11 Receive a command to cause the operating system of the terminal device to enter a sleep mode. End device.
  • Step S12 When there is a reminder event, the prompter in the control terminal device works.
  • the reminding event includes: a birthday reminding event, a meeting reminding event, an important event, and the like.
  • the above reminder events can be stored in the terminal device in the existing settings.
  • the embodiment of the present invention provides the foregoing method, so that the terminal device can still perform event reminding after the operating system enters the sleep mode, thereby improving the user experience.
  • step S12 can be specifically implemented as the following steps A1-A2:
  • Step A1 When there is a reminder event, the first application module in the terminal device sends the working parameter of the prompter to the second application module in the terminal device.
  • the first application module refers to: when the operating system is in the awake mode, the work of the prompter is controlled, and the operating system enters the sleep mode (ie, when the operating system enters the sleep mode, the first application module also operates The system goes into sleep mode with the application module.
  • the foregoing second application module refers to an application module that does not enter the sleep mode (that is, the second application module does not enter the sleep mode along with the operating system but maintains the awake mode after the operating system enters the sleep mode).
  • the first application module can be implemented as an APP terminal of the Andriod mobile phone (the APP terminal is controlled by a chip of the Andriod mobile phone, and when the operating system of the Andriod mobile phone enters a sleep mode, the APP terminal can follow When entering the sleep mode, when the operating system of the Andriod mobile phone enters the awake mode, the APP terminal can enter the awake mode; the second application module can be embodied as the modem (Modem) end of the Andriod mobile phone (the Modem end is controlled by the Andriod mobile phone) Another chip control, when the operating system of the Andriod mobile phone enters sleep mode, the Modem end usually does not follow it to enter sleep mode).
  • modem Modem
  • the APP can send the working parameters of the prompter to the Modem through the PROC interface, so that the APP can transfer the control of the prompter to the Modem, so that the Modem can control the work of the prompter.
  • the embodiment is not limited to the application of the Andriod mobile phone, and similar technical solutions can be adopted for the mobile phones of other systems, and will not be described here.
  • first application module and the second application module may be implemented in different forms according to different terminal devices, which may be determined according to actual conditions.
  • Step A2 The second application module controls the prompter to work according to the working parameters of the prompter.
  • the prompter in the embodiment of the present invention may be specifically implemented as a prompt light, a prompt sound, and the like.
  • the working parameters of the prompter are set in the first application module according to the actual situation when the terminal device is in the awake mode; the working parameters of the prompter include: the identifier and the working period of the prompter.
  • the working parameter may specifically include the identifier of the prompt light and the blinking period.
  • the terminal device includes two prompt lights: a green prompt light and a red prompt light, and the working parameters may include the identifier of the prompt light specifically used for the event reminder (when only one prompt light is used for event reminding, the working parameters only include green The indicator light or the red indicator light; when two reminder lights are used for event reminding, the working parameters should include the green indicator light and the red warning light.
  • the working parameters also include the blinking period of the indicator light (for example, the period is Is, the light is 10ms, the 990ms is off, if the green and red warning lights need to flash, it will be on and off at the same time), specifically can be set as needed .
  • the blinking period of the indicator light for example, the period is Is, the light is 10ms, the 990ms is off, if the green and red warning lights need to flash, it will be on and off at the same time
  • the blinking period of the indicator light for example, the period is Is, the light is 10ms, the 990ms is off, if the green and red warning lights need to flash, it will be on and off at the same time
  • the event reminding method may further perform the following steps B1-B2 after performing step S12:
  • Step B1 Control the operating system to enter the awake mode
  • Step B2 The second application module closes the prompter; at this time, the second application module releases the control right to the prompter.
  • the related information of the reminder event can be obtained through the display screen of the terminal device.
  • the prompter is not required to perform the reminder. Therefore, the prompting device can be avoided by using the second application module to close the prompter. The necessary work saves the power consumption of the terminal device without affecting the user experience.
  • the control prompter works or closes the prompter on the premise that the second application module is in the awake mode. If the second application module enters the sleep mode when the prompter works, the prompter will enter the awake state before the second application module enters the awake state. Always keep a working state, affecting the user experience, for example, for Android phones, if the prompt light is on, the Modem end enters the sleep mode, then the prompt light will be on for a long time before the Modem enters the wake mode. The power consumption of the Android mobile phone is increased, which affects the user experience.
  • the event reminding method described above may further perform the following steps after performing step S12: Step CI: When the prompter is working, the second application module is prohibited from entering the sleep mode.
  • the prompting device participates in the voting mechanism of the second application module: when the prompting device works, the second application module is prohibited from entering the sleep state, so that the above situation can be avoided, the power consumption of the terminal device is saved, and the user experience is not affected.
  • a method for performing event reminding by a terminal device As shown in FIG. 2, a method for performing event reminding by a terminal device according to an embodiment of the present invention is provided.
  • the embodiment of the present invention further provides an apparatus for event reminding of a terminal device, including:
  • a command receiving unit configured to receive a command to cause an operating system of the terminal device to enter a sleep mode
  • the prompter control unit is configured to control the prompter in the terminal device to work when the command receiving unit receives the command and when there is a reminder event.
  • the embodiment of the present invention provides the foregoing apparatus, so that the terminal device can still perform event reminding after the operating system enters the sleep mode, thereby improving the user experience.
  • the prompter control unit includes: a first application module and a second application module;
  • the first application module refers to an application module that controls the work of the prompter when the operating system is in the awake mode and can enter the sleep mode with the operating system;
  • the second application module refers to the application module that does not enter the sleep mode with the operating system. ; among them:
  • a first application module configured to send a working parameter of the prompter to the second application module when there is a reminding event
  • the second application module is configured to control the prompter to work according to the working parameters of the prompter sent by the first application module.
  • the first application module may be specifically implemented as an application APP end; and the second application module may be specifically implemented as a modem Modem end.
  • the apparatus may further include: a mode control unit, configured to control the operating system to enter an awake mode after the second application module controls the prompter to work;
  • the second application module is further configured to: when the mode control unit controls the operating system to enter the awake mode, close the prompter.
  • the apparatus may further include: a prohibiting unit, configured to prohibit the second application module from entering the sleep mode when the prompter works.
  • the apparatus for performing event reminding by the terminal device provided by the embodiment of the present invention may be disposed in a terminal device such as a mobile phone, a computer, or a personal digital assistant.
  • the above storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Provided are a method and device for performing event reminding on terminal devices, used to solve the problem that terminal devices are unable to perform event reminding when the operating system is in sleep mode. The method includes: receiving a command for making the operating system of a terminal device enter into sleep mode; and controlling a reminder in the terminal device to work when a reminding event exists. Compared with the prior art, the above-mentioned technical solution enables the terminal device to perform event reminding after the operating system enters into sleep mode, enhancing user experience.

Description

一种终端设备进行事件提醒的方法和装置 技术领域  Method and device for event reminding of terminal device
本发明涉及终端设备的事件提醒技术领域, 特别涉及一种终端设备进 行事件提醒的方法和装置。 背景技术  The present invention relates to the field of event reminding technology for terminal devices, and in particular, to a method and device for event reminding of a terminal device. Background technique
现有的终端设备常具有事件提醒的功能, 即利用终端设备上的提示器 提醒用户某天过生日、 某时要参加会议等。  The existing terminal device often has the function of event reminding, that is, using the prompting device on the terminal device to remind the user to have a birthday on a certain day, to attend a meeting at a certain time, and the like.
通常, 终端设备的提示器是由一个应用模块来控制的, 当存在提醒事 件时, 该应用模块控制提示器工作; 当不存在提醒事件时, 该应用模块关 闭提示器。 通常, 该应用模块会随着操作系统进行模式的转换, 比如当操 作系统进入睡眠模式时, 该应用模块会随其进入睡眠模式; 当操作系统进 入唤醒模式时, 该应用模块会随其进入唤醒模式。 因此, 当终端设备存在 提醒事件而操作系统正好又进入了睡眠模式时, 则该应用模块也进入了睡 眠模式, 无法控制提示器工作, 使得终端设备无法进行事件提醒, 影响用 户使用体验。 比如安卓(Android )手机是利用提示灯来进行事件提醒的, 应用 (APP )端在存在提醒事件时会控制提示灯闪烁, 当 Android手机的操 作系统进入睡眠模式后, APP端会随着进入睡眠模式, 此时, APP端便无 法控制提示灯闪烁, 无法实现事件提醒。  Generally, the prompting device of the terminal device is controlled by an application module. When there is a reminding event, the application module controls the prompting device to work; when there is no reminding event, the application module turns off the prompting device. Generally, the application module performs mode conversion with the operating system. For example, when the operating system enters the sleep mode, the application module enters the sleep mode with it; when the operating system enters the awake mode, the application module enters the wakeup mode with it. mode. Therefore, when the terminal device has a reminder event and the operating system just enters the sleep mode, the application module also enters the sleep mode, and the prompter cannot be controlled, so that the terminal device cannot perform event reminding, which affects the user experience. For example, the Android (Android) mobile phone uses the prompt light to perform event reminding, and the application (APP) terminal controls the prompt light to flash when there is a reminding event. When the operating system of the Android mobile phone enters the sleep mode, the APP terminal goes into sleep. Mode, at this time, the APP side cannot control the flashing of the indicator light, and the event reminder cannot be realized.
可见, 现有终端设备, 由于在操作系统进入睡眠模式后, 无法进行事 件提醒, 导致影响用户使用体验。 发明内容  It can be seen that the existing terminal device cannot affect the user experience because the operating system enters the sleep mode and cannot be reminded of the event. Summary of the invention
本发明实施例提供了一种终端设备进行事件提醒的方法和装置, 用以 解决终端设备在操作系统进入睡眠模式后, 无法进行事件提醒的问题。 本发明实施例提供一种终端设备进行事件提醒的方法, 该方法包括: 接收使所述终端设备的操作系统进入睡眠模式的命令; The embodiment of the invention provides a method and device for an event reminder of a terminal device, which is used to solve the problem that the terminal device cannot perform event reminding after the operating system enters the sleep mode. An embodiment of the present invention provides a method for an event reminder of a terminal device, where the method includes: receiving a command to cause an operating system of the terminal device to enter a sleep mode;
当存在提醒事件时, 控制所述终端设备中的提示器工作。  When there is a reminder event, the prompter in the terminal device is controlled to work.
其中, 优选地, 所述当存在提醒事件时, 控制所述终端设备中的提示 器工作, 包括:  Preferably, the controlling the prompting operation in the terminal device when there is a reminding event includes:
当存在提醒事件时, 所述终端设备中的第一应用模块将所述提示器的 工作参数发送给所述终端设备中的第二应用模块;  When the reminder event exists, the first application module in the terminal device sends the working parameter of the prompter to the second application module in the terminal device;
所述第二应用模块根据所述提示器的工作参数控制所述提示器工作; 其中, 所述第一应用模块为在所述操作系统处于唤醒模式时对所述提 示器进行工作控制的、 且能随着所述操作系统进入睡眠模式的应用模块; 所述第二应用模块为不随所述操作系统进入睡眠模式的应用模块。 所述当存在提醒事件时, 控制所述终端设备中的提示器工作之后, 包 括还包括:  The second application module controls the prompter to work according to the working parameter of the prompter; wherein the first application module controls the work of the prompter when the operating system is in the awake mode, and An application module that can enter a sleep mode with the operating system; the second application module is an application module that does not enter a sleep mode with the operating system. After the prompting event is controlled, after controlling the prompter in the terminal device to work, the method further includes:
控制所述操作系统进入唤醒模式;  Controlling the operating system to enter an awake mode;
所述第二应用模块关闭所述提示器。  The second application module closes the prompter.
其中, 优选地, 所述当存在提醒事件时, 控制终端设备中的提示器工 作之后, 该方法还包括:  Preferably, after the prompting event occurs, after the prompting device in the terminal device is operated, the method further includes:
当所述提示器工作时, 禁止所述第二应用模块进入睡眠模式。  When the prompter is working, the second application module is prohibited from entering a sleep mode.
其中, 优选地, 所述第一应用模块为应用 (APP )端; 所述第二应用模 块为调制解调器(Modem )端。  Preferably, the first application module is an application (APP) end; and the second application module is a modem (Modem) end.
其中, 优选地, 所述提示器的工作参数可包括所述提示器的标识和工 作周期。  Preferably, the working parameters of the prompter may include an identifier and a working period of the prompter.
本发明实施例提供一种终端设备进行事件提醒的装置, 该装置包括: 命令接收单元和提示器控制单元; 其中,  An embodiment of the present invention provides a device for performing event reminding by a terminal device, where the device includes: a command receiving unit and a prompter control unit;
命令接收单元, 用于接收使所在终端设备的操作系统进入睡眠模式的 命令; a command receiving unit, configured to receive an operating system of the terminal device to enter a sleep mode Command
提示器控制单元, 用于在所述命令接收单元接收到所述命令后, 当存 在提醒事件时, 控制所在终端设备中的提示器工作。  The prompter control unit is configured to, after the command receiving unit receives the command, control the prompter in the terminal device to work when the reminding event exists.
其中, 优选地, 所述提示器控制单元包括第一应用模块和第二应用模 块, 所述第一应用模块为在所述操作系统处于唤醒模式时对所述提示器进 行工作控制的、 且能随着所述操作系统进入睡眠模式的应用模块; 所述第 二应用模块为不随所述操作系统进入睡眠模式的应用模块; 其中:  Preferably, the prompter control unit includes a first application module and a second application module, where the first application module controls the work of the prompter when the operating system is in the awake mode, and can The application module enters a sleep mode with the operating system; the second application module is an application module that does not enter the sleep mode with the operating system;
所述第一应用模块, 用于当存在提醒事件时, 将所述提示器的工作参 数发送给所述第二应用模块;  The first application module is configured to send the working parameter of the prompter to the second application module when a reminder event exists;
所述第二应用模块, 用于根据第一应用模块发来的所述提示器的工作 参数控制所述提示器工作。  The second application module is configured to control the prompter to work according to the working parameter of the prompter sent by the first application module.
其中, 优选地, 所述的装置还包括:  Preferably, the device further includes:
模式控制单元 , 用于在所述第二应用模块控制所述提示器工作之后 , 控制所述操作系统进入唤醒模式;  a mode control unit, configured to control the operating system to enter an awake mode after the second application module controls the prompter to work;
相应的, 所述第二应用模块, 还用于在所述模式控制单元控制所述操 作系统进入唤醒模式后, 关闭所述提示器。  Correspondingly, the second application module is further configured to close the prompter after the mode control unit controls the operating system to enter an awake mode.
其中, 优选地, 所述的装置还包括: 禁止单元, 用于当所述提示器工 作时, 禁止所述第二应用模块进入睡眠模式。  Preferably, the device further includes: a prohibiting unit, configured to prohibit the second application module from entering a sleep mode when the prompter is working.
其中, 优选地, 所述第一应用模块为 APP 端; 所述第二应用模块为 Modem端。  Preferably, the first application module is an APP end; and the second application module is a Modem end.
本发明实施例提供的技术方案中, 在终端设备接收到使操作系统进入 睡眠模式的命令后, 如果存在提醒事件, 则终端设备会控制提示器工作。 与现有技术相比, 上述技术方案使终端设备在操作系统进入睡眠模式之后, 仍能够进行事件提醒, 提高用户使用体验。 附图说明 In the technical solution provided by the embodiment of the present invention, after the terminal device receives the command to put the operating system into the sleep mode, if there is a reminding event, the terminal device controls the prompter to work. Compared with the prior art, the foregoing technical solution enables the terminal device to perform event reminding after the operating system enters the sleep mode, thereby improving the user experience. DRAWINGS
图 1为本发明实施例中终端设备进行事件提醒的方法流程图; 图 2为本发明实施例中一种终端设备进行事件提醒的装置结构图; 图 3为本发明实施例中另一种终端设备进行事件提醒的装置结构图; 图 4为本发明实施例中再一种终端设备进行事件提醒的装置结构图。 具体实施方式  1 is a flowchart of a method for an event reminder of a terminal device according to an embodiment of the present invention; FIG. 2 is a structural diagram of an apparatus for event reminding of a terminal device according to an embodiment of the present invention; FIG. 3 is a schematic diagram of another terminal according to an embodiment of the present invention; FIG. 4 is a structural diagram of an apparatus for performing event reminding by a terminal device according to an embodiment of the present invention; FIG. detailed description
为使本发明实施例要解决的技术问题、 技术方案和优点更加清楚, 下 面将结合附图及具体实施例进行详细描述。  The technical problems, the technical solutions, and the advantages of the embodiments of the present invention will be more clearly described in the following description.
如图 1所示, 本发明实施例提供了一种终端设备进行事件提醒的方法, 包括以下步驟:  As shown in FIG. 1 , an embodiment of the present invention provides a method for an event reminder of a terminal device, which includes the following steps:
步驟 S11: 接收使终端设备的操作系统进入睡眠模式的命令。 端设备。  Step S11: Receive a command to cause the operating system of the terminal device to enter a sleep mode. End device.
步驟 S12: 当存在提醒事件时, 控制终端设备中的提示器工作。  Step S12: When there is a reminder event, the prompter in the control terminal device works.
在本发明实施例中, 所述提醒事件包括: 生日提醒事件、 会议提醒事 件、 重要事项事件等。 上述提醒事件可采用现有的设置的方式存储在终端 设备中。  In the embodiment of the present invention, the reminding event includes: a birthday reminding event, a meeting reminding event, an important event, and the like. The above reminder events can be stored in the terminal device in the existing settings.
与现有技术相比, 本发明实施例提供上述方法, 可使终端设备在操作 系统进入睡眠模式之后, 仍能够进行事件提醒, 提高了用户使用体验。  Compared with the prior art, the embodiment of the present invention provides the foregoing method, so that the terminal device can still perform event reminding after the operating system enters the sleep mode, thereby improving the user experience.
优选地, 步驟 S12可具体实施为以下步驟 A1-A2:  Preferably, step S12 can be specifically implemented as the following steps A1-A2:
步驟 A1: 当存在提醒事件时, 终端设备中的第一应用模块将提示器的 工作参数发送给终端设备中的第二应用模块。  Step A1: When there is a reminder event, the first application module in the terminal device sends the working parameter of the prompter to the second application module in the terminal device.
上述第一应用模块是指: 在操作系统处于唤醒模式时, 对提示器进行 工作控制的、 且能随着操作系统进入睡眠模式 (即操作系统进入睡眠模式 时, 第一应用模块也随着操作系统一起进入睡眠模式) 的应用模块。 上述第二应用模块是指: 不随着操作系统进入睡眠模式 (即操作系统 进入睡眠模式后, 第二应用模块并不随着操作系统一起进入睡眠模式, 而 是保持唤醒模式) 的应用模块。 The first application module refers to: when the operating system is in the awake mode, the work of the prompter is controlled, and the operating system enters the sleep mode (ie, when the operating system enters the sleep mode, the first application module also operates The system goes into sleep mode with the application module. The foregoing second application module refers to an application module that does not enter the sleep mode (that is, the second application module does not enter the sleep mode along with the operating system but maintains the awake mode after the operating system enters the sleep mode).
比如, 对于 Andriod手机来说, 第一应用模块可具体实施为 Andriod手 机的 APP端 (该 APP端由 Andriod手机的一个芯片控制 , 当 Andriod手机 的操作系统进入睡眠模式时, 该 APP端可随着进入睡眠模式, 当 Andriod 手机的操作系统进入唤醒模式时,该 APP端可随着进入唤醒模式); 第二应 用模块可具体实施为 Andriod手机的调制解调器(Modem )端 (该 Modem 端由 Andriod手机的另一个芯片控制, 当 Andriod手机的操作系统进入睡眠 模式时, 该 Modem端通常不跟随其进入睡眠模式)。 APP端可通过 PROC 接口将提示器的工作参数发送给 Modem端, 从而 APP端将对提示器的控 制权转移给 Modem端, 使 Modem端能对提示器进行工作控制。 当然, 本 实施例也并不限于 Andriod手机的应用,对于其他系统的手机也才可采用类 似的技术方案, 在此不再敷述。  For example, for an Android phone, the first application module can be implemented as an APP terminal of the Andriod mobile phone (the APP terminal is controlled by a chip of the Andriod mobile phone, and when the operating system of the Andriod mobile phone enters a sleep mode, the APP terminal can follow When entering the sleep mode, when the operating system of the Andriod mobile phone enters the awake mode, the APP terminal can enter the awake mode; the second application module can be embodied as the modem (Modem) end of the Andriod mobile phone (the Modem end is controlled by the Andriod mobile phone) Another chip control, when the operating system of the Andriod mobile phone enters sleep mode, the Modem end usually does not follow it to enter sleep mode). The APP can send the working parameters of the prompter to the Modem through the PROC interface, so that the APP can transfer the control of the prompter to the Modem, so that the Modem can control the work of the prompter. Of course, the embodiment is not limited to the application of the Andriod mobile phone, and similar technical solutions can be adopted for the mobile phones of other systems, and will not be described here.
当然, 第一应用模块和第二应用模块可根据终端设备的不同而具体实 施为不同的形式, 具体可根据实际情况而定。  Of course, the first application module and the second application module may be implemented in different forms according to different terminal devices, which may be determined according to actual conditions.
步驟 A2: 第二应用模块根据提示器的工作参数控制提示器工作。  Step A2: The second application module controls the prompter to work according to the working parameters of the prompter.
本发明实施例中的提示器可具体实施为提示灯、 提示音响等。  The prompter in the embodiment of the present invention may be specifically implemented as a prompt light, a prompt sound, and the like.
所述提示器的工作参数为终端设备处于唤醒模式时, 根据实际情况设 置在第一应用模块中; 提示器的工作参数包括: 提示器的标识和工作周期。 比如, 当提示器具体实施为提示灯时, 工作参数可具体包括提示灯的标识 和闪烁周期。 比如, 终端设备包括两个提示灯: 绿色提示灯和红色提示灯, 则工作参数可包括具体用来事件提醒的提示灯的标识 (当只用一个提示灯 进行事件提醒时, 工作参数只包括绿色提示灯或红色提示灯的标识; 当用 两个提示灯进行事件提醒时, 工作参数应包括绿色提示灯和红色提示灯的 标识), 工作参数还包括该提示灯的闪烁周期 (如周期为 Is, 亮 10ms , 灭 990ms , 如果绿色提示灯和红色提示灯都需要闪烁的话, 则将同时亮灭), 具体可根据需要设置。 当然, 如果终端设备上只有一个提示器, 则工作参 数中可仅包括该提示器的工作周期。 The working parameters of the prompter are set in the first application module according to the actual situation when the terminal device is in the awake mode; the working parameters of the prompter include: the identifier and the working period of the prompter. For example, when the prompter is specifically implemented as a prompt light, the working parameter may specifically include the identifier of the prompt light and the blinking period. For example, the terminal device includes two prompt lights: a green prompt light and a red prompt light, and the working parameters may include the identifier of the prompt light specifically used for the event reminder (when only one prompt light is used for event reminding, the working parameters only include green The indicator light or the red indicator light; when two reminder lights are used for event reminding, the working parameters should include the green indicator light and the red warning light. Identification), the working parameters also include the blinking period of the indicator light (for example, the period is Is, the light is 10ms, the 990ms is off, if the green and red warning lights need to flash, it will be on and off at the same time), specifically can be set as needed . Of course, if there is only one prompter on the terminal device, only the working period of the prompter may be included in the working parameter.
具体地, 第二应用模块在根据提示器的工作参数控制提示器工作时, 可以借助定时器来进行。 比如提示灯的闪烁周期为 10ms , 则第二应用模块 令初始 t=0, 记录每次索网脉沖的时间 t,, 若 t, - t〉10ms, 则提示灯开始闪 烁 10ms (即一个闪烁周期的时长, 闪烁完成后定时器将重新计时), 接着 灭掉, 等待下一次定时器到时使提示灯再次闪烁, 如此周而复始。  Specifically, when the second application module controls the prompter according to the working parameters of the prompter, the second application module can be performed by using a timer. For example, if the blinking period of the prompt light is 10ms, the second application module makes the initial t=0, and records the time t of each cable pulse. If t, -t>10ms, the prompt light starts to blink for 10ms (ie, one blinking period) The duration, after the flashing is completed, the timer will be re-timed), then it will be extinguished, waiting for the next timer to expire, so that the indicator light flashes again, and so on.
另外, 优选地, 上述事件提醒方法在执行步驟 S12之后还可执行以下 步驟 B1-B2:  In addition, preferably, the event reminding method may further perform the following steps B1-B2 after performing step S12:
步驟 B1 : 控制操作系统进入唤醒模式;  Step B1: Control the operating system to enter the awake mode;
步驟 B2: 第二应用模块关闭提示器; 此时, 第二应用模块释放对提示 器的控制权。  Step B2: The second application module closes the prompter; at this time, the second application module releases the control right to the prompter.
即当操作系统进入唤醒模式时, 可通过终端设备的显示屏获知提醒事 件的相关信息, 此时, 不需要提示器进行提醒, 因此, 利用第二应用模块 关闭提示器, 可避免提示器进行不必要的工作, 节省终端设备的功耗, 不 影响用户的使用体验。  That is, when the operating system enters the awake mode, the related information of the reminder event can be obtained through the display screen of the terminal device. At this time, the prompter is not required to perform the reminder. Therefore, the prompting device can be avoided by using the second application module to close the prompter. The necessary work saves the power consumption of the terminal device without affecting the user experience.
另外, 控制提示器工作或关闭提示器是以第二应用模块处于唤醒模式 为前提的, 如果在提示器工作时第二应用模块进入睡眠模式, 则提示器会 在第二应用模块进入唤醒状态之前一直保持一个工作状态, 影响用户使用 体验, 比如对于 Android手机来说, 如果提示灯在亮的时候正好 Modem端 进入睡眠模式, 则在 Modem端进入唤醒模式之前, 提示灯会长时间亮着, 这会使得 Android手机的功耗增大,影响用户使用体验。 为避免这种情况发 生, 优选地, 上述事件提醒方法在执行步驟 S12之后还可执行以下步驟: 步驟 CI: 当提示器工作时, 禁止第二应用模块进入睡眠模式。 In addition, the control prompter works or closes the prompter on the premise that the second application module is in the awake mode. If the second application module enters the sleep mode when the prompter works, the prompter will enter the awake state before the second application module enters the awake state. Always keep a working state, affecting the user experience, for example, for Android phones, if the prompt light is on, the Modem end enters the sleep mode, then the prompt light will be on for a long time before the Modem enters the wake mode. The power consumption of the Android mobile phone is increased, which affects the user experience. In order to prevent this from happening, preferably, the event reminding method described above may further perform the following steps after performing step S12: Step CI: When the prompter is working, the second application module is prohibited from entering the sleep mode.
即增加提示器参与第二应用模块的投票机制: 当提示器工作时禁止第 二应用模块进入睡眠状态, 这样便可避免出现上述情况发生, 节省终端设 备的功耗, 不影响用户的使用体验。  That is to say, the prompting device participates in the voting mechanism of the second application module: when the prompting device works, the second application module is prohibited from entering the sleep state, so that the above situation can be avoided, the power consumption of the terminal device is saved, and the user experience is not affected.
如图 2所示, 对应本发明实施例提供的终端设备进行事件提醒的方法, 本发明实施例还提供了一种终端设备进行事件提醒的装置, 包括:  As shown in FIG. 2, a method for performing event reminding by a terminal device according to an embodiment of the present invention is provided. The embodiment of the present invention further provides an apparatus for event reminding of a terminal device, including:
命令接收单元, 用于接收使所在终端设备的操作系统进入睡眠模式的 命令;  a command receiving unit, configured to receive a command to cause an operating system of the terminal device to enter a sleep mode;
提示器控制单元, 用于在命令接收单元接收到命令后, 当存在提醒事 件时, 控制所在终端设备中的提示器工作。  The prompter control unit is configured to control the prompter in the terminal device to work when the command receiving unit receives the command and when there is a reminder event.
与现有技术相比, 本发明实施例提供上述装置, 可使终端设备在操作 系统进入睡眠模式之后, 仍能够进行事件提醒, 提高用户使用体验。  Compared with the prior art, the embodiment of the present invention provides the foregoing apparatus, so that the terminal device can still perform event reminding after the operating system enters the sleep mode, thereby improving the user experience.
优选地, 如图 3 所示, 提示器控制单元包括: 第一应用模块和第二应 用模块;  Preferably, as shown in FIG. 3, the prompter control unit includes: a first application module and a second application module;
第一应用模块是指在操作系统处于唤醒模式时对提示器进行工作控制 的、 且能随着操作系统进入睡眠模式的应用模块; 第二应用模块是指不随 着操作系统进入睡眠模式的应用模块; 其中:  The first application module refers to an application module that controls the work of the prompter when the operating system is in the awake mode and can enter the sleep mode with the operating system; the second application module refers to the application module that does not enter the sleep mode with the operating system. ; among them:
第一应用模块, 用于当存在提醒事件时, 将提示器的工作参数发送给 第二应用模块;  a first application module, configured to send a working parameter of the prompter to the second application module when there is a reminding event;
第二应用模块, 用于根据第一应用模块发来的提示器的工作参数控制 提示器工作。  The second application module is configured to control the prompter to work according to the working parameters of the prompter sent by the first application module.
其中, 当终端设备为 Android手机时, 第一应用模块可具体实施为应用 APP端; 第二应用模块可具体实施为调制解调器 Modem端。  The first application module may be specifically implemented as an application APP end; and the second application module may be specifically implemented as a modem Modem end.
另外, 优选地, 如图 4所示, 上述装置还可包括: 模式控制单元, 用 于在第二应用模块控制提示器工作之后, 控制操作系统进入唤醒模式; 相 应的, 所述第二应用模块, 还可用于在模式控制单元控制操作系统进入唤 醒模式后, 关闭提示器。 In addition, as shown in FIG. 4, the apparatus may further include: a mode control unit, configured to control the operating system to enter an awake mode after the second application module controls the prompter to work; The second application module is further configured to: when the mode control unit controls the operating system to enter the awake mode, close the prompter.
优选地, 再如图 4所示, 上述装置还可包括: 禁止单元, 用于当提示 器工作时, 禁止第二应用模块进入睡眠模式。  Preferably, as shown in FIG. 4, the apparatus may further include: a prohibiting unit, configured to prohibit the second application module from entering the sleep mode when the prompter works.
本发明实施例提供的终端设备进行事件提醒的装置可设置于手机、 电 脑、 个人数字助理等终端设备内。  The apparatus for performing event reminding by the terminal device provided by the embodiment of the present invention may be disposed in a terminal device such as a mobile phone, a computer, or a personal digital assistant.
本领域普通技术人员可以理解, 实现上述事实的方法中的全部或部分 步驟是可以通过程序来指令相关的硬件来完成, 上述的程序可以存储于一 计算机所可读取的存储介质中, 该程序在执行时, 包括上述的步驟。 上述 的存储介质, 可以是只读内存(ROM, Read-Only Memory ) /随机存储器 ( RAM, random access memory ), 磁盘、 光盘等。  It will be understood by those skilled in the art that all or part of the steps of the method for realizing the above facts may be completed by a program instructing related hardware, and the above program may be stored in a storage medium readable by a computer, the program When executed, the above steps are included. The above storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or the like.
以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明所述原理的前提下, 还可以作出若干改 进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种终端设备进行事件提醒的方法, 其特征在于, 该方法包括: 接收使终端设备的操作系统进入睡眠模式的命令;  A method for an event reminder of a terminal device, the method comprising: receiving a command to cause an operating system of the terminal device to enter a sleep mode;
当存在提醒事件时, 控制所述终端设备中的提示器工作。  When there is a reminder event, the prompter in the terminal device is controlled to work.
2、 如权利要求 1所述的方法, 其特征在于, 所述当存在提醒事件时, 控制所述终端设备中的提示器工作, 包括:  2. The method according to claim 1, wherein the controlling the prompter in the terminal device when there is a reminding event comprises:
当存在提醒事件时, 所述终端设备中的第一应用模块将所述提示器的 工作参数发送给所述终端设备中的第二应用模块;  When the reminder event exists, the first application module in the terminal device sends the working parameter of the prompter to the second application module in the terminal device;
所述第二应用模块根据所述提示器的工作参数控制所述提示器工作; 其中, 所述第一应用模块为在所述操作系统处于唤醒模式时, 对所述 提示器进行工作控制的、 且能随着所述操作系统进入睡眠模式的应用模块; 所述第二应用模块为不随所述操作系统进入睡眠模式的应用模块。 The second application module controls the prompter to work according to the working parameter of the prompter; wherein the first application module controls the work of the prompter when the operating system is in the awake mode, And the application module that can enter the sleep mode with the operating system; the second application module is an application module that does not enter the sleep mode with the operating system.
3、 如权利要求 2所述的方法, 其特征在于, 所述当存在提醒事件时, 控制所述终端设备中的提示器工作之后, 该方法还包括: The method of claim 2, wherein the method further comprises: after the prompting event, controlling the prompter in the terminal device to work, the method further comprises:
控制所述操作系统进入唤醒模式;  Controlling the operating system to enter an awake mode;
所述第二应用模块关闭所述提示器。  The second application module closes the prompter.
4、 如权利要求 2所述的方法, 其特征在于, 所述当存在提醒事件时, 控制终端设备中的提示器工作之后, 该方法还包括:  The method according to claim 2, wherein, after the reminder event is present, after the prompting device in the terminal device is operated, the method further includes:
当所述提示器工作时, 禁止所述第二应用模块进入睡眠模式。  When the prompter is working, the second application module is prohibited from entering a sleep mode.
5、 如权利要求 2至 4中任一所述的方法, 其特征在于,  5. A method according to any one of claims 2 to 4, characterized in that
所述第一应用模块为应用 APP端;  The first application module is an application APP end;
所述第二应用模块为调制解调器 Modem端。  The second application module is a modem Modem end.
6、 如权利要求 2至 4中任一所述的方法, 其特征在于, 所述提示器的 工作参数, 包括: 所述提示器的标识和工作周期。  The method according to any one of claims 2 to 4, wherein the working parameters of the prompter include: an identifier of the prompter and a duty cycle.
7、 一种终端设备进行事件提醒的装置, 其特征在于, 该装置包括: 命 令接收单元和提示器控制单元; 其中, 7. A device for alerting an event of a terminal device, characterized in that the device comprises: a receiving unit and a prompting unit; wherein
命令接收单元, 用于接收使所在终端设备的操作系统进入睡眠模式的 命令;  a command receiving unit, configured to receive a command to cause an operating system of the terminal device to enter a sleep mode;
提示器控制单元, 用于在所述命令接收单元接收到所述命令后, 当存 在提醒事件时, 控制所在终端设备中的提示器工作。  The prompter control unit is configured to, after the command receiving unit receives the command, control the prompter in the terminal device to work when the reminding event exists.
8、如权利要求 7所述的装置, 其特征在于, 所述提示器控制单元包括: 第一应用模块和第二应用模块, 所述第一应用模块为在所述操作系统处于 唤醒模式时对所述提示器进行工作控制的、 且能随着所述操作系统进入睡 眠模式的应用模块; 所述第二应用模块为不随所述操作系统进入睡眠模式 的应用模块; 其中:  The device according to claim 7, wherein the prompter control unit comprises: a first application module and a second application module, wherein the first application module is when the operating system is in an awake mode The prompting device is an application module that is work-controlled and can enter a sleep mode with the operating system; the second application module is an application module that does not enter the sleep mode with the operating system;
所述第一应用模块, 用于当存在提醒事件时, 将所述提示器的工作参 数发送给所述第二应用模块;  The first application module is configured to send the working parameter of the prompter to the second application module when a reminder event exists;
所述第二应用模块, 用于根据第一应用模块发来的所述提示器的工作 参数控制所述提示器工作。  The second application module is configured to control the prompter to work according to the working parameter of the prompter sent by the first application module.
9、 如权利要求 8所述的装置, 其特征在于, 所述装置还包括: 模式控 制单元, 用于在所述第二应用模块控制所述提示器工作之后, 控制所述操 作系统进入唤醒模式;  The device according to claim 8, wherein the device further comprises: a mode control unit, configured to control the operating system to enter an awake mode after the second application module controls the prompter to work ;
相应的, 所述第二应用模块, 还用于在所述模式控制单元控制所述操 作系统进入唤醒模式后, 关闭所述提示器。  Correspondingly, the second application module is further configured to close the prompter after the mode control unit controls the operating system to enter an awake mode.
10、 如权利要求 7所述的装置, 其特征在于, 所述装置还包括: 禁止 单元, 用于当所述提示器工作时, 禁止所述第二应用模块进入睡眠模式。  The device according to claim 7, wherein the device further comprises: a prohibiting unit, configured to prohibit the second application module from entering a sleep mode when the prompter is working.
11、 如权利要求 8至 10中任一所述的装置, 其特征在于, 所述第一应 用模块为 APP端; 所述第二应用模块为 Modem端。  The device according to any one of claims 8 to 10, wherein the first application module is an APP terminal; and the second application module is a Modem terminal.
PCT/CN2012/077952 2011-09-09 2012-06-29 Method and device for performing event reminding on terminal devices WO2013034020A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110268415.3 2011-09-09
CN201110268415.3A CN102325222B (en) 2011-09-09 2011-09-09 A kind of method and apparatus of carrying out event reminding by utilizing terminal equipment

Publications (1)

Publication Number Publication Date
WO2013034020A1 true WO2013034020A1 (en) 2013-03-14

Family

ID=45452890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/077952 WO2013034020A1 (en) 2011-09-09 2012-06-29 Method and device for performing event reminding on terminal devices

Country Status (2)

Country Link
CN (1) CN102325222B (en)
WO (1) WO2013034020A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325222B (en) * 2011-09-09 2015-12-16 中兴通讯股份有限公司 A kind of method and apparatus of carrying out event reminding by utilizing terminal equipment
CN102739857A (en) * 2012-05-31 2012-10-17 华为技术有限公司 Short message processing method and terminal
CN102932544B (en) * 2012-10-29 2015-04-22 广东欧珀移动通信有限公司 Method for call answering in closedown status and intelligent mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668064A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 Method for receiving call and mobile communication terminal thereof
JP2010192979A (en) * 2009-02-16 2010-09-02 Panasonic Corp Mobile terminal
CN102325222A (en) * 2011-09-09 2012-01-18 中兴通讯股份有限公司 Method and device for carrying out event reminding by utilizing terminal equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080162918A1 (en) * 2007-01-02 2008-07-03 Nokia Corporation Hide boot
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and power saving method thereof and encapsulation packet filter method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010192979A (en) * 2009-02-16 2010-09-02 Panasonic Corp Mobile terminal
CN101668064A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 Method for receiving call and mobile communication terminal thereof
CN102325222A (en) * 2011-09-09 2012-01-18 中兴通讯股份有限公司 Method and device for carrying out event reminding by utilizing terminal equipment

Also Published As

Publication number Publication date
CN102325222A (en) 2012-01-18
CN102325222B (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN106332159B (en) WIFI abnormity automatic reconnection device, system and method
CN101997950B (en) Method, device and terminal for realizing alarm clock
EP2871825B1 (en) Method for enabling shutdown alarm clock and mobile terminal
US10080194B2 (en) Method, device, and computer-readable storage medium for awaking electronic equipment
CN107302789B (en) Method and system for improving battery endurance of android device
CN103561179B (en) The method and apparatus that intelligent terminal's wakeup time adjusts
US9285862B2 (en) Mobile terminal and power-saving method and device for same
CN104615097B (en) A kind of method and apparatus of remote control mobile terminal
US20100124896A1 (en) Dual battery mobile phone
WO2011029320A1 (en) Method and mobile communication terminal for answering incoming call
CN102196097A (en) Method and device for automatically closing idle programs of mobile communication terminal background
CN111404819B (en) Network control method and system based on routing function
CN105323837B (en) Intermittent networking method and system
CN103561142A (en) Method and mobile terminal for controlling alarm clock state through human eye recognition
CN106547335A (en) Energy consumption reduces method and mobile terminal
WO2012010010A1 (en) Method for entering idle mode and mobile terminal for implementing such method
CN105335146B (en) The method and portable electronic device of management software data traffic
TW201341991A (en) Alarm clock managing and controlling system and method of electronic device
CN104714620A (en) Method and device for adjusting wakeup frequency of intelligent terminal
CN101335786A (en) Silencing system and method
WO2016045525A1 (en) Method and apparatus for processing state of terminal
WO2017107339A1 (en) Method for waking network telephone
CN105245718A (en) Control method and device of breathing lamp and mobile terminal
WO2013034020A1 (en) Method and device for performing event reminding on terminal devices
CN106686633A (en) Method for preventing WIFI malicious frequent awakening

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12830463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12830463

Country of ref document: EP

Kind code of ref document: A1