CN103365419B - A kind of method and apparatus triggering alarm clock control command - Google Patents

A kind of method and apparatus triggering alarm clock control command Download PDF

Info

Publication number
CN103365419B
CN103365419B CN201310290022.1A CN201310290022A CN103365419B CN 103365419 B CN103365419 B CN 103365419B CN 201310290022 A CN201310290022 A CN 201310290022A CN 103365419 B CN103365419 B CN 103365419B
Authority
CN
China
Prior art keywords
mobile terminal
alarm clock
described
described mobile
control command
Prior art date
Application number
CN201310290022.1A
Other languages
Chinese (zh)
Other versions
CN103365419A (en
Inventor
詹远
吴鸣
王琪
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201310290022.1A priority Critical patent/CN103365419B/en
Publication of CN103365419A publication Critical patent/CN103365419A/en
Application granted granted Critical
Publication of CN103365419B publication Critical patent/CN103365419B/en

Links

Abstract

The invention discloses a kind of method and apparatus triggering alarm clock control command, belong to field of computer technology.Described method is applied to the mobile terminal with alarm clock function, including: obtain the initial state information of described mobile terminal;In the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, trigger alarm clock control command.Adopt the present invention, it is possible to improve operating accuracy when alarm clock is controlled.

Description

A kind of method and apparatus triggering alarm clock control command

Technical field

The present invention relates to field of computer technology, particularly to a kind of method and apparatus triggering alarm clock control command.

Background technology

Along with the fast development of computer technology and communication technology, the mobile terminal such as mobile phone, panel computer obtains at full speed popularizing, and has even had become as one of requisite instrument in people's daily life.The function of mobile terminal very abundant, wherein, alarm clock function is a kind of very conventional function.

When alarm clock is controlled, the mode being generally adopted button triggers alarm clock control command, for instance, by button, alarm clock postponed (suspend current alarm clock task, after a preset duration again sounding) or cancel (terminating current alarm clock task).

In the process realizing the present invention, inventor have found that above-mentioned technology at least there is problems in that

In above-mentioned technology, the mode of button is adopted to trigger alarm clock control command.But, when common people are waken by alarm clock, brain can be in unalive state; the mode often adopting touch estimates the position of button, then carries out the operation of click keys, so; being likely to the location estimation mistake to button, this will cause that probability maloperation occur is very big.

Summary of the invention

In order to solve the problem of above-mentioned technology, embodiments provide a kind of method and apparatus triggering alarm clock control command, to improve operating accuracy when alarm clock is controlled.Described technical scheme is as follows:

On the one hand, it is provided that a kind of method triggering alarm clock control command, being applied to the mobile terminal with alarm clock function, described method includes:

Obtain the initial state information of described mobile terminal;

In the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, trigger alarm clock control command.

On the other hand, it is provided that a kind of device triggering alarm clock control command, being applied to the mobile terminal with alarm clock function, described device includes:

Acquisition module, for obtaining the initial state information of described mobile terminal;

Trigger module, in the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, triggers alarm clock control command.

The technical scheme that the embodiment of the present invention provides has the benefit that

In the embodiment of the present invention, obtain the initial state information of mobile terminal, then, in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of initial state information, trigger alarm clock control command, so, user has only to take mobile terminal, just can pass through to change its attitude (such as upset etc.) and trigger corresponding alarm clock control command, without the position searching mobile terminal key, reduce the probability that maloperation occurs, it is thus possible to improve operating accuracy when alarm clock is controlled.

Accompanying drawing explanation

In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.

Fig. 1 is the method flow diagram of the triggering alarm clock control command that the embodiment of the present invention provides;

Fig. 2 is the apparatus structure schematic diagram of the triggering alarm clock control command that the embodiment of the present invention provides;

Fig. 3 is the structural representation of the mobile terminal that the embodiment of the present invention provides.

Detailed description of the invention

For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.

Embodiment one

Embodiments providing a kind of method triggering alarm clock control command, be applied to the mobile terminal with alarm clock function, the handling process of the method can as it is shown in figure 1, comprise the following steps that

Step 101, obtains the initial state information of mobile terminal.

Step 102, in the process of alarm clock prompting, according to the attitude information of the mobile terminal situation of change relative to initial state information, triggers alarm clock control command.

In the embodiment of the present invention, obtain the initial state information of mobile terminal, then, in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of initial state information, trigger alarm clock control command, so, user has only to take mobile terminal, just can pass through to change its attitude (such as upset etc.) and trigger corresponding alarm clock control command, without the position searching mobile terminal key, reduce the probability that maloperation occurs, it is thus possible to improve operating accuracy when alarm clock is controlled.

Embodiment two

Embodiments providing a kind of method triggering alarm clock control command, the method can apply to the mobile terminal with alarm clock function, for instance, mobile phone or the panel computer etc. of alarm clock application are installed.The executive agent of the method can be that this has the mobile terminal of alarm clock function.

Below in conjunction with implementation process, the handling process shown in Fig. 1 being described in detail, content can be as follows.

Step 101, obtains the initial state information of mobile terminal.

The attitude information of mobile terminal could be for representing the information of the placed angle of mobile terminal, it is possible to includes the direction of at least one axle in three axles of mobile terminal.Mobile terminal can detect its attitude information by built-in gyroscope.

Three axles of mobile terminal can be remaining unchanged with mobile terminal relative angle of pre-setting and orthogonal three oriented axles (three ray) between two.Three axles of mobile terminal can include a axle, b axle, c-axis.Preferably, three axles of mobile terminal can be respectively set to: a axle can be through the oriented axle (can arrange a axle and point to the right side (or left side) of mobile terminal) of symmetrical two laid respectively on mobile terminal two side, b axle can be the oriented axle (can arrange b axle point to mobile terminal screen outside (or inner side)) vertical with mobile terminal screen, and c-axis is through the oriented axle (can arrange c-axis and point to the end face (or bottom surface) of mobile terminal) of symmetrical two laid respectively on mobile terminal end face and bottom surface.Intersecting at a point furthermore it is possible to arrange three axles, intersection point could be arranged to the geometric center of gravity of mobile terminal.

The direction of axle can be, when mobile terminal is in certain attitude, this direction pointed by oriented axle, this direction can be represented with the angle of each coordinate axes in default three-dimensional coordinate system by this oriented axle, and the transverse axis of this three-dimensional coordinate system can be parallel with parallel, and direction can be eastwards, the longitudinal axis can be parallel with warp, direction can northwards, and vertical pivot can be parallel with plumb line, and direction can be upwards.

The initial state information of mobile terminal is the attitude information as benchmark obtained before the attitude information situation of change of detection mobile terminal, can including the direction of at least one axle in three axles of this mobile terminal, the direction of initial state information axis can be called the inceptive direction of axle.

In force, the operation of the initial state information of mobile terminal is obtained, it is possible to carried out before starting alarm clock prompting, it is also possible to carry out when starting alarm clock prompting, it is also possible to the attitude information of mobile terminal carries out when not changing after starting alarm clock prompting.

Wherein, alarm clock prompting is the alarm clock function operation in the cue (such as the tinkle of bells, vibrations etc.) of the prompt time output alarm clock set of mobile terminal.

Step 102, in the process of alarm clock prompting, according to the attitude information of the mobile terminal situation of change relative to initial state information, triggers alarm clock control command.

Wherein, the process of the cue of the process of alarm clock prompting and mobile terminal output alarm clock.Alarm clock control command can be the instruction arbitrarily alarm clock being controlled, it is preferred that alarm clock control command can be that alarm clock cancels instruction or alarm clock delay instruction etc..Instruction cancelled by alarm clock can be the control instruction terminating current alarm clock task.The control instruction of alarm clock prompting is restarted in alarm clock delay instruction after could be for suspending current alarm clock task and indicating one, mobile terminal interval preset duration.

In force, in the process of alarm clock prompting, mobile terminal can obtain its attitude information according to certain cycle, and the attitude information of acquisition and initial state information are compared, determine the attitude information situation of change relative to initial state information, if situation of change meets default trigger condition, then trigger corresponding alarm clock control command.This trigger condition can arbitrarily be arranged according to the actual requirements.

Above-mentioned attitude information is included to the direction of at least one axle in three axles of mobile terminal, initial state information includes the situation of the inceptive direction of at least one axle in three axles of mobile terminal, preferably, the processing procedure of step 102 can be such that in the process of alarm clock prompting, if the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset in three axles of mobile terminal, then trigger the first alarm clock control command.

The angle of the current direction of certain axle and this axle inceptive direction, the angle that namely this axle rotates relative to its inceptive direction.Generally, the mode that user mobile phone is placed can be screen horizontal positioned up or down, upset mobile phone or horizontally rotate mobile phone at least one axle in three axles can be made to rotate a certain angle relative to the inceptive direction of this axle.Can arrange the first angle threshold is 180 ° interior certain value (such as 100 °), and so, operation mobile terminal being overturn or horizontally rotating just can trigger the first alarm clock control command.

Preferably, this axle can be perpendicular to the axle of the screen of mobile terminal.That is, three axles of mobile terminal reach the first angle threshold preset at least perpendicular to the direction of axle of the screen of mobile terminal and the angle of its inceptive direction, then trigger the first alarm clock control command.So, the operation at least mobile terminal overturn, just can trigger the first alarm clock control command.Wherein, the first alarm clock control command can be preferably alarm clock cancellation instruction.

In the embodiment of the present invention, in the process of alarm clock prompting, it is also possible to (for example, it is possible to according to position of default cycle detection mobile terminal) is detected in the position of mobile terminal, according to the situation of change of the position of mobile terminal and attitude, the triggering of alarm clock control command can be together decided on.Accordingly, the process of step 102 may is that in the process of alarm clock prompting, if the position of mobile terminal changes, and the position of mobile terminal stop change laggard enter resting state reach preset duration time, in three axles of mobile terminal, the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset, then trigger the first alarm clock control command.

When alarm clock prompting starts, it is possible to obtain the position of mobile terminal according to the default cycle, this cycle can be identical with the cycle obtaining attitude information, namely obtains the information of position while obtaining attitude information.After user hears alarm clock prompting, mobile terminal can be picked up and see clock, at this moment, the position of mobile terminal can change, after user finishes watching clock, mobile terminal can be put back to original position or be placed on other position, put down rear mobile terminal and then enter resting state, (can arrange according to the actual requirements when resting state reaches preset duration, such as 3 seconds) time, then carry out the judgement of attitude information situation of change, for instance, if now mobile terminal there occurs upset relative to initial attitude, then trigger the first alarm clock control command.

Visible, based on above-mentioned process, mobile terminal can first be picked up by user, after carrying out overturning or rotate, then puts down, to trigger corresponding first alarm clock control command.

It addition, corresponding with above-mentioned first alarm clock control command, it is possible to adopt other trigger condition to trigger the second alarm clock control command.Accordingly, the process of step 102 can also include: in the process of alarm clock prompting, if the position of mobile terminal changes, and the position of mobile terminal stop change laggard enter resting state reach preset duration time, the direction of an axle at least the above in three axles of mobile terminal and the angle of its inceptive direction not up to the second default angle threshold, then trigger the second alarm clock control command.Wherein, the second angle threshold can be identical with the first angle threshold, it is also possible to different.Second angle threshold can arbitrarily be arranged according to the actual requirements, such as 60 degree.

The triggering of the second alarm clock control command and the triggering of the first alarm clock control command, similar in the judgement of position change procedure, it is possible to reference to above description, to be different in that on the multilevel iudge to attitude information.The direction of an axle at least the above in three axles of mobile terminal and the angle of its inceptive direction are not up to the second default angle threshold, can be, this axle does not rotate or have rotated less angle relative to its inceptive direction, can also be that the relatively respective inceptive direction of three axles of mobile terminal does not all rotate or have rotated less angle.

Visible, based on above-mentioned process, mobile terminal can be picked up by user, does not carry out overturning or rotating and put down, to trigger corresponding second alarm clock control command.

Preferably, when an above-mentioned axle is perpendicular to the axle of screen of mobile terminal, in the process of alarm clock prompting, if the position of mobile terminal changes, and the position of mobile terminal stop change laggard enter resting state reach preset duration time, at least perpendicular to the direction of axle of the screen of mobile terminal and the angle of its inceptive direction not up to the second default angle threshold in three axles of mobile terminal, then trigger the second alarm clock control command.So, mobile terminal, being picked up in the process put down by mobile terminal, is not overturn by user, just can trigger the second alarm clock control command.In conjunction with the triggering of the first alarm clock control command, mobile terminal is being picked up in the process put down by user, if terminal has been overturn, then can trigger the first alarm clock control command, if mobile terminal is not overturn, then can trigger the second alarm clock control command.

Preferably, the first alarm clock control command can be that instruction cancelled by alarm clock, and the second alarm clock control command can be alarm clock delay instruction.

In the embodiment of the present invention, in order to prevent false triggering control instruction, when arranging the trigger condition of alarm clock control command, it is also possible to arrange the requirement of the shift length to mobile terminal.Accordingly, the initial position (position can record with coordinate) of mobile terminal can also be obtained before performing step 102;The position of the mobile terminal in above-mentioned process changes, it may be preferred to for: the position of mobile terminal changes, and in the process of change in location, the position of mobile terminal exceedes default distance threshold relative to the maximum displacement of initial position.This distance threshold can arbitrarily be arranged according to the actual requirements, such as 30 centimetres etc..

After mobile terminal is picked up by user, it is possible to put back to original position, it is also possible to be put into other position, the position of maximum displacement is probably the position that mobile terminal is laid down, it is also possible to mobile terminal some position in moving process.By above-mentioned setting, see that for user the clock of mobile terminal creates condition, it is possible to clock directly operates triggering alarm clock and cancels instruction or alarm clock delay instruction etc. to prevent user from not seeing to a certain extent.

In the embodiment of the present invention, obtain the initial state information of mobile terminal, then, in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of initial state information, trigger alarm clock control command, so, user has only to take mobile terminal, just can pass through to change its attitude (such as upset etc.) and trigger corresponding alarm clock control command, without the position searching mobile terminal key, reduce the probability that maloperation occurs, it is thus possible to improve operating accuracy when alarm clock is controlled.

Embodiment three

Based on identical technology design, the embodiment of the present invention additionally provides a kind of device triggering alarm clock control command, is applied to the mobile terminal with alarm clock function, as in figure 2 it is shown, described device includes:

Acquisition module 210, for obtaining the initial state information of described mobile terminal;

Trigger module 220, in the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, triggers alarm clock control command.

Preferably, described initial state information, including: the inceptive direction of at least one axle in three axles of described mobile terminal;

Described trigger module 220, is used for:

In the process of alarm clock prompting, if the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset in three axles of described mobile terminal, then trigger the first alarm clock control command.

Preferably, described first alarm clock control command is that instruction cancelled by alarm clock.

Preferably, described trigger module 220, it is used for:

In the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, in three axles of described mobile terminal, the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset, then trigger the first alarm clock control command.

Preferably, described trigger module 220, it is additionally operable to:

In the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, in three axles of described mobile terminal, at least the direction of one axle and the angle of its inceptive direction not up to the second default angle threshold, then trigger the second alarm clock control command.

Preferably, one axle is the axle of the screen being perpendicular to described mobile terminal.

Preferably, described acquisition module 210, it is used for: obtain the initial position of described mobile terminal;

The position of described mobile terminal changes, including: the position of described mobile terminal changes, and in the process of change in location, the position of described mobile terminal exceedes default distance threshold relative to the maximum displacement of described initial position.

Preferably, described second alarm clock control command is alarm clock delay instruction.

In the embodiment of the present invention, obtain the initial state information of mobile terminal, then, in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of initial state information, trigger alarm clock control command, so, user has only to take mobile terminal, just can pass through to change its attitude (such as upset etc.) and trigger corresponding alarm clock control command, without the position searching mobile terminal key, reduce the probability that maloperation occurs, it is thus possible to improve operating accuracy when alarm clock is controlled.

Embodiment four

Refer to Fig. 3, it illustrates the mobile terminal structure schematic diagram with Touch sensitive surface involved by the embodiment of the present invention, this mobile terminal may be used for the control method by sliding implementing to provide in above-described embodiment.Specifically:

Mobile terminal 700 can include RF(RadioFrequency, radio frequency) circuit 110, include the memorizer 120 of one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wirelessfidelity, Wireless Fidelity) module 170, include the parts such as processor 180 and power supply 190 of or more than one process core.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 3 is not intended that the restriction to mobile terminal, it is possible to include ratio and illustrate more or less of parts, or combine some parts, or different parts are arranged.Wherein:

RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfers to one or more than one processor 180 processes;It addition, be sent to base station by relating to up data.Generally, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA(LowNoiseAmplifier, low-noise amplifier), duplexer etc..Communicate additionally, RF circuit 110 can also pass through radio communication with network and other equipment.nullDescribed radio communication can use arbitrary communication standard or agreement,Include but not limited to GSM (GlobalSystemofMobilecommunication,Global system for mobile communications)、GPRS(GeneralPacketRadioService,General packet radio service)、CDMA(CodeDivisionMultipleAccess,CDMA)、WCDMA(WidebandCodeDivisionMultipleAccess,WCDMA)、LTE(LongTermEvolution,Long Term Evolution)、Email、SMS(ShortMessagingService,Short Message Service) etc..

Memorizer 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memorizer 120 by running, thus performing the application of various function and data process.Memorizer 120 can mainly include storage program area and storage data field, and wherein, storage program area can store the application program (such as sound-playing function, image player function etc.) etc. needed for operating system, at least one function;Storage data field can store the data (such as voice data, phone directory etc.) etc. that the use according to mobile terminal 700 creates.Additionally, memorizer 120 can include high-speed random access memory, it is also possible to include nonvolatile memory, for instance at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 120 can also include Memory Controller, to provide processor 180 and the input block 130 access to memorizer 120.

