CN113014726B - Alarm clock prompting method, mobile terminal, control device and storage medium - Google Patents

Alarm clock prompting method, mobile terminal, control device and storage medium Download PDF

Info

Publication number
CN113014726B
CN113014726B CN202110193872.4A CN202110193872A CN113014726B CN 113014726 B CN113014726 B CN 113014726B CN 202110193872 A CN202110193872 A CN 202110193872A CN 113014726 B CN113014726 B CN 113014726B
Authority
CN
China
Prior art keywords
mobile terminal
alarm clock
target object
prompt
prompting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202110193872.4A
Other languages
Chinese (zh)
Other versions
CN113014726A (en
Inventor
杨冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110193872.4A priority Critical patent/CN113014726B/en
Publication of CN113014726A publication Critical patent/CN113014726A/en
Application granted granted Critical
Publication of CN113014726B publication Critical patent/CN113014726B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)

Abstract

The application discloses an alarm clock prompting method, a mobile terminal, a control device and a storage medium. The alarm clock prompting method is used for the mobile terminal. The method comprises the following steps: when the appointed time of the alarm clock is reached, detecting the state of a target object relative to the mobile terminal; determining a preset prompting mode of an alarm clock according to the state of the target object; and controlling the mobile terminal to prompt in the preset prompting mode. Therefore, the alarm clock can be reminded intelligently and humanizedly by detecting the state of the target object relative to the mobile terminal and setting different preset prompt modes of the alarm clock according to different states of the target object, and user experience is improved.

Description

闹钟提示方法、移动终端、控制装置与存储介质Alarm clock prompting method, mobile terminal, control device and storage medium

技术领域technical field

本申请涉及电子设备技术领域,尤其涉及一种闹钟提示方法、移动终端、控制装置与存储介质。The present application relates to the technical field of electronic equipment, and in particular, to an alarm clock prompting method, a mobile terminal, a control device and a storage medium.

背景技术Background technique

由于现代人类时间观念提高,各种约会频繁,计划繁多,移动终端的闹钟对于人们来说至关重要,因为闹钟可提醒人们准时赴约或者执行计划。然而,有时候计划不上变化,预先设定的闹钟有时候不再需要,但闹钟仍会响起,会导致目标物体在公共场所很尴尬。Due to the improvement of modern human time concept, various appointments are frequent and there are many plans, the alarm clock of the mobile terminal is very important for people, because the alarm clock can remind people to go to the appointment or execute the plan on time. However, sometimes the plan doesn't change, and the pre-set alarm is sometimes no longer needed, but the alarm will still go off, causing the target object to be embarrassed in a public place.

发明内容SUMMARY OF THE INVENTION

本申请实施方式提供了一种闹钟提示方法,用于移动终端。所述方法包括:在到达闹钟的指定时间时,检测目标物体相对于所述移动终端的状态;根据所述目标物体的状态,确定闹钟的预设提示方式;控制所述移动终端以所述预设提示方式提示。The embodiments of the present application provide an alarm clock prompting method, which is used in a mobile terminal. The method includes: when the designated time of the alarm clock is reached, detecting the state of the target object relative to the mobile terminal; determining a preset prompting mode of the alarm clock according to the state of the target object; controlling the mobile terminal to use the preset prompt mode. Set the prompt mode prompt.

本申请实施方式提供了一种控制装置,所述控制装置包括:Embodiments of the present application provide a control device, the control device comprising:

检测模块,用于在到达闹钟的指定时间时,检测目标物体相对于所述移动终端的状态;a detection module for detecting the state of the target object relative to the mobile terminal when the designated time of the alarm clock is reached;

确定模块,用于根据所述目标物体的状态,确定闹钟的预设提示方式;a determination module, configured to determine a preset prompting mode of the alarm clock according to the state of the target object;

控制模块,用于控制所述移动终端以所述预设提示方式提示。A control module, configured to control the mobile terminal to prompt in the preset prompt manner.

本申请实施方式提供了一种移动终端,所述移动终端包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述闹钟提示方法。Embodiments of the present application provide a mobile terminal, where the mobile terminal includes a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program The method for prompting the alarm clock is implemented.

本申请实施方式提供了一种计算机可执行程序的非易失性计算机可读存储介质,当所述计算机可执行程序被一个或多个处理器执行时,实现所述闹钟提示方法。The embodiments of the present application provide a non-volatile computer-readable storage medium of a computer-executable program, when the computer-executable program is executed by one or more processors, the method for prompting an alarm clock is implemented.

本申请实施方式提供了一种闹钟提示方法、控制装置、移动终端与存储介质。如此,可通过检测目标物体相对于所述移动终端的状态,根据目标物体的不同状态设定不同的闹钟的预设提示方式,使得闹钟的提醒更加智能化和人性化地进行,从而提升用户体验。Embodiments of the present application provide an alarm clock prompting method, a control device, a mobile terminal, and a storage medium. In this way, by detecting the state of the target object relative to the mobile terminal, different preset reminder modes of the alarm clock can be set according to different states of the target object, so that the alarm clock reminder can be more intelligent and humanized, thereby improving user experience .

本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, from the following description, and in part will become apparent from the following description, or may be learned by practice of the present application.

附图说明Description of drawings

本申请的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1是本申请实施方式的闹钟提示方法的流程示意图;1 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图2是本申请实施方式的移动终端的平面示意图;2 is a schematic plan view of a mobile terminal according to an embodiment of the present application;

图3是本申请实施方式的控制装置的模块示意;3 is a schematic diagram of a module of a control device according to an embodiment of the present application;

图4是本申请实施方式的闹钟提示方法的流程示意图;4 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图5是本申请实施方式的闹钟提示方法的场景示意图FIG. 5 is a schematic diagram of a scene of a method for prompting an alarm clock according to an embodiment of the present application

图6是本申请实施方式的闹钟提示方法的流程示意图;6 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图7是本申请实施方式的闹钟提示方法的场景示意图;7 is a schematic diagram of a scene of a method for prompting an alarm clock according to an embodiment of the present application;

图8是本申请实施方式的闹钟提示方法的流程示意图;8 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图9是本申请实施方式的闹钟提示方法的场景示意图;9 is a schematic diagram of a scene of a method for prompting an alarm clock according to an embodiment of the present application;

