CN107580118A - A kind of alarm clock control method, device and mobile terminal - Google Patents
A kind of alarm clock control method, device and mobile terminal Download PDFInfo
- Publication number
- CN107580118A CN107580118A CN201710758204.5A CN201710758204A CN107580118A CN 107580118 A CN107580118 A CN 107580118A CN 201710758204 A CN201710758204 A CN 201710758204A CN 107580118 A CN107580118 A CN 107580118A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- angle
- threshold value
- predetermined threshold
- shaping modes
- 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
Abstract
The present embodiments relate to communication technical field, discloses a kind of alarm clock control method, device and mobile terminal.Wherein, methods described is applied to mobile terminal, and the mobile terminal, which includes the first display screen and the second display screen with first display screen rotation connection, methods described, to be included:When carrying out alarm clock calling, the angle between first display screen and the second display screen is obtained;According to the angle, the state of alarm clock is adjusted.So as to realize without user find specific position can conveniently and the state of quick regulation alarm clock purpose, lift Consumer's Experience.
Description
Technical field
The present embodiments relate to communication technical field, more particularly to a kind of alarm clock control method, device and mobile terminal.
Background technology
In recent years, mobile terminal (such as smart mobile phone, tablet personal computer etc.) is powerful with its, it is easy to use the features such as by
To the favor of many users, mobile terminal even becomes instrument essential in current people's daily life, work.Mesh
Before, all possess alarm clock function on most of mobile terminal, user can set alarm clock according to the needs of oneself, as arrival user
Mobile terminal can send acoustic signal at the time of default or other signals reach the purpose of alarm clock calling with this, and user can afterwards
As needed regulation alarm clock state, for example, regulation alarm clock calling volume or by the alarm clock calling close etc..
In current technology, the mode for adjusting the state of alarm clock is mainly:Alarm clock calling is adjusted by volume control key
Volume, or close alarm clock calling by touching or clicking on specific region on mobile terminal screen.
Realize in process of the present invention, inventor has found that at least there are the following problems in correlation technique:Pass through volume control key
Adjust the volume of alarm clock calling or adjust alarm clock by way of touching or clicking on mobile terminal screen and close alarm clock calling
State, it is necessary to user first finds the position specified in mobile terminal, then the state based on specified location regulation alarm clock, especially
It is that in general alarm clock calling is typically that wake-up alarm is reminded, user realizes after just wakeing up not to regain consciousness also completely, is more not easy
Find the position specified of the state for adjusting alarm clock on mobile terminal, user, which needs to take a long time that alarm clock could be adjusted, to be carried
Awake volume closes the alarm clock calling so that Consumer's Experience is bad.
The content of the invention
It is a primary object of the present invention to provide a kind of alarm clock control method, device and mobile terminal, it can reach convenient
And the effect of the state of quick regulation alarm clock, so as to lift Consumer's Experience.
The embodiment of the invention discloses following technical scheme:
In a first aspect, the embodiments of the invention provide a kind of alarm clock control method, it is described mobile whole applied to mobile terminal
End, which includes the first display screen and the second display screen with first display screen rotation connection, methods described, to be included:
When carrying out alarm clock calling, the angle between first display screen and the second display screen is obtained;
According to the angle, the state of alarm clock is adjusted.
In certain embodiments, methods described also includes:
Preset the mobile terminal alarm clock shaping modes, the alarm clock shaping modes include the first alarm clock shaping modes with
Second alarm clock shaping modes, under the first alarm clock shaping modes, when the angle is less than or equal to the first predetermined threshold value, close
Close alarm clock calling;Under the second alarm clock shaping modes, when the angle is more than or equal to the second predetermined threshold value, alarm clock is closed
Remind.
In certain embodiments, methods described also includes:
Reception pattern selection request, current alarm clock shaping modes are set according to the mode selection request;
It is described that the state of alarm clock is adjusted according to the angle, including:
According to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted.
In certain embodiments, it is described according to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted,
Including:
If the current alarm clock shaping modes are the first alarm clock shaping modes, detect the angle be less than or
During equal to first predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the second alarm clock shaping modes, detect side be more than to the angle or
During equal to second predetermined threshold value, alarm clock calling is closed.
In certain embodiments, if the current alarm clock shaping modes are the first alarm clock shaping modes,
When detecting the angle and being less than or equal to first predetermined threshold value, alarm clock calling is closed, including:
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is more than the described first default threshold
Value, when detecting the angle and being decreased to be equal to or less than first predetermined threshold value, closing alarm clock calling;
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is less than or equal to described first
Predetermined threshold value, after detecting the angle and increasing to more than first predetermined threshold value, then it is decreased to equal to or less than described
During the first predetermined threshold value, alarm clock calling is closed.
In certain embodiments, if the current alarm clock shaping modes are the second alarm clock shaping modes,
Detect side to the angle be more than or equal to second predetermined threshold value when, close alarm clock calling, including:
If the current alarm clock shaping modes are the second alarm clock shaping modes, it is pre- that the angle is less than described second
If threshold value, when detecting the angle and increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is more than or equal to described
Second predetermined threshold value, after detecting the angle and being decreased to less than second predetermined threshold value, then increase to and be equal to or more than
During second predetermined threshold value, alarm clock calling is closed.
In certain embodiments, it is described according to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted,
Including:
According to the current alarm clock shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling.
In certain embodiments, it is described according to the current alarm clock shaping modes and the angle, adjust alarm clock calling
Volume and closing alarm clock calling, including:
If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or less than first predetermined threshold value, the alarm clock is adjusted and carries
Awake volume is zero, and closes alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the increase of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or more than second predetermined threshold value, the alarm clock is adjusted and carries
Awake volume is zero, and closes alarm clock calling.
In certain embodiments, it is described according to the angle, the state of alarm clock is adjusted, including:
If the angle is more than the first predetermined threshold value, it is decreased to be equal to or less than described first detecting the angle
During predetermined threshold value, alarm clock calling is closed;
If the angle is less than or equal to first predetermined threshold value, increased to detecting the angle more than described
After first predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.
In certain embodiments, it is described according to the angle, the state of alarm clock is adjusted, including:
According to the reduction of the angle, reduce the volume of the alarm clock calling, be equal to or less than detecting the angle
During the first predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
In certain embodiments, it is described according to the angle, the state of alarm clock is adjusted, including:
If the angle is less than the second predetermined threshold value, increased to detecting the angle equal to or more than described second
During predetermined threshold value, alarm clock calling is closed;
If the angle is more than or equal to second predetermined threshold value, detect the angle be decreased to less than it is described
After second predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed.
In certain embodiments, it is described according to the angle, the state of alarm clock is adjusted, including:
According to the increase of the angle, reduce the volume of the alarm clock calling, be equal to or more than detecting the angle
During the second predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
Second aspect, it is described mobile whole applied to mobile terminal the embodiments of the invention provide a kind of alarm clock control device
End, which includes the first display screen and the second display screen with first display screen rotation connection, described device, to be included:
Angle acquisition module, for when carrying out alarm clock calling, obtaining first display screen and the second display screen
Between angle;
Adjustment module, for according to the angle, adjusting the state of alarm clock.
In certain embodiments, described device also includes:
Presetting module, for presetting the alarm clock shaping modes of the mobile terminal, the alarm clock shaping modes include first
Alarm clock shaping modes and the second alarm clock shaping modes, under the first alarm clock shaping modes, the angle is less than or equal to the
During one predetermined threshold value, alarm clock calling is closed;Under the second alarm clock shaping modes, it is default that the angle is more than or equal to second
During threshold value, alarm clock calling is closed.
In certain embodiments, described device also includes:
Alarm clock shaping modes setup module, select to ask for reception pattern, set and worked as according to the mode selection request
Preceding alarm clock shaping modes;
The adjustment module, for according to the current alarm clock shaping modes and the angle, adjusting the state of alarm clock.
In certain embodiments, the adjustment module includes:
First alarm clock calling closes submodule, if adjusted for the current alarm clock shaping modes for first alarm clock
Pattern, when detecting the angle and being less than or equal to first predetermined threshold value, close alarm clock calling;
Second alarm clock calling closes submodule, if adjusted for the current alarm clock shaping modes for second alarm clock
Pattern, when detecing side and being more than or equal to second predetermined threshold value to the angle, close alarm clock calling.
In certain embodiments, first alarm clock calling is closed submodule and is specifically used for:
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is more than the described first default threshold
Value, when detecting the angle and being decreased to be equal to or less than first predetermined threshold value, closing alarm clock calling;
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is less than or equal to described first
Predetermined threshold value, increased to detecting the angle equal to or more than first predetermined threshold value, then be decreased to be equal to or less than
During first predetermined threshold value, alarm clock calling is closed.
In certain embodiments, second alarm clock calling is closed submodule and is specifically used for:
If the current alarm clock shaping modes are the second alarm clock shaping modes, it is pre- that the angle is less than described second
If threshold value, when detecting the angle and increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is more than or equal to described
Second predetermined threshold value, after detecting the angle and being decreased to less than second predetermined threshold value, then increase to and be equal to or more than
During second predetermined threshold value, alarm clock calling is closed.In certain embodiments, the adjustment module, for according to described current
Alarm clock shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling.
In certain embodiments, the adjustment module is specifically used for:
If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or less than first predetermined threshold value, the alarm clock is adjusted and carries
Awake volume is zero, and closes alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the increase of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or more than second predetermined threshold value, the alarm clock is adjusted and carries
Awake volume vanishing, and close alarm clock calling.
In certain embodiments, the adjustment module is specifically used for:
If the angle is more than the first predetermined threshold value, it is decreased to be equal to or less than described first detecting the angle
During predetermined threshold value, alarm clock calling is closed;
If the angle is less than or equal to first predetermined threshold value, increased to detecting the angle more than described
After first predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.
In certain embodiments, the adjustment module is specifically used for:
According to the reduction of the angle, reduce the volume of the alarm clock calling, be equal to or less than detecting the angle
During the first predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
In certain embodiments, the adjustment module is specifically used for:
If the angle is less than the second predetermined threshold value, increased to detecting the angle equal to or more than described second
During predetermined threshold value, alarm clock calling is closed;
If the angle is more than or equal to second predetermined threshold value, detect the angle be decreased to less than it is described
After second predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed.
In certain embodiments, the adjustment module is specifically used for:
According to the increase of the angle, reduce the volume of the alarm clock calling, be equal to or more than detecting the angle
During the second predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
The third aspect, the embodiments of the invention provide a kind of mobile terminal, the mobile terminal include the first display screen and
With the second display screen of first display screen rotation connection, the mobile terminal includes:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by described at least one
Individual computing device, so that at least one processor is able to carry out alarm clock control method as described above.
Fourth aspect, the embodiments of the invention provide a kind of computer program product, the computer program product includes
The computer program being stored on non-volatile computer readable storage medium storing program for executing, the computer program include programmed instruction, when
When described program instruction is performed by mobile terminal, the mobile terminal is set to perform alarm clock control method as described above.
5th aspect, the embodiment of the present invention additionally provide a kind of non-volatile computer readable storage medium storing program for executing, the calculating
Machine readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are used to hold the mobile terminal
Row alarm clock control method as described above.
The beneficial effect of the embodiment of the present invention is:The situation of prior art is different from, the embodiment of the present invention is aobvious according to first
Angle between display screen and second display screen, the state of alarm clock is adjusted, find specific position without user to adjust alarm clock
State, the purpose of convenient and quick regulation alarm clock state is realized, lifts Consumer's Experience.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
The bright restriction not formed to embodiment, the element for having same reference numbers label in accompanying drawing are expressed as similar element, removed
Non- have a special statement, and composition does not limit the figure in accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of alarm clock control method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of alarm clock control method provided in an embodiment of the present invention;
Fig. 3 is a kind of alarm clock control device schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of alarm clock control device schematic diagram provided in an embodiment of the present invention;
Fig. 5 is mobile terminal hardware architecture diagram provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In addition, as long as technical characteristic involved in each embodiment of invention described below is each other not
Conflict can is formed to be mutually combined.
Embodiment 1:
The embodiment of the present invention is a kind of embodiment of alarm clock control method provided by the invention.If Fig. 1 is present invention implementation
A kind of schematic flow sheet for alarm clock control method that example provides.A kind of alarm clock control method of the embodiment of the present invention is applied to movement
Terminal, the mobile terminal include the first display screen and the second display screen with first display screen rotation connection.It is described noisy
Clock control method can be performed by various including the mobile terminal of the first display screen and second display screen, it may for example comprise the first display
Screen and the tablet personal computer of second display screen including the smart mobile phone of the first display screen and second display screen etc..
Reference picture 1, methods described includes:
101:When carrying out alarm clock calling, the angle between first display screen and the second display screen is obtained.
In embodiments of the present invention, the mobile terminal includes the first display screen and is rotatablely connected with first display screen
Second display screen, first display screen can be rotatablely connected with the second display screen by axle.First display screen
Angle can be formed between the second display screen.At the time of user preset is reached mobile terminal can send acoustic signal or
Other signals are to carry out alarm clock calling, for example, the mobile terminal sends ring tone or vibration carries out alarm clock calling.Made a noise
When clock is reminded, the mobile terminal can obtain the angle between first display screen and the second display screen, the angle
Degree can be between 0 ° to 180 °, and including 0 ° and 180 °.
It should be noted that in some other embodiments, the angle can be between 0 ° to 360 °, and including 0 °
And 360 °.
102:According to the angle, the state of alarm clock is adjusted.
In embodiments of the present invention, the state of the regulation alarm clock can include the volume of regulation alarm clock calling and close noisy
Clock prompting etc.., can basis after angle described in the acquisition for mobile terminal between the first display screen and the second display screen
The angle, adjust the state of alarm clock.For example, first display screen and the described second display are preset in the mobile terminal
When being equal to or more than 90 ° of angle between screen, trigger the closing of alarm clock calling.Carried out when at the time of reaching user preset
During alarm clock calling, detect that the angle between first display screen and the second display screen is 0 °, user can pass through rotation
First display screen and/or the second display screen change the size of the angle, when the mobile terminal detect it is described
Angle is equal to or more than 90 °, can to trigger the closing of alarm clock calling, so as to quick and easily close alarm clock calling,
Any interface operation is carried out without user.
It is described according to the angle in the step 102 in some other embodiments, the state of alarm clock is adjusted, can
With including:If the angle is more than the first predetermined threshold value, it is decreased to be equal to or less than described first detecting the angle
During predetermined threshold value, alarm clock calling is closed;If the angle is less than or equal to first predetermined threshold value, the angle is being detected
Degree is increased to more than after first predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, closing alarm clock
Remind.For example, before alarm clock calling is carried out, first predetermined threshold value can be pre-set as 10 °, carrying out alarm clock calling
When, the angle between first display screen and the second display screen is detected, detects that the angle is initially 90 ° and (is more than
First predetermined threshold value), user can reduce the angle, the movement by adjusting first display screen or second display screen
Terminal detect the angle be decreased to be equal to or less than 10 ° when, close alarm clock calling;Or detect that the angle is initial
For 5 ° (being less than the first predetermined threshold value), user can change the angle by adjusting first display screen or second display screen
Degree, the mobile terminal are closed noisy after detecting the angle and increasing to more than 10 °, then when being decreased to be equal to or less than 10 °
Clock is reminded.
It is described according to the angle in the step 102 in some other embodiments, the state of alarm clock is adjusted, can
With including:According to the reduction of the angle, reduce the volume of the alarm clock calling, be equal to or less than the detecting the angle
During one predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.That is, subtracting with the angle
Few, the volume of the alarm clock calling is reduced, when the angle is equal to or less than the first predetermined threshold value, the alarm clock calling
Volume is zero, and closes alarm clock calling.
It is described according to the angle in the step 102 in some other embodiments, the state of alarm clock is adjusted, can
With including:If the angle is less than the second predetermined threshold value, increased to detecting the angle equal to or more than described second
During predetermined threshold value, alarm clock calling is closed;If the angle is more than or equal to second predetermined threshold value, the angle is being detected
When spending after being decreased to less than second predetermined threshold value, then increasing to equal to or more than second predetermined threshold value, alarm clock is closed
Remind.For example, before alarm clock calling is carried out, second predetermined threshold value can be pre-set as 170 °, carrying out alarm clock calling
When, the angle between first display screen and the second display screen is detected, detects that the angle is initially 90 ° and (is less than
Second predetermined threshold value), user can increase the angle, the movement by adjusting first display screen or second display screen
Terminal closes alarm clock calling when detecting the angle and increasing to equal to or more than 170 °;Or detect the angle most
It is just 170 ° (being equal to the second predetermined threshold value) that user can be by adjusting described in the first display screen or the second display screen change
Angle, the mobile terminal close after detecting the angle and being decreased to less than 170 °, then when increasing to equal to or more than 170 °
Close alarm clock calling.
It is described according to the angle in the step 102 in some other embodiments, the state of alarm clock is adjusted, can
With including:According to the increase of the angle, reduce the volume of the alarm clock calling, be equal to or more than the detecting the angle
During two predetermined threshold values, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.That is, the increasing with the angle
Greatly, the volume of the alarm clock calling is reduced, when the angle is equal to or more than the second predetermined threshold value, the alarm clock calling
Volume is zero, and closes alarm clock calling.
In embodiments of the present invention, it is noisy according to the angle between first display screen and the second display screen, regulation
The state of clock, find specific position without user or carry out interface operation to adjust the state of alarm clock, so as to realize it is convenient and
The purpose of the state of quick regulation alarm clock, lift Consumer's Experience.
Embodiment 2:
The embodiment of the present invention is a kind of embodiment of alarm clock control method provided by the invention.If Fig. 2 is present invention implementation
A kind of schematic flow sheet for alarm clock control method that example provides.A kind of alarm clock control method of the embodiment of the present invention is applied to movement
Terminal, the mobile terminal include the first display screen and the second display screen with first display screen rotation connection.It is described noisy
Clock control method can be performed by various including the mobile terminal of the first display screen and second display screen, it may for example comprise the first display
Screen and the tablet personal computer of second display screen including the smart mobile phone of the first display screen and second display screen etc..
Reference picture 2, methods described includes:
203:When carrying out alarm clock calling, the angle between first display screen and the second display screen is obtained.
In embodiments of the present invention, the mobile terminal includes the first display screen and is rotatablely connected with first display screen
Second display screen, when carrying out alarm clock calling, the mobile terminal can obtain first display screen and described second aobvious
Angle between display screen, the angle can be between 0 ° to 180 °, and including 0 ° and 180 °.
It should be noted that in some other embodiments, the angle can be between 0 ° to 360 °, and including 0 °
And 360 °.
204:According to the angle, the state of alarm clock is adjusted.
In embodiments of the present invention, the state of the regulation alarm clock can include the volume of regulation alarm clock calling and close noisy
Clock is reminded., can be according to institute after angle described in the acquisition for mobile terminal between the first display screen and the second display screen
Angle is stated, adjusts the state of alarm clock.Any interface operation is carried out without user, so that quick and convenient closing alarm clock carries
Wake up.
In embodiments of the present invention, the alarm clock control method also includes:
201:Preset the alarm clock shaping modes of the mobile terminal.
In embodiments of the present invention, the mobile terminal presets the alarm clock shaping modes of the mobile terminal.Wherein, it is described
Alarm clock shaping modes include the first alarm clock shaping modes and the second alarm clock shaping modes.Under the first alarm clock shaping modes,
When the angle is less than or equal to the first predetermined threshold value, alarm clock calling is closed;Under the second alarm clock shaping modes, the angle
When degree is more than or equal to the second predetermined threshold value, alarm clock calling is closed.The alarm clock shaping modes of the mobile terminal are preset, so as to root
According to the needs of user, alarm clock calling can be closed conveniently and quickly under different alarm clock shaping modes.
202:Reception pattern selection request, current alarm clock shaping modes are set according to the mode selection request.
In embodiments of the present invention, the mobile terminal reception pattern selection request, sets according to the mode selection request
Put current alarm clock shaping modes.Before alarm clock calling is carried out, the interface of selection alarm clock shaping modes, user can be provided the user
By the interface carry out mode selecting operation, based on the mode selecting operation, and can generation mode selection request, the shifting
After dynamic terminal receives the mode selection request, current alarm clock shaping modes are set according to the mode selection request.For example,
Based on the mode selection request, current alarm clock shaping modes are arranged to the first alarm clock shaping modes, or by current alarm clock
Shaping modes are arranged to the second alarm clock shaping modes.
In embodiments of the present invention, based on the step 201 and step 202, the step 204 it is described according to the angle
Degree, the state of alarm clock is adjusted, including:According to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted.Specifically
, it is described according to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted, including:It is if described current noisy
Clock shaping modes are the first alarm clock shaping modes, are less than or equal to first predetermined threshold value detecting the angle
When, close alarm clock calling;If the current alarm clock shaping modes are the second alarm clock shaping modes, side is being detectd to the angle
When degree is more than or equal to second predetermined threshold value, alarm clock calling is closed.For example, before alarm clock calling is carried out, can set in advance
The first predetermined threshold value put is 10 °, and the second predetermined threshold value is 170 °.According to the mode selection request, current alarm clock is adjusted
Pattern is arranged to the first alarm clock shaping modes, when carrying out alarm clock calling, detects first display screen and the described second display
Angle between screen, when the angle is more than 10 °, continue alarm clock calling, user can be aobvious by adjusting described first
Display screen or second display screen change the angle, and the mobile terminal is closed when detecting the angle less than or equal to 10 °
Alarm clock calling.Or according to the mode selection request, current alarm clock shaping modes are arranged to the second alarm clock shaping modes,
When carrying out alarm clock calling, the angle between first display screen and the second display screen is detected, when the angle is less than
At 170 °, continue alarm clock calling, user can change the angle by adjusting first display screen or second display screen
Degree, the mobile terminal close alarm clock calling when detecting the angle more than or equal to 170 °.
In embodiments of the present invention, if the current alarm clock shaping modes are the first alarm clock shaping modes,
When detecting the angle and being less than or equal to first predetermined threshold value, alarm clock calling is closed, is specifically included:If described work as
Preceding alarm clock shaping modes are the first alarm clock shaping modes, and the angle is more than first predetermined threshold value, is detecting the angle
When degree is decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed;If the current alarm clock shaping modes are
First alarm clock shaping modes, the angle are less than or equal to first predetermined threshold value, increased to greatly detecting the angle
After first predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.For example,
Before alarm clock calling is carried out, the first predetermined threshold value that can be pre-set is 10 °, will be current according to the mode selection request
Alarm clock shaping modes are arranged to the first alarm clock shaping modes.When carrying out alarm clock calling, detect first display screen with it is described
Angle between second display screen, it is initially 180 ° (being more than the first predetermined threshold value) to detect the angle, and user can pass through
Adjust first display screen or second display screen and reduce the angle, the mobile terminal is decreased to detecting the angle
During equal to or less than 10 °, alarm clock calling is closed;Or detect that the angle is initially 8 ° (being less than the first predetermined threshold value), use
Family can change the angle by adjusting first display screen or second display screen, the mobile terminal detect it is described
After angle is increased to more than 10 °, then be decreased to be equal to or less than 10 ° when, close alarm clock calling.
In embodiments of the present invention, if the current alarm clock shaping modes are the second alarm clock shaping modes,
When detecing side and being more than or equal to second predetermined threshold value to the angle, alarm clock calling is closed, is specifically included:If described work as
Preceding alarm clock shaping modes are the second alarm clock shaping modes, and the angle is less than second predetermined threshold value, detecting
When stating angle and increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed;If the current alarm clock regulation mould
Formula is the second alarm clock shaping modes, and the angle is more than or equal to second predetermined threshold value, is detecting the angle
After being decreased to less than second predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, close alarm clock and carry
Wake up.For example, before alarm clock calling is carried out, the second predetermined threshold value that can be pre-set is 170 °, please according to the model selection
Ask, current alarm clock shaping modes are arranged to the second alarm clock shaping modes.When carrying out alarm clock calling, detection first display
Shield the angle between the second display screen, detect that the angle is initially 20 ° (being less than the second predetermined threshold value), Yong Huke
To increase the angle by adjusting first display screen or second display screen, the mobile terminal is detecting the angle
When increasing to equal to or more than 170 °, alarm clock calling is closed;Or detect that the angle is initially 180 ° and (it is default to be more than second
Threshold value), user can change the angle by adjusting first display screen or second display screen, and the mobile terminal is being detectd
When measuring after the angle is decreased to less than 170 °, then increasing to equal to or more than 170 °, alarm clock calling is closed.
In embodiments of the present invention, adjusting the state of alarm clock can include closing alarm clock calling, and it is noisy can also to include regulation
The volume that clock is reminded, namely it is described according to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted, can be wrapped
Include:According to the current alarm clock shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling.Specifically
, it is described according to the current alarm clock shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling, bag
Include:If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce the alarm clock
The volume of prompting, when detecting the angle and being equal to or less than first predetermined threshold value, adjust the sound of the alarm clock calling
Amount is zero, and closes alarm clock calling;If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the angle
Increase, reduce the volume of the alarm clock calling, when detecting the angle and being equal to or more than second predetermined threshold value, adjust
The volume for saving the alarm clock calling is zero, and closes alarm clock calling.That is, under the first alarm clock shaping modes, with the angle
The reduction of degree, the volume of the alarm clock calling are reduced;It is described with the increase of the angle under the second alarm clock shaping modes
The volume of alarm clock calling is reduced.
It should be noted that those of ordinary skill in the art's description according to embodiments of the present invention is appreciated that in difference
In embodiment, the step 201-204 can have different execution sequences.
It should also be noted that, in step 201-204 described in the embodiment of the present invention not detailed description ins and outs,
In the case of reconcilable, the specific descriptions of above-described embodiment are referred to.
In embodiments of the present invention, it is noisy according to the angle between first display screen and the second display screen, regulation
The state of clock, find specific position without user or carry out interface operation to adjust the state of alarm clock, so as to realize it is convenient and
The purpose of the state of quick regulation alarm clock, lift Consumer's Experience.
Embodiment 3:
The embodiment of the present invention is a kind of embodiment of alarm clock control device provided by the invention.If Fig. 3 is present invention implementation
A kind of alarm clock control device schematic diagram that example provides.Wherein, alarm clock control device 30 is applied to mobile terminal, the mobile terminal
Second display screen including the first display screen and with first display screen rotation connection.
Reference picture 3, described device 30 include:
Angle acquisition module 301, for when carrying out alarm clock calling, obtaining first display screen and the described second display
Angle between screen.
In embodiments of the present invention, the mobile terminal includes the first display screen and is rotatablely connected with first display screen
Second display screen, when carrying out alarm clock calling, the angle acquisition module 301 can obtain first display screen with it is described
Angle between second display screen, the angle can be between 0 ° to 180 °, and including 0 ° and 180 °.
It should be noted that in some other embodiments, the angle can be between 0 ° to 360 °, and including 0 °
And 360 °.
Adjustment module 302, for according to the angle, adjusting the state of alarm clock.
In embodiments of the present invention, the state of the regulation alarm clock can include the volume of regulation alarm clock calling and close noisy
Clock prompting etc..After the angle that the angle acquisition module 301 obtains between first display screen and the second display screen,
The adjustment module 302 according to the angle, can adjust the state of alarm clock.For example, preset first display screen with it is described
When being equal to or more than 90 ° of angle between second display screen, trigger the closing of alarm clock calling.When reaching user preset
Alarm clock calling is carried out during quarter, the angle acquisition module 301 is detected between first display screen and the second display screen
Angle be 0 °, user can change the size of the angle by rotating first display screen and/or the second display screen,
When the angle acquisition module 301 detect the angle be equal to or more than 90 °, the adjustment module 302 can with touch
The closing of alarm clock calling is sent out, so as to quick and easily close alarm clock calling, any interface operation is carried out without user.
In some other embodiments, the adjustment module 302 is specifically used for:If the angle is more than the first default threshold
Value, when detecting the angle and being decreased to be equal to or less than first predetermined threshold value, closing alarm clock calling;If the angle
Degree is less than or equal to first predetermined threshold value, after detecting the angle and increasing to more than first predetermined threshold value, then
When being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.For example, before alarm clock calling is carried out, can be pre-
It is 10 ° first to set first predetermined threshold value, when carrying out alarm clock calling, detects first display screen and the described second display
Angle between screen, it is initially 180 ° (being more than the first predetermined threshold value) to detect the angle, and user can be by described in adjustment
First display screen or second display screen reduce the angle, and the mobile terminal is decreased to be equal to or small detecting the angle
When 10 °, alarm clock calling is closed;Or detecting that the angle is initially 10 ° (being equal to the first predetermined threshold value), user can lead to
Cross and adjust the first display screen or the second display screen change angle, the mobile terminal is detecting the angle increase
To be more than 10 ° after, then be decreased to be equal to or less than 10 ° when, close alarm clock calling.
In some other embodiments, the adjustment module 302 is specifically used for:According to the reduction of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or less than the first predetermined threshold value, adjusts the alarm clock calling
Volume is zero, and closes alarm clock calling.That is, with the reduction of the angle, the volume of the alarm clock calling is reduced, Zhi Daosuo
When stating angle and being equal to or less than the first predetermined threshold value, the volume of alarm clock calling is zero described in the adjustment module 302, and is closed noisy
Clock is reminded.
In some other embodiments, the adjustment module 302 is specifically used for:If the angle is less than the second default threshold
Value, when detecting the angle and increasing to equal to or more than second predetermined threshold value, close alarm clock calling;If the angle
Degree is more than or equal to second predetermined threshold value, after detecting the angle and being decreased to less than second predetermined threshold value, then
Increase to when being equal to or more than second predetermined threshold value, close alarm clock calling.For example, before alarm clock calling is carried out, can be pre-
It is 170 ° first to set second predetermined threshold value, when carrying out alarm clock calling, detects first display screen and shows with described second
Angle between display screen, it is initially 0 ° (being less than the second predetermined threshold value) to detect the angle, and user can be by described in adjustment
First display screen or second display screen increase the angle, and the mobile terminal is equal to or greatly detecting the angle and increase to
When 170 °, alarm clock calling is closed;Or detecting that the angle is initially 170 ° (being equal to the second predetermined threshold value), user can be with
Change the angle by adjusting first display screen or second display screen, the mobile terminal subtracts detecting the angle
After being as low as less than 170 °, then when increasing to equal to or more than 170 °, alarm clock calling is closed.
In some other embodiments, the adjustment module 302 is specifically used for:According to the increase of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or more than the second predetermined threshold value, adjusts the alarm clock calling
Volume is zero, and closes alarm clock calling.That is, with the increase of the angle, the volume of the alarm clock calling is reduced, Zhi Daosuo
When stating angle and being equal to or more than the second predetermined threshold value, the volume of alarm clock calling is zero described in the adjustment module 302, and is closed noisy
Clock is reminded.
It should be noted that in embodiments of the present invention, the alarm clock control device 30 can perform the institute of the embodiment of the present invention 1
The alarm clock control method of offer, possess the corresponding functional module of execution method and beneficial effect.Not in alarm clock control device 30
The ins and outs of detailed description in embodiment, reference can be made to the alarm clock control method that the embodiment of the present invention 1 is provided.
Embodiment 4:
The embodiment of the present invention is a kind of embodiment of alarm clock control device provided by the invention.If Fig. 4 is present invention implementation
A kind of alarm clock control device schematic diagram that example provides.Wherein, alarm clock control device 40 is applied to mobile terminal, the mobile terminal
Second display screen including the first display screen and with first display screen rotation connection.
Reference picture 4, described device 40 include:
Angle acquisition module 401, for when carrying out alarm clock calling, obtaining first display screen and the described second display
Angle between screen.
In embodiments of the present invention, the mobile terminal includes the first display screen and is rotatablely connected with first display screen
Second display screen, when carrying out alarm clock calling, the angle acquisition module 401 can obtain first display screen with it is described
Angle between second display screen, the angle can be between 0 ° to 180 °, and including 0 ° and 180 °.
It should be noted that in some other embodiments, the angle can be between 0 ° to 340 °, and including 0 °
And 340 °.
Adjustment module 402, for according to the angle, adjusting the state of alarm clock.
In embodiments of the present invention, the state of the regulation alarm clock can include the volume of regulation alarm clock calling and close noisy
Clock prompting etc..After the angle that the angle acquisition module 401 obtains between first display screen and the second display screen,
The adjustment module 402 according to the angle, can adjust the state of alarm clock.For example, preset first display screen with it is described
When being equal to or more than 90 ° of angle between second display screen, trigger the closing of alarm clock calling.When reaching user preset
Alarm clock calling is carried out during quarter, the angle acquisition module 401 is detected between first display screen and the second display screen
Angle be 0 °, user can change the size of the angle by rotating first display screen and/or the second display screen,
When the angle acquisition module 401 detect the angle be equal to or more than 90 °, the adjustment module 402 can with touch
The closing of alarm clock calling is sent out, so as to quick and easily close alarm clock calling, any interface operation is carried out without user.
In embodiments of the present invention, described device 40 also includes:
Presetting module 403, for presetting the alarm clock shaping modes of the mobile terminal.
In embodiments of the present invention, the presetting module 403 presets the alarm clock shaping modes of the mobile terminal.Wherein,
The alarm clock shaping modes include the first alarm clock shaping modes and the second alarm clock shaping modes.In the first alarm clock shaping modes
Under, when the angle is less than or equal to the first predetermined threshold value, close alarm clock calling;Under the second alarm clock shaping modes, institute
When stating angle and being more than or equal to the second predetermined threshold value, alarm clock calling is closed.Preset by the presetting module 403 described mobile whole
The alarm clock shaping modes at end so that can be according to the needs of user, under different alarm clock shaping modes, convenient and quick pass
Close alarm clock calling.
Alarm clock shaping modes setup module 404, select to ask for reception pattern, set according to the mode selection request
Current alarm clock shaping modes.
In embodiments of the present invention, the reception pattern of the alarm clock shaping modes setup module 404 selection request, according to described
Mode selection request sets current alarm clock shaping modes.Selection alarm clock regulation can be provided the user before alarm clock calling is carried out
The interface of pattern, user carries out mode selecting operation by the interface, based on the mode selecting operation, and can generation mode
Selection request, can be according to the pattern after the alarm clock shaping modes setup module 404 receives the mode selection request
Selection request sets current alarm clock shaping modes.
It is used for based on the presetting module 403 and the alarm clock shaping modes setup module 404, the adjustment module 402
According to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted.Specifically, the adjustment module 402 can be with
Including:First alarm clock calling closes submodule 4021, if adjusted for the current alarm clock shaping modes for first alarm clock
Section pattern, when detecting the angle and being less than or equal to first predetermined threshold value, close alarm clock calling;Second alarm clock calling
Submodule 4022 is closed, if being the second alarm clock shaping modes for the current alarm clock shaping modes, is detecing side to institute
When stating angle and being more than or equal to second predetermined threshold value, alarm clock calling is closed.
In embodiments of the present invention, the first alarm clock calling is closed submodule 4021 and is particularly used in:It is if described current noisy
Clock shaping modes are the first alarm clock shaping modes, and the angle is more than first predetermined threshold value, subtracted detecting the angle
When being as low as equal to or less than first predetermined threshold value, alarm clock calling is closed;If the current alarm clock shaping modes are first
Alarm clock shaping modes, the angle are less than or equal to first predetermined threshold value, increased to detecting the angle more than institute
When stating the first predetermined threshold value, then being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.
In embodiments of the present invention, the second alarm clock calling is closed submodule 4022 and is particularly used in:It is if described current noisy
Clock shaping modes are the second alarm clock shaping modes, and the angle is less than second predetermined threshold value, is detecting the angle
When degree is increased to equal to or more than second predetermined threshold value, alarm clock calling is closed;If the current alarm clock shaping modes are
The second alarm clock shaping modes, the angle are more than or equal to second predetermined threshold value, reduce detecting the angle
To after being less than second predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed.
In embodiments of the present invention, the adjustment module 402 is used for according to the current alarm clock shaping modes and the angle
Degree, the volume of alarm clock calling is adjusted with closing alarm clock calling.Specifically, the adjustment module 402 is specifically used for:
If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or less than first predetermined threshold value, the alarm clock is adjusted and carries
Awake volume is zero, and closes alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the increase of the angle, reduce institute
The volume of alarm clock calling is stated, when detecting the angle and being equal to or more than second predetermined threshold value, the alarm clock is adjusted and carries
Awake volume vanishing, and close alarm clock calling.
It should be noted that in embodiments of the present invention, the alarm clock control device 40 can perform the institute of the embodiment of the present invention 2
The alarm clock control method of offer, possess the corresponding functional module of execution method and beneficial effect.Not in alarm clock control device 40
The ins and outs of detailed description in embodiment, reference can be made to the alarm clock control method that the embodiment of the present invention 2 is provided.
Embodiment 5:
Fig. 5 is mobile terminal hardware architecture diagram provided in an embodiment of the present invention, wherein, the mobile terminal includes the
One display screen and the second display screen with first display screen rotation connection.As shown in figure 5, the mobile terminal 50 includes:
One or more processors 501 and memory 502, in Fig. 5 by taking a processor 501 as an example.
Processor 501 can be connected with memory 502 by bus or other modes, to be connected by bus in Fig. 5
Exemplified by.
Memory 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, the program as corresponding to the alarm clock control method in the embodiment of the present invention
Instruction/unit is (for example, first angle acquisition module 401, adjustment module 402, presetting module 403 and alarm clock shown in accompanying drawing 4
Shaping modes setup module 404).Processor 501 is by running the non-volatile software program being stored in memory 502, referring to
Order and unit, so as to perform the various function application of mobile terminal and data processing, that is, realize methods described embodiment
Alarm clock control method.
Memory 502 can include storing program area and storage data field, wherein, storing program area can store operation system
Application program required for system, at least one function;Storage data field, which can store, uses created data according to mobile terminal
Deng.In addition, memory 502 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memory 502
It is optional including network connection to movement can be passed through relative to the remotely located memory of processor 501, these remote memories
Terminal.The embodiment of the network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
One or more of units are stored in the memory 502, when by one or more of processors
During 501 execution, the alarm clock control method in any means embodiment is performed, for example, performing the side in Fig. 1 described above
Method and step 201 in method step 101 to step 102 or Fig. 2 realizes the function of the unit 301-302 in Fig. 3 to step 204
Or the function of the unit 401-404 in Fig. 4.
The mobile terminal can perform the alarm clock control method that the embodiment of the present invention is provided, and it is corresponding to possess execution method
Functional module and beneficial effect.The ins and outs of detailed description not in mobile terminal embodiment, reference can be made to the embodiment of the present invention
The alarm clock control method provided.
The embodiments of the invention provide a kind of computer program product, the computer program product is non-easy including being stored in
Computer program on the property lost computer-readable recording medium, the computer program includes programmed instruction, when described program refers to
When order is performed by mobile terminal, the mobile terminal is set to perform alarm clock control method as described above.For example, perform above description
Fig. 1 in method and step 101 to step 102 or Fig. 2 in method and step 201 to step 204, realize the unit in Fig. 3
The function of unit 401-404 in 301-302 function or Fig. 4.
The embodiments of the invention provide a kind of non-volatile computer readable storage medium storing program for executing, the computer-readable storage medium
Matter is stored with computer executable instructions, and the computer executable instructions are executed by one or more processors, for example, perform with
The method and step 201 in method and step 101 to step 102 or Fig. 2 in Fig. 1 of upper description is realized in Fig. 3 to step 204
The function of unit 401-404 in unit 301-302 function or Fig. 4.
The mobile terminal of the embodiment of the present application can exist in a variety of forms, include but is not limited to:
(1) mobile communication equipment of the first display screen and second display screen is included:This kind equipment is provided with the application such as alarm clock,
And the functions such as alarm clock control can be realized.This Terminal Type can include:Intelligent hand including the first display screen and second display screen
Machine includes the multimedia handset including the feature of the first display screen and second display screen of the first display screen and second display screen
Mobile phone etc..
(2) the super mobile personal computer equipment of the first display screen and second display screen is included:This kind equipment belongs to personal
The category of computer, alarm clock application can be installed.This Terminal Type includes:PDA including the first display screen and second display screen, bag
Include M I D of the first display screen and second display screen etc..
(3) other mobile terminals with alarm clock control function.
It should be noted that device embodiment described above is only schematical, wherein described be used as separation unit
The unit that part illustrates can be or may not be physically separate, can be as the part that unit is shown or also may be used
Not to be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need select some or all of module therein to realize the purpose of this embodiment scheme.
The description of embodiment more than, those of ordinary skill in the art can be understood that each embodiment can borrow
Software is helped to add the mode of general hardware platform to realize, naturally it is also possible to pass through hardware.Those of ordinary skill in the art can manage
Solution realizes that all or part of flow in the embodiment method is can be by the related hardware of computer program instructions come complete
Into described program can be stored in computer read/write memory medium, and the program is upon execution, it may include such as each method
Embodiment flow.Wherein, described storage medium can be read-only memory (Read-On l y Memory, ROM)
Or random access memory (Random Access Memory, RAM) etc..
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
Under the thinking of invention, it can also be combined between the technical characteristic in above example or different embodiments, step can be with
Realized with random order, and many other changes of the different aspect of the present invention as described above be present, for simplicity, they do not have
Have and provided in details;Although the present invention is described in detail with reference to the foregoing embodiments, the ordinary skill people of this area
Member should be understood:It can still modify to the technical scheme described in foregoing embodiments, or to which part skill
Art feature carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from each reality of the present invention
Apply the scope of a technical scheme.
Claims (25)
1. a kind of alarm clock control method, applied to mobile terminal, the mobile terminal includes the first display screen and with described first
The second display screen of display screen rotation connection, it is characterised in that methods described includes:
When carrying out alarm clock calling, the angle between first display screen and the second display screen is obtained;
According to the angle, the state of alarm clock is adjusted.
2. according to the method for claim 1, it is characterised in that methods described also includes:
The alarm clock shaping modes of the mobile terminal are preset, the alarm clock shaping modes include the first alarm clock shaping modes and second
Alarm clock shaping modes, under the first alarm clock shaping modes, when the angle is less than or equal to the first predetermined threshold value, close noisy
Clock is reminded;Under the second alarm clock shaping modes, when the angle is more than or equal to the second predetermined threshold value, closes alarm clock and carry
Wake up.
3. according to the method for claim 2, it is characterised in that methods described also includes:
Reception pattern selection request, current alarm clock shaping modes are set according to the mode selection request;
It is described that the state of alarm clock is adjusted according to the angle, including:
According to the current alarm clock shaping modes and the angle, the state of alarm clock is adjusted.
4. according to the method for claim 3, it is characterised in that described according to the current alarm clock shaping modes and the angle
Degree, the state of alarm clock is adjusted, including:
If the current alarm clock shaping modes are the first alarm clock shaping modes, it is less than or equal to detecting the angle
During first predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the second alarm clock shaping modes, it is more than or equal to detecing side to the angle
During second predetermined threshold value, alarm clock calling is closed.
5. according to the method for claim 4, it is characterised in that if the current alarm clock shaping modes are described the
One alarm clock shaping modes, when detecting the angle and being less than or equal to first predetermined threshold value, close alarm clock calling, bag
Include:
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is more than first predetermined threshold value,
When detecting the angle and being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the first alarm clock shaping modes, it is default that the angle is less than or equal to described first
Threshold value, after detecting the angle and increasing to more than first predetermined threshold value, then it is decreased to be equal to or less than described first
During predetermined threshold value, alarm clock calling is closed.
6. according to the method for claim 4, it is characterised in that if the current alarm clock shaping modes are described the
Two alarm clock shaping modes, when detecing side and being more than or equal to second predetermined threshold value to the angle, close alarm clock calling, bag
Include:
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is less than the described second default threshold
Value, when detecting the angle and increasing to equal to or more than second predetermined threshold value, close alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is more than or equal to described second
Predetermined threshold value, after detecting the angle and being decreased to less than second predetermined threshold value, then increase to equal to or more than described
During the second predetermined threshold value, alarm clock calling is closed.
7. according to the method for claim 3, it is characterised in that described according to the current alarm clock shaping modes and the angle
Degree, the state of alarm clock is adjusted, including:
According to the current alarm clock shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling.
8. according to the method for claim 7, it is characterised in that described according to the current alarm clock shaping modes and the angle
Degree, the volume and closing alarm clock calling of alarm clock calling are adjusted, including:
If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce described noisy
The volume that clock is reminded, when detecting the angle and being equal to or less than first predetermined threshold value, adjust the alarm clock calling
Volume is zero, and closes alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the increase of the angle, reduce described noisy
The volume that clock is reminded, when detecting the angle and being equal to or more than second predetermined threshold value, adjust the alarm clock calling
Volume is zero, and closes alarm clock calling.
9. according to the method for claim 1, it is characterised in that it is described according to the angle, the state of alarm clock is adjusted, is wrapped
Include:
If the angle is more than the first predetermined threshold value, it is decreased to preset equal to or less than described first detecting the angle
During threshold value, alarm clock calling is closed;
If the angle is less than or equal to first predetermined threshold value, increased to detecting the angle more than described first
After predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.
10. according to the method for claim 1, it is characterised in that it is described according to the angle, the state of alarm clock is adjusted, is wrapped
Include:
According to the reduction of the angle, reduce the volume of the alarm clock calling, detecting the angle equal to or less than first
During predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
11. according to the method for claim 1, it is characterised in that it is described according to the angle, the state of alarm clock is adjusted, is wrapped
Include:
If the angle is less than the second predetermined threshold value, detect the angle increase to it is default equal to or more than described second
During threshold value, alarm clock calling is closed;
If the angle is more than or equal to second predetermined threshold value, described second is decreased to less than detecting the angle
After predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed.
12. according to the method for claim 1, it is characterised in that it is described according to the angle, the state of alarm clock is adjusted, is wrapped
Include:
According to the increase of the angle, reduce the volume of the alarm clock calling, detecting the angle equal to or more than second
During predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
13. a kind of alarm clock control device, applied to mobile terminal, the mobile terminal includes the first display screen and with described first
The second display screen of display screen rotation connection, it is characterised in that described device includes:
Angle acquisition module, for when carrying out alarm clock calling, obtaining between first display screen and the second display screen
Angle;
Adjustment module, for according to the angle, adjusting the state of alarm clock.
14. device according to claim 13, it is characterised in that described device also includes:
Presetting module, for presetting the alarm clock shaping modes of the mobile terminal, the alarm clock shaping modes include the first alarm clock
Shaping modes and the second alarm clock shaping modes, under the first alarm clock shaping modes, it is pre- that the angle is less than or equal to first
If during threshold value, close alarm clock calling;Under the second alarm clock shaping modes, the angle is more than or equal to the second predetermined threshold value
When, close alarm clock calling.
15. device according to claim 14, it is characterised in that described device also includes:
Alarm clock shaping modes setup module, select to ask for reception pattern, set according to the mode selection request current noisy
Clock shaping modes;
The adjustment module, for according to the current alarm clock shaping modes and the angle, adjusting the state of alarm clock.
16. device according to claim 15, it is characterised in that the adjustment module includes:
First alarm clock calling closes submodule, if being that first alarm clock adjusts mould for the current alarm clock shaping modes
Formula, when detecting the angle and being less than or equal to first predetermined threshold value, close alarm clock calling;
Second alarm clock calling closes submodule, if being that second alarm clock adjusts mould for the current alarm clock shaping modes
Formula, when detecing side and being more than or equal to second predetermined threshold value to the angle, close alarm clock calling.
17. device according to claim 16, it is characterised in that first alarm clock calling is closed submodule and specifically used
In:
If the current alarm clock shaping modes are the first alarm clock shaping modes, the angle is more than first predetermined threshold value,
When detecting the angle and being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed;
If the current alarm clock shaping modes are the first alarm clock shaping modes, it is default that the angle is less than or equal to described first
Threshold value, increase to more than first predetermined threshold value, then be decreased to pre- equal to or less than described first detecting the angle
If during threshold value, close alarm clock calling.
18. device according to claim 16, it is characterised in that second alarm clock calling is closed submodule and specifically used
In:
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is less than the described second default threshold
Value, when detecting the angle and increasing to equal to or more than second predetermined threshold value, close alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, the angle is more than or equal to described second
Predetermined threshold value, after detecting the angle and being decreased to less than second predetermined threshold value, then increase to equal to or more than described
During the second predetermined threshold value, alarm clock calling is closed.
19. device according to claim 15, it is characterised in that the adjustment module, for according to the current alarm clock
Shaping modes and the angle, the volume of alarm clock calling is adjusted with closing alarm clock calling.
20. device according to claim 19, it is characterised in that the adjustment module is specifically used for:
If the current alarm clock shaping modes are the first alarm clock shaping modes, according to the reduction of the angle, reduce described noisy
The volume that clock is reminded, when detecting the angle and being equal to or less than first predetermined threshold value, adjust the alarm clock calling
Volume is zero, and closes alarm clock calling;
If the current alarm clock shaping modes are the second alarm clock shaping modes, according to the increase of the angle, reduce described noisy
The volume that clock is reminded, when detecting the angle and being equal to or more than second predetermined threshold value, adjust the alarm clock calling
Volume vanishing, and close alarm clock calling.
21. device according to claim 13, it is characterised in that the adjustment module is specifically used for:
If the angle is more than the first predetermined threshold value, it is decreased to preset equal to or less than described first detecting the angle
During threshold value, alarm clock calling is closed;
If the angle is less than or equal to first predetermined threshold value, increased to detecting the angle more than described first
After predetermined threshold value, then when being decreased to be equal to or less than first predetermined threshold value, alarm clock calling is closed.
22. device according to claim 13, it is characterised in that the adjustment module is specifically used for:
According to the reduction of the angle, reduce the volume of the alarm clock calling, detecting the angle equal to or less than first
During predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
23. device according to claim 13, it is characterised in that the adjustment module is specifically used for:
If the angle is less than the second predetermined threshold value, detect the angle increase to it is default equal to or more than described second
During threshold value, alarm clock calling is closed;
If the angle is more than or equal to second predetermined threshold value, described second is decreased to less than detecting the angle
After predetermined threshold value, then when increasing to equal to or more than second predetermined threshold value, alarm clock calling is closed.
24. device according to claim 13, it is characterised in that the adjustment module is specifically used for:
According to the increase of the angle, reduce the volume of the alarm clock calling, detecting the angle equal to or more than second
During predetermined threshold value, the volume for adjusting the alarm clock calling is zero, and closes alarm clock calling.
25. a kind of mobile terminal, the mobile terminal include the first display screen and with first display screen rotation connection the
Two display screens, it is characterised in that the mobile terminal includes:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of at least one computing device, and the instruction is by least one place
Manage device to perform, so that at least one processor is able to carry out the method described in any one of claim 1-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758204.5A CN107580118B (en) | 2017-08-29 | 2017-08-29 | Alarm clock control method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710758204.5A CN107580118B (en) | 2017-08-29 | 2017-08-29 | Alarm clock control method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107580118A true CN107580118A (en) | 2018-01-12 |
CN107580118B CN107580118B (en) | 2021-03-02 |
Family
ID=61030578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710758204.5A Active CN107580118B (en) | 2017-08-29 | 2017-08-29 | Alarm clock control method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107580118B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108965608A (en) * | 2018-08-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of alarm clock setting method folds terminal and computer readable storage medium |
CN109040425A (en) * | 2018-07-02 | 2018-12-18 | Oppo广东移动通信有限公司 | Information processing method and related product |
CN109117046A (en) * | 2018-08-28 | 2019-01-01 | 维沃移动通信有限公司 | A kind of alarm clock setting method, terminal and computer readable storage medium |
CN109739423A (en) * | 2018-12-28 | 2019-05-10 | 维沃移动通信有限公司 | A kind of alarm clock setting method and flexible terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120105482A1 (en) * | 2010-10-27 | 2012-05-03 | Hon Hai Precision Industry Co., Ltd. | Portable electronic device |
CN102724362A (en) * | 2012-06-18 | 2012-10-10 | 上海斐讯数据通信技术有限公司 | Mobile terminal alarm control system and method |
US20140211597A1 (en) * | 2013-01-28 | 2014-07-31 | Chi Mei Communication Systems, Inc. | Electronic device and method of controlling alarm clock function |
CN104065830A (en) * | 2014-07-04 | 2014-09-24 | 苏州天趣信息科技有限公司 | Alarm clock shutting method and device of portable terminal and portable terminal thereof |
CN104158952A (en) * | 2014-07-07 | 2014-11-19 | 北京乐动卓越科技有限公司 | Method for controlling mobile phone alarm condition through physical movement as well as mobile phone |
CN106055110A (en) * | 2016-06-16 | 2016-10-26 | 苏州三星电子电脑有限公司 | Adjustment device and adjustment method for flip type multimedia equipment |
-
2017
- 2017-08-29 CN CN201710758204.5A patent/CN107580118B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120105482A1 (en) * | 2010-10-27 | 2012-05-03 | Hon Hai Precision Industry Co., Ltd. | Portable electronic device |
CN102724362A (en) * | 2012-06-18 | 2012-10-10 | 上海斐讯数据通信技术有限公司 | Mobile terminal alarm control system and method |
US20140211597A1 (en) * | 2013-01-28 | 2014-07-31 | Chi Mei Communication Systems, Inc. | Electronic device and method of controlling alarm clock function |
CN104065830A (en) * | 2014-07-04 | 2014-09-24 | 苏州天趣信息科技有限公司 | Alarm clock shutting method and device of portable terminal and portable terminal thereof |
CN104158952A (en) * | 2014-07-07 | 2014-11-19 | 北京乐动卓越科技有限公司 | Method for controlling mobile phone alarm condition through physical movement as well as mobile phone |
CN106055110A (en) * | 2016-06-16 | 2016-10-26 | 苏州三星电子电脑有限公司 | Adjustment device and adjustment method for flip type multimedia equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109040425A (en) * | 2018-07-02 | 2018-12-18 | Oppo广东移动通信有限公司 | Information processing method and related product |
CN109040425B (en) * | 2018-07-02 | 2021-03-05 | Oppo广东移动通信有限公司 | Information processing method and related product |
CN108965608A (en) * | 2018-08-28 | 2018-12-07 | 维沃移动通信有限公司 | A kind of alarm clock setting method folds terminal and computer readable storage medium |
CN109117046A (en) * | 2018-08-28 | 2019-01-01 | 维沃移动通信有限公司 | A kind of alarm clock setting method, terminal and computer readable storage medium |
CN109739423A (en) * | 2018-12-28 | 2019-05-10 | 维沃移动通信有限公司 | A kind of alarm clock setting method and flexible terminal |
Also Published As
Publication number | Publication date |
---|---|
CN107580118B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110176226B (en) | Speech recognition and speech recognition model training method and device | |
CN107580118A (en) | A kind of alarm clock control method, device and mobile terminal | |
CN104683598B (en) | Proximity transducer threshold value adjusting method, device and smart machine | |
CN104503889B (en) | A kind of information processing method and electronic equipment | |
CN111226191A (en) | Managing and mapping multi-side touches | |
WO2019024642A1 (en) | Process control method and apparatus, storage medium, and electronic device | |
WO2019085749A1 (en) | Application program control method and apparatus, medium, and electronic device | |
US20130154947A1 (en) | Determining a preferred screen orientation based on known hand positions | |
WO2017113821A1 (en) | Method and apparatus for operating smart phone and smart phone | |
CN106845377A (en) | Face key independent positioning method and device | |
US20160132178A1 (en) | Method for Enabling Function Module of Terminal, and Terminal Device | |
CN108510963A (en) | Method of adjustment, device, storage medium and the intelligent terminal of screen intensity | |
CN109756818B (en) | Dual-microphone noise reduction method and device, storage medium and electronic equipment | |
CN110741387B (en) | Face recognition method and device, storage medium and electronic equipment | |
WO2019062369A1 (en) | Application management method and apparatus, storage medium, and electronic device | |
WO2017152590A1 (en) | Method and device for replacing wallpaper by shaking mobile terminal | |
CN109032898A (en) | A kind of display methods of icon, device, equipment and storage medium | |
CN107480488A (en) | Solve lock control method and Related product | |
CN109272917A (en) | Screen luminance adjustment method, device, storage medium and electronic equipment | |
CN107277346A (en) | A kind of image processing method and terminal | |
CN102710846A (en) | System and method for realizing electronic book page turning based on forced induction | |
WO2019085750A1 (en) | Application program control method and apparatus, medium, and electronic device | |
CN108572765A (en) | Touch control identification method and device | |
CN113033245A (en) | Function adjusting method and device, storage medium and electronic equipment | |
CN105373323B (en) | Method of operating an electronic device, operating device and electronic equipment |
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 |