Input block 130 can be used for receiving numeral or the character information of input, and produce the keyboard relevant with user setup and function control, mouse, action bars, optics or trace ball signal and input.Specifically, input block 130 can include Touch sensitive surface 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touching display screen or Trackpad, user can be collected thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on Touch sensitive surface 131 or near Touch sensitive surface 131), and drive corresponding connecting device according to formula set in advance.Optionally, Touch sensitive surface 131 can include touch detecting apparatus and two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 180, and can receive order that processor 180 sends and be performed.Furthermore, it is possible to adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..

Display unit 140 can be used for showing the various graphical user interface of information or the information being supplied to user and the mobile terminal 700 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can include display floater 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 141.Further, Touch sensitive surface 131 can cover display floater 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display floater 141, provide corresponding visual output with preprocessor 180 according to the type of touch event.Although in figure 3, Touch sensitive surface 131 and display floater 141 are to realize input and input function as two independent parts, but in some embodiments it is possible to by integrated to Touch sensitive surface 131 and display floater 141 and realize input and output function.

Mobile terminal 700 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate the brightness of display floater 141 according to the light and shade of ambient light, proximity transducer when mobile terminal 700 moves in one's ear, can cut out display floater 141 and/or backlight.One as motion sensor, Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions, can detect that the size of gravity and direction time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.;Other sensors such as the gyroscope that can also configure as mobile terminal 700, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.