图10是本申请实施方式的闹钟提示方法的流程示意图;10 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图11是本申请实施方式的闹钟提示方法的场景示意图FIG. 11 is a schematic diagram of a scene of a method for prompting an alarm clock according to an embodiment of the present application

图12是本申请实施方式的闹钟提示方法的流程示意图;12 is a schematic flowchart of an alarm clock prompting method according to an embodiment of the present application;

图13是本申请实施方式的闹钟提示方法的流程示意图。FIG. 13 is a schematic flowchart of a method for prompting an alarm clock according to an embodiment of the present application.

主要元件符号说明:Description of main component symbols:

移动终端10、存储器11、处理器12、显示屏13、摄像头14、角速度传感器15、控制装置20、检测模块21、确定模块22、控制模块23。A mobile terminal 10 , a memory 11 , a processor 12 , a display screen 13 , a camera 14 , an angular velocity sensor 15 , a control device 20 , a detection module 21 , a determination module 22 , and a control module 23 .

具体实施方式Detailed ways

下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, only used to explain the present application, and should not be construed as a limitation on the present application.

下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设置进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设置之间的关系。此外,本申请提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。The following disclosure provides many different embodiments or examples for implementing different structures of the present application. To simplify the disclosure of the present application, the components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the application. Furthermore, this application may repeat reference numerals and/or reference letters in different instances for the purpose of simplicity and clarity, and does not in itself indicate a relationship between the various embodiments and/or arrangements discussed. In addition, this application provides examples of various specific processes and materials, but one of ordinary skill in the art will recognize the application of other processes and/or the use of other materials.

请参阅图1,本申请实施方式提供了一种闹钟提示方法,用于移动终端10。闹钟提示方法包括:Referring to FIG. 1 , an embodiment of the present application provides an alarm clock prompting method for a mobile terminal 10 . Alarm reminder methods include:

S10:在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;S10: when the designated time of the alarm clock is reached, detect the state of the target object relative to the mobile terminal 10;

S20:根据目标物体的状态,确定闹钟的预设提示方式;S20: Determine a preset prompting method of the alarm clock according to the state of the target object;

S30:控制移动终端10以预设提示方式提示。S30: Control the mobile terminal 10 to prompt in a preset prompt manner.

请参阅图2,本申请实施方式提供了一种移动终端10。移动终端10包括存储器11、处理器12及存储在存储器11上并可在处理器12上运行的计算机程序,处理器12执行计算机程序时实现上述实施方式中任一项的闹钟提示方法。Referring to FIG. 2 , an embodiment of the present application provides a mobile terminal 10 . The mobile terminal 10 includes a memory 11, a processor 12, and a computer program stored on the memory 11 and running on the processor 12. When the processor 12 executes the computer program, the alarm clock prompting method of any one of the foregoing embodiments is implemented.

请参阅图3,本申请实施方式提供了一种控制装置20,控制装置20包括检测模块21、确定模块22与控制模块23。检测模块21用于在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;确定模块22用于根据目标物体的状态,确定闹钟的预设提示方式;控制模块23用于控制移动终端10以预设提示方式提示。Referring to FIG. 3 , an embodiment of the present application provides a control device 20 . The control device 20 includes a detection module 21 , a determination module 22 and a control module 23 . The detection module 21 is used to detect the state of the target object relative to the mobile terminal 10 when the designated time of the alarm clock is reached; the determination module 22 is used to determine the preset prompt mode of the alarm clock according to the state of the target object; the control module 23 is used to control the movement The terminal 10 prompts in a preset prompt manner.

处理器12用于在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;还用于根据目标物体的状态,确定闹钟的预设提示方式;以及用于控制移动终端10以预设提示方式提示。The processor 12 is used to detect the state of the target object relative to the mobile terminal 10 when the designated time of the alarm clock is reached; it is also used to determine the preset prompting mode of the alarm clock according to the state of the target object; Set the prompt mode prompt.

具体的,在步骤S10中,用户根据自身的计划安排,可预先在移动终端10上设置闹钟。当到达用户预定的时间后,移动终端10将会发出提示信号。Specifically, in step S10, the user may set an alarm clock on the mobile terminal 10 in advance according to his own plan. When the time predetermined by the user is reached, the mobile terminal 10 will send out a prompt signal.

在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态。移动终端10包括但不限于智能手机、智能手表、笔记本、平板电脑等。When the designated time of the alarm clock is reached, the state of the target object relative to the mobile terminal 10 is detected. The mobile terminal 10 includes, but is not limited to, a smart phone, a smart watch, a notebook, a tablet computer, and the like.

目标物体相对于移动终端10的状态可包括:目标物体触碰移动终端10、目标物体未触碰移动终端10、目标物体朝向移动终端10的显示屏13与目标物体未朝向移动终端10的显示屏13。如此,可通过目标物体相对于移动终端10的状态,判断目标物体对移动终端10的使用情况。示例性地,检测到目标物体触碰移动终端10时,判断可能为用户正握持着移动终端10;检测到目标物体朝向移动终端10的显示屏13,判断可能为用户目视移动终端10。The state of the target object relative to the mobile terminal 10 may include: the target object touches the mobile terminal 10 , the target object does not touch the mobile terminal 10 , the target object faces the display screen 13 of the mobile terminal 10 , and the target object does not face the display screen of the mobile terminal 10 13. In this way, the use of the mobile terminal 10 by the target object can be determined by the state of the target object relative to the mobile terminal 10 . Exemplarily, when it is detected that the target object touches the mobile terminal 10, it may be determined that the user is holding the mobile terminal 10;

在步骤S20中,获取到目标物体相对于移动终端10的状态时,可根据不同目标物体的不同状态,确定闹钟的预设提示方式。闹钟的提示方式可以包括振动提醒、文字提醒与铃声提醒等。In step S20, when the state of the target object relative to the mobile terminal 10 is obtained, the preset prompting mode of the alarm clock can be determined according to different states of different target objects. The reminder methods of the alarm clock may include vibration reminders, text reminders, and ringtone reminders.

