技术领域technical field
本发明涉及移动通信领域,具体涉及一种闹钟提醒方法、装置、存储介质和终端。The invention relates to the field of mobile communication, in particular to an alarm clock reminder method, device, storage medium and terminal.
背景技术Background technique
随着终端技术的发展,移动终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, the mobile terminal has gradually changed from simply providing communication equipment to a platform for general software operation. The platform no longer aims to provide call management, but to provide an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.
闹钟应用是现在的智能移动装置(如手机)的常见应用之一。使用时,用户预先设置一个提醒时间,若到达该提醒时间时,闹钟应用会以闹铃或振动等方式提醒用户,此时移动装置一般会显示闹钟提醒界面,所述闹钟提醒界面上一般设有虚拟按钮供用户关闭/暂停闹钟提醒。The alarm clock application is one of the common applications of current smart mobile devices (such as mobile phones). When in use, the user sets a reminder time in advance. If the reminder time is reached, the alarm clock application will remind the user with an alarm or vibration. At this time, the mobile device generally displays an alarm clock reminder interface. A virtual button for the user to turn off/snooze the alarm.
发明内容Contents of the invention
本发明实施例提供一种闹钟提醒方法、装置、存储介质和终端,可以提升闹钟提醒效果。Embodiments of the present invention provide an alarm clock reminder method, device, storage medium, and terminal, which can improve the alarm clock reminder effect.
第一方面,本发明实施例提供一种闹钟提醒方法,包括:In the first aspect, an embodiment of the present invention provides an alarm clock reminder method, including:
在触发第一闹钟提醒事件后,判断所述第一闹钟提醒事件是否被中止;After the first alarm clock reminder event is triggered, it is judged whether the first alarm clock reminder event is suspended;
若被中止,则在所述第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,所述预设时间段以所述第一闹钟提醒事件被中止的时间为起点;If it is suspended, after the first alarm clock reminder event is suspended, the number of exercise steps of the user within a preset time period is obtained, and the preset time period is based on the time when the first alarm clock reminder event is suspended;
判断所述运动步数是否满足预设条件;judging whether the number of motion steps meets a preset condition;
若满足,则触发第二闹钟提醒事件。If satisfied, the second alarm clock reminder event is triggered.
第二方面,本发明实施例还提供了一种闹钟提醒装置,包括:第一触发模块、第一判断模块、步数获取模块、第二判断模块以及第二触发模块;In the second aspect, the embodiment of the present invention also provides an alarm clock reminder device, including: a first trigger module, a first judgment module, a step acquisition module, a second judgment module, and a second trigger module;
所述第一触发模块,用于触发第一闹钟提醒事件;The first trigger module is configured to trigger a first alarm clock reminder event;
所述第一判断模块,用于判断所述第一闹钟提醒事件是否被中止;The first judging module is configured to judge whether the first alarm clock reminder event is suspended;
所述步数获取模块,用于当所述第一判断模块判断为是时,在所述第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,所述预设时间段以所述第一闹钟提醒事件被中止的时间为起点;The number of steps acquisition module is used to obtain the number of exercise steps of the user within a preset time period after the first alarm clock reminder event is suspended when the first judgment module judges as yes, and the preset time The segment starts from the time when the first alarm clock reminder event is suspended;
所述第二判断模块,用于判断所述运动步数是否满足预设条件;The second judging module is used to judge whether the number of motion steps satisfies a preset condition;
所述第二触发模块,用于当所述第二判断模块判断为是时,触发第二闹钟提醒事件。The second triggering module is configured to trigger a second alarm clock reminder event when the second judging module judges yes.
第三方面,本发明还提供一种存储介质,所述存储介质存储有指令,所述指令被处理器执行实现如上所述方法的步骤。In a third aspect, the present invention further provides a storage medium, the storage medium stores instructions, and the instructions are executed by a processor to implement the steps of the above-mentioned method.
第四方面,本发明实施例还提供一种终端,包括存储器和处理器,所述存储器存储有指令,所述处理器加载所述指令以执行如上所述闹钟提醒方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a terminal, including a memory and a processor, the memory stores instructions, and the processor loads the instructions to execute the steps of the above alarm clock reminder method.
本发明实施例首先在触发第一闹钟提醒事件后,判断第一闹钟提醒事件是否被中止,若被中止,则在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,预设时间段以第一闹钟提醒事件被中止的时间为起点,判断该运动步数是否满足预设条件,若满足,则触发第二闹钟提醒事件。本发明可以在闹钟事件被中止之后,继续根据用户的运动步数判断用户是否满足预设条件,也即是否仍处于睡眠状态,若是则重新触发闹钟提醒时间以唤醒用户,避免用户错失重要日程安排,提升闹钟的提醒效果。In the embodiment of the present invention, first, after the first alarm clock reminder event is triggered, it is judged whether the first alarm clock reminder event is suspended, and if it is suspended, the number of exercise steps of the user within a preset time period is obtained after the first alarm clock reminder event is suspended. , the preset time period starts from the time when the first alarm clock reminder event is suspended, and judges whether the number of exercise steps satisfies the preset condition, and if so, triggers the second alarm clock reminder event. After the alarm clock event is suspended, the present invention can continue to judge whether the user meets the preset condition according to the user's exercise steps, that is, whether the user is still in a sleep state, and if so, re-trigger the alarm clock reminder time to wake up the user, so as to prevent the user from missing important schedules , to improve the reminder effect of the alarm clock.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本发明实施例提供的闹钟提醒方法的一种流程示意图。FIG. 1 is a schematic flowchart of an alarm clock reminder method provided by an embodiment of the present invention.
图2为本发明实施例提供的闹钟提醒方法的一种应用场景示意图。Fig. 2 is a schematic diagram of an application scenario of the alarm clock reminder method provided by the embodiment of the present invention.
图3为本发明实施例提供的闹钟提醒方法的另一种应用场景示意图。Fig. 3 is a schematic diagram of another application scenario of the alarm clock reminder method provided by the embodiment of the present invention.
图4为本发明实施例提供的闹钟提醒方法的另一种流程示意图。Fig. 4 is another schematic flow chart of the alarm clock reminder method provided by the embodiment of the present invention.
图5为本发明实施例提供的闹钟提醒装置的一种结构示意图。Fig. 5 is a schematic structural diagram of an alarm clock reminder device provided by an embodiment of the present invention.
图6为本发明实施例提供的闹钟提醒装置的另一种结构示意图。Fig. 6 is another structural schematic diagram of the alarm clock reminder device provided by the embodiment of the present invention.
图7为本发明实施例提供的闹钟提醒装置的又一种结构示意图。Fig. 7 is another structural schematic diagram of the alarm clock reminder device provided by the embodiment of the present invention.
图8为本发明实施例提供的终端的结构示意图。FIG. 8 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
具体实施方式detailed description
请参照图式,其中相同的组件符号代表相同的组件,本发明的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本发明具体实施例,其不应被视为限制本发明未在此详述的其它具体实施例。Referring to the drawings, wherein like reference numerals represent like components, the principles of the present invention are exemplified when implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the invention, which should not be construed as limiting other specific embodiments of the invention not described in detail herein.
在以下的说明中,本发明的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本发明原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present invention will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principles of the present invention are described in the above words, which are not meant to be a limitation. Those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.
本发明的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本发明的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the invention operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use with the present invention may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
以下将分别进行详细说明。The details will be described respectively below.
本实施例将从闹钟提醒装置的角度进行描述,该装置具体可以集成在终端中,该终端可以为移动互连接网络设备(如智能手机、平板电脑)等具备通信功能的电子设备。This embodiment will be described from the perspective of an alarm clock reminder device. The device can be integrated in a terminal, which can be an electronic device with a communication function such as a mobile interconnection network device (such as a smart phone or a tablet computer).
请参阅图1,图1为本发明实施例提供的一种闹钟提醒方法的流程示意图,本实施例的闹钟提醒方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an alarm clock reminder method provided by an embodiment of the present invention. The alarm clock reminder method of this embodiment includes:
步骤S101,触发第一闹钟提醒事件。Step S101, triggering a first alarm clock reminder event.
其中,上述闹钟提醒事件指移动终端输出闹钟提醒,所述闹钟提醒可以为音频输出和/或振动。可以理解地,所述闹钟提醒并不局限于上述形式,只要能提醒用户均可。上述闹钟提醒事件在预设的时间被触发,如图2所示,用户通过在一闹钟提醒设置界面中设定上述预设时间。在上述闹钟提醒设置界面中,用户还可以设置闹钟提醒信息和选择闹钟提醒的形式(例如音频输出和/或振动),闹钟提醒信息可以至少包括提醒事项(包括当前要做的事情等等)。当到达预设时间点时,该闹钟提醒时间触发。Wherein, the above-mentioned alarm clock reminder event means that the mobile terminal outputs an alarm clock reminder, and the alarm clock reminder may be audio output and/or vibration. Understandably, the alarm clock reminder is not limited to the above-mentioned form, as long as it can remind the user. The above-mentioned alarm clock reminder event is triggered at a preset time, as shown in FIG. 2 , the user sets the above-mentioned preset time in an alarm clock reminder setting interface. In the above-mentioned alarm clock reminder setting interface, the user can also set the alarm clock reminder information and select the form of the alarm clock reminder (such as audio output and/or vibration), and the alarm clock reminder information can at least include reminder items (including current things to do, etc.). When the preset time point is reached, the alarm clock reminds the time to trigger.
此外,一些移动终端的闹钟还提供延时提醒功能:在上述预设时间到达后,移动终端输出闹钟提醒,并且提供显示界面供用户选择关闭闹钟还是延时提醒,如果用户选择延时提醒,则在上述预设时间过到达过后的预设时间间隔(比如为5分钟)后,移动终端再次输出闹钟提醒。在本发明实施例中,上述预设时间或基于上述预设时间及预设时间间隔计算出的时间均称为触发时间,在所述触发时间到达时,所述移动终端输出闹钟提醒。In addition, the alarm clocks of some mobile terminals also provide a delayed reminder function: after the above-mentioned preset time arrives, the mobile terminal outputs an alarm clock reminder, and provides a display interface for the user to choose to turn off the alarm clock or a delayed reminder. If the user chooses a delayed reminder, then After the above-mentioned preset time has elapsed and a preset time interval (for example, 5 minutes) has elapsed, the mobile terminal outputs an alarm clock reminder again. In the embodiment of the present invention, the above-mentioned preset time or the time calculated based on the above-mentioned preset time and the preset time interval are called trigger time, and when the trigger time arrives, the mobile terminal outputs an alarm clock reminder.
步骤S102,判断第一闹钟提醒事件是否被中止,若是,则执行步骤S103,若否,则结束流程。Step S102, judging whether the first alarm clock reminder event is suspended, if yes, execute step S103, if not, end the process.
在触发上述第一闹钟事件后,进一步判断该第一闹钟提醒事件是否被中止。举例来说,若用户设置的第一闹钟提醒事件的触发时间为上午7:00,则当时间达到7:00时,触发该第一闹钟事件,可以进一步输入用户操作来中止该第一闹钟事件,其中,上述用户操作可以为触摸终端屏幕的中止按钮或是滑动屏幕等。在其他实施例中,还可以通过语音指令来中止上述第一闹钟事件。After the above-mentioned first alarm clock event is triggered, it is further determined whether the first alarm clock reminder event is suspended. For example, if the trigger time of the first alarm clock reminder event set by the user is 7:00 in the morning, then when the time reaches 7:00, the first alarm clock event will be triggered, and user operations can be further input to stop the first alarm clock event , wherein the above user operation may be touching a stop button on the terminal screen or sliding the screen. In other embodiments, the above-mentioned first alarm clock event can also be aborted through a voice command.
需要说明的是,若用户在触发第一闹钟事件后选择延时提醒,则终端判定该第一闹钟事件未被中止,直到用户确定关闭闹钟为止。It should be noted that if the user chooses to delay the reminder after the first alarm event is triggered, the terminal determines that the first alarm event is not suspended until the user determines to turn off the alarm.
步骤S103,在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数。Step S103, acquiring the user's exercise steps within a preset time period after the first alarm clock reminder event is suspended.
其中,预设时间段以第一闹钟提醒事件被中止的时间为起点。在一些实施例中,终端可以记录用户在每个时间点时所对应的运动步数,并可以利用学习算法对上述每个时间点所对应的运动步数进行分析和学习处理,终端通过自行分析和学习的处理过程生成用户在预设时间段内的运动步数。比如终端记录6:00时用户的运动步数为100步,6:30时用户的运动步数为500步,则经计算用户在6:00到6:30这30分钟内的运动步数为400步。Wherein, the preset time period starts from the time when the first alarm clock reminder event is suspended. In some embodiments, the terminal can record the number of motion steps corresponding to the user at each time point, and can use a learning algorithm to analyze and learn the number of motion steps corresponding to each time point above. The processing process of learning and learning generates the number of motion steps of the user within a preset time period. For example, the terminal records 100 steps at 6:00 and 500 steps at 6:30, then the calculated steps at 6:00 to 6:30 are 400 steps.
在一实施例中,可以在终端中设置一个计时器,在第一闹钟提醒事件被中止后开启该计时器,当计时器中记录的时间达到上述预设时间段时,获取用户的运动步数。其中,该预设时间段可与根据用户需求自行设置,也可以由系统自动生成,本发明对此不做一步限定。In an embodiment, a timer can be set in the terminal, and the timer is started after the first alarm clock reminder event is suspended, and when the time recorded in the timer reaches the above-mentioned preset time period, the number of exercise steps of the user can be obtained . Wherein, the preset time period can be set according to the user's needs, or can be automatically generated by the system, which is not further limited in the present invention.
在一实施例中,上述运动步数可以从终端中的计步器中存储的计步数据中获取,还可以从与该终端关联的可穿戴设备中获取。终端可以通过预先与所述智能可穿戴设备建立的连接来获取运动步数。具体的,终端可以按照相关技术,通过蓝牙连接或无线保真(WirelessFidelity,WIFI)等连接的方式与智能可穿戴设备建立所述连接,进而通过该连接获取智能可穿戴设备中的用户运动步数。In an embodiment, the number of exercise steps mentioned above can be obtained from the step counting data stored in the pedometer in the terminal, and can also be obtained from a wearable device associated with the terminal. The terminal can acquire the number of exercise steps through the pre-established connection with the smart wearable device. Specifically, the terminal can establish the connection with the smart wearable device through a Bluetooth connection or a wireless fidelity (Wireless Fidelity, WIFI) connection according to related technologies, and then obtain the user's movement steps in the smart wearable device through this connection .
如图3所示,在一实施例中,终端可以先发送获取请求到智能可穿戴设备,以便智能可穿戴设备根据该获取请求,检测智能可穿戴设备中存储的用户运动步数并发送至终端。比如,当计时器中记录的时间达到上述预设时间段时,终端生成上述获取请求,该请求携带上述预设时间段信息,以使智能可穿戴设备将用户在该预设时间段内的运动步数发送至终端。As shown in Figure 3, in an embodiment, the terminal can first send an acquisition request to the smart wearable device, so that the smart wearable device can detect the user's movement steps stored in the smart wearable device and send it to the terminal according to the acquisition request . For example, when the time recorded in the timer reaches the above-mentioned preset time period, the terminal generates the above-mentioned acquisition request, and the request carries the above-mentioned preset time period information, so that the smart wearable device will record the user's movement within the preset time period The step count is sent to the terminal.
步骤S104,判断运动步数是否满足预设条件,若是,则执行步骤S105,若否,则结束当前流程。Step S104, judging whether the number of exercise steps satisfies the preset condition, if yes, execute step S105, if not, end the current process.
在本发明实施例当中,终端可以根据运动步数判断用户是否满足预设条件,以判断用户当前是否仍处于睡眠状态,从而避免用户在中止第一闹钟提醒事件的很长一个时间段后再次进入睡眠状态时,因终端未能再次进行闹钟提醒而带来的不便。In the embodiment of the present invention, the terminal can determine whether the user meets the preset condition according to the number of exercise steps, so as to determine whether the user is still in a sleep state, so as to prevent the user from re-entering after a long period of time after suspending the first alarm reminder event. In the sleep state, the inconvenience caused by the failure of the terminal to remind the alarm clock again.
步骤S105,触发第二闹钟提醒事件。Step S105, triggering a second alarm clock reminder event.
当终端根据运动步数判断用户是满足预设条件时,确定用户在预设时间段之后仍处于睡眠状态,即可触发上述第二闹钟提醒事件。其中,上述第二闹钟提醒事件与第一闹钟提醒事件的提醒方式可以相同也可以不同。When the terminal judges that the user meets the preset condition according to the number of exercise steps, and determines that the user is still in a sleep state after a preset time period, the above-mentioned second alarm clock reminder event can be triggered. Wherein, the reminder mode of the second alarm clock reminder event and the first alarm clock reminder event may be the same or different.
在一优选实施例中,可以将上述第二闹钟提醒事件与第一闹钟提醒事件的提醒方式设置为不同,以提醒方式为铃声提醒方式为例,可以分别对第二闹钟提醒事件与第一闹钟提醒事件设置不同的闹钟铃声,或者对第二闹钟提醒事件与第一闹钟提醒事件设置相同的铃声,但将响铃时长设置不同,比如设置第二闹钟提醒事件中设置的铃声时长大于第一闹钟提醒事件中设置的铃声时长。另外,还可以将第二闹钟提醒事件中的闹钟铃声与第一闹钟提醒事件中的闹钟铃声的音量设置为不同,比如,设置第二闹钟提醒事件中设置的铃声音量大于第一闹钟提醒事件中设置的铃声音量。其中,上述铃声时长以及铃声音量可以根据预设时间段来进行设置,比如终端将第一闹钟提醒事件中设置的铃声音量设置为7,若预设时间段为10分钟,则可以将第二闹钟提醒事件中设置的铃声音量设置为8;若预设时间段为20分钟,则可以将第二闹钟提醒事件中设置的铃声音量设置为9,以此类推。In a preferred embodiment, the reminder mode of the above-mentioned second alarm clock reminder event and the first alarm clock reminder event can be set to be different. Taking the reminder mode as a ringtone reminder mode as an example, the second alarm clock reminder event and the first alarm clock reminder event can be respectively set to be different. Set different alarm ringtones for the reminder event, or set the same ringtone for the second alarm reminder event and the first alarm reminder event, but set the ringing duration differently, for example, the ringtone duration set in the second alarm reminder event is longer than the first alarm The duration of the ringtone set in the reminder event. In addition, the volume of the alarm ringtone in the second alarm clock reminder event and the alarm clock ringtone in the first alarm clock reminder event can also be set to be different, for example, the volume of the ringtone set in the second alarm clock reminder event is greater than that in the first alarm clock reminder event Set the ringtone volume. Wherein, the above-mentioned ringtone duration and ringtone volume can be set according to a preset time period. For example, if the terminal sets the ringtone volume set in the first alarm clock reminder event to 7, if the preset time period is 10 minutes, then the second alarm clock can be set to The volume of the ringtone set in the reminder event is set to 8; if the preset time period is 20 minutes, the volume of the ringtone set in the second alarm clock reminder event can be set to 9, and so on.
在实际使用当中,比如用户设置闹钟为了上班,且闹钟类型设置为每天均会触发,但周末时用户可能在触发第一闹钟提醒事件后中止该第一闹钟提醒事件,而此时并不需要终端去触发第二闹钟提醒事件,所以,在一实施例当中,在判断用户满足预设条件后,确定用户仍处于睡眠状态,此时可以进一步判断当前时期是否为工作日,若是,则执行触发第二闹钟提醒事件的步骤,若否,即可结束当前流程。其中,工作日期可以默认为非节假日的周一至周五。In actual use, for example, the user sets the alarm clock to go to work, and the alarm clock type is set to be triggered every day, but on weekends, the user may abort the first alarm clock reminder event after the first alarm clock reminder event is triggered, and no terminal is needed at this time To trigger the second alarm clock reminder event, so, in one embodiment, after judging that the user meets the preset conditions, it is determined that the user is still in a sleep state. At this time, it can be further judged whether the current period is a working day. Step 2: The alarm clock reminds the event, if not, the current process can be ended. Wherein, the working date can be defaulted as Monday to Friday which is not a holiday.
由上可知,本发明实施例提供的闹钟提醒方法可以在触发第一闹钟提醒事件后,判断第一闹钟提醒事件是否被中止,若被中止,则在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,预设时间段以第一闹钟提醒事件被中止的时间为起点,判断该运动步数是否满足预设条件,若满足,则触发第二闹钟提醒事件。本发明可以在闹钟事件被中止之后,继续根据用户的运动步数判断用户是否满足预设条件,也即是否仍处于睡眠状态,若是则重新触发闹钟提醒时间以唤醒用户,避免用户错失重要日程安排,提升闹钟的提醒效果,具有较好的用户体验。It can be seen from the above that the alarm clock reminder method provided by the embodiment of the present invention can judge whether the first alarm clock reminder event is suspended after the first alarm clock reminder event is triggered, and if it is suspended, then obtain the user's status after the first alarm clock reminder event is suspended. The number of exercise steps in the preset time period. The preset time period starts from the time when the first alarm clock reminder event is suspended, and judges whether the number of exercise steps satisfies the preset condition, and if so, triggers the second alarm clock reminder event. After the alarm clock event is suspended, the present invention can continue to judge whether the user meets the preset condition according to the user's exercise steps, that is, whether the user is still in a sleep state, and if so, re-trigger the alarm clock reminder time to wake up the user, so as to prevent the user from missing important schedules , improve the reminder effect of the alarm clock, and have a better user experience.
根据上一实施例的描述,以下将进一步地来说明本发明的闹钟提醒方法。According to the description of the previous embodiment, the alarm clock reminder method of the present invention will be further described below.
请参阅图4,图4为本发明实施例提供的另一种闹钟提醒方法的流程示意图,包括:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of another alarm clock reminder method provided by an embodiment of the present invention, including:
步骤S201,从预设提醒方式集合中选取第一提醒方式,根据第一提醒方式触发第一闹钟提醒事件。In step S201, a first reminder method is selected from a set of preset reminder methods, and a first alarm clock reminder event is triggered according to the first reminder method.
在本发明实施例当中,可以预先设置多种提醒方式,比如铃响提醒、震动提醒、闪光灯闪烁提醒等等,也可以对上述多种提醒方式中的至少两种进行组合,比如响铃的同时震动或者响铃的同时闪烁闪光灯等,以得到预设提醒方式集合。In the embodiment of the present invention, various reminder methods can be set in advance, such as ringing reminder, vibration reminder, flashing light flashing reminder, etc., and at least two of the above-mentioned reminder methods can be combined, such as ringing the bell at the same time Vibrate or ring at the same time flashing light, etc., to get a collection of preset reminder methods.
当时间达到第一闹钟提醒事件对应的时间点时,终端从预设提醒方式集合中选取一种提醒方式,并根据该提醒方式触发第一闹钟提醒事件。When the time reaches the time point corresponding to the first alarm reminder event, the terminal selects a reminder method from the preset reminder method set, and triggers the first alarm clock reminder event according to the reminder method.
步骤S202,判断第一闹钟提醒事件是否被中止,若是,则执行步骤S203,若否,则结束当前流程。Step S202, judging whether the first alarm clock reminder event is suspended, if yes, execute step S203, if not, end the current process.
举例来说,若用户设置的第一闹钟提醒事件的触发时间为上午7:00,则当当前时间达到7:00时,触发该第一闹钟事件,可以进一步输入用户操作来中止该第一闹钟事件,其中,上述用户操作可以为触摸终端屏幕的中止按钮或是滑动屏幕等。若终端接收到用户输入的用于中止该第一闹钟事件的操作,则进一步执行步骤S203。For example, if the trigger time of the first alarm clock reminder event set by the user is 7:00 in the morning, then when the current time reaches 7:00, the first alarm clock event will be triggered, and user operations can be further input to stop the first alarm clock event, wherein the above-mentioned user operation may be touching a stop button on the terminal screen or sliding the screen. If the terminal receives an operation input by the user for suspending the first alarm clock event, step S203 is further performed.
步骤S203,在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数。Step S203, acquiring the user's exercise steps within a preset time period after the first alarm clock reminder event is suspended.
在本发明实施例中,上述在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数的步骤可以包括:In an embodiment of the present invention, the above-mentioned step of obtaining the number of exercise steps of the user within a preset time period after the first alarm clock reminder event is suspended may include:
在第一闹钟提醒事件被中止后获取终端当前记录用户的第一运动步数;After the first alarm clock reminder event is terminated, obtain the first number of exercise steps currently recorded by the terminal;
获取在预设时间段之后终端记录用户的第二运动步数;Obtaining the second number of exercise steps recorded by the terminal after the preset time period;
根据第一运动步数和第二运动步数计算用户在预设时间段内的运动步数。The number of exercise steps of the user within a preset time period is calculated according to the first number of exercise steps and the second number of exercise steps.
其中,上述运动步数可以从终端中的计步器中存储的计步数据中获取,还可以从与该终端关联的可穿戴设备中获取。比如,终端可以通过预先与所述智能可穿戴设备建立的连接来获取运动步数。具体的,终端可以按照相关技术,通过蓝牙连接或无线保真(WirelessFidelity,WIFI)等连接的方式与智能可穿戴设备建立所述连接,进而通过该连接获取智能可穿戴设备中的用户运动步数。Wherein, the number of exercise steps mentioned above can be obtained from the step counting data stored in the pedometer in the terminal, and can also be obtained from a wearable device associated with the terminal. For example, the terminal can obtain the number of exercise steps through the pre-established connection with the smart wearable device. Specifically, the terminal can establish the connection with the smart wearable device through a Bluetooth connection or a wireless fidelity (Wireless Fidelity, WIFI) connection according to related technologies, and then obtain the user's movement steps in the smart wearable device through this connection .
步骤S204,判断运动步数是否大于预设步数,若否,则执行步骤S205,若是,则结束当前流程。Step S204, judging whether the number of exercise steps is greater than the preset number of steps, if not, execute step S205, and if yes, end the current process.
步骤S205,确定用户满足预设条件,并获取终端的握持压力值。In step S205, it is determined that the user satisfies a preset condition, and a holding pressure value of the terminal is obtained.
在本发明实施例当中,在确定用户满足预设条件之后,还可以进一步判断用户当前是否正在使用手机,具体可以接收安装于终端中的压力传感器输入的压力值,上述压力传感器至少包括:分别安装于终端两个相对的长侧边上的两个压力传感器,人手握持在压力传感器上面会引起其压力值的变化,通过压力值变化的不同来识别终端是否被握持。In the embodiment of the present invention, after it is determined that the user satisfies the preset conditions, it can be further judged whether the user is currently using the mobile phone. Specifically, the pressure value input by the pressure sensor installed in the terminal can be received. The pressure sensor at least includes: There are two pressure sensors on the two opposite long sides of the terminal. Holding the pressure sensor with a human hand will cause a change in its pressure value. Whether the terminal is held is identified by the difference in the pressure value.
在其他实施例当中,可以接收安装于终端中的握持传感器输出的数据。上述握持传感器(grip sensor)至少包括:分别安装于终端两个相对的长侧边上的两个握持传感器。人手触摸在握持传感器上面会引起其电容的变化,通过电容变化的不同来识别是否握持以及握持的状态。In other embodiments, data output by a grip sensor installed in the terminal may be received. The above-mentioned grip sensor (grip sensor) at least includes: two grip sensors installed on two opposite long sides of the terminal respectively. Touching the grip sensor by a human hand will cause a change in its capacitance, and the difference in capacitance can be used to identify whether or not to hold the sensor and the state of the grip.
步骤S206,判断该握持压力值是否大于预设压力值,若否,则执行步骤S207,若是,则结束当前流程。Step S206, judging whether the grip pressure value is greater than a preset pressure value, if not, execute step S207, and if yes, end the current process.
步骤S207,确定终端当前未被握持,并根据预设时间段从预设提醒方式集合中选取第二提醒方式,根据第二提醒方式触发第二闹钟提醒事件。In step S207, it is determined that the terminal is not currently being held, and a second reminder method is selected from the preset reminder method set according to the preset time period, and a second alarm clock reminder event is triggered according to the second reminder method.
其中,上述第二闹钟提醒事件与第一闹钟提醒事件的提醒方式可以相同也可以不同。本实施例可以根据预设时间段从预设提醒方式集合中选取第二提醒方式,比如终端将第一闹钟提醒事件中设置的铃声音量设置为7,若预设时间段为10分钟,则可以将第二闹钟提醒事件中设置的铃声音量设置为8;若预设时间段为20分钟,则可以将第二闹钟提醒事件中设置的铃声音量设置为9等等。选取第二提醒方式之后,根据该第二提醒方式触发第二闹钟提醒事件。Wherein, the reminder mode of the second alarm clock reminder event and the first alarm clock reminder event may be the same or different. In this embodiment, the second reminder method can be selected from the preset reminder method set according to the preset time period. For example, the terminal sets the ringtone volume set in the first alarm clock reminder event to 7. If the preset time period is 10 minutes, then it can The ringtone volume set in the second alarm clock reminder event is set to 8; if the preset time period is 20 minutes, the ringtone volume set in the second alarm clock reminder event can be set to 9 and so on. After the second reminder mode is selected, a second alarm clock reminder event is triggered according to the second reminder mode.
由上可知,本发明实施例可以从预设提醒方式集合中选取第一提醒方式,根据第一提醒方式触发第一闹钟提醒事件,判断第一闹钟提醒事件是否被中止,若是则在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,判断运动步数是否大于预设步数,若不大于,则确定用户满足预设条件,并获取终端的握持压力值,判断该握持压力值是否大于预设压力值,若不大于,则确定终端当前未被握持,并根据预设时间段从预设提醒方式集合中选取第二提醒方式,根据第二提醒方式触发第二闹钟提醒事件。本发明可以在闹钟事件被中止之后,继续根据用户的运动步数判断用户是否满足预设条件,也即是否仍处于睡眠状态,若是则重新触发闹钟提醒时间以唤醒用户,避免用户错失重要日程安排,提升闹钟的提醒效果,具有较好的用户体验。As can be seen from the above, the embodiment of the present invention can select the first reminder method from the set of preset reminder methods, trigger the first alarm clock reminder event according to the first reminder method, and judge whether the first alarm clock reminder event is suspended, and if so, start the first alarm clock reminder event. After the reminder event is terminated, obtain the user's exercise steps within the preset time period, determine whether the exercise steps are greater than the preset number of steps, if not, determine that the user meets the preset conditions, and obtain the terminal's grip pressure value, Judging whether the holding pressure value is greater than the preset pressure value, if it is not greater, then determine that the terminal is not currently being held, and select the second reminder method from the preset reminder method set according to the preset time period, according to the second reminder method Trigger the second alarm clock reminder event. After the alarm clock event is suspended, the present invention can continue to judge whether the user meets the preset condition according to the user's exercise steps, that is, whether the user is still in a sleep state, and if so, re-trigger the alarm clock reminder time to wake up the user, so as to prevent the user from missing important schedules , improve the reminder effect of the alarm clock, and have a better user experience.
为了便于更好的实施本发明实施例提供的闹钟提醒方法,本发明实施例还提供了一种基于上述闹钟提醒方法的装置。其中名词的含义与上述闹钟提醒方法中相同,具体实现细节可以参考方法实施例中的说明。In order to better implement the alarm clock reminder method provided by the embodiment of the present invention, the embodiment of the present invention further provides a device based on the above alarm clock reminder method. The meanings of the nouns are the same as those in the above-mentioned alarm clock reminder method, and for specific implementation details, please refer to the description in the method embodiments.
请参阅图5,图5为本发明实施例提供的一种闹钟提醒装置的结构示意图,该闹钟提醒装置30包括:第一触发模块301、第一判断模块302、步数获取模块303、第二判断模块304以及第二触发模块305;Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an alarm clock reminder device provided by an embodiment of the present invention. The alarm clock reminder device 30 includes: a first trigger module 301, a first judgment module 302, a step count acquisition module 303, a judging module 304 and a second triggering module 305;
第一触发模块301,用于触发第一闹钟提醒事件。The first trigger module 301 is configured to trigger a first alarm clock reminder event.
其中,上述闹钟提醒事件指移动终端输出闹钟提醒,所述闹钟提醒可以为音频输出和/或振动。可以理解地,所述闹钟提醒并不局限于上述形式,只要能提醒用户均可。Wherein, the above-mentioned alarm clock reminder event means that the mobile terminal outputs an alarm clock reminder, and the alarm clock reminder may be audio output and/or vibration. Understandably, the alarm clock reminder is not limited to the above-mentioned form, as long as it can remind the user.
第一判断模块302,用于判断所述第一闹钟提醒事件是否被中止。The first judging module 302 is configured to judge whether the first alarm clock reminder event is suspended.
比如,若用户设置的第一闹钟提醒事件的触发时间为上午7:00,则当时间达到7:00时,触发该第一闹钟事件,可以进一步输入用户操作来中止该第一闹钟事件,其中,上述用户操作可以为触摸终端屏幕的中止按钮或是滑动屏幕等。在其他实施例中,还可以通过语音指令来中止上述第一闹钟事件。For example, if the trigger time of the first alarm clock reminder event set by the user is 7:00 in the morning, then when the time reaches 7:00, the first alarm clock event is triggered, and user operations can be further input to stop the first alarm clock event, wherein , the above user operation may be touching a stop button on the terminal screen or sliding the screen. In other embodiments, the above-mentioned first alarm clock event can also be aborted through a voice command.
步数获取模块303,用于当所述第一判断模块302判断为是时,在所述第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,所述预设时间段以所述第一闹钟提醒事件被中止的时间为起点。The number of steps acquisition module 303 is used to obtain the number of exercise steps of the user within a preset time period after the first alarm clock reminder event is suspended when the first judgment module 302 judges as yes, and the preset time A segment starts at the time when the first alarm reminder event is aborted.
其中,上述运动步数可以由步数获取模块303从终端中的计步器中存储的计步数据中获取,还可以从与该终端关联的可穿戴设备中获取。终端可以通过预先与所述智能可穿戴设备建立的连接来获取运动步数。Wherein, the above-mentioned number of exercise steps can be obtained by the step number obtaining module 303 from the step counting data stored in the pedometer in the terminal, and can also be obtained from a wearable device associated with the terminal. The terminal can acquire the number of exercise steps through the pre-established connection with the smart wearable device.
第二判断模块304,用于判断运动步数是否满足预设条件。The second judging module 304 is used for judging whether the number of exercise steps satisfies a preset condition.
该第二判断模块304可以判断运动步数是否满足预设条件,以判断用户当前是否仍处于睡眠状态,从而避免用户在中止第一闹钟提醒事件的很长一个时间段后再次进入睡眠状态时,因终端未能再次进行闹钟提醒而带来的不便。The second judging module 304 can judge whether the number of motion steps satisfies the preset condition, so as to judge whether the user is still in the sleep state, so as to prevent the user from entering the sleep state again after suspending the first alarm clock reminder event for a long period of time. Inconvenience caused by the failure of the terminal to remind the alarm clock again.
第二触发模块305,用于当所述第二判断模块304判断为是时,触发第二闹钟提醒事件。The second triggering module 305 is configured to trigger a second alarm clock reminder event when the second judging module 304 judges yes.
当终端根据运动步数判断用户是满足预设条件时,确定用户在预设时间段之后仍处于睡眠状态,该第二触发模块305即可触发上述第二闹钟提醒事件。其中,上述第二闹钟提醒事件与第一闹钟提醒事件的提醒方式可以相同也可以不同。When the terminal judges that the user satisfies the preset condition according to the number of exercise steps, and determines that the user is still in a sleep state after a preset time period, the second triggering module 305 can trigger the above-mentioned second alarm clock reminder event. Wherein, the reminder mode of the second alarm clock reminder event and the first alarm clock reminder event may be the same or different.
在一实施例中,如图6所示,在闹钟提醒装置30中,上述第二判断模块304可以具体包括:3041判断子模块和确定子模块3042;In an embodiment, as shown in FIG. 6, in the alarm clock reminder device 30, the above-mentioned second judging module 304 may specifically include: 3041 judging submodule and determining submodule 3042;
判断子模块3041,用于判断所述运动步数是否大于预设步数;Judging sub-module 3041, used to judge whether the number of motion steps is greater than the preset number of steps;
确定子模块3042,用于当所述判断子模块3041判断为否时,确定所述用户满足预设条件。The determination sub-module 3042 is configured to determine that the user satisfies the preset condition when the determination sub-module 3041 determines no.
在一实施例中,如图7所示,上述闹钟提醒装置30还可以包括:压力获取模块306和第三判断模块307;In an embodiment, as shown in FIG. 7 , the alarm clock reminder device 30 may further include: a pressure acquisition module 306 and a third judging module 307;
压力获取模块306,用于在所述第二判断模块304判断为是之后,所述第二触发模块305触发第二闹钟提醒事件之前,获取终端的握持压力值;The pressure acquiring module 306 is configured to acquire the holding pressure value of the terminal after the second judging module 304 judges yes and before the second triggering module 305 triggers the second alarm clock reminder event;
第三判断模块307,用于判断所述握持压力值是否大于预设压力值;A third judging module 307, configured to judge whether the gripping pressure value is greater than a preset pressure value;
第二触发模块305,用于当所述第三判断模块307判断为否时,确定所述终端当前未被握持,并执行触发第二闹钟提醒事件的步骤。The second triggering module 305 is configured to determine that the terminal is not currently being held when the third judging module 307 judges no, and execute the step of triggering a second alarm clock reminder event.
进一步的,上述第一触发模块301,具体用于从预设提醒方式集合中选取第一提醒方式,根据所述第一提醒方式触发所述第一闹钟提醒事件;Further, the above-mentioned first triggering module 301 is specifically configured to select a first reminder method from a set of preset reminder methods, and trigger the first alarm clock reminder event according to the first reminder method;
上述第二触发模块305,具体用于根据所述预设时间段从所述预设提醒方式集合中选取第二提醒方式,并根据所述第二提醒方式触发所述第二闹钟提醒事件。The above-mentioned second triggering module 305 is specifically configured to select a second reminder method from the preset reminder method set according to the preset time period, and trigger the second alarm clock reminder event according to the second reminder method.
在一实施例当中,上述步数获取模块303具体包括:第一获取子模块、第二获取子模块以及计算子模块;In one embodiment, the above step acquisition module 303 specifically includes: a first acquisition submodule, a second acquisition submodule, and a calculation submodule;
第一获取子模块,用于在所述第一闹钟提醒事件被中止后获取终端当前记录用户的第一运动步数;The first acquisition submodule is used to acquire the first number of exercise steps currently recorded by the terminal after the first alarm clock reminder event is suspended;
第二获取子模块,用于获取在预设时间段之后终端记录用户的第二运动步数;The second acquisition sub-module is used to acquire the second number of motion steps recorded by the terminal after the preset time period;
计算子模块,用于根据所述第一运动步数和所述第二运动步数计算用户在预设时间段内的运动步数。The calculation sub-module is used to calculate the number of exercise steps of the user within a preset time period according to the first number of exercise steps and the second number of exercise steps.
由上可知,本发明实施例提供的闹钟提醒装置30可以在第一触发模块301触发第一闹钟提醒事件后,第一判断模块302判断第一闹钟提醒事件是否被中止,若被中止,则步数获取模块303在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,预设时间段以第一闹钟提醒事件被中止的时间为起点,第二判断模块304判断该运动步数是否满足预设条件,若满足,则第二触发模块305触发第二闹钟提醒事件。本发明可以在闹钟事件被中止之后,继续根据用户的运动步数判断用户是否满足预设条件,也即是否仍处于睡眠状态,若是则重新触发闹钟提醒时间以唤醒用户,避免用户错失重要日程安排,提升闹钟的提醒效果,具有较好的用户体验。As can be seen from the above, the alarm clock reminder device 30 provided by the embodiment of the present invention can after the first trigger module 301 triggers the first alarm clock reminder event, the first judging module 302 judges whether the first alarm clock reminder event is suspended, and if it is suspended, step by step The number acquisition module 303 obtains the number of motion steps of the user within a preset time period after the first alarm clock reminder event is suspended, and the preset time period is based on the time when the first alarm clock reminder event is suspended, and the second judging module 304 judges the Whether the number of exercise steps satisfies the preset condition, if so, the second trigger module 305 triggers a second alarm clock reminder event. After the alarm clock event is suspended, the present invention can continue to judge whether the user meets the preset condition according to the user's exercise steps, that is, whether the user is still in a sleep state, and if so, re-trigger the alarm clock reminder time to wake up the user, so as to prevent the user from missing important schedules , improve the reminder effect of the alarm clock, and have a better user experience.
本发明还提供一种存储介质,所述存储介质存储有指令,所述指令被处理器执行实现方法实施例提供的闹钟提醒方法。The present invention also provides a storage medium, the storage medium stores instructions, and the instructions are executed by a processor to implement the alarm clock reminder method provided by the method embodiment.
本发明还提供一种终端,包括存储器和处理器,所述存储器存储有指令,所述处理器加载所述指令以执行实现方法实施例提供的闹钟提醒方法。The present invention also provides a terminal, including a memory and a processor, the memory stores instructions, and the processor loads the instructions to implement the alarm clock reminder method provided by the method embodiment.
请参阅图8,图8为本发明实施例提供的移动终端结构示意图。该移动终端500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图8中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8, which is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention. The mobile terminal 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, a wireless fidelity ( WiFi, Wireless Fidelity) module 507, including a processor 508 with one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 8 is not limited to the mobile terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components.
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 502 may be used to store applications and data. The application programs stored in the memory 502 include executable codes. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running the application programs stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile terminals (such as audio data, phonebook, etc.) and the like. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。The input unit 503 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like.
移动终端还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal may also include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used for applications that recognize the attitude of mobile phones (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Let me repeat.
音频电路506可通过扬声器、传声器提供用户与移动终端之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一移动终端,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与移动终端的通信。The audio circuit 506 can provide an audio interface between the user and the mobile terminal through speakers and microphones. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another mobile terminal through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earphone jack to provide communication between an external earphone and the mobile terminal.
无线保真(WiFi)属于短距离无线传输技术,移动终端通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了无线保真模块507,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) belongs to the short-distance wireless transmission technology. The mobile terminal can help users send and receive emails, browse webpages, and access streaming media through the wireless fidelity module 507. It provides users with wireless broadband Internet access. Although FIG. 8 shows the Wi-Fi module 507, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.
处理器508是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. By running or executing the application program stored in the memory 502 and calling the data stored in the memory 502, the mobile terminal executes Various functions and processing data, so as to monitor the mobile terminal as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .
移动终端还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system.
尽管图8中未示出,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 8 , the mobile terminal may also include a camera, a Bluetooth module, etc., which will not be repeated here.
处理器508还用于实现以下功能:在触发第一闹钟提醒事件后,判断第一闹钟提醒事件是否被中止,若被中止,则在第一闹钟提醒事件被中止后获取用户在预设时间段内的运动步数,根据该运动步数判断所述用户是否满足预设条件,若满足,则触发第二闹钟提醒事件。The processor 508 is also used to implement the following functions: after the first alarm clock reminder event is triggered, it is judged whether the first alarm clock reminder event is suspended, and if it is suspended, then after the first alarm clock reminder event is suspended, the user obtains According to the number of exercise steps, it is judged whether the user satisfies the preset condition, and if so, a second alarm clock reminder event is triggered.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如信息发布方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read OnlyMemory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal, and the execution process may include the flow of the embodiment of the information publishing method. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本发明实施例提供的一种闹钟提醒方法、装置、存储介质和终端进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。An alarm clock reminder method, device, storage medium and terminal provided by the embodiments of the present invention have been introduced in detail above, and its functional modules can be integrated into one processing chip, or each module can exist separately physically, or two or more More than two modules are integrated in one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, according to the present invention Thoughts, specific implementation methods and scope of application all have changes. In summary, the contents of this specification should not be construed as limiting the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710527833.7ACN107295183A (en) | 2017-06-30 | 2017-06-30 | An alarm clock reminder method, device, storage medium and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710527833.7ACN107295183A (en) | 2017-06-30 | 2017-06-30 | An alarm clock reminder method, device, storage medium and terminal |
| Publication Number | Publication Date |
|---|---|
| CN107295183Atrue CN107295183A (en) | 2017-10-24 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710527833.7APendingCN107295183A (en) | 2017-06-30 | 2017-06-30 | An alarm clock reminder method, device, storage medium and terminal |
| Country | Link |
|---|---|
| CN (1) | CN107295183A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108564331A (en)* | 2018-03-07 | 2018-09-21 | 河源市美晨智能研究院 | Based reminding method again, device and the mobile terminal of reminder events |
| CN108804173A (en)* | 2018-04-27 | 2018-11-13 | 平安科技(深圳)有限公司 | User behavior reminding method, device, computer equipment and storage medium |
| CN109040463A (en)* | 2018-08-31 | 2018-12-18 | 上海与德通讯技术有限公司 | Alarm clock prompting method, terminal and computer readable storage medium |
| CN111343337A (en)* | 2020-02-28 | 2020-06-26 | 广州皓醒湾科技有限公司 | Alarm clock application prompting method and device based on electric toothbrush |
| CN111989666A (en)* | 2018-12-06 | 2020-11-24 | 谷歌有限责任公司 | Alarm clock for preemptively initializing regular transactions and/or canceling schedules of automated assistant |
| CN114697441A (en)* | 2020-12-28 | 2022-07-01 | 深圳Tcl新技术有限公司 | An alarm clock control method, storage medium and terminal device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103220426A (en)* | 2013-04-10 | 2013-07-24 | 广东欧珀移动通信有限公司 | A prompting method and device for a terminal alarm clock and a mobile terminal |
| CN104660790A (en)* | 2013-11-21 | 2015-05-27 | 上海斐讯数据通信技术有限公司 | Method for turning off alarm clock by mobile equipment and mobile equipment |
| CN104853031A (en)* | 2015-03-19 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Method and terminal for controlling alarm clock |
| CN104898830A (en)* | 2015-04-29 | 2015-09-09 | 深圳市万普拉斯科技有限公司 | Alarm clock reminding method and system in intelligent mobile electronic equipment and electronic equipment |
| CN105045622A (en)* | 2015-07-13 | 2015-11-11 | 小米科技有限责任公司 | Terminal alarming method and apparatus |
| CN105425657A (en)* | 2015-10-30 | 2016-03-23 | 小米科技有限责任公司 | Method and device used for controlling alarm clock ringing |
| CN105450872A (en)* | 2015-11-27 | 2016-03-30 | 小米科技有限责任公司 | Alarm clock reminding methods and apparatuses |
| CN105573107A (en)* | 2015-12-21 | 2016-05-11 | 魅族科技(中国)有限公司 | Method and device for setting alarm clock |
| KR20160094903A (en)* | 2016-07-23 | 2016-08-10 | 윤효섭 | Alarm control method of the alarm device having a motioon sensor |
| CN106357886A (en)* | 2016-08-26 | 2017-01-25 | 努比亚技术有限公司 | Method and device for managing alarm of intelligent watch |
| CN106534593A (en)* | 2016-12-30 | 2017-03-22 | 深圳天珑无线科技有限公司 | Alarm clock reminding method and mobile terminal |
| CN106850981A (en)* | 2017-01-15 | 2017-06-13 | 姚广宇 | A kind of quarter-bell method for closing and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103220426A (en)* | 2013-04-10 | 2013-07-24 | 广东欧珀移动通信有限公司 | A prompting method and device for a terminal alarm clock and a mobile terminal |
| CN104660790A (en)* | 2013-11-21 | 2015-05-27 | 上海斐讯数据通信技术有限公司 | Method for turning off alarm clock by mobile equipment and mobile equipment |
| CN104853031A (en)* | 2015-03-19 | 2015-08-19 | 惠州Tcl移动通信有限公司 | Method and terminal for controlling alarm clock |
| CN104898830A (en)* | 2015-04-29 | 2015-09-09 | 深圳市万普拉斯科技有限公司 | Alarm clock reminding method and system in intelligent mobile electronic equipment and electronic equipment |
| CN105045622A (en)* | 2015-07-13 | 2015-11-11 | 小米科技有限责任公司 | Terminal alarming method and apparatus |
| CN105425657A (en)* | 2015-10-30 | 2016-03-23 | 小米科技有限责任公司 | Method and device used for controlling alarm clock ringing |
| CN105450872A (en)* | 2015-11-27 | 2016-03-30 | 小米科技有限责任公司 | Alarm clock reminding methods and apparatuses |
| CN105573107A (en)* | 2015-12-21 | 2016-05-11 | 魅族科技(中国)有限公司 | Method and device for setting alarm clock |
| KR20160094903A (en)* | 2016-07-23 | 2016-08-10 | 윤효섭 | Alarm control method of the alarm device having a motioon sensor |
| CN106357886A (en)* | 2016-08-26 | 2017-01-25 | 努比亚技术有限公司 | Method and device for managing alarm of intelligent watch |
| CN106534593A (en)* | 2016-12-30 | 2017-03-22 | 深圳天珑无线科技有限公司 | Alarm clock reminding method and mobile terminal |
| CN106850981A (en)* | 2017-01-15 | 2017-06-13 | 姚广宇 | A kind of quarter-bell method for closing and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108564331A (en)* | 2018-03-07 | 2018-09-21 | 河源市美晨智能研究院 | Based reminding method again, device and the mobile terminal of reminder events |
| CN108564331B (en)* | 2018-03-07 | 2021-11-23 | 河源市美晨智能研究院 | Reminding event re-reminding method and device and mobile terminal |
| CN108804173A (en)* | 2018-04-27 | 2018-11-13 | 平安科技(深圳)有限公司 | User behavior reminding method, device, computer equipment and storage medium |
| WO2019205399A1 (en)* | 2018-04-27 | 2019-10-31 | 平安科技(深圳)有限公司 | Method and device for prompting user behavior, computer apparatus, and storage medium |
| CN109040463A (en)* | 2018-08-31 | 2018-12-18 | 上海与德通讯技术有限公司 | Alarm clock prompting method, terminal and computer readable storage medium |
| CN111989666A (en)* | 2018-12-06 | 2020-11-24 | 谷歌有限责任公司 | Alarm clock for preemptively initializing regular transactions and/or canceling schedules of automated assistant |
| CN111343337A (en)* | 2020-02-28 | 2020-06-26 | 广州皓醒湾科技有限公司 | Alarm clock application prompting method and device based on electric toothbrush |
| CN111343337B (en)* | 2020-02-28 | 2021-10-22 | 广州星际悦动股份有限公司 | A kind of alarm clock application prompting method and device based on electric toothbrush |
| CN114697441A (en)* | 2020-12-28 | 2022-07-01 | 深圳Tcl新技术有限公司 | An alarm clock control method, storage medium and terminal device |
| Publication | Publication Date | Title |
|---|---|---|
| CN107295183A (en) | An alarm clock reminder method, device, storage medium and terminal | |
| CN106453829B (en) | Method and device for detecting drop height | |
| CN107562539B (en) | Application processing method and apparatus, computer equipment, storage medium | |
| CN107734617A (en) | Application closing method, device, storage medium and electronic device | |
| CN104967896A (en) | Method for displaying bulletscreen comment information, and apparatus thereof | |
| CN107272872A (en) | Electricity-saving control method and Related product | |
| CN107809542A (en) | Application program control method and device, storage medium and electronic equipment | |
| CN107734616A (en) | Application closing method, device, storage medium and electronic device | |
| WO2018223535A1 (en) | Vibration notification method for mobile terminal, and mobile terminal | |
| CN106453511A (en) | A data backup method and device | |
| CN106452643B (en) | playing control method, device, terminal and playing system | |
| CN106411448A (en) | Play control method, device and terminal | |
| CN103491240B (en) | A kind of alarm clock ringing method, device and mobile terminal | |
| CN106646440A (en) | Drop height detection method and drop height detection device | |
| CN106951850A (en) | Method and mobile terminal for controlling fingerprint identification module | |
| CN103744574A (en) | A method and device for turning off an alarm clock for a mobile terminal, and the mobile terminal | |
| CN107832131B (en) | Application closing method, device, storage medium and electronic device | |
| CN106535249A (en) | A control method, device and terminal of a wireless local area network | |
| CN111443803A (en) | Mode switching method, device, storage medium and mobile terminal | |
| CN106502827A (en) | A data backup method and device | |
| CN107317917B (en) | Application control methods and related products | |
| CN107819957A (en) | A kind of electricity based reminding method, mobile terminal | |
| CN107343100A (en) | Information prompting method, device, storage medium and electronic equipment | |
| CN107290951B (en) | Alarm clock setting method and related products | |
| CN111144845B (en) | A mobile terminal conference reminder method and device |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20171024 |