Voicefrequency circuit 160, speaker 161, microphone 162 can provide the audio interface between user and mobile terminal 700.Voicefrequency circuit 160 can by receive voice data conversion after the signal of telecommunication, be transferred to speaker 161, by speaker 161 be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to be sent to such as another mobile terminal, or voice data is exported to memorizer 120 to process further.Voicefrequency circuit 160 is also possible that earphone jack, to provide the communication of peripheral hardware earphone and mobile terminal 700.

WiFi belongs to short range wireless transmission technology, and mobile terminal 700 can help user to send and receive e-mail by WiFi module 170, browse webpage and access streaming video etc., and it has provided the user wireless broadband internet and has accessed.Although Fig. 3 illustrates WiFi module 170, but it is understood that, it is also not belonging to must be configured into of mobile terminal 700, completely can as needed in do not change invention essence scope in and omit.

Processor 180 is the control centre of mobile terminal 700, utilize various interface and the various piece of the whole mobile phone of connection, it is stored in the software program in memorizer 120 and/or module by running or performing, and call the data being stored in memorizer 120, perform the various functions of mobile terminal 700 and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 180 can include one or more process core;Preferably, processor 180 can integrated application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 180.

Mobile terminal 700 also includes the power supply 190(such as battery powered to all parts), preferably, it is logically contiguous with processor 180 that power supply can pass through power-supply management system, realizes the functions such as management charging, electric discharge and power managed thereby through power-supply management system.Power supply 190 can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.

Although not shown, mobile terminal 700 can also include photographic head, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, mobile terminal also includes memorizer, and one or more than one program, one of them or more than one program are stored in memorizer, and are configured to be performed to state one or more than one program package containing the instruction for carrying out following operation by one or more than one processor:

Obtain the initial state information of described mobile terminal 700;

In the process of alarm clock prompting, according to the attitude information of described mobile terminal 700 situation of change relative to described initial state information, trigger alarm clock control command.

Preferably, described initial state information, including: the inceptive direction of at least one axle in three axles of described mobile terminal 700;

Described in the process of alarm clock prompting, according to the attitude information of described mobile terminal 700 situation of change relative to described initial state information, trigger alarm clock control command, including:

In the process of alarm clock prompting, if the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset in three axles of described mobile terminal 700, then trigger the first alarm clock control command.

Preferably, described first alarm clock control command is that instruction cancelled by alarm clock.

Preferably, described in the process of alarm clock prompting, if the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset in three axles of described mobile terminal 700, then trigger the first alarm clock control command, including:

In the process of alarm clock prompting, if the position of described mobile terminal 700 changes, and the position of described mobile terminal 700 stop change laggard enter resting state reach preset duration time, in three axles of described mobile terminal 700, the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset, then trigger the first alarm clock control command.