示例性地,当目标物体触碰移动终端10时,可确定闹钟以振动方式进行提醒;当目标物体朝向移动终端10的显示屏13时,可确定闹钟以文字方式进行提醒;当目标物体触碰移动终端10时且目标物体朝向移动终端10的显示屏13时,可确定闹钟以振动和文字方式进行提醒;当目标物体未触碰移动终端10,且目标物体未朝向移动终端10的显示屏13时,可确定闹钟以声音方式进行提醒。Exemplarily, when the target object touches the mobile terminal 10, it can be determined that the alarm clock will remind by vibration; when the target object is facing the display screen 13 of the mobile terminal 10, it can be determined that the alarm clock will remind in text mode; when the target object touches When the mobile terminal 10 is used and the target object is facing the display screen 13 of the mobile terminal 10, it can be determined that the alarm clock will remind by vibration and text; when the target object does not touch the mobile terminal 10 and the target object is not facing the display screen 13 of the mobile terminal 10 , you can make sure that the alarm will remind you by sound.

如此,可根据目标物体相对于移动终端10的不同状态,确定相对应的闹钟提醒方式。In this way, according to the different states of the target object relative to the mobile terminal 10, the corresponding alarm clock reminder mode can be determined.

在步骤S30中,根据目标物体相对于移动终端10的状态确定闹钟的预设提示方式后,控制移动终端10以预设提示方式进行提示,以帮助提醒目标物体去进行预先设定的安排。闹钟的提示方式可以为振动提醒、文字提醒与铃声提醒中的至少一种。In step S30, after determining the preset prompting mode of the alarm clock according to the state of the target object relative to the mobile terminal 10, the mobile terminal 10 is controlled to prompt in the preset prompting mode to help remind the target object to make a preset arrangement. The reminder method of the alarm clock may be at least one of vibration reminder, text reminder and ringtone reminder.

请参阅图4,在某些实施方式中,根据目标物体的状态,确定闹钟的预设提示方式(步骤S20),包括:Referring to FIG. 4, in some embodiments, according to the state of the target object, the preset prompting method of the alarm clock is determined (step S20), including:

S21:在目标物体触碰移动终端10时,确定闹钟的提示方式为振动提示。S21: When the target object touches the mobile terminal 10, determine that the prompting method of the alarm clock is a vibration prompting.

控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the mobile terminal 10 to prompt in a preset prompting manner (step S30), including:

S31:控制移动终端10以振动方式提示。S31: Control the mobile terminal 10 to give a notification in a vibration manner.

在某些实施方式中,确定模块22用于在目标物体触碰移动终端10时,确定闹钟的提示方式为振动提示。控制模块23用于控制移动终端10以振动方式提示。In some embodiments, the determining module 22 is configured to determine that the alert mode of the alarm clock is a vibration alert when the target object touches the mobile terminal 10 . The control module 23 is used to control the mobile terminal 10 to prompt in a vibration manner.

在某些实施方式中,处理器12用于在目标物体触碰移动终端10时,确定闹钟的提示方式为振动提示;还用于控制移动终端10以振动方式提示。In some embodiments, the processor 12 is configured to determine that the alert mode of the alarm clock is a vibration prompt when the target object touches the mobile terminal 10; and is further configured to control the mobile terminal 10 to alert in a vibration mode.

具体的,在步骤S21中,在到达闹钟的指定时间时,若检测到目标物体处于触碰移动终端10时,确定闹钟以振动方式进行提示。例如,在到达闹钟的指定时间时,用户正手持移动终端10,可确认目标物体当前处于触碰移动终端10的状态;在到达闹钟的指定时间时,重物挤压移动终端10,也可确认目标物体当前处于触碰移动终端10的状态。Specifically, in step S21 , when the designated time of the alarm clock is reached, if it is detected that the target object is touching the mobile terminal 10 , it is determined that the alarm clock provides a reminder in a vibration manner. For example, when the designated time of the alarm clock is reached, the user is holding the mobile terminal 10, which can confirm that the target object is currently in the state of touching the mobile terminal 10; The target object is currently in a state of touching the mobile terminal 10 .

如此,检测到目标物体处于触碰移动终端10时,确定闹钟以振动方式进行提示In this way, when it is detected that the target object is touching the mobile terminal 10, it is determined that the alarm clock will be prompted by vibration.

请参阅图5,在步骤S31中,通过前一步骤确认目标物体处于触碰移动终端10的状态时,控制移动终端10以振动方式提示。振动可靠偏心装置产生,主要原理为利用偏心装置在移动终端10内部高速转动,此过程中偏心装置会做圆周运动而产生离心力,而离心力的方向会随着偏心装置的转动而不断变化,同时离心力快速的变动导致移动终端10也产生振动。Referring to FIG. 5 , in step S31 , when it is confirmed that the target object is in a state of touching the mobile terminal 10 through the previous step, the mobile terminal 10 is controlled to give a notification in a vibration manner. Vibration is reliably generated by the eccentric device. The main principle is to use the eccentric device to rotate at high speed inside the mobile terminal 10. During this process, the eccentric device will make a circular motion to generate centrifugal force, and the direction of the centrifugal force will change with the rotation of the eccentric device. Rapid changes cause the mobile terminal 10 to also vibrate.

当目标物体处于触碰移动终端10的状态时,移动终端10的振动显得尤为明显。因此,移动终端10的振动适用于用户不希望发出声音的场合,例如,会议室、教室或图书馆等。When the target object is in a state of touching the mobile terminal 10, the vibration of the mobile terminal 10 is particularly obvious. Therefore, the vibration of the mobile terminal 10 is suitable for occasions where the user does not wish to emit sound, for example, a conference room, a classroom, a library, and the like.

如此,在到达闹钟的指定时间时,可针对目标物体触碰移动终端10的情况,确定闹钟以振动方式提示,用户既可收到提醒且不会打扰他人。In this way, when the designated time of the alarm clock is reached, it can be determined that the alarm clock will be prompted by vibration according to the situation where the target object touches the mobile terminal 10, so that the user can receive the reminder without disturbing others.

请参阅图6,在某些实施方式中,根据目标物体的状态,确定闹钟的预设提示方式(步骤S20),包括:Referring to FIG. 6, in some embodiments, according to the state of the target object, the preset prompting method of the alarm clock is determined (step S20), including:

S22:在目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为文字提示。S22: When the target object faces the display screen 13 of the mobile terminal 10, determine that the prompting method of the alarm clock is text prompting.

控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the mobile terminal 10 to prompt in a preset prompting manner (step S30), including:

S32:控制移动终端10以文字方式提示。S32: Control the mobile terminal 10 to give a text prompt.

在某些实施方式中,确定模块22用于在目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为文字提示。控制模块23用于控制移动终端10以文字方式提示。In some embodiments, the determining module 22 is configured to determine that the prompt mode of the alarm clock is a text prompt when the target object faces the display screen 13 of the mobile terminal 10 . The control module 23 is used to control the mobile terminal 10 to give prompts by text.

