CN108632461A - Method, apparatus, terminal and the computer readable storage medium of alarm clock calling - Google Patents
Method, apparatus, terminal and the computer readable storage medium of alarm clock calling Download PDFInfo
- Publication number
- CN108632461A CN108632461A CN201810351349.8A CN201810351349A CN108632461A CN 108632461 A CN108632461 A CN 108632461A CN 201810351349 A CN201810351349 A CN 201810351349A CN 108632461 A CN108632461 A CN 108632461A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- terminal
- clock calling
- currently running
- posture
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001514 detection method Methods 0.000 claims abstract description 33
- 230000008859 change Effects 0.000 claims abstract description 21
- 238000012360 testing method Methods 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 21
- 230000001960 triggered effect Effects 0.000 claims description 14
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 230000001133 acceleration Effects 0.000 description 5
- 230000005484 gravity Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 108010001267 Protein Subunits Proteins 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002618 waking effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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 a kind of technical field of electronic equipment more particularly to method, apparatus of alarm clock calling, terminal and computer readable storage medium, wherein the method includes:When reaching the alarm clock calling moment, whether the posture of detection terminal changes;If detecting, the posture of the terminal does not change, detects whether the terminal is currently running default application;It whether is currently running the testing result of default application according to the terminal, triggers corresponding alarm clock calling event;The embodiment of the present application is according to the attitudes vibration of the terminal and whether is currently running the triggering that default application carries out corresponding alarm clock calling event, has the characteristics that alarm clock calling mode is diversified.
Description
Technical field
The application belongs to a kind of technical field of electronic equipment more particularly to method, apparatus of alarm clock calling, terminal and calculating
Machine readable storage medium storing program for executing.
Background technology
In traditional technology, the alarm clock calling mode on electronic equipment includes mainly:When user presets the prompting of alarm clock
Between and alerting pattern, the electronic equipment make a noise by the preset alerting pattern of user when alarm clock calling time is reached
Clock is reminded, and has the shortcomings that alerting pattern is single.
Invention content
The embodiment of the present application provides a kind of method, apparatus of alarm clock calling, terminal and computer readable storage medium, can be with
Solve the more single technical problem of traditional alarm clock calling mode.
The embodiment of the present application first aspect provides a kind of method of alarm clock calling, including:
When reaching the alarm clock calling moment, whether the posture of detection terminal changes;
If detecting, the posture of the terminal does not change, detects whether the terminal is currently running default application;
It whether is currently running the testing result of default application according to the terminal, triggers corresponding alarm clock calling event.
The embodiment of the present application second aspect provides a kind of device of alarm clock calling, including:
First detection unit, when for reaching the alarm clock calling moment, whether the posture of detection terminal changes;
If whether second detection unit detects the terminal for detecting that the posture of the terminal does not change
It is currently running default application;
Trigger element, the testing result for whether being currently running default application according to the terminal, triggers corresponding alarm clock
Reminder events.
The embodiment of the present application third aspect provides a kind of terminal, including memory, processor and storage are in memory
And the computer program that can be run on a processor, when processor executes computer program the step of the realization above method.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, computer-readable recording medium storage
The step of having computer program, the above method is realized when computer program is executed by processor.
In the embodiment of the present application, by the way that when reaching the alarm clock calling moment, whether the posture of detection terminal changes;And
When detecting that the posture of the terminal does not change, detect whether the terminal is currently running default application;So as to basis
Whether the terminal is currently running the testing result of default application, triggers corresponding alarm clock calling event, that is to say, that the application
Embodiment is according to the attitudes vibration of the terminal and whether is currently running default application and carries out touching for corresponding alarm clock calling event
Hair, rather than alarm clock calling is carried out according to certain preset alarm clock calling mode of user, have alarm clock calling mode various
The characteristics of change.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for alarm clock calling provided by the embodiments of the present application;
Fig. 2 is the specific implementation flow schematic diagram of the method 103 of alarm clock calling provided by the embodiments of the present application;
Fig. 3 is the signal provided by the embodiments of the present application that alarm clock calling message is loaded on the interface that terminal is currently shown
Figure;
Fig. 4 is the signal provided by the embodiments of the present application that alarm clock calling display box is popped up on the interface that terminal is currently shown
Figure;
Fig. 5 is another specific implementation flow schematic diagram of the method 103 of alarm clock calling provided by the embodiments of the present application;
Fig. 6 is the another specific implementation flow schematic diagram of the method 103 of alarm clock calling provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of the device of alarm clock calling provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram of terminal provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.Meanwhile in the description of the present application, term " first ", " second " etc. are only used for distinguishing description, without
It can be interpreted as indicating or implying relative importance.
Fig. 1 shows a kind of method implementation process schematic diagram of alarm clock calling provided by the embodiments of the present application, the method
Applied to terminal, can be executed by the device of the alarm clock calling configured in the terminal, the device of the alarm clock calling can lead to
The mode for crossing hardware and/or software is realized, is applicable to carry out quick closedown or is suspended the situation of alarm clock calling.The method
May include step 101 to step 103.
In 101, when reaching the alarm clock calling moment, whether the posture of detection terminal changes.
The terminal includes that the terminals such as smart mobile phone, tablet computer, personal digital assistant (PDA), learning machine, electronic watch are set
It is standby.Alarm clock is installed, application of taking pictures, QQ, wechat, game A, game B, E-book reader, music are broadcast on the terminal device
Put the applications such as device and video player.
In some embodiments of the application, by the way that when reaching the alarm clock calling moment, whether the posture of detection terminal is sent out
Changing to judge state that the terminal is presently in, and is triggered according to the state that the terminal is presently in corresponding
Alarm clock calling event.
For example, being answered in user using video player, E-book reader, wechat or QQ in the terminal etc. is default
With when carrying out video-see, reading electronic book, wechat chat or QQ and chatting, then judging that the terminal is in be stablized and use
State.It is default in application, table that video player, E-book reader, wechat or QQ in the terminal etc. is not used in user
Show that user is possible to be busy with other things, or sleeping, at this point, judging that the terminal is in the state being placed.
Wherein, when the arrival alarm clock calling moment, the posture of detection terminal whether change including:Utilize the end
The sensors such as acceleration transducer, gyroscope on end detect the attitudes vibration of the terminal.If detecting adding for the terminal
Speed changes, then it represents that the posture of the terminal is changed.
It is described stablized the state that uses and it is described be placed in the state of, the acceleration of the terminal does not change,
Thus it can be determined that the posture of the terminal does not change.And when mobile or overturning occurs for the terminal, the terminal
Acceleration changes, thus can be determined that the posture of the terminal is changed.
In 102, if detecting, the posture of the terminal does not change, detect the terminal whether be currently running it is pre-
If using.
In the embodiment of the present application, if detecting, the posture of the terminal does not change, then it represents that the terminal has can
It can be in the state that is placed, or in by the stable state used.Therefore, do not become in the posture for detecting the terminal
When change, need to detect whether the terminal is currently running default application, so as to judge state that the terminal is presently in be by
Placement status, or stablized the state used.
Optionally, if detecting, the terminal is currently running default application, then it represents that the terminal is in be stablized and use
State;If detecting, the terminal is not currently running default application, then it represents that the terminal is in the state being placed.
Wherein, the default application can be the preset application of user, can also be the application of factory setting, example
Such as, video player, E-book reader, wechat, QQ, know, browser, Taobao, the applications such as microblogging and hot news.Herein
It is merely illustrative, does not indicate that as limiting the scope of the invention, it is described pre- in the other embodiment of the present invention
If using may include more or fewer applications.
In 103, it whether is currently running the testing result of default application according to the terminal, triggers corresponding alarm clock calling thing
Part.
In the embodiment of the present application, by the way that when reaching the alarm clock calling moment, whether the posture of detection terminal changes;And
When detecting that the posture of the terminal does not change, detect whether the terminal is currently running default application;So as to basis
Whether the terminal is currently running the testing result of default application, triggers corresponding alarm clock calling event, that is to say, that the application is real
Example is applied according to the attitudes vibration of the terminal and whether is currently running the default triggering using the corresponding alarm clock calling event of progress,
Rather than alarm clock calling is carried out according to certain preset alarm clock calling mode of user, have alarm clock calling mode diversified
Feature solves the more single technical problem of traditional alarm clock calling mode.
Optionally, as described in Figure 2, the testing result that default application whether is currently running according to the terminal, triggering
Corresponding alarm clock calling event includes 201, if the terminal is currently running default application, triggers the first alarm clock calling event.
Wherein, the first alarm clock calling event includes:Alarm clock calling is loaded on the interface that the terminal is currently shown
Message;Alternatively, load alarm clock calling interface;Also, it is reminded without vibrations and/or jingle bell.
In the embodiment of the present application, when detecting that the posture of the terminal do not change, and the terminal be currently running it is pre-
If in application, indicate that the terminal is in is generally not desirable to institute by the stable state used at this point, user is in waking state
Terminal is stated when reaching the alarm clock calling moment, alarm clock calling is carried out by preset alarm clock calling mode, for example, by setting in advance
Fixed vibrations and/or jingle bell mode carry out alarm clock calling.Therefore, in the embodiment of the present application, by being currently running in the terminal
It presets in application, the first alarm clock calling event of triggering avoids sending out while reminding user to arrived the alarm clock calling moment to realize
Go out the noises such as vibrations or jingle bell.That is, carrying out alarm clock calling by the way of silence warning.
As shown in figure 3, the alarm clock calling message that loaded on the interface that the terminal is currently shown includes:At the end
It holds and loads alarm clock calling message above the interface currently shown, and load " closing " selection control 31.Wherein, the alarm clock calling
Message is for reminding user to arrived at the alarm clock moment.
The terminal is closed when receiving the alarm clock calling out code that user's click " closing " selection control 31 triggers
The display of alarm clock calling message, also, alarm clock is directly closed, to realize automatic progress alarm clock closing, improve what alarm clock was closed
Efficiency.
As shown in figure 4, it is described load alarm clock calling interface include on the display interface of the terminal pop up alarm clock carry
Display box 40 of waking up closes alarm clock when receiving the alarm clock calling out code that user's click " closing " selection control 41 triggers
It reminds;Or when receiving the alarm clock calling delay instruction that user's click " delay " selection control 42 triggers, then in setting
Between be spaced after re-execute step 101 to 103.Wherein, the setting time interval can have user to preset, for example, institute
It is 5 minutes or 10 minutes to state setting time.
Optionally, as shown in figure 5, the testing result for whether being currently running default application according to the terminal, triggering
Corresponding alarm clock calling event includes 501, if the terminal is not currently running default application, triggers the second alarm clock calling event.
The second alarm clock calling event includes:Vibrations and/or jingle bell are reminded.
In the embodiment of the present application, when detecting that the posture of the terminal do not change, and the terminal is not currently running
It presets in application, indicating that the terminal in the state being placed, triggers the second alarm clock calling event, to remind in time at this time
User arrived the alarm clock calling moment, and user is avoided to miss important stroke.
In some embodiments of the application, as shown in fig. 6, after the second alarm clock calling event of the triggering, including:
Step 601 is to step 603.
In 601, whether the posture for detecting the terminal in real time changes.
Wherein, the second alarm clock calling event is not changed in the posture for detecting the terminal, and end
End, which is not currently running, presets what the when applied triggered, and terminal is in the state being placed at this time, and user is possible to be busy with other
Thing, or sleeping, therefore, it is necessary to trigger the second alarm clock calling event, carried to remind user to arrived alarm clock in time
It wakes up the moment, user is avoided to miss important stroke.
In some embodiments of the application, successfully reminded in order to ensure the second alarm clock calling event of the terminal
User arrived the alarm clock calling moment, after the second alarm clock calling event of triggering, the appearance also by detecting the terminal in real time
Whether state changes, and whether judgement user has been noted that the generation of the second alarm clock calling event.
For example, when the posture of the terminal changes, indicate that the terminal has been movable by the user or has overturn, i.e. user
Have been noted that the generation of the second alarm clock calling event.When the generation of the posture of the terminal does not change, the end is indicated
End is not movable by the user or overturns, at this point, user is possible to not realize the generation of the second alarm clock calling event also, this
When, it can be by keeping the second alarm clock calling event duration to execute, to remind user to arrived the alarm clock calling moment.
In 602, if the posture of the terminal changes, when the posture of the terminal reaches stable state, inspection
Survey the direction of terminal display screen.
In 603, if the direction of the terminal display screen is in first direction, trigger delay, which is reminded, to be instructed, and according to
Delay reminding instructs, and executes third alarm clock calling event.
It should be noted that the trigger delay reminds instruction, and instructed according to delay reminding, executes third alarm clock calling
Event includes:The direction of detection terminal display screen is in first direction, then automatic trigger delay reminding instructs, and executes third alarm clock
Reminder events.
Wherein, the first direction can be the display screen direction directed downwardly of the terminal.The third alarm clock calling thing
Part is used for after reaching setting time interval, executes step 101 to 103.
For example, user during sleep, hears that quarter-bell sounds, the terminal arbitrarily shake making a movement at this time, and
When parking the terminal, downward by the display screen of the terminal, at this point, the gravity sensor of the terminal detects the terminal
Display screen close to the direction of acceleration of gravity, then automatic trigger delay reminding instructs, and executes third alarm clock calling event.So that
User does not have to trigger the virtual key in any physical button or alarm clock calling interface, you can trigger delay reminds instruction, tool
There is the characteristics of triggering mode simple and flexible.
Optionally, in some embodiments of the application, in step 603, the trigger delay reminds instruction, and root
It is instructed according to delay reminding, executes third alarm clock calling event, including:Monitor whether delay reminding instruction is triggered;If listening to
Delay reminding instruction is triggered, then is instructed according to the delay reminding, executes third alarm clock calling event.
That is, the delay reminding that can be actively triggered by monitoring users instructs, third alarm clock calling event is executed.
For example, user is during sleep, and after hearing that quarter-bell sounds, the physical button of pressing display screen side, or sliding
Virtual key trigger delay in alarm clock calling interface reminds instruction.
Optionally, after the second alarm clock calling event of the triggering, whether the posture for detecting the terminal in real time becomes
Change, if the posture of the terminal changes, the second alarm clock calling event is converted to the first alarm clock calling thing
Part.
That is, when the posture of the terminal changes, then the alerting pattern by vibrations and/or jingle bell is converted into
Alarm clock calling message is loaded on the interface that the terminal is currently shown;Alternatively, load alarm clock calling interface;That is, silence warning
Mode.To reduce the time of terminal vibrations or jingle bell, reduce the power consumption of the terminal, extend the terminal it is standby when
Between.
Optionally, after the direction of the detection terminal display screen, including:If the direction of the terminal display screen is in the
It then triggers and closes alarm clock calling instruction, and instructed according to the closing alarm clock calling and close alarm clock calling in two directions.
Wherein, the second direction can be the direction of the display screen of the terminal upward.
For example, when user is being busy with work, hear that quarter-bell sounds, the terminal arbitrarily shake making a movement at this time,
And when parking the terminal, upward by the display screen of the terminal, at this point, the gravity sensor of the terminal detect it is described
The display screen of terminal it is close with acceleration of gravity side in the opposite direction, then automatic trigger closes alarm clock calling instruction, and according to
Alarm clock calling is closed in the closing alarm clock calling instruction.So that user does not have to trigger any physical button or alarm clock calling circle
Virtual key on face, you can alarm clock calling instruction is closed in triggering, has the characteristics that triggering mode simple and flexible.
Optionally, alarm clock calling instruction is closed in the triggering, and instructs closing alarm clock to carry according to the closing alarm clock calling
It wakes up, including:Detect whether the terminal is currently running default application;If the terminal is currently running default application, triggering is noisy
Clock, which is closed, reminds instruction, and is closed according to the alarm clock and instruction is reminded to close alarm clock calling.
For example, user is during sleep, the second alarm clock calling event is triggered, and when user picks up the terminal at this time, makes
The posture for obtaining the terminal changes.The second alarm clock calling event is converted into the first alarm clock calling thing by the terminal
Part, that is, the alerting pattern of vibrations and/or jingle bell is converted into the load alarm clock calling on the interface that the terminal is currently shown and is disappeared
Breath;Alternatively, the silence warnings mode such as load alarm clock calling interface.Due under mute alerting pattern, and user just wake up, and makes
Alarm clock will not generally be actively closed by obtaining user.However, if such case alarm clock calling is automatically switched off, probably use
Family is not waken thoroughly by alarm clock, and situation about falling asleep again.Therefore, it is waken by alarm clock in order to ensure user has succeeded, base
In some users after quarter-bell sounds, and the custom of the bed of mobile phone recurrence can be played, in some embodiments of the application, in institute
After stating the second alarm clock calling event of triggering, if the posture of the terminal changes, and the direction court of the terminal display screen
On, then detect whether the terminal is currently running default application;If the terminal is currently running default application, alarm clock pass is triggered
Prompting instruction is closed, and is closed according to the alarm clock and instruction is reminded to close alarm clock calling.
That is, only when determining that user is waken by alarm clock, alarm clock calling is just automatically closed.
Fig. 7 shows a kind of structural schematic diagram of the device 700 of alarm clock calling provided by the embodiments of the present application, including first
Detection unit 701, second detection unit 702 and trigger element 703.
First detection unit 701, when for reaching the alarm clock calling moment, whether the posture of detection terminal changes;
Second detection unit 702, if for detecting that the posture of the terminal does not change, detecting the terminal is
It is no to be currently running default application;
Trigger element 703, the testing result for whether being currently running default application according to the terminal trigger corresponding noisy
Clock reminder events.
In some embodiments of the application, the trigger element 703, including the first triggering subelement, it is specifically used for
If the terminal is currently running default application, the first alarm clock calling event is triggered.
In some embodiments of the application, the trigger element 703 further includes the second triggering subelement, specific to use
If not being currently running default application in the terminal, the second alarm clock calling event is triggered.
In some embodiments of the application, the device 700 of alarm clock calling further includes the first detection sub-unit, for real
When detect the posture of the terminal and whether change;Second detection sub-unit, if the posture for the terminal changes,
Then when the posture of the terminal reaches stable state, the direction of detection terminal display screen;Third triggers subelement, if being used for institute
The direction for stating terminal display screen is in first direction, then trigger delay reminds instruction, and is instructed according to delay reminding, executes third
Alarm clock calling event.
Optionally, the third triggers subelement, further includes monitoring subelement, for monitor delay reminding instruction whether by
Triggering;If listening to delay reminding instruction to be triggered, is instructed according to the delay reminding, execute third alarm clock calling event.
Optionally, the device 700 of the alarm clock calling further includes the 4th triggering subelement, for detection terminal display screen
After direction, if the direction of the terminal display screen is in second direction, triggers and close alarm clock calling instruction, and according to described
It closes alarm clock calling instruction and closes alarm clock calling.
Optionally, whether the 4th triggering subelement is currently running default application also particularly useful for the detection terminal;
If the terminal is currently running default application, triggers alarm clock and close prompting instruction, and closed according to the alarm clock and remind instruction
Close alarm clock calling.
It should be noted that for convenience and simplicity of description, the specific works of the device 700 of the alarm clock calling of foregoing description
Process can refer to the corresponding process of method described in above-mentioned Fig. 1 to Fig. 6, and details are not described herein.
As shown in figure 8, the application provides a kind of terminal of the method for realizing above-mentioned alarm clock calling, the terminal can be with
For terminals such as smart mobile phone, tablet computer, PC (PC), personal digital assistant (PDA), learning machines, including:One or more
A input equipment 83 (one is only shown in Fig. 8) and one or more output equipments 84 (one is only shown in Fig. 8).Processor
81, memory 82, input equipment 83 and output equipment 84 are connected by bus 85.
It should be appreciated that in the embodiment of the present application, alleged processor 81 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 83 may include that keyboard, Trackpad, fingerprint are adopted sensor and (finger print information for acquiring user and referred to
The directional information of line), microphone etc., output equipment 84 may include display, loud speaker etc..
Memory 82 may include read-only memory and random access memory, and provide instruction sum number to processor 81
According to.Part or all of memory 81 can also include nonvolatile RAM.For example, memory 82 can be with
The information of storage device type.
The memory 82 is stored with computer program, and the computer program can be run on the processor 81, example
Such as, the computer program is the program of the method for alarm clock calling.The processor 81 is realized when executing the computer program
Step in the embodiment of the method for above-mentioned alarm clock calling, such as step 101 shown in FIG. 1 is to 103.Alternatively, the processor 81
The function of each module/unit in above-mentioned each device embodiment, such as unit shown in Fig. 7 are realized when executing the computer program
701 to 703 function.
The computer program can be divided into one or more module/units, one or more of modules/mono-
Member is stored in the memory 82, and is executed by the processor 81, to complete the application.One or more of moulds
Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on
Implementation procedure of the calculation machine program in the terminal for carrying out alarm clock calling.For example, the computer program can be divided into
First detection unit, second detection unit and trigger element, each unit concrete function are as follows:First detection unit, for reaching
When the alarm clock calling moment, whether the posture of detection terminal changes;Second detection unit, if for detecting the terminal
Posture does not change, then detects whether the terminal is currently running default application;Trigger element, for being according to the terminal
The no testing result for being currently running default application, triggers corresponding alarm clock calling event.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed device/terminal and method can pass through
Other modes are realized.For example, device/terminal embodiment described above is only schematical, for example, the module or
The division of unit, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling discussed or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the meter
The content that calculation machine readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice,
Such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunications
Signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality
Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Within the protection domain of the application.
Claims (10)
1. a kind of method of alarm clock calling, which is characterized in that including:
When reaching the alarm clock calling moment, whether the posture of detection terminal changes;
If detecting, the posture of the terminal does not change, detects whether the terminal is currently running default application;
It whether is currently running the testing result of default application according to the terminal, triggers corresponding alarm clock calling event.
2. the method as described in claim 1, which is characterized in that described whether to be currently running default application according to the terminal
Testing result triggers corresponding alarm clock calling event, including:
If the terminal is currently running default application, the first alarm clock calling event is triggered.
3. the method as described in claim 1, which is characterized in that described whether to be currently running default application according to the terminal
Testing result triggers corresponding alarm clock calling event, including:
If the terminal is not currently running default application, the second alarm clock calling event is triggered.
4. method as claimed in claim 3, which is characterized in that after the second alarm clock calling event of the triggering, including:
Whether the posture for detecting the terminal in real time changes;
If the posture of the terminal changes, when the posture of the terminal reaches stable state, detection terminal display screen
Direction;
If the direction of the terminal display screen is in first direction, trigger delay reminds instruction, and is instructed according to delay reminding,
Execute third alarm clock calling event.
5. method as claimed in claim 4, which is characterized in that the trigger delay reminds instruction, and is referred to according to delay reminding
It enables, executes third alarm clock calling event, including:
Monitor whether delay reminding instruction is triggered;
If listening to delay reminding instruction to be triggered, is instructed according to the delay reminding, execute third alarm clock calling event.
6. method as claimed in claim 4, which is characterized in that after the direction of the detection terminal display screen, including:
If the direction of the terminal display screen is in second direction, triggers and close alarm clock calling instruction, and according to the closing
Alarm clock calling is closed in alarm clock calling instruction.
7. method as claimed in claim 6, which is characterized in that alarm clock calling instruction is closed in the triggering, and according to the pass
It closes alarm clock calling instruction and closes alarm clock calling, including:
Detect whether the terminal is currently running default application;
If the terminal is currently running default application, triggers alarm clock and close prompting instruction, and closed and reminded according to the alarm clock
Alarm clock calling is closed in instruction.
8. a kind of device of alarm clock calling, which is characterized in that including:
First detection unit, when for reaching the alarm clock calling moment, whether the posture of detection terminal changes;
If whether second detection unit detects the terminal for detecting that the posture of the terminal does not change
The default application of operation;
Trigger element, the testing result for whether being currently running default application according to the terminal, triggers corresponding alarm clock calling
Event.
9. a kind of terminal, including memory, processor and it is stored in the memory and can runs on the processor
Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 7 is arbitrary
The step of one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In realization is such as the step of claim 1 to 7 any one the method when the computer program is executed by processor.
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 true CN108632461A (en) | 2018-10-09 |
CN108632461B 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) |
Cited By (3)
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 |
CN113014726A (en) * | 2021-02-20 | 2021-06-22 | 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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110291927A1 (en) * | 2010-05-28 | 2011-12-01 | Motorola, Inc. | Smart Method and Device for Adaptive User Interface Experiences |
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 |
-
2018
- 2018-04-17 CN CN201810351349.8A patent/CN108632461B/en not_active Expired - Fee Related
Patent Citations (6)
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 |
US20110291927A1 (en) * | 2010-05-28 | 2011-12-01 | Motorola, Inc. | Smart Method and Device for Adaptive User Interface Experiences |
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 |
Cited By (4)
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 |
CN113014726A (en) * | 2021-02-20 | 2021-06-22 | Oppo广东移动通信有限公司 | Alarm clock prompting method, mobile terminal, control device 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 |
Also Published As
Publication number | Publication date |
---|---|
CN108632461B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103026740B (en) | For the method and apparatus advising message fragment | |
CN107809542B (en) | Application program control method and device, storage medium and electronic equipment | |
TWI488105B (en) | Method and electronic device for managing event notification | |
CN101795323B (en) | Electronic alarm operation method, electronic alarm and mobile communication terminal | |
WO2018223535A1 (en) | Vibration notification method for mobile terminal, and mobile terminal | |
CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
CN108429972A (en) | Method for playing music, device, terminal, earphone and readable storage medium storing program for executing | |
CN108632461A (en) | Method, apparatus, terminal and the computer readable storage medium of alarm clock calling | |
CN108762711A (en) | Method, apparatus, electronic device and the storage medium of screen sounding | |
CN108900728A (en) | Based reminding method, device, electronic device and computer-readable medium | |
CN106303018A (en) | A kind of alarm clock control method and terminal | |
KR20170094137A (en) | Configure smartphone based on user sleep status | |
CN107453779A (en) | A kind of multi-mode alarm clock calling control method, mobile terminal and storage medium | |
CN107197082A (en) | A kind of information prompting method and terminal | |
CN107729781A (en) | The anti-lost method of mobile terminal, mobile terminal and computer-readable recording medium | |
CN105389082A (en) | Reminding method and reminding device applied to mobile terminal | |
CN107948404A (en) | A kind of method, terminal device and computer-readable recording medium for handling message | |
CN108322614A (en) | Event-prompting method, device, storage medium and electronic equipment | |
CN108418975A (en) | Method, apparatus, terminal and the computer readable storage medium of alarm clock calling | |
CN108388403A (en) | A kind of method and terminal of processing message | |
CN108108090A (en) | Communication information based reminding method and device | |
CN108111664A (en) | A kind of method, terminal and the computer-readable medium of the tinkle of bells control | |
CN106095701A (en) | A kind of quarter-bell reminding method, device and earphone | |
CN107515765A (en) | Alarm turn-off method, system and terminal equipment | |
CN103973866A (en) | Intelligent alarm detecting system and method |
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: 20210423 |