Preferably, described in the process of alarm clock prompting, according to the attitude information of described mobile terminal 700 situation of change relative to described initial state information, trigger alarm clock control command, also include:

In the process of alarm clock prompting, if the position of described mobile terminal 700 changes, and the position of described mobile terminal 700 stop change laggard enter resting state reach preset duration time, in three axles of described mobile terminal 700, at least the direction of one axle and the angle of its inceptive direction not up to the second default angle threshold, then trigger the second alarm clock control command.

Preferably, one axle is the axle of the screen being perpendicular to described mobile terminal 700.

Preferably, also include: obtain the initial position of described mobile terminal 700;

The position of described mobile terminal 700 changes, including: the position of described mobile terminal 700 changes, and in the process of change in location, the position of described mobile terminal 700 exceedes default distance threshold relative to the maximum displacement of described initial position.

Preferably, described second alarm clock control command is alarm clock delay instruction.

In the embodiment of the present invention, obtain the initial state information of mobile terminal, then, in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of initial state information, trigger alarm clock control command, so, user has only to take mobile terminal, just can pass through to change its attitude (such as upset etc.) and trigger corresponding alarm clock control command, without the position searching mobile terminal key, reduce the probability that maloperation occurs, it is thus possible to improve operating accuracy when alarm clock is controlled.

It should be understood that the device of the triggering alarm clock control command of above-described embodiment offer is when triggering alarm clock control command, only it is illustrated with the division of above-mentioned each functional module, in practical application, as desired above-mentioned functions distribution can be completed by different functional modules, it is divided into different functional modules, to complete all or part of function described above by the internal structure of device.It addition, the device of triggering alarm clock control command that above-described embodiment provides belongs to same design with the embodiment of the method for triggering alarm clock control command, it implements process and refers to embodiment of the method, repeats no more here.

The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.

One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware, can also be completed by the hardware that program carrys out instruction relevant, described program can be stored in a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or CD etc..

The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (12)