在某些实施方式中,处理器12用于在目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为文字提示;还用于控制移动终端10以文字方式提示。In some embodiments, the processor 12 is configured to determine that the prompt mode of the alarm clock is a text prompt when the target object faces the display screen 13 of the mobile terminal 10; and is also used to control the mobile terminal 10 to prompt in a text mode.

具体的,在步骤S22中,在到达闹钟的指定时间时,若检测到目标物体处于朝向移动终端10的显示屏13时,确定闹钟以文字方式进行提示。例如,在到达闹钟的指定时间时,用户正目视移动终端10,可确认目标物体当前处于移动终端10的显示屏13的状态。Specifically, in step S22, when the designated time of the alarm clock is reached, if it is detected that the target object is facing the display screen 13 of the mobile terminal 10, it is determined that the alarm clock will prompt in text mode. For example, when the designated time of the alarm clock is reached, the user is looking at the mobile terminal 10 and can confirm that the target object is currently in the state of the display screen 13 of the mobile terminal 10 .

如此,当目标物体当前处于朝向移动终端10的显示屏13时,可知用户正目视移动终端10,利用文字方式进行闹钟的提醒,用户可直接查看到。用户可以在不影响他人的情况下接收提醒。In this way, when the target object is currently facing the display screen 13 of the mobile terminal 10, it can be known that the user is looking at the mobile terminal 10, and the alarm clock is reminded by text, which can be directly viewed by the user. Users can receive reminders without disturbing others.

请参阅图7,具体的,在步骤S32中,在步骤S31中,通过前一步骤确认目标物体处于朝向移动终端10的显示屏13的状态时,控制移动终端10以文字方式提示。当目标物体处于朝向移动终端10的显示屏13时,可判断用户当前正在使用移动终端10,当闹钟以文字方式提醒时,用户可实时接收文字信息。7, specifically, in step S32, in step S31, when the target object is confirmed to be facing the display screen 13 of the mobile terminal 10 through the previous step, the mobile terminal 10 is controlled to give a text prompt. When the target object is facing the display screen 13 of the mobile terminal 10 , it can be determined that the user is currently using the mobile terminal 10 , and when the alarm clock reminds by text, the user can receive text information in real time.

需要指出的是,闹钟提醒的文字内容是可预设的,用户可根据自己的不同计划安排,将相应的需要提醒的事项写入文字提醒中。如此,当闹钟以文字形式出现在显示屏13时,用户能够直接获取内容信息,从而使得闹钟达到一个提醒的作用。It should be pointed out that the text content of the alarm clock reminder can be preset, and the user can write the corresponding items that need to be reminded into the text reminder according to their own different plans. In this way, when the alarm clock appears on the display screen 13 in the form of text, the user can directly obtain the content information, so that the alarm clock can serve as a reminder.

请参阅图8,在某些实施方式中,根据目标物体的状态,确定闹钟的预设提示方式(步骤S20),包括:Referring to FIG. 8, in some embodiments, according to the state of the target object, the preset prompting method of the alarm clock is determined (step S20), including:

S23:在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为振动提示和文字提示。S23 : When the target object touches the mobile terminal 10 and the target object faces the display screen 13 of the mobile terminal 10 , determine that the prompting methods of the alarm clock are vibration prompting and text prompting.

控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the mobile terminal 10 to prompt in a preset prompting manner (step S30), including:

S33:控制移动终端10以振动和文字方式提示。S33: Control the mobile terminal 10 to give prompts in the form of vibration and text.

在某些实施方式中,确定模块22用于在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为振动提示和文字提示。控制模块23用于控制移动终端10以振动和文字方式提示。In some embodiments, the determining module 22 is configured to determine that the prompting method of the alarm clock is vibration prompting and text prompting when the target object touches the mobile terminal 10 and the target object faces the display screen 13 of the mobile terminal 10 . The control module 23 is used to control the mobile terminal 10 to give prompts in the form of vibration and text.

在某些实施方式中,处理器12用于在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为振动提示和文字提示;还用于控制控制移动终端10以振动和文字方式提示。In some embodiments, the processor 12 is configured to determine that the prompting method of the alarm clock is a vibration prompt and a text prompt when the target object touches the mobile terminal 10 and the target object faces the display screen 13 of the mobile terminal 10; The control controls the mobile terminal 10 to prompt by vibration and text.

具体的,在步骤S23中,在到达闹钟的指定时间时,若检测到在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟以振动和文字方式进行提示。例如,在到达闹钟的指定时间时,用户正手持手机且目视移动终端10的显示屏13时,可确认目标物体当前处于触碰移动终端10时,且目标物体朝向移动终端10的显示屏13的状态。Specifically, in step S23, when the designated time of the alarm clock is reached, if it is detected that the target object touches the mobile terminal 10 and the target object faces the display screen 13 of the mobile terminal 10, it is determined that the alarm clock is activated by vibration and text. hint. For example, when the designated time of the alarm clock is reached, when the user is holding the mobile phone and looking at the display screen 13 of the mobile terminal 10 , it can be confirmed that the target object is currently touching the mobile terminal 10 and the target object is facing the display screen 13 of the mobile terminal 10 . status.

如此,当目标物体正处于触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,可知用户正在使用移动终端10,利用振动与文字方式进行闹钟的提醒。用户可直接更容易接收到提醒,且振动与文字的提示方式能够不影响他人。In this way, when the target object is touching the mobile terminal 10 and the target object faces the display screen 13 of the mobile terminal 10 , it can be known that the user is using the mobile terminal 10 and uses vibration and text to remind the alarm clock. Users can receive reminders directly and more easily, and the reminder methods of vibration and text can not affect others.

请参阅图9,具体的,在步骤S33中,当目标物体正触碰移动终端10且朝向移动终端10的显示屏13时,可判断用户当前正在使用移动终端10,当闹钟以振动与文字方式提醒时,用户在接收到提醒同时还能获取接收文字信息。Please refer to FIG. 9 . Specifically, in step S33, when the target object is touching the mobile terminal 10 and faces the display screen 13 of the mobile terminal 10, it can be determined that the user is currently using the mobile terminal 10. When the alarm clock vibrates and texts When a reminder is received, the user can also obtain and receive text information while receiving the reminder.

