CN108632461B - Alarm clock reminding method, device, terminal and computer readable storage medium - Google Patents

Alarm clock reminding method, device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108632461B
CN108632461B CN201810351349.8A CN201810351349A CN108632461B CN 108632461 B CN108632461 B CN 108632461B CN 201810351349 A CN201810351349 A CN 201810351349A CN 108632461 B CN108632461 B CN 108632461B
Authority
CN
China
Prior art keywords
alarm clock
terminal
reminding
triggering
clock reminding
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
CN201810351349.8A
Other languages
Chinese (zh)
Other versions
CN108632461A (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 CN201810351349.8A priority Critical patent/CN108632461B/en
Publication of CN108632461A publication Critical patent/CN108632461A/en
Application granted granted Critical
Publication of CN108632461B publication Critical patent/CN108632461B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

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

Abstract

The application belongs to the technical field of electronic equipment, and particularly relates to an alarm clock reminding method, an alarm clock reminding device, a terminal and a computer-readable storage medium, wherein the method comprises the following steps: when the alarm clock reminding time is reached, detecting whether the posture of the terminal changes; if the terminal posture is not changed, detecting whether the terminal runs a preset application or not; triggering a corresponding alarm clock reminding event according to a detection result of whether the terminal runs a preset application or not; according to the method and the device for triggering the alarm clock reminding event, the alarm clock reminding mode is diversified according to the posture change of the terminal and whether the preset application is running.

Description

Alarm clock reminding method, device, terminal and computer readable storage medium
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to an alarm clock reminding method, an alarm clock reminding device, a terminal and a computer readable storage medium.
Background
In the conventional technology, the alarm clock reminding mode on the electronic device mainly includes: the method comprises the steps that a user presets the reminding time and the reminding mode of the alarm clock, when the reminding time of the alarm clock reaches, the electronic equipment reminds the alarm clock according to the reminding mode preset by the user, and the method has the defect of single reminding mode.
Disclosure of Invention
The embodiment of the application provides an alarm clock reminding method, an alarm clock reminding device, a terminal and a computer readable storage medium, and can solve the technical problem that a traditional alarm clock reminding mode is single.
A first aspect of an embodiment of the present application provides a method for alarm clock reminding, including:
when the alarm clock reminding time is reached, detecting whether the posture of the terminal changes;
if the terminal posture is not changed, detecting whether the terminal runs a preset application or not;
and triggering a corresponding alarm clock reminding event according to the detection result of whether the terminal runs the preset application.
A second aspect of the embodiments of the present application provides an alarm clock reminding device, including:
the first detection unit is used for detecting whether the posture of the terminal changes when the alarm clock reminding time is reached;
the second detection unit is used for detecting whether the terminal runs a preset application or not if the terminal is detected to be unchanged in posture;
and the triggering unit is used for triggering a corresponding alarm clock reminding event according to the detection result of whether the terminal runs the preset application.
A third aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, whether the posture of the terminal changes or not is detected when the alarm clock reminding time is reached; when the terminal posture is not changed, whether the terminal runs a preset application is detected; the method and the device for reminding the alarm clock are convenient for triggering the corresponding alarm clock reminding event according to the detection result of whether the terminal runs the preset application, namely, the alarm clock reminding is carried out according to the posture change of the terminal and whether the preset application runs, instead of a certain alarm clock reminding mode preset by a user, and the method and the device for reminding the alarm clock have the characteristic of diversified alarm clock reminding modes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flow chart of an implementation process of a method for alarm clock reminding provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a specific implementation of the method 103 for alarm clock reminding provided in the embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an alarm clock reminding message loaded on a currently displayed interface of a terminal according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a pop-up alarm clock reminding display frame on a currently displayed interface of a terminal according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another specific implementation of the method 103 for alarm clock reminding provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of another specific implementation of the method 103 for alarm clock reminding provided in the embodiment of the present application;
FIG. 7 is a schematic structural diagram of an alarm clock reminding device provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a schematic flow chart of an implementation process of an alarm clock reminding method provided in an embodiment of the present application, where the method is applied to a terminal and can be executed by an alarm clock reminding device configured on the terminal, and the alarm clock reminding device can be implemented in a hardware and/or software manner, and is suitable for situations where alarm clock reminding needs to be quickly turned off or paused. The method may comprise steps 101 to 103.
In 101, when the alarm clock reminding time is reached, whether the posture of the terminal changes or not is detected.
The terminal comprises terminal equipment such as a smart phone, a tablet personal computer, a Personal Digital Assistant (PDA), a learning machine and an electronic watch. The terminal equipment is provided with applications such as an alarm clock, a photographing application, a QQ, a WeChat, a game A, a game B, an e-book reader, a music player and a video player.
In some embodiments of the application, when the alarm clock reminding time is reached, whether the posture of the terminal changes or not is detected, so that the current state of the terminal is judged, and a corresponding alarm clock reminding event is triggered according to the current state of the terminal.
For example, when the user uses a preset application such as a video player, an e-book reader, WeChat, or QQ on the terminal to perform video viewing, e-book reading, WeChat chat, or QQ chat, it is determined that the terminal is in a stable use state. When the user does not use a preset application such as a video player, an e-book reader, a WeChat, or a QQ on the terminal, it indicates that the user may be busy with something else or sleeping, and at this time, it is determined that the terminal is in a left state.
Wherein, when reaching the alarm clock and reminding the moment, whether the gesture of detection terminal changes includes: and detecting the attitude change of the terminal by using sensors such as an acceleration sensor and a gyroscope on the terminal. And if the acceleration of the terminal is detected to be changed, the terminal is indicated to be changed in posture.
In the stably used state and the placed state, the acceleration of the terminal does not change, and thus it can be determined that the posture of the terminal does not change. When the terminal moves or turns over, the acceleration of the terminal changes, so that the posture of the terminal can be judged to be changed.
In 102, if it is detected that the posture of the terminal is not changed, it is detected whether the terminal is running a preset application.
In the embodiment of the present application, if it is detected that the posture of the terminal is not changed, it indicates that the terminal may be in a placed state or in a state of being stably used. Therefore, when it is detected that the posture of the terminal is not changed, it is required to detect whether the terminal is running a preset application, so as to determine whether the current state of the terminal is a placed state or a stably used state.
Optionally, if it is detected that the terminal is running a preset application, it indicates that the terminal is in a stable use state; and if the terminal is detected not to be running the preset application, indicating that the terminal is in a placed state.
The preset application may be an application preset by a user, or an application set by a factory, for example, applications such as a video player, an e-book reader, WeChat, QQ, Hosta, a browser, Taobao, microblog, and hot news. The examples are given solely for the purpose of illustration and are not intended to limit the scope of the invention, as other embodiments of the invention may include more or fewer applications.
In 103, triggering a corresponding alarm clock reminding event according to a detection result of whether the terminal is running a preset application.
In the embodiment of the application, whether the posture of the terminal changes or not is detected when the alarm clock reminding time is reached; when the terminal posture is not changed, whether the terminal runs a preset application is detected; according to the alarm clock reminding method and device, the corresponding alarm clock reminding event is triggered according to the detection result of whether the terminal runs the preset application, namely, according to the posture change of the terminal and whether the preset application runs the preset application, the corresponding alarm clock reminding event is triggered instead of carrying out alarm clock reminding according to a certain alarm clock reminding mode preset by a user, the alarm clock reminding method and device have the advantages of being diversified in alarm clock reminding modes, and the technical problem that the traditional alarm clock reminding mode is single is solved.
Optionally, as shown in fig. 2, the triggering a corresponding alarm clock reminding event according to a detection result of whether the terminal is running a preset application includes 201, and if the terminal is running the preset application, a first alarm clock reminding event is triggered.
Wherein the first alarm clock reminding event comprises: loading an alarm clock reminding message on a current displayed interface of the terminal; or, loading an alarm clock reminding interface; and, no vibration and/or ringing alert is performed.
In the embodiment of the application, when detecting the gesture of terminal does not change, and the terminal is running when presetting the application, shows that the terminal is in the state by steady use, and at this moment, the user is in the waking state, generally does not want the terminal carries out alarm clock reminding according to the alarm clock reminding mode of presetting when arriving alarm clock reminding moment, for example, carries out alarm clock reminding according to the vibrations of presetting and/or the mode of ringing. Therefore, in the embodiment of the application, the first alarm clock reminding event is triggered when the terminal runs the preset application, so that the user is reminded of noise such as vibration or ringing when the alarm clock reminding time is reached. Namely, alarm clock reminding is carried out in a mute reminding mode.
As shown in fig. 3, the loading of the alarm clock reminding message on the interface currently displayed by the terminal includes: and an alarm clock reminding message is loaded above the interface currently displayed by the terminal, and an 'off' selection control 31 is loaded. The alarm clock reminding message is used for reminding a user that the alarm clock time arrives.
When the terminal receives an alarm clock reminding closing instruction triggered by the user clicking the closing selection control 31, the display of the alarm clock reminding message is closed, and the alarm clock is directly closed, so that the alarm clock is automatically closed, and the alarm clock closing efficiency is improved.
As shown in fig. 4, the loading of the alarm clock reminding interface includes popping up an alarm clock reminding display frame 40 on the display interface of the terminal, and when an alarm clock reminding closing instruction triggered by clicking a "close" selection control 41 by a user is received, closing the alarm clock reminding; or when an alarm clock reminding delay instruction triggered by the user clicking the "delay" selection control 42 is received, the steps 101 to 103 are executed again after the set time interval. The set time interval may be preset by a user, for example, the set time is 5 minutes or 10 minutes.
Optionally, as shown in fig. 5, the triggering a corresponding alarm clock reminding event according to a detection result of whether the terminal is running a preset application includes 501, and if the terminal is not running the preset application, a second alarm clock reminding event is triggered.
The second alarm clock reminding event comprises: vibration and/or ringing alerts.
In the embodiment of the application, when the gesture of the terminal is not changed and the terminal does not run the preset application, the terminal is in a placed state, and the second alarm clock reminding event is triggered at the moment, so that a user is reminded that the alarm clock reminding moment is reached in time, and the user is prevented from missing an important stroke.
In some embodiments of the present application, as shown in fig. 6, after the triggering of the second alarm clock reminding event, the method includes: step 601 to step 603.
In 601, whether the attitude of the terminal changes is detected in real time.
The second alarm clock reminding event is triggered when the terminal is detected to be unchanged in posture and the terminal is not running the preset application, at the moment, the terminal is placed, and the user may be busy in other things or sleep, so that the second alarm clock reminding event needs to be triggered to remind the user that the alarm clock reminding time is reached in time, and the user is prevented from missing an important stroke.
In some embodiments of the application, in order to ensure that the second alarm clock reminding event of the terminal has successfully reminded that the user has reached the alarm clock reminding time, after the second alarm clock reminding event is triggered, whether the gesture of the terminal changes or not is detected in real time, and whether the user has noticed that the second alarm clock reminding event occurs or not is determined.
For example, when the gesture of the terminal changes, it indicates that the terminal has been moved or flipped by the user, i.e. the user has noticed the occurrence of the second alarm reminding event. When the posture of the terminal is not changed, the terminal is not moved or turned over by the user, at this time, the user may not notice the occurrence of the second alarm clock reminding event, and at this time, the second alarm clock reminding event can be kept continuously executed so as to remind the user that the alarm clock reminding time is reached.
In 602, if the posture of the terminal changes, the direction of the display screen of the terminal is detected when the posture of the terminal reaches a stable state.
In 603, if the direction of the terminal display screen is in the first direction, a delay reminding instruction is triggered, and a third alarm clock reminding event is executed according to the delay reminding instruction.
It should be noted that, the triggering the delayed reminding instruction and executing the third alarm clock reminding event according to the delayed reminding instruction includes: and detecting that the direction of the display screen of the terminal is in the first direction, automatically triggering a delayed reminding instruction, and executing a third alarm clock reminding event.
The first direction may be a direction in which a display screen of the terminal faces downward. And the third alarm clock reminding event is used for executing steps 101 to 103 after a set time interval is reached.
For example, when a user sleeps, the user hears an alarm, at the moment, the terminal is shaken at will, and when the terminal is parked, the display screen of the terminal faces downwards, at the moment, the gravity sensor of the terminal detects that the display screen of the terminal is close to the direction of gravitational acceleration, a delay reminding instruction is automatically triggered, and a third alarm reminding event is executed. The user can trigger the delay reminding instruction without triggering any physical key or virtual key on the alarm clock reminding interface, and the alarm clock reminding method has the characteristics of simple and flexible triggering mode.
Optionally, in some embodiments of the present application, in step 603, the triggering a delayed reminding instruction, and executing a third alarm clock reminding event according to the delayed reminding instruction includes: monitoring whether a delay reminding instruction is triggered or not; and if the fact that the delay reminding instruction is triggered is monitored, executing a third alarm clock reminding event according to the delay reminding instruction.
That is, the third alarm clock reminding event can be executed by monitoring the delayed reminding instruction actively triggered by the user.
For example, when a user is sleeping, after hearing the alarm, the user presses a physical key on the side of the display screen, or slides a virtual key on the alarm reminding interface to trigger a delayed reminding instruction.
Optionally, after triggering the second alarm clock reminding event, detecting whether the posture of the terminal changes in real time, and if the posture of the terminal changes, converting the second alarm clock reminding event into the first alarm clock reminding event.
That is, when the posture of the terminal changes, the reminding mode of vibration and/or ringing is converted into the reminding mode of loading the alarm clock reminding message on the interface currently displayed by the terminal; or, loading an alarm clock reminding interface; namely, a silent reminding mode. So as to reduce the vibration or ringing time of the terminal, reduce the power consumption of the terminal and prolong the standby time of the terminal.
Optionally, after detecting the direction of the display screen of the terminal, the method includes: and if the direction of the terminal display screen is in a second direction, triggering an alarm clock reminding closing instruction, and closing alarm clock reminding according to the alarm clock reminding closing instruction.
The second direction may be a direction in which a display screen of the terminal faces upward.
For example, when a user is busy in work, an alarm is sounded, the terminal is shaken at will at the moment, the display screen of the terminal faces upwards when the terminal is parked, at the moment, the gravity sensor of the terminal detects that the display screen of the terminal is close to the direction opposite to the gravity acceleration direction, then an alarm clock reminding instruction is automatically triggered to be turned off, and alarm clock reminding is turned off according to the alarm clock reminding instruction. Therefore, the user can trigger the alarm clock reminding instruction to be turned off without triggering any physical key or virtual key on the alarm clock reminding interface, and the alarm clock reminding method has the characteristics of simple and flexible triggering mode.
Optionally, the triggering an alarm clock reminding closing instruction, and closing alarm clock reminding according to the alarm clock reminding closing instruction includes: detecting whether the terminal runs a preset application or not; and if the terminal is running the preset application, triggering an alarm clock closing reminding instruction, and closing alarm clock reminding according to the alarm clock closing reminding instruction.
For example, when the user is sleeping, a second alarm clock reminding event is triggered, and at this time, when the user picks up the terminal, the posture of the terminal is changed. The terminal converts the second alarm clock reminding event into a first alarm clock reminding event, namely, converts a vibration and/or ringing reminding mode into an alarm clock reminding message loaded on a currently displayed interface of the terminal; or loading a mute reminding mode such as an alarm clock reminding interface and the like. Because under the reminding mode of silence, and the user just wakes up for the user can not close the alarm clock voluntarily generally. However, in this case, if the alarm clock is automatically turned off, there is a high possibility that the user is not completely awakened by the alarm clock and is asleep again. Therefore, in order to ensure that a user is successfully awakened by an alarm clock, based on a habit that some users play a mobile phone again to get up after the alarm clock rings, in some embodiments of the application, after the second alarm clock reminding event is triggered, if the posture of the terminal changes and the direction of the display screen of the terminal is upward, whether the terminal is running a preset application is detected; and if the terminal is running the preset application, triggering an alarm clock closing reminding instruction, and closing alarm clock reminding according to the alarm clock closing reminding instruction.
That is, the alarm reminder is automatically turned off only when it is determined that the user has been alerted by the alarm.
Fig. 7 shows a schematic structural diagram of an alarm clock reminding device 700 provided in an embodiment of the present application, which includes a first detecting unit 701, a second detecting unit 702, and a triggering unit 703.
The first detection unit 701 is used for detecting whether the posture of the terminal changes when the alarm clock reminding time is reached;
a second detecting unit 702, configured to detect whether the terminal is running a preset application if it is detected that the posture of the terminal is not changed;
the triggering unit 703 is configured to trigger a corresponding alarm clock reminding event according to a detection result of whether the terminal is running a preset application.
In some embodiments of the present application, the triggering unit 703 includes a first triggering subunit, and is specifically configured to trigger a first alarm clock reminding event if the terminal is running a preset application.
In some embodiments of the present application, the triggering unit 703 further includes a second triggering subunit, which is specifically configured to trigger a second alarm clock reminding event if the terminal is not running a preset application.
In some embodiments of the present application, the apparatus 700 for alarm clock reminding further includes a first detecting subunit, configured to detect whether the gesture of the terminal changes in real time; the second detection subunit is used for detecting the direction of a display screen of the terminal when the attitude of the terminal reaches a stable state if the attitude of the terminal changes; and the third triggering subunit is used for triggering the delayed reminding instruction if the direction of the terminal display screen is in the first direction, and executing a third alarm clock reminding event according to the delayed reminding instruction.
Optionally, the third triggering subunit further includes a monitoring subunit, configured to monitor whether the delay reminding instruction is triggered; and if the fact that the delay reminding instruction is triggered is monitored, executing a third alarm clock reminding event according to the delay reminding instruction.
Optionally, the apparatus 700 for alarm clock reminding further includes a fourth triggering subunit, configured to trigger an alarm clock reminding instruction to turn off if the direction of the terminal display screen is in the second direction after detecting the direction of the terminal display screen, and turn off alarm clock reminding according to the alarm clock reminding instruction.
Optionally, the fourth triggering subunit is further specifically configured to detect whether the terminal is running a preset application; and if the terminal is running the preset application, triggering an alarm clock closing reminding instruction, and closing alarm clock reminding according to the alarm clock closing reminding instruction.
It should be noted that, for convenience and brevity of description, the specific working process of the alarm clock reminding apparatus 700 described above may refer to the corresponding process of the method described in fig. 1 to fig. 6, and is not described herein again.
As shown in fig. 8, the present application provides a terminal for implementing the method for reminding an alarm clock, where the terminal may be a terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a Personal Digital Assistant (PDA), a learning machine, and includes: one or more input devices 83 (only one shown in fig. 8) and one or more output devices 84 (only one shown in fig. 8). The processor 81, memory 82, input device 83 and output device 84 are connected by a bus 85.
It should be understood that, in the embodiment of the present Application, the Processor 81 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 83 may include a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 84 may include a display, a speaker, etc.
The memory 82 may include a read-only memory and a random access memory, and provides instructions and data to the processor 81. A portion or all of the memory 81 may also include non-volatile random access memory. For example, the memory 82 may also store device type information.
The memory 82 stores a computer program that is executable on the processor 81, for example, a program of a method of alarm clock alerting. The processor 81 implements the steps in the above-mentioned method embodiment of alarm clock reminding when executing the computer program, for example, steps 101 to 103 shown in fig. 1. Alternatively, the processor 81 implements the functions of the modules/units in the above device embodiments, for example, the functions of the units 701 to 703 shown in fig. 7, when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory 82 and executed by the processor 81 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program in the terminal for performing alarm clock reminding. For example, the computer program may be divided into a first detection unit, a second detection unit and a trigger unit, and each unit has the following specific functions: the first detection unit is used for detecting whether the posture of the terminal changes when the alarm clock reminding time is reached; the second detection unit is used for detecting whether the terminal runs a preset application or not if the terminal is detected to be unchanged in posture; and the triggering unit is used for triggering a corresponding alarm clock reminding event according to the detection result of whether the terminal runs the preset application.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. An alarm clock reminding method is characterized by comprising the following steps:
when the alarm clock reminding time is reached, detecting whether the posture of the terminal changes;
if the terminal posture is not changed, detecting whether the terminal runs a preset application or not;
triggering a corresponding alarm clock reminding event according to a detection result of whether the terminal runs a preset application, wherein the reminding event comprises a first alarm clock reminding event and a second alarm clock reminding event;
wherein, after triggering the second alarm clock reminding event, include:
detecting whether the attitude of the terminal changes in real time;
if the attitude of the terminal changes, detecting the direction of a display screen of the terminal when the attitude of the terminal reaches a stable state;
and if the direction of the terminal display screen is in the first direction, triggering a delay reminding instruction, and executing a third alarm clock reminding event according to the delay reminding instruction.
2. The method of claim 1, wherein the triggering a corresponding alarm clock alert event according to the detection result of whether the terminal is running a preset application comprises:
and if the terminal is running the preset application, triggering a first alarm clock reminding event.
3. The method of claim 1, wherein the triggering a corresponding alarm clock alert event according to the detection result of whether the terminal is running a preset application comprises:
and if the terminal is not running the preset application, triggering a second alarm clock reminding event.
4. The method of claim 1, wherein triggering the delayed alarm instruction and executing the third alarm clock alert event according to the delayed alarm instruction comprises:
monitoring whether a delay reminding instruction is triggered or not;
and if the fact that the delay reminding instruction is triggered is monitored, executing a third alarm clock reminding event according to the delay reminding instruction.
5. The method of claim 1, wherein after detecting the orientation of the terminal display, comprising:
and if the direction of the terminal display screen is in a second direction, triggering an alarm clock reminding closing instruction, and closing alarm clock reminding according to the alarm clock reminding closing instruction.
6. The method of claim 5, wherein the triggering an alarm clock reminder off instruction and turning off an alarm clock reminder according to the alarm clock reminder off instruction comprises:
detecting whether the terminal runs a preset application or not;
and if the terminal is running the preset application, triggering an alarm clock closing reminding instruction, and closing alarm clock reminding according to the alarm clock closing reminding instruction.
7. An alarm clock reminding device, comprising:
the first detection unit is used for detecting whether the posture of the terminal changes when the alarm clock reminding time is reached;
the second detection unit is used for detecting whether the terminal runs a preset application or not if the terminal is detected to be unchanged in posture;
the triggering unit is used for triggering corresponding alarm clock reminding events according to the detection result of whether the terminal runs the preset application, wherein the reminding events comprise a first alarm clock reminding event and a second alarm clock reminding event;
the alarm clock reminding device further comprises: the first detection subunit is used for detecting whether the attitude of the terminal changes in real time;
the second detection subunit is used for detecting the direction of a display screen of the terminal when the attitude of the terminal reaches a stable state if the attitude of the terminal changes;
and the third triggering subunit is used for triggering the delayed reminding instruction if the direction of the terminal display screen is in the first direction, and executing a third alarm clock reminding event according to the delayed reminding instruction.
8. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810351349.8A 2018-04-17 2018-04-17 Alarm clock reminding method, device, terminal and computer readable storage medium Expired - Fee Related CN108632461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810351349.8A CN108632461B (en) 2018-04-17 2018-04-17 Alarm clock reminding method, device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810351349.8A CN108632461B (en) 2018-04-17 2018-04-17 Alarm clock reminding method, device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108632461A CN108632461A (en) 2018-10-09
CN108632461B true CN108632461B (en) 2021-04-23

Family

ID=63705581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810351349.8A Expired - Fee Related CN108632461B (en) 2018-04-17 2018-04-17 Alarm clock reminding method, device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108632461B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111525638A (en) * 2020-04-20 2020-08-11 江苏紫米电子技术有限公司 Alarm clock state control method, device, equipment and storage medium
CN113014726B (en) * 2021-02-20 2022-08-12 Oppo广东移动通信有限公司 Alarm clock prompting method, mobile terminal, control device and storage medium
CN114338901A (en) * 2021-11-25 2022-04-12 北京安云世纪科技有限公司 Event reminding method, device, equipment and storage medium based on terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309572A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Method and device for state switching
CN104158952A (en) * 2014-07-07 2014-11-19 北京乐动卓越科技有限公司 Method for controlling mobile phone alarm condition through physical movement as well as mobile phone
CN106375601A (en) * 2016-10-28 2017-02-01 奇酷互联网络科技(深圳)有限公司 Reminding processing method and mobile terminal
CN107277223A (en) * 2009-09-16 2017-10-20 宏达国际电子股份有限公司 Adjust the method and its electronic apparatus of event prompt degree
CN107809538A (en) * 2017-11-02 2018-03-16 北京小米移动软件有限公司 Alarm clock prompting method, device and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9241064B2 (en) * 2010-05-28 2016-01-19 Google Technology Holdings LLC Smart method and device for adaptive user interface experiences

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277223A (en) * 2009-09-16 2017-10-20 宏达国际电子股份有限公司 Adjust the method and its electronic apparatus of event prompt degree
CN103309572A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Method and device for state switching
CN104158952A (en) * 2014-07-07 2014-11-19 北京乐动卓越科技有限公司 Method for controlling mobile phone alarm condition through physical movement as well as mobile phone
CN106375601A (en) * 2016-10-28 2017-02-01 奇酷互联网络科技(深圳)有限公司 Reminding processing method and mobile terminal
CN107809538A (en) * 2017-11-02 2018-03-16 北京小米移动软件有限公司 Alarm clock prompting method, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN108632461A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
TWI621011B (en) Processor-implemented method, computer-implemented method, computer-program product and information processing apparatus for variable haptic output
US20140058679A1 (en) Wake Status Detection for Suppression and Initiation of Notifications
WO2017206952A1 (en) Intelligent reminding method, and terminal, wearable device and system
CN108632461B (en) Alarm clock reminding method, device, terminal and computer readable storage medium
CN107343096B (en) Information reminding method and device, storage medium and electronic equipment
CN113094112A (en) Method and apparatus for automatically adjusting notification operations based on changes in physical activity levels
WO2018223535A1 (en) Vibration notification method for mobile terminal, and mobile terminal
CN106055458B (en) A kind of charging reminding method, device and mobile device
CN107864298A (en) A kind of intelligent prompt method and device
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
CN110795310B (en) Information reminding method and electronic equipment
CN108229920B (en) Affair reminding method and mobile terminal
CN108108090B (en) Communication message reminding method and device
CN111461649B (en) Event reminding method and electronic equipment
CN108322614A (en) Event-prompting method, device, storage medium and electronic equipment
CN110058980B (en) Terminal start time early warning method, electronic device and computer readable storage medium
CN111479016A (en) Terminal use duration reminding method and device, terminal and storage medium
CN107346483A (en) Setting method of alarm, device, storage medium and electronic equipment
CN103973866A (en) Intelligent alarm detecting system and method
CN106066814B (en) A kind of application control method and mobile terminal
CN106648916B (en) Method and device for reporting pedometer message
CN109359453B (en) Unlocking method and related product
CN108184014B (en) Notification message reminding method and mobile terminal
CN107290951B (en) Alarm clock setting method and related product
CN108184029B (en) Alarm clock reminding method and mobile terminal

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

Granted publication date: 20210423

CF01 Termination of patent right due to non-payment of annual fee