1. the method triggering alarm clock control command, is applied to the mobile terminal with alarm clock function, it is characterised in that described method includes:
Obtain the initial state information of described mobile terminal, described initial state information, including: the inceptive direction of at least one axle in three axles of described mobile terminal;
In the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, trigger alarm clock control command;
Wherein, described in the process of alarm clock prompting, attitude information according to described mobile terminal is relative to the situation of change of described initial state information, trigger alarm clock control command, including: in the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, described mobile terminal determines that in the process changed in position, in three axles, the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset, then trigger the first alarm clock control command.
2. method according to claim 1, it is characterised in that described first alarm clock control command is that instruction cancelled by alarm clock.
3. method according to claim 1, it is characterised in that described in the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, triggers alarm clock control command, also includes:
In the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, described mobile terminal determines that in the process changed in position, in three axles, at least the direction of one axle and the angle of its inceptive direction not up to the second default angle threshold, then trigger the second alarm clock control command.
4. the method according to any one of claim 1-3, it is characterised in that one axle is the axle of the screen being perpendicular to described mobile terminal.
5. the method according to claim 1 or 3, it is characterised in that also include: obtain the initial position of described mobile terminal;
The position of described mobile terminal changes, including: the position of described mobile terminal changes, and in the process of change in location, the position of described mobile terminal exceedes default distance threshold relative to the maximum displacement of described initial position.
6. method according to claim 3, it is characterised in that described second alarm clock control command is alarm clock delay instruction.
7. trigger a device for alarm clock control command, be applied to the mobile terminal with alarm clock function, it is characterised in that described device includes:
Acquisition module, for obtaining the initial state information of described mobile terminal, described initial state information, including: the inceptive direction of at least one axle in three axles of described mobile terminal;
Trigger module, in the process of alarm clock prompting, according to the attitude information of the described mobile terminal situation of change relative to described initial state information, triggers alarm clock control command;
Wherein, described trigger module, for in the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, described mobile terminal determines that in the process changed in position, in three axles, the direction of at least one axle and the angle of its inceptive direction reach the first angle threshold preset, then trigger the first alarm clock control command.
8. device according to claim 7, it is characterised in that described first alarm clock control command is that instruction cancelled by alarm clock.
9. device according to claim 7, it is characterised in that described trigger module, is additionally operable to:
In the process of alarm clock prompting, if the position of described mobile terminal changes, and the position of described mobile terminal stop change laggard enter resting state reach preset duration time, described mobile terminal determines that in the process changed in position, in three axles, at least the direction of one axle and the angle of its inceptive direction not up to the second default angle threshold, then trigger the second alarm clock control command.
10. the device according to any one of claim 7-9, it is characterised in that one axle is the axle of the screen being perpendicular to described mobile terminal.
11. the device according to claim 7 or 9, it is characterised in that described acquisition module, it is used for: obtain the initial position of described mobile terminal;
The position of described mobile terminal changes, including: the position of described mobile terminal changes, and in the process of change in location, the position of described mobile terminal exceedes default distance threshold relative to the maximum displacement of described initial position.
12. device according to claim 9, it is characterised in that described second alarm clock control command is alarm clock delay instruction.
CN201310290022.1A 2013-07-11 2013-07-11 A kind of method and apparatus triggering alarm clock control command CN103365419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310290022.1A CN103365419B (en) 2013-07-11 2013-07-11 A kind of method and apparatus triggering alarm clock control command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310290022.1A CN103365419B (en) 2013-07-11 2013-07-11 A kind of method and apparatus triggering alarm clock control command

Publications (2)

Publication Number Publication Date
CN103365419A CN103365419A (en) 2013-10-23
CN103365419B true CN103365419B (en) 2016-07-06

Family

ID=49366942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310290022.1A CN103365419B (en) 2013-07-11 2013-07-11 A kind of method and apparatus triggering alarm clock control command

Country Status (1)

Country Link
CN (1) CN103365419B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9462113B2 (en) * 2014-06-18 2016-10-04 Htc Corporation Methods and systems for alarm management in an electronic device
CN104932244B (en) * 2015-04-15 2018-11-27 广东欧珀移动通信有限公司 Alarm clock control method and device based on handheld device
CN104917879B (en) * 2015-04-27 2018-02-02 努比亚技术有限公司 A kind of method, device and mobile terminal for cancelling alarm clock calling
CN105045382B (en) * 2015-06-17 2018-01-26 广东欧珀移动通信有限公司 The method and device that a kind of quarter-bell on mobile device is controlled
CN104869260B (en) * 2015-06-19 2017-09-01 上海斐讯数据通信技术有限公司 A kind of method and system of turning-off mobile terminal alarm clock
CN104954577B (en) * 2015-06-26 2017-12-22 上海卓易科技股份有限公司 The method and apparatus that a kind of mobile terminal closes alarm clock calling
CN105425657B (en) * 2015-10-30 2018-09-14 小米科技有限责任公司 Alarm clock jingle bell control method and device
CN105554282A (en) * 2015-12-18 2016-05-04 努比亚技术有限公司 Alarm control method and device for mobile terminal, and mobile terminal
CN107306310A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 A kind of information processing method and terminal device
CN106228341A (en) * 2016-07-22 2016-12-14 广东欧珀移动通信有限公司 A kind of method of jingle bell and terminal
CN106657569A (en) * 2016-09-14 2017-05-10 上海斐讯数据通信技术有限公司 Mobile terminal and alarm clock control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1507389A1 (en) * 2003-08-13 2005-02-16 Sony Ericsson Mobile Communications AB Mobile phone with means for switching off the alarm remotely
JP2006194820A (en) * 2005-01-17 2006-07-27 Nec Corp Portable communication terminal
CN102404455A (en) * 2011-11-18 2012-04-04 广东步步高电子工业有限公司 Alarm clock control method and system
CN102724362A (en) * 2012-06-18 2012-10-10 上海斐讯数据通信技术有限公司 Mobile terminal alarm control system and method
CN102984376A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for controlling mobile phone alarm clock and based on acceleration speed induction

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2358108A (en) * 1999-11-29 2001-07-11 Nokia Mobile Phones Ltd Controlling a hand-held communication device
TWI481248B (en) * 2009-04-14 2015-04-11 Elan Microelectronics Corp Mobile phone control method
CN101909115A (en) * 2010-07-23 2010-12-08 宇龙计算机通信科技(深圳)有限公司 Alarm clock control method and system for mobile terminal and mobile terminal
CN201887840U (en) * 2010-12-29 2011-06-29 北京播思软件技术有限公司 Alarm clock processing device
CN103167104A (en) * 2011-12-17 2013-06-19 深圳富泰宏精密工业有限公司 System and method for controlling alarm clock
CN103092351A (en) * 2013-01-31 2013-05-08 广东欧珀移动通信有限公司 Alarm clock ringing stopping method and device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1507389A1 (en) * 2003-08-13 2005-02-16 Sony Ericsson Mobile Communications AB Mobile phone with means for switching off the alarm remotely
JP2006194820A (en) * 2005-01-17 2006-07-27 Nec Corp Portable communication terminal
CN102404455A (en) * 2011-11-18 2012-04-04 广东步步高电子工业有限公司 Alarm clock control method and system
CN102724362A (en) * 2012-06-18 2012-10-10 上海斐讯数据通信技术有限公司 Mobile terminal alarm control system and method
CN102984376A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for controlling mobile phone alarm clock and based on acceleration speed induction

Also Published As

Publication number Publication date
CN103365419A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CN104113782B (en) Based on the method for registering of video, terminal, server and system
EP2916206B1 (en) Sidebar menu display method, device and terminal
CN104967896A (en) Method for displaying bulletscreen comment information, and apparatus thereof
CN103400508B (en) A kind of method and apparatus exporting parking stall guidance information
CN104468679A (en) Geographic position sharing method and system and terminals
CN103500002B (en) The method of application program management, device and terminal unit
US10326861B2 (en) Method for controlling cooperation of multiple intelligent devices and apparatus thereof
CN104869468A (en) Method and apparatus for displaying screen information
CN103455256B (en) The method and terminal of Rotation screen display picture
CN103473011B (en) A kind of mobile terminal performance detection method, device and mobile terminal
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN105120065B (en) Message treatment method and device
US10528012B2 (en) Method and device for sending communication message
CN104133832B (en) The recognition methods of pirate application and device
CN103530040B (en) Object element moving method, device and electronic equipment
CN104636047B (en) The method, apparatus and touch screen terminal operated to the object in list
CN104978115A (en) Content display method and device
CN103500063A (en) Virtual keyboard display method and device and terminal
CN103530115B (en) Application program display method and device and terminal equipment
CN103365419A (en) Method and device for triggering alarm clock control command
CN104717341A (en) Message prompting method and terminal
CN105302408A (en) Method and apparatus for adjusting position of hover button and terminal
CN103399633B (en) A kind of wireless remote control method and mobile terminal
CN103473092B (en) A kind of download the processing method of application, device and terminal unit

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100102 CHAOYANG, BEIJING TO: 100085 HAIDIAN, BEIJING

C14 Grant of patent or utility model
GR01 Patent grant