如此,当闹钟以振动与文字的形式产生时,用户在接收闹钟的提醒的同时还能够不打扰到周围的人。In this way, when the alarm clock is generated in the form of vibration and text, the user can not disturb the surrounding people while receiving the reminder of the alarm clock.

请参阅图10,在某些实施方式中,根据目标物体的状态,确定闹钟的预设提示方式(步骤S20),包括:Referring to FIG. 10, in some embodiments, according to the state of the target object, the preset prompting mode of the alarm clock is determined (step S20), including:

S24:在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟的提示方式为声音提示。S24: When the target object does not touch the mobile terminal 10 and the target object does not face the display screen 13 of the mobile terminal 10, determine that the prompting method of the alarm clock is a sound prompt.

控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the mobile terminal 10 to prompt in a preset prompting manner (step S30), including:

S34:控制移动终端10以声音方式提示。S34: Control the mobile terminal 10 to give a voice prompt.

在某些实施方式中,确定模块22用于在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟的提示方式为声音提示。控制模块23用于控制控制移动终端10以声音方式提示。In some embodiments, the determining module 22 is configured to determine that the prompting method of the alarm clock is a sound prompt when the target object does not touch the mobile terminal 10 and the target object does not face the display screen 13 of the mobile terminal 10 . The control module 23 is used to control and control the mobile terminal 10 to give a voice prompt.

在某些实施方式中,处理器12用于在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟的提示方式为声音提示;还用于控制控制移动终端10以声音方式提示。In some embodiments, the processor 12 is configured to determine that the prompting method of the alarm clock is a sound prompt when the target object does not touch the mobile terminal 10 and the target object does not face the display screen 13 of the mobile terminal 10; it is also used to control the The mobile terminal 10 is controlled to give a voice prompt.

具体的,在步骤S24中,在到达闹钟的指定时间时,若检测到在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟以声音方式进行提示。例如,在到达闹钟的指定时间时,用户并没有在使用移动终端10时,可确认目标物体当前处于未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13的状态。Specifically, in step S24, when the designated time of the alarm clock is reached, if it is detected that the target object does not touch the mobile terminal 10 and the target object does not face the display screen 13 of the mobile terminal 10, it is determined that the alarm clock is activated by sound hint. For example, when the designated time of the alarm clock is reached, the user can confirm that the target object is not touching the mobile terminal 10 and the target object is not facing the display screen 13 of the mobile terminal 10 when the user is not using the mobile terminal 10 .

如此,当目标物体正处于未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,可知用户没有使用移动终端10,利用声音方式进行闹钟的提醒。In this way, when the target object is not touching the mobile terminal 10 and the target object is not facing the display screen 13 of the mobile terminal 10, it can be known that the user does not use the mobile terminal 10 and uses sound to remind the alarm clock.

请参阅图11,具体的,在步骤S33中,当目标物体未触碰移动终端10且未朝向移动终端10的显示屏13时,可判断用户当前没有使用移动终端10。用户没有使用移动终端10时,可能正忙于其他事务或是处于睡眠状态,此时用户较大可能忘记预先设定的闹钟。当闹钟以声音方式提醒时,用户能够更好地接收到提醒。Referring to FIG. 11 , specifically, in step S33 , when the target object does not touch the mobile terminal 10 and does not face the display screen 13 of the mobile terminal 10 , it can be determined that the user is not using the mobile terminal 10 currently. When the user is not using the mobile terminal 10, he may be busy with other affairs or in a sleeping state, and at this time, the user may forget the preset alarm clock. Users are better able to receive reminders when the alarm sounds audibly.

如此,当闹钟以声音形式产生时,在听到声音的提示后用户可以从另一事务中切换出来。避免接收不到闹钟信息而错过预定的计划安排。In this way, when the alarm clock is generated in the form of sound, the user can switch from another transaction after hearing the prompt of the sound. Avoid missing the scheduled schedule without receiving the alarm message.

请参阅图12,在某些实施方式中,在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态(步骤S10),包括:Referring to FIG. 12, in some embodiments, when the designated time of the alarm clock is reached, the state of the target object relative to the mobile terminal 10 is detected (step S10), including:

S11:在到达闹钟的指定时间时,采集目标物体的图像;S11: when the designated time of the alarm clock is reached, collect the image of the target object;

S12:在图像特征与预设图像特征匹配时,确定目标物体处于朝向移动终端10的显示屏13的状态;S12: when the image features match the preset image features, determine that the target object is in a state of facing the display screen 13 of the mobile terminal 10;

S13:在图像特征与预设图像特征不匹配时,确定目标物体处于未朝向移动终端10的显示屏13的状态。S13 : When the image features do not match the preset image features, determine that the target object is in a state not facing the display screen 13 of the mobile terminal 10 .

在某些实施方式中,检测模块21用于在到达闹钟的指定时间时,采集目标物体的图像;及用于在图像与预设图像匹配时,确定目标物体处于朝向移动终端10的显示屏13的状态;以及用于在图像与预设图像不匹配时,确定目标物体处于未朝向移动终端10的显示屏13的状态。In some embodiments, the detection module 21 is used to collect the image of the target object when the designated time of the alarm clock is reached; and to determine that the target object is facing the display screen 13 of the mobile terminal 10 when the image matches the preset image. and is used to determine that the target object is not facing the display screen 13 of the mobile terminal 10 when the image does not match the preset image.

在某些实施方式中,处理器12用于在到达闹钟的指定时间时,采集目标物体的图像;及用于在图像与预设图像匹配时,确定目标物体处于朝向移动终端10的显示屏13的状态;以及用于在图像与预设图像不匹配时,确定目标物体处于未朝向移动终端10的显示屏13的状态。In some embodiments, the processor 12 is configured to capture the image of the target object when the designated time of the alarm clock is reached; and to determine that the target object is facing the display screen 13 of the mobile terminal 10 when the image matches the preset image and is used to determine that the target object is not facing the display screen 13 of the mobile terminal 10 when the image does not match the preset image.

具体的,在步骤S11中,移动终端10可以包括摄像头14。具体的,在到达闹钟的指定时间时,利用移动终端10的摄像头14采集目标物体的图像。当目标物体在摄像头14的拍摄范围内时,摄像头14会自动搜索并拍摄目标物体的图像。不同的图像都可进行采集,例如动态图像、静态图像、与不同的位置等。Specifically, in step S11 , the mobile terminal 10 may include a camera 14 . Specifically, when the designated time of the alarm clock is reached, the camera 14 of the mobile terminal 10 is used to collect the image of the target object. When the target object is within the shooting range of the camera 14, the camera 14 will automatically search for and capture an image of the target object. Different images can be acquired, such as dynamic images, static images, and different positions.

