CN104102444B - The method and intelligent terminal of gesture control alarm clock - Google Patents
The method and intelligent terminal of gesture control alarm clock Download PDFInfo
- Publication number
- CN104102444B CN104102444B CN201310125185.4A CN201310125185A CN104102444B CN 104102444 B CN104102444 B CN 104102444B CN 201310125185 A CN201310125185 A CN 201310125185A CN 104102444 B CN104102444 B CN 104102444B
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- function
- touching signals
- starting
- screen
- 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.)
- Active
Links
Abstract
The invention discloses the method for gesture control alarm clock and intelligent terminals.This method comprises: reaching the preset alarm clock moment, start alarm clock function;Detection acts on the touching signals of the touch screen of intelligent terminal;If detecting the touching signals of long-pressing screen, alarm clock function is closed;If detecting the touching signals of sliding screen, starting nap function.User's long-pressing touch screen can close alarm clock function, sliding touch screen can start nap function, user does not need to see the operation that control alarm clock can be completed in the alarm clock menu of the user interface of touch screen, the operation that the technical program controls alarm clock is relatively convenient, gesture motion is simple, user experience is good, can save electric energy.
Description
Technical field
The present invention relates to technical field of touch control more particularly to the methods and intelligent terminal of gesture control alarm clock.
Background technique
Touch-control (Multi-Touch) technology is the technology for realizing operation jointly using human-computer interaction technology and hardware device.
Touch screen is the key hardware of touch technology, and user generates the gesture of the movement meaning of touching signals in touch screen, for example clicks screen
Curtain gesture, long-pressing screen gesture, sliding screen gesture etc. are inputted by touch screen to hardware device using the combination of various gestures
Touching signals control the user interface for being shown in touch screen.User and intelligent terminal are interacted using touch technology,
So that instruction input becomes very simple.Smart phone, E-book reader, MP3/MP4 player, tablet computer, notebook
The intelligent terminals such as computer, it is more and more to use touch technology.
Smart phone generally has alarm clock function.When reaching the preset alarm clock moment, smart phone starts alarm clock function,
The alarm clock menu of user interface on user's point touching screen, and function choosing-item is chosen, it realizes and closes alarm clock function or start small
Sleep function.Take a nap function, refer to pause alarm clock function after through being again started up alarm clock function after a period of time, to make user can
To take a nap in this period of time.
In the research and practice process to the prior art, the inventor finds that the existing technology has at least the following problems: intelligence
Can the alarm clock of mobile phone be mainly used for morning and get up reminding effect, waken up from dream by alarm clock, user need to keep consciousness clear
The awake alarm clock menu option that can just see user interface clearly is clicked and chooses function choosing-item to select correlation function.User keeps meaning
After knowing awake operation alarm clock menu selection, it may be difficult to enter nap state.The prior art needs the accurate choosing for clicking user interface
Item is to control alarm clock function, and the operation for controlling alarm clock is not convenient enough, and user experience is bad, and the operating time is long, consumes more electricity
Energy.
Summary of the invention
The embodiment of the present invention provides the method and intelligent terminal of gesture control alarm clock, and the operation of control alarm clock is compared just
Benefit can save electric energy.
The embodiment of the present invention uses following technical scheme:
In a first aspect, the embodiment of the present invention provides a kind of method of gesture control alarm clock, comprising:
The preset alarm clock moment is reached, alarm clock function is started;
Detection acts on the touching signals of the touch screen of intelligent terminal;
If detecting the touching signals of long-pressing screen, alarm clock function is closed;
If detecting the touching signals of sliding screen, starting nap function.
Second aspect, the embodiment of the present invention provide a kind of intelligent terminal of gesture control alarm clock, comprising:
Start alarm clock function unit, for reaching the preset alarm clock moment, starts alarm clock function;
Touching signals unit is detected, for detecting the touching signals for acting on the touch screen of intelligent terminal;
Alarm clock function unit is closed, if closing alarm clock function for detecting the touching signals of long-pressing screen;
Starting nap functional unit, if for detecting the touching signals of sliding screen, starting nap function.
Technical solution bring provided in an embodiment of the present invention the utility model has the advantages that
After starting alarm clock function, intelligent terminal detects the touching signals for acting on touch screen, if detecting, user's long-pressing is touched
The touching signals of the long-pressing screen generated when touching screen close alarm clock function;If detecting sliding screen when user slides touch screen
The touching signals of curtain, starting nap function;User's long-pressing touch screen can close alarm clock function, and sliding touch screen can open
Dynamic nap function, user do not need to see the operation that control alarm clock can be completed in the alarm clock menu of the user interface of touch screen, this hair
The option for accurately clicking user interface is not needed when bright embodiment control alarm clock function, the operation for controlling alarm clock is relatively convenient, hand
Gesture movement is simple, and user experience is good, and the operating time is short, saves electric energy, extends intelligent terminal service time of battery.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention
The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram of gesture control alarm clock method one embodiment provided in an embodiment of the present invention.
Fig. 2 is the user interface schematic diagram of starting alarm clock function provided in an embodiment of the present invention.
Fig. 3 is the user interface schematic diagram of closing alarm clock function after long-pressing touch screen provided in an embodiment of the present invention.
Fig. 4 is the user interface schematic diagram of starting nap function after sliding touch screen provided in an embodiment of the present invention.
Fig. 5 is the method flow diagram of another embodiment of gesture control alarm clock method provided in an embodiment of the present invention.
Fig. 6 is the method flow diagram of another embodiment of gesture control alarm clock method provided in an embodiment of the present invention.
Fig. 7 is the structural block diagram of gesture control intelligent terminal one embodiment provided in an embodiment of the present invention.
Fig. 8 is the structural block diagram of another embodiment of gesture control intelligent terminal provided in an embodiment of the present invention.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below
It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Referring to FIG. 1, it is the method flow of gesture control alarm clock method one embodiment provided in an embodiment of the present invention
Figure.The gesture control alarm clock method of the present embodiment is mainly used in the various intelligent terminals with touch screen, including smart phone,
E-book reader, MP3(Moving Picture Experts Group Audio Layer III, dynamic image expert pressure
Contracting standard audio level 3) player, MP4(Moving Picture Experts Group Audio Layer IV, dynamic shadow
As expert's compression standard audio level 4) player, laptop, tablet computer etc..The touch screen includes resistive touch screen
And capacitive touch screen.The gesture control alarm clock method, comprising:
S101, the preset alarm clock moment is reached, starts alarm clock function.Referring to FIG. 2, being opened to be provided in an embodiment of the present invention
The user interface schematic diagram of dynamic alarm clock function.
The setting at alarm clock moment, can be periodically, such as week 1- weeks 5 morning 8:00 be set as the alarm clock moment, can also
Think disposably, for example only next 8:00 in morning is set as the alarm clock moment, when the time of intelligent terminal reaching the alarm clock
When quarter, system command is triggered, starts alarm clock function.
The starting alarm clock function can play the role of the tinkle of bells and/or the vibration of alarm clock calling for starting, i.e. starting is played noisy
The tinkle of bells of clock reminding effect, or vibration or the tinkle of bells and vibration.
S102, detection act on the touching signals of the touch screen of intelligent terminal.
After starting alarm clock function, detection acts on the touching signals of the touch screen of intelligent terminal.As before this step
Intelligent terminal closes the working condition of touch screen, then the working condition of touch screen can be activated when intelligent terminal executes the step.
The action gestures such as the click screen gesture of user, long-pressing screen gesture, sliding screen gesture can generate corresponding touching signals.
If S103a, the touching signals for detecting long-pressing screen, alarm clock function is closed.Referring to FIG. 3, implementing for the present invention
The user interface schematic diagram of alarm clock function is closed after the long-pressing touch screen that example provides.
Intelligent terminal detects the touching signals for acting on the long-pressing screen of touch screen, such as user's finger long-pressing touch screen
The touching signals for generating long-pressing screen, then close alarm clock function.
If S103b, the touching signals for detecting sliding screen, starting nap function.Referring to FIG. 4, implementing for the present invention
The user interface schematic diagram of starting nap function after the sliding touch screen that example provides.
Intelligent terminal detects that the touching signals for acting on the sliding screen of touch screen, such as user's finger slide touch screen
The touching signals for generating sliding screen, then start nap function.
Starting nap function, can be to suspend current alarm clock function, and setting be again started up alarm clock function elapsed time
Length, so that being again started up alarm clock after the time span of setting.
During the present invention is implemented, step S103a and S103b are no sequencing relationships, and intelligent terminal is according to current inspection
The touching signals measured execute corresponding movement.
It should be noted that the programming language of different intelligent terminal operation system or different realization touch technologies, inspection
The possible different from of program for acting on the touching signals of touch screen of intelligent terminal is surveyed, those of ordinary skill in the art are come
It says, program can be write according to different operating system or different programming languages and realizes detection touching signals.
Illustrate that Android operation system realizes gesture identification by GestureDetector class briefly below.
GestureDetector class can be used to identify the various gestures of touch screen, it contains two interfaces and an inner classes.Two
A interface is respectively as follows: OnGestureListener, for monitoring gesture event;OnDoubleTapListener, for monitoring
Double click event.Inner classes: SimpleOnGestureListener, for monitoring all gestures, actually it is realized above-mentioned
Two interfaces, but method body be it is empty, need programmer oneself to write, programmer can inherit this class, rewrite the inside side
Method carries out gesture processing.Wherein, it is specified that following 6 kinds of gesture events: (1) onDown (MotionEvent e): down event;
(2) onSingleTapUp (MotionEvent e): one click up event;(3) onShowPress (MotionEvent e):
Down event occurs and move or up trigger the event before not occurring also;(4) onLongPress (MotionEvent e): long
By event;(5)onFling(MotionEvent e1,MotionEvent e2,float velocityX,float
VelocityY): slip gesture event;(6)onScroll(MotionEvent e1,MotionEvent e2,float
distanceX,float distanceY).Programmer can construct an Overlay, this Overlay is realized
OnGestureListener interface makes it safeguard the GestureDetector of oneself.This is added on main view
Overlay, and corresponding listener is passed to, it can be achieved that capturing the function of gesture.
To sum up, the method for the gesture control alarm clock of the embodiment of the present invention generates long-pressing screen when user's long-pressing touch screen
Gesture, intelligent terminal detect the touching signals of long-pressing screen, close alarm clock function;When user slides touch screen, cunning is generated
Dynamic screen gesture, intelligent terminal detect the touching signals of sliding screen, starting nap function.User does not need to see that touch screen is used
The operation of control alarm clock can be completed in the alarm clock menu at family interface, and the embodiment of the present invention does not need exact point when controlling alarm clock function
The option for hitting user interface, the operation for controlling alarm clock is relatively convenient, and gesture motion is simple, and user experience is good, and the operating time is short,
Electric energy is saved, intelligent terminal service time of battery is extended.For the user for still thering is nap to be accustomed to after waking especially for morning,
The embodiment of the present invention does not need the operation for keeping Consciousness that can complete starting nap function, and user is being realized
Enter nap state in fuzzy.
Referring to FIG. 5, it is the method stream of another embodiment of gesture control alarm clock method provided in an embodiment of the present invention
Cheng Tu.The present embodiment is the parameter that setting alarm clock is mainly increased on the basis of a upper embodiment of the method, touching signals
The content of parameter, and detection touching signals content is again introduced into after function is taken a nap in starting.This method comprises:
S201, the alarm clock moment is preset.
User pre-enters the alarm clock moment according to self-demand, and alarm clock is arranged in the data that intelligent terminal is inputted according to user
Moment.
S202, the preset alarm clock moment is reached, starts alarm clock function.
When the time of intelligent terminal reaching the alarm clock moment, system command is triggered, starts alarm clock function.
S203, detection act on the touching signals of the touch screen of intelligent terminal.
The action gestures such as the click screen gesture of user, long-pressing screen gesture, sliding screen gesture can generate corresponding touching
Signal is controlled, intelligent terminal detects user in the gesture motion of touch screen.
During the present invention is implemented, following steps S204a and step S204b are no sequencing relationship, intelligent terminal root
Alarm clock function or starting nap function are closed according to detecting that touching signals execute.
If S204a, the touching signals for detecting long-pressing screen, alarm clock function is closed.
In the embodiment of the present invention, if intelligent terminal detects the long long-pressing screen for being temporally more than or equal to preset time threshold value
Trigger signal, close alarm clock function.Preset time threshold value can be set by intelligent terminal manufacturer in product export, can also
To be set in use by user.
Preferably, preset time threshold value is 2 seconds, this preset time threshold value comparison is reasonable, meets the operating habit of user.
It is understood that preset time threshold value can be adjusted according to use demand, for example can be set to 3 seconds, 4 seconds or 5 seconds.
If S204b, the touching signals for detecting sliding screen, suspend current alarm clock function, setting is again started up alarm clock function
It can elapsed time length.After this step, S205 is entered step.
In the embodiment of the present invention, starting nap function includes that intelligent terminal issues instruction and suspends current alarm clock function, concurrently
Instruction setting out is again started up alarm clock function elapsed time length.Certainly, starting nap function can also be other operations,
For example, improving ringing volume when being again started up alarm clock function, user is waken up.
If intelligent terminal detects that sliding distance is more than or equal to the trigger signal of the sliding screen of preset distance threshold value, pause
Current alarm clock function, setting are again started up alarm clock function elapsed time length.Time span can use alarm clock by user
When input, when intelligent terminal suspend current alarm clock function after, according to user input time span setting is again started up alarm clock function
It can elapsed time length.According to the actual situation, the time span of input can be 3 minutes, 5 minutes or 10 minutes etc..
Preset distance threshold value can be set by manufacturer in product export, can also be set in use by user
It is fixed.Preferably, preset distance threshold value is 3 centimetres, this preset distance threshold value comparison is reasonable, meets the operating habit of user.It can
With understanding, distance threshold can be adjusted according to use demand, for example can be set to 4 centimetres, 5 centimetres or 6 centimetres.
When S205, time span by setting, it is again started up alarm clock function.After this step, S203, intelligence are entered step
Energy terminal detection acts on the touching signals of the touch screen of intelligent terminal.
Intelligent terminal can judge elapsed time length by the way of accumulation duration or countdown, when by setting
Time span when, be again started up alarm clock function, reenter detection touching signals process.
To sum up, the method for the gesture control alarm clock of the embodiment of the present invention, user can pre-enter alarm clock moment, long-pressing screen
The preset time threshold value of the trigger signal of curtain, is again started up alarm clock function at the preset distance threshold value of the trigger signal of sliding screen
Elapsed time length, intelligent terminal is according to the input configuration parameter of user.When intelligent terminal detects the touch-control of long-pressing screen
Signal closes alarm clock function;When intelligent terminal detects the touching signals of sliding screen, starting nap function;It takes a nap in starting
After function, when time span by setting, it is again started up alarm clock function, to be again introduced into the process of detection touching signals.
User does not need to see that the operation that control alarm clock can be completed in the alarm clock menu of touch-screen user interface, control of the embodiment of the present invention are noisy
The operation of clock is relatively convenient, and gesture motion is simple, and user experience is good, and the operating time is short, can save electric energy.
Referring to FIG. 6, it is the method stream of another embodiment of gesture control alarm clock method provided in an embodiment of the present invention
Cheng Tu.The present embodiment is to define that judgement detects the touching signals of long-pressing screen on the basis of a upper embodiment of the method
With the sequencing of the touching signals of sliding screen.
It is generally very short to the judgement cycle time of detection touching signals, within the judgement cycle time or only judge
The touching signals of long-pressing screen are detected out or only judge out the touching signals for detecting sliding screen.Different intelligence
The programming language of terminal operating system or different realization touch technology, may area to the judgement period of touching signals
Not, due to caching process or format program etc., as a special case, long-pressing may be both detected within a judgement period
The touching signals of screen, and detect the touching signals of sliding screen, first judge whether to detect for this purpose, present embodiments providing
The touching signals of long-pressing screen, after judge whether to detect sliding screen touching signals method.This method comprises:
S301, the alarm clock moment is preset.
S302, the preset alarm clock moment is reached, starts alarm clock function.
S303, detection act on the touching signals of the touch screen of intelligent terminal.
S304, judge whether to detect the touching signals of long-pressing screen, otherwise continue to walk if so, continuing step S305
Rapid S306.
S305, alarm clock function is closed.
S306, judge whether to detect the touching signals of sliding screen, otherwise continue to walk if so, continuing step S307
Rapid S303.
S307, the current alarm clock function of pause, setting are again started up alarm clock function elapsed time length.
When S308, time span by setting, it is again started up alarm clock function.After this step, S303, intelligence are entered step
Energy terminal detection acts on the touching signals of the touch screen of intelligent terminal.
If several fingers of user contact touch screen simultaneously, at least one finger is just arrived in the time of contact of touch screen
Up to the trigger signal of long-pressing screen long-pressing preset time threshold value when, at least one finger just touch screen slide, then may
In the judgement period of a touching signals, intelligent terminal is detected simultaneously by the touching signals of long-pressing screen and the touch-control of sliding screen
Signal.When there is such case, the present embodiment preferentially selects to close time clock feature, therefore first judges whether to detect long-pressing screen
Touching signals, if it is, alarm clock function is closed, irrespective of whether being detected simultaneously by the touching signals of sliding screen.
To sum up, the method for the gesture control alarm clock of the embodiment of the present invention detects long-pressing screen by first judging whether
Touching signals, after judge whether to detect sliding screen touching signals method, solve and be detected simultaneously by long-pressing screen
The special circumstances of the touching signals of touching signals and sliding screen.User does not need to see the alarm clock menu of touch-screen user interface i.e.
The operation of achievable control alarm clock, the operation that the embodiment of the present invention controls alarm clock is relatively convenient, and gesture motion is simple, user experience
Good, the operating time is short, can save electric energy.
The embodiment of the present invention also provides the embodiment opposite with above-mentioned touching signals judgement sequence.Such as believe in a touch-control
Number the judgement period, intelligent terminal be detected simultaneously by long-pressing screen touching signals and sliding screen touching signals, Ke Yiyou
First selection starting nap function.Method includes: to preset the alarm clock moment.The preset alarm clock moment is reached, alarm clock function is started.
Detection acts on the touching signals of the touch screen of intelligent terminal.Judge whether to detect the touching signals for sliding screen, if so,
Starting nap function, irrespective of whether being detected simultaneously by the touching signals of long-pressing screen;If not, judging whether to detect long-pressing
The touching signals of screen, if so, closing alarm clock function.
It is of the invention the following are the intelligent terminal embodiment of the embodiment of the present invention, computer readable storage medium embodiment
Embodiment of the method, intelligent terminal embodiment, computer readable storage medium embodiment belong to same design, implement in intelligent terminal
The detail content of not detailed description in example, computer readable storage medium embodiment, reference can be made to the above method embodiment.
Referring to FIG. 7, it is the structure box of gesture control intelligent terminal one embodiment provided in an embodiment of the present invention
Figure.The intelligent terminal includes smart phone, E-book reader, player, player, laptop, tablet computer etc..It should
Intelligent terminal includes:
Start alarm clock function unit 401, for reaching the preset alarm clock moment, starts alarm clock function.
Touching signals unit 402 is detected, for detecting the touching signals for acting on the touch screen of intelligent terminal.
Alarm clock function unit 403 is closed, if closing alarm clock function for detecting the touching signals of long-pressing screen.
Starting nap functional unit 404, if for detecting the touching signals of sliding screen, starting nap function.
To sum up, the intelligent terminal of the embodiment of the present invention, user do not need to see the alarm clock menu of touch-screen user interface
The operation of control alarm clock is completed, the operation that the embodiment of the present invention controls alarm clock is relatively convenient, and gesture motion is simple, user experience
Good, the operating time is short, can save electric energy.
Referring to FIG. 8, the structure box of another embodiment of its gesture control intelligent terminal provided in an embodiment of the present invention
Figure.The present embodiment be on the basis of a upper terminal embodiment, mainly increase starting nap function after by setting when
Between length be again introduced into the detection contents such as touching signals.The intelligent terminal includes:
Start alarm clock function unit 401, for reaching the preset alarm clock moment, starts alarm clock function;
Touching signals unit 402 is detected, for detecting the touching signals for acting on the touch screen of intelligent terminal;
Alarm clock function unit 403 is closed, if closing alarm clock function for detecting the touching signals of long-pressing screen;
Starting nap functional unit 404, if for detecting the touching signals of sliding screen, starting nap function.
Preferably, alarm clock function unit 403 is closed, if long temporally more than or equal to preset time threshold specifically for detecting
The trigger signal of the long-pressing screen of value closes alarm clock function.
Preferably, preset time threshold value is 2 seconds.
Preferably, starting nap functional unit 404, if specifically for detecting that sliding distance is more than or equal to preset distance threshold
The trigger signal of the sliding screen of value, starting nap function.
Preferably, preset distance threshold value is 3 centimetres.
Preferably, starting nap functional unit 404, if the touching signals specifically for detecting sliding screen, pause are worked as
Preceding alarm clock function, setting are again started up alarm clock function elapsed time length.
Preferably, further includes: be again started up alarm clock function unit 406, when for by time span, be again started up alarm clock
Function.
Preferably, further includes: preset alarm clock moment unit 405, for presetting the alarm clock moment.
Preferably, start alarm clock function, comprising: the tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
To sum up, the intelligent terminal of the embodiment of the present invention closes alarm clock function when the touching signals for detecting long-pressing screen;
When intelligent terminal detects the touching signals of sliding screen, starting nap function;Starting take a nap function after, by setting when
Between length when, be again started up alarm clock function, thus be again introduced into detection touching signals process.User does not need to see that touch screen is used
The operation of control alarm clock can be completed in the alarm clock menu at family interface, and the operation that the embodiment of the present invention controls alarm clock is relatively convenient, hand
Gesture movement is simple, and user experience is good, and the operating time is short, can save electric energy.
The present embodiment is mainly to increase on the basis of a upper terminal embodiment by closing alarm clock function unit 403
The touching signals of long-pressing screen are first detected, then, starting nap functional unit 404 is detected again in touching signals of sliding screen etc.
Hold.The intelligent terminal includes:
Start alarm clock function unit 401, for reaching the preset alarm clock moment, starts alarm clock function;
Touching signals unit 402 is detected, for detecting the touching signals for acting on the touch screen of intelligent terminal;
Alarm clock function unit 403 is closed, if closing alarm clock function for detecting the touching signals of long-pressing screen;
Starting nap functional unit 404, if for detecting the touching signals of sliding screen, starting nap function.
Preferably, alarm clock function unit 403 is closed, specifically for judging whether to detect the touching signals of long-pressing screen,
If so, closing alarm clock function, otherwise, detection instruction is sent to starting nap functional unit 404.
Starting nap functional unit 404, specifically for receiving the detection instruction closing alarm clock function unit 403 and sending
When, judge whether the touching signals for detecting sliding screen, if so, starting nap function.
Preferably, alarm clock function unit is closed, if long temporally more than or equal to preset time threshold value specifically for detecting
Long-pressing screen trigger signal, close alarm clock function.
Preferably, preset time threshold value is 2 seconds.
Preferably, starting nap functional unit 404, if specifically for detecting that sliding distance is more than or equal to preset distance threshold
The trigger signal of the sliding screen of value, starting nap function.
Preferably, preset distance threshold value is 3 centimetres.
Preferably, starting nap functional unit 404, if the touching signals specifically for detecting sliding screen, pause are worked as
Preceding alarm clock function, setting are again started up alarm clock function elapsed time length.
Preferably, further includes: be again started up alarm clock function unit 406, when for by time span, be again started up alarm clock
Function.
Preferably, further includes: preset alarm clock moment unit 405, for presetting the alarm clock moment.
Preferably, start alarm clock function, comprising: the tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
To sum up, the intelligent terminal of the embodiment of the present invention, by first judging whether to detect the touching signals of long-pressing screen, after
The method for judging whether to detect the touching signals of sliding screen, solves the touching signals and cunning for being detected simultaneously by long-pressing screen
The special circumstances of the touching signals of dynamic screen.User does not need to see that the alarm clock menu of touch-screen user interface can be completed control and make a noise
The operation of clock, the operation that the embodiment of the present invention controls alarm clock is relatively convenient, and gesture motion is simple, and user experience is good, the operating time
It is short, electric energy can be saved.
The embodiment of the present invention also provides a kind of intelligent terminal, comprising: touch screen, memory, one or more than one
Processor and one or more than one program;Wherein, one or more than one program are stored in memory, and
It is configured by one that perhaps more than one processor executes one or more than one program includes for performing the following operation
Instruction:
The preset alarm clock moment is reached, alarm clock function is started;
Detection acts on the touching signals of the touch screen of intelligent terminal;
If detecting the touching signals of long-pressing screen, alarm clock function is closed;
If detecting the touching signals of sliding screen, starting nap function.
Preferably, if detecting the touching signals of long-pressing screen, alarm clock function is closed, comprising:
If detecting long temporally more than or equal to the trigger signal of the long-pressing screen of preset time threshold value, closing alarm clock function
Energy.
Preferably, preset time threshold value is 2 seconds.
Preferably, if detecting the touching signals of sliding screen, starting nap function, comprising: if detecting sliding distance
More than or equal to the trigger signal of the sliding screen of preset distance threshold value, starting nap function.
Preferably, preset distance threshold value is 3 centimetres.
Preferably, starting nap function, comprising: suspend current alarm clock function, setting is again started up alarm clock function process
Time span.
Preferably, also comprising the instruction for performing the following operation: when passing through time span, being again started up alarm clock function.
Preferably, if detecting the touching signals of long-pressing screen, alarm clock function is closed, if detecting the touch-control of sliding screen
Signal, starting nap function, comprising:
Judge whether to detect the touching signals of long-pressing screen, if so, alarm clock function is closed, otherwise, it is determined whether inspection
The touching signals of sliding screen are measured, if so, starting nap function.
Preferably, also comprising the instruction for performing the following operation: presetting the alarm clock moment.
Preferably, start alarm clock function, comprising: the tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
To sum up, the terminal of the embodiment of the present invention, user do not need to see that the alarm clock menu of touch-screen user interface can be completed
The operation of alarm clock is controlled, the operation that the embodiment of the present invention controls alarm clock is relatively convenient, and gesture motion is simple, and user experience is good, behaviour
It is short to make the time, can save electric energy.
The embodiment of the present invention also provides a kind of computer readable storage medium, which can be assembly
It also can be storage medium that is self-existent and being not loaded into terminal to the storage medium of above-mentioned intelligent terminal.This is computer-readable
Storage medium be stored with one perhaps more than one program one or more than one program by one or more than one place
The method that reason device is used to execute a gesture control alarm clock, this method comprises:
The preset alarm clock moment is reached, alarm clock function is started;
Detection acts on the touching signals of the touch screen of intelligent terminal;
If detecting the touching signals of long-pressing screen, alarm clock function is closed;
If detecting the touching signals of sliding screen, starting nap function.
Preferably, if detecting the touching signals of long-pressing screen, alarm clock function is closed, comprising: if detecting length temporally
More than or equal to the trigger signal of the long-pressing screen of preset time threshold value, alarm clock function is closed.
Preferably, preset time threshold value is 2 seconds.
Preferably, if detecting the touching signals of sliding screen, starting nap function, comprising: if detecting sliding distance
More than or equal to the trigger signal of the sliding screen of preset distance threshold value, starting nap function.
Preferably, preset distance threshold value is 3 centimetres.
Preferably, starting nap function, comprising: suspend current alarm clock function, setting is again started up alarm clock function process
Time span.
Preferably, after starting nap function, further includes: when passing through time span, be again started up alarm clock function.
Preferably, if detecting the touching signals of long-pressing screen, alarm clock function is closed;If detecting the touch-control of sliding screen
Signal, starting nap function, comprising:
Judge whether to detect the touching signals of long-pressing screen, if so, alarm clock function is closed, otherwise, it is determined whether inspection
The touching signals of sliding screen are measured, if so, starting nap function.
Preferably, the preset alarm clock moment is reached, before starting alarm clock function, further includes: preset the alarm clock moment.
Preferably, start alarm clock function, comprising: the tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
To sum up, the computer readable storage medium of the embodiment of the present invention, user do not need to see the noisy of touch-screen user interface
The operation of control alarm clock can be completed in clock menu, and the operation that the embodiment of the present invention controls alarm clock is relatively convenient, and gesture motion is simple,
User experience is good, and the operating time is short, can save electric energy.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, which can store in a computer-readable storage medium
In matter, storage medium may include memory, disk or CD etc..
The above is only a preferred embodiment of the present invention, for those of ordinary skill in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention
Limitation.
Claims (16)
1. a kind of method of gesture control alarm clock characterized by comprising
The preset alarm clock moment is reached, alarm clock function is started;
Detection acts on the touching signals of the touch screen of intelligent terminal;
If detecting the touching signals of long-pressing screen, alarm clock function is closed;
If detecting the touching signals of sliding screen, starting nap function;
Wherein, if the touching signals for detecting long-pressing screen, alarm clock function is closed, comprising:
If detecting long temporally more than or equal to the trigger signal of the long-pressing screen of preset time threshold value, closing alarm clock function;Institute
Stating preset time threshold value is the default time set when intelligent terminal factory, or is preset by user;
The starting nap function includes: the current alarm clock function of pause, and setting is again started up alarm clock function elapsed time length,
And improve ringing volume when being again started up alarm clock function.
2. the method according to claim 1, wherein the preset time threshold value is 2 seconds.
3. if the method according to claim 1, wherein the touching signals for detecting sliding screen, starting
Nap function, comprising:
If detecting, sliding distance is more than or equal to the trigger signal of the sliding screen of preset distance threshold value, starting nap function.
4. according to the method described in claim 3, it is characterized in that, the preset distance threshold value is 3 centimetres.
5. the method according to claim 1, wherein after starting nap function, further includes:
When by the time span, it is again started up alarm clock function.
6. according to the method described in claim 1, it is characterized by:
If the touching signals for detecting long-pressing screen, alarm clock function is closed, if detecting the touching signals of sliding screen, is opened
Dynamic nap function, comprising:
Judge whether to detect the touching signals of long-pressing screen, if so, alarm clock function is closed, otherwise, it is determined whether detecting
The touching signals of screen are slided, if so, starting nap function.
7. starting alarm clock function the method according to claim 1, wherein described reach the preset alarm clock moment
Before, further includes:
Preset the alarm clock moment.
8. according to claim 1 to method described in 7 any one, which is characterized in that the starting alarm clock function, comprising:
The tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
9. a kind of intelligent terminal of gesture control alarm clock characterized by comprising
Start alarm clock function unit, for reaching the preset alarm clock moment, starts alarm clock function;
Touching signals unit is detected, for detecting the touching signals for acting on the touch screen of intelligent terminal;
Alarm clock function unit is closed, if closing alarm clock function for detecting the touching signals of long-pressing screen;
Starting nap functional unit, if for detecting the touching signals of sliding screen, starting nap function;
Wherein, the closing alarm clock function unit, if long temporally more than or equal to preset time threshold value specifically for detecting
The trigger signal of long-pressing screen closes alarm clock function;The preset time threshold value is set silent when dispatching from the factory for the intelligent terminal
Recognize the time, or is preset by user;
The starting nap functional unit, if the touching signals specifically for detecting sliding screen, suspend current alarm clock function,
Setting is again started up alarm clock function elapsed time length, and improves ringing volume when being again started up alarm clock function.
10. intelligent terminal according to claim 9, which is characterized in that the preset time threshold value is 2 seconds.
11. intelligent terminal according to claim 9, it is characterised in that:
The starting nap functional unit, if specifically for detecting that sliding distance is more than or equal to the sliding screen of preset distance threshold value
The trigger signal of curtain, starting nap function.
12. intelligent terminal according to claim 11, which is characterized in that the preset distance threshold value is 3 centimetres.
13. intelligent terminal according to claim 9, which is characterized in that further include:
It is again started up alarm clock function unit, when for by the time span, is again started up alarm clock function.
14. intelligent terminal according to claim 9, it is characterised in that:
The closing alarm clock function unit, specifically for judging whether to detect the touching signals of long-pressing screen, if so, closing
Otherwise alarm clock function sends detection instruction to starting nap functional unit;
The starting nap functional unit, when specifically for receiving the detection instruction for closing the transmission of alarm clock function unit, judgement
Whether the touching signals of sliding screen are detected, if so, starting nap function.
15. intelligent terminal according to claim 9, which is characterized in that further include:
Preset alarm clock moment unit, for presetting the alarm clock moment.
16. according to intelligent terminal described in claim 9 to 15 any one, which is characterized in that the starting alarm clock function, packet
It includes:
The tinkle of bells and/or the vibration of alarm clock calling are played the role of in starting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310125185.4A CN104102444B (en) | 2013-04-11 | 2013-04-11 | The method and intelligent terminal of gesture control alarm clock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310125185.4A CN104102444B (en) | 2013-04-11 | 2013-04-11 | The method and intelligent terminal of gesture control alarm clock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104102444A CN104102444A (en) | 2014-10-15 |
CN104102444B true CN104102444B (en) | 2019-03-15 |
Family
ID=51670627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310125185.4A Active CN104102444B (en) | 2013-04-11 | 2013-04-11 | The method and intelligent terminal of gesture control alarm clock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104102444B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104639758B (en) * | 2015-02-12 | 2018-03-16 | 广东欧珀移动通信有限公司 | Alarm clock control method and alarm clock control device applied to intelligent terminal |
CN104991714A (en) * | 2015-06-16 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Mobile equipment and alarm control method of same |
CN105446124B (en) * | 2015-11-19 | 2018-12-21 | 魅族科技(中国)有限公司 | A kind of method and terminal controlling alarm clock |
CN105653158A (en) * | 2016-01-28 | 2016-06-08 | 宇龙计算机通信科技(深圳)有限公司 | Alarm delay control method and terminal |
CN107346203A (en) * | 2016-05-05 | 2017-11-14 | 中兴通讯股份有限公司 | A kind of terminal and the method for controlling terminal alarm clock |
CN106339162A (en) * | 2016-08-30 | 2017-01-18 | 上海斐讯数据通信技术有限公司 | Method for controlling flashlight application in lock screen state and device thereof |
CN106534561B (en) * | 2016-11-28 | 2019-07-16 | Oppo广东移动通信有限公司 | Creation method, device and the mobile terminal of quarter-bell |
CN107193477B (en) * | 2017-05-19 | 2021-01-05 | 努比亚技术有限公司 | Alarm clock misoperation prevention method, mobile terminal and computer readable medium |
CN107589896A (en) * | 2017-09-05 | 2018-01-16 | 广东欧珀移动通信有限公司 | Control method, device and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101295165A (en) * | 2007-04-23 | 2008-10-29 | 联发科技股份有限公司 | Methods and systems for controlling alarm clocks |
CN101736801A (en) * | 2008-11-07 | 2010-06-16 | 张琦 | Washdown type ground folding toilet |
CN101883173A (en) * | 2009-05-07 | 2010-11-10 | 义隆电子股份有限公司 | Control method of mobile phone |
CN102404455A (en) * | 2011-11-18 | 2012-04-04 | 广东步步高电子工业有限公司 | Alarm clock control method and system |
CN102637106A (en) * | 2011-02-15 | 2012-08-15 | 鸿富锦精密工业(深圳)有限公司 | Alarm clock interface releasing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101538705B1 (en) * | 2009-01-29 | 2015-07-22 | 삼성전자주식회사 | System and method for controlling function of portable terminal |
-
2013
- 2013-04-11 CN CN201310125185.4A patent/CN104102444B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101295165A (en) * | 2007-04-23 | 2008-10-29 | 联发科技股份有限公司 | Methods and systems for controlling alarm clocks |
CN101736801A (en) * | 2008-11-07 | 2010-06-16 | 张琦 | Washdown type ground folding toilet |
CN101883173A (en) * | 2009-05-07 | 2010-11-10 | 义隆电子股份有限公司 | Control method of mobile phone |
CN102637106A (en) * | 2011-02-15 | 2012-08-15 | 鸿富锦精密工业(深圳)有限公司 | Alarm clock interface releasing method |
CN102404455A (en) * | 2011-11-18 | 2012-04-04 | 广东步步高电子工业有限公司 | Alarm clock control method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104102444A (en) | 2014-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104102444B (en) | The method and intelligent terminal of gesture control alarm clock | |
EP2703945B1 (en) | An apparatus and method for waking up a processor | |
CN105549813B (en) | A kind of method for controlling mobile terminal and mobile terminal | |
Serrano et al. | Bezel-Tap gestures: quick activation of commands from sleep mode on tablets | |
US10146356B2 (en) | Method for controlling state of touch screen, touch screen, and portable touch terminal | |
CN109313519A (en) | Electronic equipment including force snesor | |
WO2015062504A1 (en) | Power consumption control method and terminal | |
CN106998393B (en) | Video playing control method, mobile terminal and computer readable storage medium | |
EP2840462A1 (en) | Method and apparatus for saving battery of portable terminal | |
CN106485124B (en) | Operation control method of mobile terminal and mobile terminal | |
AU2016203222A1 (en) | Touch-sensitive button with two levels | |
WO2018223395A1 (en) | Management method and apparatus for wearable smart device | |
WO2016165066A1 (en) | Gesture control method, device, terminal apparatus and storage medium | |
KR20160014481A (en) | Device Operated on Idle Mode and Method thereof | |
CN104461327B (en) | A kind of information processing method and electronic equipment | |
CN103067784A (en) | Virtual key pressing method based on touch screen television and television | |
CN102724362B (en) | Mobile terminal alarm control system and method | |
CN103853481A (en) | Method and system for simulating touch screen mobile terminal keys | |
CN102857632A (en) | Alarm clock control method, device and terminal | |
CN105009028A (en) | Method for controlling terminal device, and wearable electronic device | |
CN107277211A (en) | Control method, device, mobile terminal and storage medium that screen wakes up | |
CN103500052A (en) | Touch assistant system and achieving method of touch assistant system | |
CN103577096B (en) | Mobile terminal apparatus, operating method, program and storage medium | |
CN108932116A (en) | The adjusting method and device of volume | |
WO2019047412A1 (en) | Menu management method and apparatus, multimedia touch control device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |