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 PDFInfo
- 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
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Telephone Function (AREA)
Abstract
Description
技术领域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
具体实施方式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
S10:在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;S10: when the designated time of the alarm clock is reached, detect the state of the target object relative to the
S20:根据目标物体的状态,确定闹钟的预设提示方式;S20: Determine a preset prompting method of the alarm clock according to the state of the target object;
S30:控制移动终端10以预设提示方式提示。S30: Control the
请参阅图2,本申请实施方式提供了一种移动终端10。移动终端10包括存储器11、处理器12及存储在存储器11上并可在处理器12上运行的计算机程序,处理器12执行计算机程序时实现上述实施方式中任一项的闹钟提示方法。Referring to FIG. 2 , an embodiment of the present application provides a
请参阅图3,本申请实施方式提供了一种控制装置20,控制装置20包括检测模块21、确定模块22与控制模块23。检测模块21用于在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;确定模块22用于根据目标物体的状态,确定闹钟的预设提示方式;控制模块23用于控制移动终端10以预设提示方式提示。Referring to FIG. 3 , an embodiment of the present application provides a
处理器12用于在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态;还用于根据目标物体的状态,确定闹钟的预设提示方式;以及用于控制移动终端10以预设提示方式提示。The
具体的,在步骤S10中,用户根据自身的计划安排,可预先在移动终端10上设置闹钟。当到达用户预定的时间后,移动终端10将会发出提示信号。Specifically, in step S10, the user may set an alarm clock on the
在到达闹钟的指定时间时,检测目标物体相对于移动终端10的状态。移动终端10包括但不限于智能手机、智能手表、笔记本、平板电脑等。When the designated time of the alarm clock is reached, the state of the target object relative to the
目标物体相对于移动终端10的状态可包括:目标物体触碰移动终端10、目标物体未触碰移动终端10、目标物体朝向移动终端10的显示屏13与目标物体未朝向移动终端10的显示屏13。如此,可通过目标物体相对于移动终端10的状态,判断目标物体对移动终端10的使用情况。示例性地,检测到目标物体触碰移动终端10时,判断可能为用户正握持着移动终端10;检测到目标物体朝向移动终端10的显示屏13,判断可能为用户目视移动终端10。The state of the target object relative to the
在步骤S20中,获取到目标物体相对于移动终端10的状态时,可根据不同目标物体的不同状态,确定闹钟的预设提示方式。闹钟的提示方式可以包括振动提醒、文字提醒与铃声提醒等。In step S20, when the state of the target object relative to the
示例性地,当目标物体触碰移动终端10时,可确定闹钟以振动方式进行提醒;当目标物体朝向移动终端10的显示屏13时,可确定闹钟以文字方式进行提醒;当目标物体触碰移动终端10时且目标物体朝向移动终端10的显示屏13时,可确定闹钟以振动和文字方式进行提醒;当目标物体未触碰移动终端10,且目标物体未朝向移动终端10的显示屏13时,可确定闹钟以声音方式进行提醒。Exemplarily, when the target object touches the
如此,可根据目标物体相对于移动终端10的不同状态,确定相对应的闹钟提醒方式。In this way, according to the different states of the target object relative to the
在步骤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
请参阅图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
控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the
S31:控制移动终端10以振动方式提示。S31: Control the
在某些实施方式中,确定模块22用于在目标物体触碰移动终端10时,确定闹钟的提示方式为振动提示。控制模块23用于控制移动终端10以振动方式提示。In some embodiments, the determining
在某些实施方式中,处理器12用于在目标物体触碰移动终端10时,确定闹钟的提示方式为振动提示;还用于控制移动终端10以振动方式提示。In some embodiments, the
具体的,在步骤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
如此,检测到目标物体处于触碰移动终端10时,确定闹钟以振动方式进行提示In this way, when it is detected that the target object is touching the
请参阅图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
当目标物体处于触碰移动终端10的状态时,移动终端10的振动显得尤为明显。因此,移动终端10的振动适用于用户不希望发出声音的场合,例如,会议室、教室或图书馆等。When the target object is in a state of touching the
如此,在到达闹钟的指定时间时,可针对目标物体触碰移动终端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
请参阅图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
控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the
S32:控制移动终端10以文字方式提示。S32: Control the
在某些实施方式中,确定模块22用于在目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为文字提示。控制模块23用于控制移动终端10以文字方式提示。In some embodiments, the determining
在某些实施方式中,处理器12用于在目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为文字提示;还用于控制移动终端10以文字方式提示。In some embodiments, the
具体的,在步骤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
如此,当目标物体当前处于朝向移动终端10的显示屏13时,可知用户正目视移动终端10,利用文字方式进行闹钟的提醒,用户可直接查看到。用户可以在不影响他人的情况下接收提醒。In this way, when the target object is currently facing the
请参阅图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
需要指出的是,闹钟提醒的文字内容是可预设的,用户可根据自己的不同计划安排,将相应的需要提醒的事项写入文字提醒中。如此,当闹钟以文字形式出现在显示屏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
请参阅图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
控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the
S33:控制移动终端10以振动和文字方式提示。S33: Control the
在某些实施方式中,确定模块22用于在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为振动提示和文字提示。控制模块23用于控制移动终端10以振动和文字方式提示。In some embodiments, the determining
在某些实施方式中,处理器12用于在目标物体触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,确定闹钟的提示方式为振动提示和文字提示;还用于控制控制移动终端10以振动和文字方式提示。In some embodiments, the
具体的,在步骤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
如此,当目标物体正处于触碰移动终端10时,且目标物体朝向移动终端10的显示屏13时,可知用户正在使用移动终端10,利用振动与文字方式进行闹钟的提醒。用户可直接更容易接收到提醒,且振动与文字的提示方式能够不影响他人。In this way, when the target object is touching the
请参阅图9,具体的,在步骤S33中,当目标物体正触碰移动终端10且朝向移动终端10的显示屏13时,可判断用户当前正在使用移动终端10,当闹钟以振动与文字方式提醒时,用户在接收到提醒同时还能获取接收文字信息。Please refer to FIG. 9 . Specifically, in step S33, when the target object is touching the
如此,当闹钟以振动与文字的形式产生时,用户在接收闹钟的提醒的同时还能够不打扰到周围的人。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
控制移动终端10以预设提示方式提示(步骤S30),包括:Controlling the
S34:控制移动终端10以声音方式提示。S34: Control the
在某些实施方式中,确定模块22用于在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟的提示方式为声音提示。控制模块23用于控制控制移动终端10以声音方式提示。In some embodiments, the determining
在某些实施方式中,处理器12用于在目标物体未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,确定闹钟的提示方式为声音提示;还用于控制控制移动终端10以声音方式提示。In some embodiments, the
具体的,在步骤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
如此,当目标物体正处于未触碰移动终端10时,且目标物体未朝向移动终端10的显示屏13时,可知用户没有使用移动终端10,利用声音方式进行闹钟的提醒。In this way, when the target object is not touching the
请参阅图11,具体的,在步骤S33中,当目标物体未触碰移动终端10且未朝向移动终端10的显示屏13时,可判断用户当前没有使用移动终端10。用户没有使用移动终端10时,可能正忙于其他事务或是处于睡眠状态,此时用户较大可能忘记预先设定的闹钟。当闹钟以声音方式提醒时,用户能够更好地接收到提醒。Referring to FIG. 11 , specifically, in step S33 , when the target object does not touch the
如此,当闹钟以声音形式产生时,在听到声音的提示后用户可以从另一事务中切换出来。避免接收不到闹钟信息而错过预定的计划安排。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
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
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
在某些实施方式中,检测模块21用于在到达闹钟的指定时间时,采集目标物体的图像;及用于在图像与预设图像匹配时,确定目标物体处于朝向移动终端10的显示屏13的状态;以及用于在图像与预设图像不匹配时,确定目标物体处于未朝向移动终端10的显示屏13的状态。In some embodiments, the
在某些实施方式中,处理器12用于在到达闹钟的指定时间时,采集目标物体的图像;及用于在图像与预设图像匹配时,确定目标物体处于朝向移动终端10的显示屏13的状态;以及用于在图像与预设图像不匹配时,确定目标物体处于未朝向移动终端10的显示屏13的状态。In some embodiments, the
具体的,在步骤S11中,移动终端10可以包括摄像头14。具体的,在到达闹钟的指定时间时,利用移动终端10的摄像头14采集目标物体的图像。当目标物体在摄像头14的拍摄范围内时,摄像头14会自动搜索并拍摄目标物体的图像。不同的图像都可进行采集,例如动态图像、静态图像、与不同的位置等。Specifically, in step S11 , the
由于原始图像由于受到各种限制与干扰通常不能直接使用,所以需要对采集到图像进行预处理。预处理可包括灰度校正、噪声过滤、光线补偿、灰度变换、直方图均衡化、归一化、几何校正、滤波以及锐化等操作。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
在步骤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
在步骤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
请参阅图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
S14:在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;S14: when the designated time of the alarm clock is reached, when the angular velocity detected by the
S15:在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。S15: When the designated time of the alarm clock is reached, when the angular velocity detected by the
在某些实施方式中,检测模块21用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;还用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。In some embodiments, the
在某些实施方式中,处理器12用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度大于预设角速度时,确定目标物体处于触碰移动终端10的状态;还用于在到达闹钟的指定时间时,在移动终端10的角速度传感器15检测的角速度小于或等于预设角速度时,确定目标物体处于未触碰移动终端10的状态。In some embodiments, the
请参阅图2,移动终端10内包括至少一种传感器件,例如,移动终端10可以包括角速度传感器15,角速度传感器15可用于测量移动终端10的角速度。单轴的角速度传感器15只能测量单一方向的改变,通常一般的系统要测量三个方向的改变,一个三轴角速度传感器就能替代三个单轴的,三轴角速度传感器具有体积小、重量轻、结构简单、可靠性好等优点。Referring to FIG. 2 , the
如此,可通过移动终端10的角速度传感器15判断当前移动终端10的使用状态。由于当用户在触碰且使用移动终端10时,会使移动终端10产生一定的角速度。In this way, the current use state of the
示例性地,在步骤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
在步骤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
在某些实施方式中,移动终端10还可包括传感器。例如环境光传感器与压力传感器等。具体地,环境光传感器可以根据外界的光线强度调整移动终端10的显示屏13亮度,一定程度上保障用户的用眼安全;压力传感器可检测移动终端10受到的压力。In some embodiments, the
其中压力传感器可辅助判断目标物体是否处于触碰移动终端10的状态。例如,在到达闹钟的指定时间时,若检测到移动终端10的压力值大于或等于预设压力值时,确定目标物体处于触碰移动终端10的状态;若检测到移动终端10的压力值小于预设压力值时,确定目标物体处于未触碰移动终端10的状态。The pressure sensor can assist in determining whether the target object is in a state of touching the
在某些实施方式中,本申请实施方式提供了一种包含计算机可执行程序的非易失性计算机可读存储介质,当计算机可执行程序被一个或多个处理器执行时,实现任一实施方式的闹钟提示方法。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)
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)
| 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)
| 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 |
-
2021
- 2021-02-20 CN CN202110193872.4A patent/CN113014726B/en not_active Expired - Fee Related
Patent Citations (2)
| 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 |