由于原始图像由于受到各种限制与干扰通常不能直接使用,所以需要对采集到图像进行预处理。预处理可包括灰度校正、噪声过滤、光线补偿、灰度变换、直方图均衡化、归一化、几何校正、滤波以及锐化等操作。Since the original image cannot be used directly due to various limitations and interferences, the acquired image needs to be preprocessed. Preprocessing can include operations such as grayscale correction, noise filtering, light compensation, grayscale transformation, histogram equalization, normalization, geometric correction, filtering, and sharpening.

预处理结束后,再对图像进行特征提取。图像特征可包括视觉特征、像素统计特征、图像变换系数特征、图像代数特征等。After preprocessing, feature extraction is performed on the image. Image features may include visual features, pixel statistics features, image transform coefficient features, image algebraic features, and the like.

再将提取到图像特征与预设图像的特征进行搜索匹配,通过设定一个阈值,当相似度与该阈值进行比较,根据比较结果把匹配得到的结果输出。Then, search and match the extracted image features with the preset image features, and set a threshold. When the similarity is compared with the threshold, the matching result is output according to the comparison result.

如此,在到达闹钟的指定时间时,利用移动终端10的摄像头14采集目标物体的图像,再对图像进行预处理、特征提取及搜索匹配。In this way, when the designated time of the alarm clock is reached, the camera 14 of the mobile terminal 10 is used to collect the image of the target object, and then the image is preprocessed, feature extraction, and search and matching are performed.

在步骤S12中,若提取到图像的特征与预设图像的特征经搜索匹配后,二者的相似度大于或等于阈值时,则说明图像特征与预设图像特征匹配,从而确定目标物体处于朝向移动终端10的显示屏13的状态。如此,可根据目标物体处于朝向移动终端10的显示屏13的状态,确定闹钟的提示方式为文字提示。In step S12, if the feature of the extracted image and the feature of the preset image are searched and matched, and the similarity between the two is greater than or equal to the threshold, it means that the feature of the image matches the feature of the preset image, so that it is determined that the target object is facing The state of the display screen 13 of the mobile terminal 10 . In this way, according to the state of the target object facing the display screen 13 of the mobile terminal 10, it can be determined that the prompting method of the alarm clock is a text prompting.

在步骤S13中,若提取到图像的特征与预设图像的特征经搜索匹配后,二者的相似度小于阈值时,则说明图像特征与预设图像特征不匹配,从而确定目标物体未处于朝向移动终端10的显示屏13的状态。若此时闹钟以文字进行提示,难以保证目标物体可实时接收到闹钟的提醒。In step S13, if the feature of the extracted image and the feature of the preset image are searched and matched, and the similarity between the two is less than the threshold, it means that the feature of the image does not match the feature of the preset image, so it is determined that the target object is not in the direction of The state of the display screen 13 of the mobile terminal 10 . If the alarm clock is prompted by text at this time, it is difficult to ensure that the target object can receive the reminder of the alarm clock in real time.

请参阅图13,在某些实施方式中,在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态,包括:Referring to FIG. 13, in some embodiments, when the designated time of the alarm clock is reached, the state of the target object relative to the mobile terminal 10 is detected, including:

S14:在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;S14: when the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is greater than the preset angular velocity, determine that the target object is in a state of touching the mobile terminal 10;

S15:在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。S15: When the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is less than or equal to the preset angular velocity, it is determined that the target object is in a state of not touching the mobile terminal 10.

在某些实施方式中,检测模块21用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;还用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。In some embodiments, the detection module 21 is configured to determine that the target object is in a state of touching the mobile terminal 10 when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is greater than the preset angular velocity when the designated time of the alarm clock is reached; When the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is less than or equal to the preset angular velocity, it is determined that the target object is in a state of not touching the mobile terminal 10 .

在某些实施方式中,处理器12用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;还用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。In some embodiments, the processor 12 is configured to determine that the target object is in a state of touching the mobile terminal 10 when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is greater than the preset angular velocity when the designated time of the alarm clock is reached; and When the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor 15 of the mobile terminal 10 is less than or equal to the preset angular velocity, it is determined that the target object is in a state of not touching the mobile terminal 10 .

请参阅图2,移动终端10内包括至少一种传感器件,例如,移动终端10可以包括角速度传感器15,角速度传感器15可用于测量移动终端10的角速度。单轴的角速度传感器15只能测量单一方向的改变,通常一般的系统要测量三个方向的改变,一个三轴角速度传感器就能替代三个单轴的,三轴角速度传感器具有体积小、重量轻、结构简单、可靠性好等优点。Referring to FIG. 2 , the mobile terminal 10 includes at least one sensing device. For example, the mobile terminal 10 may include an angular velocity sensor 15 , and the angular velocity sensor 15 may be used to measure the angular velocity of the mobile terminal 10 . The single-axis angular velocity sensor 15 can only measure changes in a single direction. Generally, a general system needs to measure changes in three directions. One triaxial angular velocity sensor can replace three uniaxial ones. The triaxial angular velocity sensor has the advantages of small size and light weight. , simple structure, good reliability and so on.

如此,可通过移动终端10的角速度传感器15判断当前移动终端10的使用状态。由于当用户在触碰且使用移动终端10时,会使移动终端10产生一定的角速度。In this way, the current use state of the mobile terminal 10 can be determined by the angular velocity sensor 15 of the mobile terminal 10 . When the user touches and uses the mobile terminal 10, the mobile terminal 10 will generate a certain angular velocity.

示例性地,在步骤S14中,当检测到的角速度大于预设角速度时,可判断移动终端10处于使用状态,从而确认目标物体处于触碰移动终端10的状态。Exemplarily, in step S14 , when the detected angular velocity is greater than the preset angular velocity, it can be determined that the mobile terminal 10 is in a use state, thereby confirming that the target object is in a state of touching the mobile terminal 10 .

在步骤S15中,当检测到的角速度小于或等于预设角速度时,可判断移动终端10处于未使用状态,可确认目标物体未处于触碰移动终端10的状态。In step S15 , when the detected angular velocity is less than or equal to the preset angular velocity, it can be determined that the mobile terminal 10 is in an unused state, and it can be confirmed that the target object is not in a state of touching the mobile terminal 10 .

在某些实施方式中,移动终端10还可包括传感器。例如环境光传感器与压力传感器等。具体地,环境光传感器可以根据外界的光线强度调整移动终端10的显示屏13亮度,一定程度上保障用户的用眼安全;压力传感器可检测移动终端10受到的压力。In some embodiments, the mobile terminal 10 may also include sensors. Such as ambient light sensors and pressure sensors. Specifically, the ambient light sensor can adjust the brightness of the display screen 13 of the mobile terminal 10 according to the light intensity of the outside world, so as to ensure the user's eye safety to a certain extent; the pressure sensor can detect the pressure on the mobile terminal 10 .

其中压力传感器可辅助判断目标物体是否处于触碰移动终端10的状态。例如,在到达闹钟的指定时间时,若检测到移动终端10的压力值大于或等于预设压力值时,确定目标物体处于触碰移动终端10的状态;若检测到移动终端10的压力值小于预设压力值时,确定目标物体处于未触碰移动终端10的状态。The pressure sensor can assist in determining whether the target object is in a state of touching the mobile terminal 10 . For example, when the designated time of the alarm clock is reached, if it is detected that the pressure value of the mobile terminal 10 is greater than or equal to the preset pressure value, it is determined that the target object is in a state of touching the mobile terminal 10; if it is detected that the pressure value of the mobile terminal 10 is less than When the pressure value is preset, it is determined that the target object is not touching the mobile terminal 10 .

在某些实施方式中,本申请实施方式提供了一种包含计算机可执行程序的非易失性计算机可读存储介质,当计算机可执行程序被一个或多个处理器执行时,实现任一实施方式的闹钟提示方法。In some embodiments, the embodiments of the present application provide a non-volatile computer-readable storage medium containing a computer-executable program, which, when executed by one or more processors, realizes any implementation The method of alarm reminder method.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,程序可存储于一非易失性计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or the like.

在本说明书的描述中,参考术语“一个实施方式”、“某些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "exemplary embodiment," "example," "specific example," or "some examples", etc. A particular feature, structure, material, or characteristic described in this embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本申请的实施方式,本领域的普通技术人员可以理解:在不脱离本申请的原理和宗旨的情况下可以对这些实施方式进行多种变化、修改、替换和变型,本申请的范围由权利要求及其等同物限定。Although the embodiments of the present application have been shown and described, those of ordinary skill in the art will appreciate that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the present application, The scope of the application is defined by the claims and their equivalents.

Claims (10)

1.一种闹钟提示方法,用于移动终端,其特征在于,所述方法包括:1. A method for prompting an alarm clock for a mobile terminal, wherein the method comprises: 在到达闹钟的指定时间时,检测目标物体相对于所述移动终端的状态,以判断所述目标物体对所述移动终端的使用情况;When the designated time of the alarm clock is reached, the state of the target object relative to the mobile terminal is detected to judge the usage of the mobile terminal by the target object; 根据所述目标物体的状态,确定闹钟的预设提示方式;Determine the preset prompting mode of the alarm clock according to the state of the target object; 用户目视所述移动终端,确认所述目标物体当前处于朝向所述移动终端的显示屏的状态;在所述目标物体朝向所述移动终端的显示屏时,确定闹钟的提示方式为文字提示;The user looks at the mobile terminal to confirm that the target object is currently facing the display screen of the mobile terminal; when the target object faces the display screen of the mobile terminal, it is determined that the prompt mode of the alarm clock is a text prompt; 控制所述移动终端以所述预设提示方式提示。The mobile terminal is controlled to prompt in the preset prompt manner. 2.根据权利要求1所述的闹钟提示方法,其特征在于,所述根据目标物体的状态,确定闹钟的预设提示方式,包括:2. The method for prompting an alarm clock according to claim 1, wherein determining the preset prompting mode of the alarm clock according to the state of the target object, comprising: 在所述目标物体触碰所述移动终端时,确定闹钟的提示方式为振动提示;When the target object touches the mobile terminal, determine that the reminder mode of the alarm clock is a vibration reminder; 所述控制移动终端以所述预设提示方式提示,包括:The controlling the mobile terminal to prompt in the preset prompting manner, including: 控制所述移动终端以振动方式提示。The mobile terminal is controlled to prompt in a vibrating manner. 3.根据权利要求1所述的闹钟提示方法,其特征在于,3. The method for prompting an alarm clock according to claim 1, wherein, 所述控制移动终端以所述预设提示方式提示,包括:The controlling the mobile terminal to prompt in the preset prompting manner, including: 控制所述移动终端以文字方式提示。The mobile terminal is controlled to prompt in text mode. 4.根据权利要求1所述的闹钟提示方法,其特征在于,所述根据所述目标物体的状态,确定闹钟的预设提示方式,包括:4. The method for prompting an alarm clock according to claim 1, wherein determining the preset prompting mode of the alarm clock according to the state of the target object, comprising: 在所述目标物体触碰所述移动终端时,且所述目标物体朝向所述移动终端的显示屏时,确定闹钟的提示方式为振动提示和文字提示;When the target object touches the mobile terminal, and when the target object faces the display screen of the mobile terminal, determine that the prompt mode of the alarm clock is a vibration prompt and a text prompt; 所述控制移动终端以所述预设提示方式提示,包括:The controlling the mobile terminal to prompt in the preset prompting manner, including: 控制所述移动终端以振动和文字方式提示。The mobile terminal is controlled to prompt by vibration and text. 5.根据权利要求1所述的闹钟提示方法,其特征在于,所述根据所述目标物体的状态,确定闹钟的预设提示方式,包括:5. The method for prompting an alarm clock according to claim 1, wherein the determining a preset prompting mode of the alarm clock according to the state of the target object comprises: 在所述目标物体未触碰所述移动终端时,且所述目标物体未朝向所述移动终端的显示屏时,确定闹钟的提示方式为声音提示;When the target object does not touch the mobile terminal and the target object is not facing the display screen of the mobile terminal, determining that the prompting method of the alarm clock is a sound prompt; 所述控制移动终端以所述预设提示方式提示,包括:The controlling the mobile terminal to prompt in the preset prompting manner, including: 控制所述移动终端以声音方式提示。The mobile terminal is controlled to give a voice prompt. 6.根据权利要求3-5任一项所述的闹钟提示方法,其特征在于,所述在到达闹钟的指定时间时,检测所述目标物体相对于所述移动终端的状态,包括:6. The method for prompting an alarm clock according to any one of claims 3-5, wherein the detecting the state of the target object relative to the mobile terminal when the designated time of the alarm clock arrives, comprising: 在到达闹钟的指定时间时,采集目标物体的图像;When the designated time of the alarm clock is reached, the image of the target object is collected; 在所述图像与预设图像匹配时,确定所述目标物体处于朝向所述移动终端的显示屏的状态;When the image matches the preset image, determining that the target object is in a state of facing the display screen of the mobile terminal; 在所述图像与预设图像不匹配时,确定所述目标物体处于未朝向所述移动终端的显示屏的状态。When the image does not match the preset image, it is determined that the target object is not facing the display screen of the mobile terminal. 7.根据权利要求2、4或5所述的闹钟提示方法,其特征在于,所述在到达闹钟的指定时间时,检测所述目标物体相对于所述移动终端的状态,包括:7. The method for prompting an alarm clock according to claim 2, 4 or 5, wherein the detecting the state of the target object relative to the mobile terminal when the designated time of the alarm clock is reached, comprising: 在到达闹钟的指定时间时,在所述移动终端的角速度传感器检测的角速度大于预设角速度时,确定所述目标物体处于触碰所述移动终端的状态;When the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor of the mobile terminal is greater than the preset angular velocity, it is determined that the target object is in a state of touching the mobile terminal; 在到达闹钟的指定时间时,在所述移动终端的角速度传感器检测的角速度小于或等于预设角速度时,确定所述目标物体处于未触碰移动终端的状态。When the designated time of the alarm clock is reached, when the angular velocity detected by the angular velocity sensor of the mobile terminal is less than or equal to the preset angular velocity, it is determined that the target object is in a state of not touching the mobile terminal. 8.一种控制装置,其特征在于,包括:8. A control device, characterized in that, comprising: 检测模块,用于在到达闹钟的指定时间时,检测目标物体相对于移动终端的状态,以判断所述目标物体对所述移动终端的使用情况;a detection module, configured to detect the state of the target object relative to the mobile terminal when the designated time of the alarm clock is reached, so as to judge the usage of the mobile terminal by the target object; 确定模块,用于根据所述目标物体的状态,确定闹钟的预设提示方式,用户目视所述移动终端,确认所述目标物体当前处于朝向所述移动终端的显示屏的状态;在所述目标物体朝向所述移动终端的显示屏时,确定闹钟的提示方式为文字提示;A determination module, configured to determine a preset prompting mode of the alarm clock according to the state of the target object, and the user visually confirms that the target object is currently facing the display screen of the mobile terminal by looking at the mobile terminal; When the target object faces the display screen of the mobile terminal, determine that the prompt mode of the alarm clock is a text prompt; 控制模块,用于控制所述移动终端以所述预设提示方式提示。A control module, configured to control the mobile terminal to prompt in the preset prompt manner. 9.一种移动终端,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1-7任一项所述的闹钟提示方法。9. A mobile terminal, characterized in that, comprising a memory, a processor and a computer program stored on the memory and running on the processor, the processor implementing the computer program as claimed in the claims The alarm clock prompting method described in any one of 1-7. 10.一种计算机可执行程序的非易失性计算机可读存储介质,其特征在于,当所述计算机可执行程序被一个或多个处理器执行时,实现权利要求1-7中任一项所述的闹钟提示方法。10. A non-volatile computer-readable storage medium for a computer-executable program, characterized in that, when the computer-executable program is executed by one or more processors, any one of claims 1-7 is realized The alarm clock prompting method.
CN202110193872.4A 2021-02-20 2021-02-20 Alarm clock prompting method, mobile terminal, control device and storage medium Expired - Fee Related CN113014726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110193872.4A CN113014726B (en) 2021-02-20 2021-02-20 Alarm clock prompting method, mobile terminal, control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110193872.4A CN113014726B (en) 2021-02-20 2021-02-20 Alarm clock prompting method, mobile terminal, control device and storage medium

Publications (2)

Publication Number Publication Date
CN113014726A CN113014726A (en) 2021-06-22
CN113014726B true CN113014726B (en) 2022-08-12

Family

ID=76404564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110193872.4A Expired - Fee Related CN113014726B (en) 2021-02-20 2021-02-20 Alarm clock prompting method, mobile terminal, control device and storage medium

Country Status (1)

Country Link
CN (1) CN113014726B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979696A (en) * 2017-11-21 2018-05-01 珠海市魅族科技有限公司 A kind of alarm clock control method, device, computer installation and computer-readable recording medium
CN108632461A (en) * 2018-04-17 2018-10-09 Oppo广东移动通信有限公司 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450844A (en) * 2014-09-28 2016-03-30 中兴通讯股份有限公司 Method and device for controlling mobile terminal alarm clock
WO2017156767A1 (en) * 2016-03-18 2017-09-21 深圳市赛亿科技开发有限公司 Mobile terminal, and method and apparatus for implementing smart alarm clock thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979696A (en) * 2017-11-21 2018-05-01 珠海市魅族科技有限公司 A kind of alarm clock control method, device, computer installation and computer-readable recording medium
CN108632461A (en) * 2018-04-17 2018-10-09 Oppo广东移动通信有限公司 Method, apparatus, terminal and the computer readable storage medium of alarm clock calling

Also Published As

Publication number Publication date
CN113014726A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
JP7203135B2 (en) A semantic framework for variable haptic output
KR102537543B1 (en) Intelligent electronic device and operating method thereof
US9747072B2 (en) Context-aware notifications
TW201633226A (en) Social reminders
CN105708609A (en) User snore reminding method, device and system
KR20190050624A (en) Electronic device for providing time information and a method for the same
US20180286392A1 (en) Multi mode voice assistant for the hearing disabled
US10222862B2 (en) Method to sense force exertion on handheld device for behavior setting and input for quick response
US10185460B2 (en) Device notifications
CN109831817B (en) Terminal control method, device, terminal and storage medium
CN113014726B (en) Alarm clock prompting method, mobile terminal, control device and storage medium
US20160004619A1 (en) Automated maintenance of an electronic device
CN106502397A (en) Control method, control device and electronic installation

Legal Events

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220812