CN107508977A - A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium - Google Patents

A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107508977A
CN107508977A CN201710698151.2A CN201710698151A CN107508977A CN 107508977 A CN107508977 A CN 107508977A CN 201710698151 A CN201710698151 A CN 201710698151A CN 107508977 A CN107508977 A CN 107508977A
Authority
CN
China
Prior art keywords
alarm clock
data
unit
user
default
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.)
Pending
Application number
CN201710698151.2A
Other languages
Chinese (zh)
Inventor
冯斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710698151.2A priority Critical patent/CN107508977A/en
Publication of CN107508977A publication Critical patent/CN107508977A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the invention discloses a kind of automatic processing method of alarm clock, terminal and computer-readable recording medium.This method includes:The data of the default unit of collection simultaneously judge whether user is in waking state accordingly;Wherein, the default unit includes at least one in location sensitive unit, sensor unit, input block or output unit;If so, then obtain pending alarm clock and handled.The terminal includes:Memory, processor and the computer program that can be run on the memory and on the processor is stored in, the step of automatic processing method of alarm clock provided by the invention is realized when the computer program is by the computing device.The program that automatically processes of alarm clock, the step of automatically processing the automatic processing method that alarm clock provided by the invention is realized when program is executed by processor of the alarm clock are stored with the computer-readable recording medium.The present invention solves the puzzlement that the still frequent jingle bell of alarm clock after user has got up brings user, lifts Consumer's Experience.

Description

A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of automatic processing method of alarm clock, terminal and computer can Read storage medium.
Background technology
With the popularization of current intelligent terminal, increasing user has given up mechanical alarm clock, relies primarily on intelligent terminal Alarm clock function open daily new life.And how each cell phone manufacturer is all waking all the time to the design of alarm clock major function now User, without the inconvenience that is brought to user of follow-up behavior of alarm clock after having been got up in view of user.
To prevent late or important thing from forgetting to do, many users can set the same part thing of multiple alarm clock callings daily, It will so be run into consequently, it is possible to which if user just gets up or completed important thing not waiting until that last alarm clock sounds Wash one's face and rinse one's mouth, in the ways for education, on working road, completed important thing or completed important thing when, alarm clock remains unchanged what is sounded Situation, influence Consumer's Experience.
The content of the invention
The embodiments of the invention provide a kind of automatic processing method of alarm clock, terminal and computer-readable recording medium, purport Automatically processed in the alarm clock of the same function to setting, lift Consumer's Experience.
In view of this, first aspect of the embodiment of the present invention, there is provided a kind of automatic processing method of alarm clock, including:
The data of the default unit of collection simultaneously judge whether user is in waking state accordingly;Wherein, the default unit bag Include at least one in location sensitive unit, sensor unit, input block or output unit;If so, then
Obtain pending alarm clock;
The pending alarm clock is handled.
In a kind of possible design, whether the data of the default unit of collection simultaneously judge user in clear-headed shape accordingly State includes:
The data of location sensitive unit are obtained, are preset if the variable quantity of the data of the location sensitive unit is more than first Value;Then judge that user is in waking state.
In a kind of possible design, the data for obtaining location sensitive unit include at least one of following:
The geographic position data obtained according to architecture;
The geographic position data obtained according to GPS location;
The meter step data obtained according to motion bracelet.
In a kind of possible design, whether the data of the default unit of collection simultaneously judge user in clear-headed shape accordingly State includes at least one of following:
The data of sensor unit are obtained, if within default second time, the data of the sensor unit have change; Then judge that user is in waking state;Or
The data of input block are obtained, if within default 3rd time, the data of the input block are not sky;Then judge User is in waking state;Or
The data of output unit are obtained, if within default 4th time, the data of the output unit are not sky;Then judge User is in waking state.
In a kind of possible design, whether the data of the default unit of collection simultaneously judge user in clear-headed shape accordingly After state, in addition to:
Within the default veritification time, the data of location sensitive unit, the data of sensor unit, input block are obtained The data of data or output unit;If the data of the location sensitive unit, the data of sensor unit, the data of input block Or there is change or not to be empty in any one in the data of output unit;Then judge that user is in waking state.
In a kind of possible design, whether the data of the default unit of collection simultaneously judge user in clear-headed shape accordingly Before state, in addition to:
Monitor whether that alarm clock is closed;If so, then perform the data of the default unit of the collection and judge user accordingly The step of whether being in waking state.
It is described to obtain pending alarm clock including at least one of following in a kind of possible design:
The alarm clock that there is same label with pent alarm clock is obtained, is designated as pending alarm clock;
The alarm clock for being no more than predetermined threshold value with pent alarm clock interval time is obtained, is designated as pending alarm clock;
The alarm clock that there are identical convenient labels with pent alarm clock is obtained, is designated as pending alarm clock.
It is described to be handled the pending alarm clock in a kind of possible design, including:
The pending alarm clock is closed;Or
The alerting pattern of the pending alarm clock is revised as vibration mode.
Second aspect of the embodiment of the present invention provides terminal, including:Memory, processor and it is stored on the memory And the computer program that can be run on the processor, the computer program are realized the present invention during computing device The step of automatic processing method for the alarm clock that embodiment provides.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, a kind of computer-readable recording medium, the meter The program that automatically processes of alarm clock is stored with calculation machine readable storage medium storing program for executing, the program that automatically processes of the alarm clock is executed by processor The step of automatic processing method of Shi Shixian alarm clocks provided in an embodiment of the present invention.
As can be seen from the above technical solutions, in the embodiment of the present invention, the data of default unit is gathered and judge to use accordingly Whether family is in waking state;If so, then obtaining pending alarm clock and being handled, repeated so as to no longer be used when user regains consciousness Alarm clock bothers user, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of automatic processing method one embodiment of alarm clock of the present invention;
Fig. 3 is a kind of schematic diagram of another embodiment of the automatic processing method of alarm clock of the present invention;
Fig. 4 is a kind of schematic diagram of another embodiment of the automatic processing method of alarm clock of the present invention;
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable MediaPlayer, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor unit 105, display unit 106, user input unit 107, interface The parts such as unit 108, memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that show in Fig. 1 The mobile terminal structure gone out does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less portions Part, either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System ofMobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division MultipleAccess, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes sensor unit 105, including at least one sensor, for example optical sensor, motion pass Sensor and other sensors.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light passes Sensor can adjust the brightness of display panel 1061 according to the light and shade of ambient light, and proximity transducer can move in mobile terminal 100 When moving in one's ear, display panel 1061 and/or backlight are closed.As one kind of motion sensor, accelerometer sensor can detect The size of (generally three axles) acceleration, can detect that size and the direction of gravity in all directions when static, available for identifying The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone posture, Vibration identification correlation function (such as Pedometer, percussion) etc.;The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, The other sensors such as gyro sensor, gravity sensor, barometer, hygrometer, thermometer, infrared ray sensor, herein not Repeat again.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
Referring to Fig. 2, Fig. 2 is automatic processing method one embodiment schematic diagram of alarm clock provided by the invention, including:
201st, start.
202nd, the data of default unit are gathered and judge whether user is in waking state accordingly.If so, then enter step 203;If it is not, then enter step 205.
In the specific implementation, can first obtain alarm clock setting the earliest opening time, reach the earliest opening time it Before, e.g. ten minutes, five minutes or 15 minutes, start to perform step 202.
Usually, if terminal is in use state or position constantly changes, may determine that user is in clear-headed State.Can be by the monitoring of at least one in position sensing unit, sensor unit, input block or output unit Judge that terminal is in use state.
203rd, pending alarm clock is obtained.
In the specific implementation, pending alarm clock can be chosen according to the functional label of alarm clock;Such as user is in clear The state of waking up, that is, got up, and is exactly pending alarm clock on the alarm clock such as getting up or waking now.
204th, the pending alarm clock is handled.
Specifically, can be handled according to the rule of user preset.
205th, terminate.
Referring to Fig. 3, Fig. 3 is automatic processing method one embodiment schematic diagram of alarm clock provided by the invention, including:
301st, start.
302nd, monitored whether that alarm clock is closed.If so, then enter step 303;If it is not, then enter step 306.
Usually first time alarm clock pent at first, that is, the earliest opening time of the alarm clock set;Usually, it is most of User gets up after first time alarm clock jingle bell, has been got up for the user before all alarm clocks non-jingle bell occurred once in a while Situation, the effect for reminding user not forget setting alarm clock purpose can also be played by retaining first time alarm clock.Therefore, the present embodiment will The startup time of the data of the default unit of collection is set as after monitoring that alarm clock jingle bell is closed;The alarm clock jingle bell can be automatic Closing close or artificial.
303rd, the data of default unit are gathered and judge whether user is in waking state accordingly.If so, then enter step 304;If it is not, then enter step 306.
Usually, if terminal is in use state or position constantly changes, may determine that user is in clear-headed State.Can be by the monitoring of at least one in position sensing unit, sensor unit, input block or output unit Judge that terminal is in use state.
304th, pending alarm clock is obtained.
In the specific implementation, pending alarm clock can be chosen according to the functional label of alarm clock;Such as user is in clear The state of waking up, that is, got up, and is exactly pending alarm clock on the alarm clock such as getting up or waking now.
305th, the pending alarm clock is handled.
Specifically, can be handled according to the rule of user preset.
306th, terminate.
Alternatively, on the basis of any embodiment corresponding to above-mentioned Fig. 2 or Fig. 3, alarm clock provided in an embodiment of the present invention One alternative embodiment of automatic processing method in, the data of the default unit of collection simultaneously judge whether user is in clearly accordingly Awake state includes:
The data of location sensitive unit are obtained, are preset if the variable quantity of the data of the location sensitive unit is more than first Value;Then judge that user is in waking state.
The location sensitive unit is used for the position for sensing present terminal or related to the motion bracelet of present terminal association Data.
In the specific implementation, the data for obtaining location sensitive unit include at least one of following:
The geographic position data obtained according to architecture;
The geographic position data obtained according to GPS location;
The meter step data obtained according to motion bracelet, the motion bracelet is that the motion bracelet being connected has been established with terminal.
In the present embodiment, a location sensitive list can be just obtained at interval of a period of time, e.g. 1 minute or 30 seconds The data of member;The variable quantity refers to the data of the location sensitive unit currently obtained and the location sensitive unit obtained for the first time Variable quantity between data.
Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It should be noted that in another embodiment of the invention, it can also be limited in the default very first time, institute's rheme The variable quantity for putting the data of sensing unit is more than the first preset value;Just judge that user is in waking state.
Alternatively, on the basis of any of the above-described embodiment, the automatic processing method of alarm clock provided in an embodiment of the present invention In one alternative embodiment, the data of the default unit of collection simultaneously judge whether user is in waking state including following accordingly At least one of:
The data of sensor unit are obtained, if within default second time, the data of the sensor unit have change; Then judge that user is in waking state;In the present embodiment, sensor unit is primarily referred to as the gyro sensors in sensor unit At least one of device, gravity sensor or acceleration sensor;Can just it be obtained at interval of the regular hour within default second time Take the data of primary transducer unit and the data of the sensor obtained with the last time contrast, judge whether to change.On It is, for example, 2 minutes, 3 minutes or 5 minutes etc. to state default second time.
Or
The data of input block are obtained, if within default 3rd time, the data of the input block are not sky;Then judge User is in waking state;In the present embodiment, input block is primarily referred to as can be used for the numeral or character information that receive input, with And produce the user input unit of the key signals input relevant with the user of mobile terminal setting and function control;E.g. pair Touch operation of contact panel etc..Input block can be just obtained at interval of the regular hour within default 3rd time Data, determine whether sky.Above-mentioned default 3rd time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Or
The data of output unit are obtained, if within default 4th time, the data of the output unit are not sky;Then judge User is in waking state.In the present embodiment, output unit is primarily referred to as audio output unit.Can be with default 3rd time The data of an input block are just obtained at interval of the regular hour and determine whether sky.Above-mentioned default second time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Referring to Fig. 4, Fig. 4 is automatic processing method one embodiment schematic diagram of alarm clock provided by the invention, including:
401st, start.
402nd, monitored whether that alarm clock is closed.If so, then enter step 403;If it is not, then enter step 409.
Typically, usually first time alarm clock pent at first, that is, the earliest opening time of the alarm clock set;Usually, Most of user gets up after first time alarm clock jingle bell, for having occurred before all alarm clocks non-jingle bell user once in a while Situation about getting up, the effect for reminding user not forget setting alarm clock purpose can also be played by retaining first time alarm clock.Therefore, this reality Apply example the startup time for the data for gathering default unit is set as after monitoring that alarm clock jingle bell is closed;The alarm clock jingle bell can be with It is closing close automatically or artificial.It should be noted that the step can not also perform;Directly obtain alarm clock The earliest opening time, and in the opening time be, for example, to begin preparing within 10 minutes or 15 minutes performing step for the previous period 403。
403rd, the data of location sensitive unit are obtained, judge whether the variable quantity of the data of the location sensitive unit is more than First preset value;If so, then judge that user is in waking state, into step 407.
The data of above-mentioned location sensitive unit include:According to the geographic position data of architecture acquisition, according to GPS location The geographic position data of acquisition, at least one counted in step data obtained according to motion bracelet., can be with every in the present embodiment Every for a period of time, e.g. 1 minute or 30 seconds, the data with regard to obtaining a location sensitive unit;The variable quantity refers to currently obtain Variable quantity between the data of the location sensitive unit taken and the data of the location sensitive unit obtained for the first time.Usually, no It is also different with the first preset value corresponding to data;For example, the according to corresponding to the geographic position data that architecture obtains One preset value is 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains;According to motion hand First preset value corresponding to the meter step data that ring obtains is 50 steps.In another embodiment of the invention, can also be limited to pre- If in the very first time, the variable quantity of the data of the location sensitive unit is more than the first preset value;Just judge that user is in clear-headed State.
404th, the data of sensor unit are obtained, are judged within default second time, the data of the sensor unit are It is no change to be present.If so, then judge that user is in waking state, into step 407;If it is not, then enter step 405.
In the present embodiment, sensor unit be primarily referred to as gyro sensor in sensor unit, gravity sensor or At least one of acceleration sensor;Primary transducer unit can be just obtained at interval of the regular hour within default second time Data and the data of sensor that are obtained with the last time contrast, judge whether to change.Above-mentioned default second time example 2 minutes in this way, 3 minutes or 5 minutes etc..
405th, the data of input block are obtained, are judged within default 3rd time, the data of the input block whether be It is empty;If it is not, being not sky, then judge that user is in waking state, into step 407;If so, then enter step 406;
In the present embodiment, input block be primarily referred to as can be used for receive input numeral or character information, and produce with The user input unit for the key signals input that the user of mobile terminal is set and function control is relevant;E.g. to contact panel Touch operation etc..The data of an input block can be just obtained at interval of the regular hour within default 3rd time, are sentenced Whether disconnected be empty.Above-mentioned default 3rd time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
406th, the data of output unit are obtained, are judged within default 4th time, the data of the output unit whether be It is empty;If it is not, being not sky, then judge that user is in waking state, into step 407;If so, then enter step 409;
In the present embodiment, output unit is primarily referred to as audio output unit.Can be at interval of one within default 3rd time The fixed time just obtains the data of an input block and determines whether sky.Above-mentioned default second time is, for example, 2 minutes, 3 Minute or 5 minutes etc..
407th, pending alarm clock is obtained.
In the specific implementation, pending alarm clock can be chosen according to the functional label of alarm clock;Such as user is in clear The state of waking up, that is, got up, and is exactly pending alarm clock on the alarm clock such as getting up or waking now.
408th, the pending alarm clock is handled.
Specifically, can be handled according to the rule of user preset.
409th, terminate.
It should be noted that in the specific implementation, above-mentioned steps 403 to step 406 do not have precedence relationship, can hold simultaneously OK;In addition it is also possible to first carry out step 403;Step 404 to step 406 can perform simultaneously.
Alternatively, on the basis of any of the above-described embodiment, the automatic processing method of alarm clock provided in an embodiment of the present invention In another alternative embodiment, it can also include:
If judge to show that user is in the conclusion of waking state by the data of location sensitive unit;It may insure user Through the activity of getting up, without being veritified again.
If judge to show that user is in the knot of waking state by the data of sensor unit, input block or output unit By;To avoid user's using terminal from continuing to fall asleep for a period of time afterwards, it is also necessary to further within the default veritification time, obtain position Put the data of the data of sensing unit, the data of sensor unit, the data of input block or output unit;If the position sense Answer any presence in the data of the data of unit, the data of sensor unit, the data of input block or output unit Change is not sky;Then judge that user is in waking state.
More specifically, it is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 point Clock or 30 seconds, just obtain the data of a location sensitive unit;If the data of the location sensitive unit currently obtained and first time Change between the data of the location sensitive unit of acquisition be present, and variable quantity reaches the first preset value;Then judge that user is in clear The state of waking up.Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an input block, if the data of the input block do not have continuous several times for sky;Then judge that user is in Waking state;In the present embodiment, input block be primarily referred to as can be used for receive input numeral or character information, and produce with The user input unit for the key signals input that the user of mobile terminal is set and function control is relevant;E.g. to contact panel Touch operation etc..
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an output unit, if the data of the output unit do not have continuous several times for sky;Then judge that user is in Waking state.In the present embodiment, output unit is primarily referred to as audio output unit.
Alternatively, on the basis of any of the above-described embodiment, the automatic processing method of alarm clock provided in an embodiment of the present invention It is described to obtain pending alarm clock including at least one of following in another alternative embodiment:
The alarm clock that there is same label with pent alarm clock is obtained, is designated as pending alarm clock;The label can be user Alarm clock type is added, for example, the label " alarm clock " of pent alarm clock or " getting up ";Then label is the noisy of " alarm clock " or " getting up " Clock is picked as dealing with objects in next step, i.e., pending alarm clock.Using this kind of mode, it is necessary to remind user correct when establishing alarm clock Select corresponding label.
The alarm clock for being no more than predetermined threshold value with pent alarm clock interval time is obtained, is designated as pending alarm clock;For example, can Using alarm clock all automatic decisions since first alarm clock of morning within 1~2 hour as wakeup alarm clock, to operate in next step Perform.Specific time interval can be set by user oneself.
The alarm clock that there are identical convenient labels with pent alarm clock is obtained, is designated as pending alarm clock.User can will be same The alarm clock of one function uses same convenient labels, and the convenient labels of the alarm clock of difference in functionality are different, in this way, can be with Which alarm clock user can mark system can be allowed to automatically process by convenient labels.
Alternatively, on the basis of any of the above-described embodiment, the automatic processing method of alarm clock provided in an embodiment of the present invention It is described to be handled the pending alarm clock in another alternative embodiment, including:
The pending alarm clock is closed;Or
The alerting pattern of the pending alarm clock is revised as vibration mode, 5s is e.g. vibrated and is carried as to user Wake up.
The present invention also provides a kind of terminal, including:Memory, processor and it is stored on the memory and can be described The computer program run on processor, any embodiment of the present invention is realized when the computer program is by the computing device The step of automatic processing method of the alarm clock of offer.
More specifically, realize following steps when the computer program is by the computing device:
The data of the default unit of collection simultaneously judge whether user is in waking state accordingly.In the specific implementation, Ke Yixian Obtain the earliest opening time of alarm clock setting, before the earliest opening time is reached, e.g. ten minutes, 15 after five minutes Minute, start to gather the data of default unit and judge whether user is in waking state accordingly.Usually, make if terminal is in Constantly changed with state or position, then may determine that user in waking state.Can be by location sensitive list The monitoring of at least one in member, sensor unit, input block or output unit judges that terminal is in use state.
If so, then obtain pending alarm clock;In the specific implementation, can be chosen according to the functional label of alarm clock pending noisy Clock;It is exactly pending on the alarm clock such as getting up or waking now such as user is in waking state, that is, has got up Alarm clock.
The pending alarm clock is handled;Specifically, can be handled according to the rule of user preset.
In the terminal that another embodiment of the present invention provides, the data of the default unit of collection simultaneously judge that user is accordingly It is no to be in before waking state, realize following steps when the computer program is by the computing device:
Monitor whether that alarm clock is closed.If so, then gather the data of default unit and judge whether user is in accordingly Waking state.
Typically, usually first time alarm clock pent at first, that is, the earliest opening time of the alarm clock set;Usually, Most of user gets up after first time alarm clock jingle bell, for having occurred before all alarm clocks non-jingle bell user once in a while Situation about getting up, the effect for reminding user not forget setting alarm clock purpose can also be played by retaining first time alarm clock.Therefore, this reality Apply example the startup time for the data for gathering default unit is set as after monitoring that alarm clock jingle bell is closed;The alarm clock jingle bell can be with It is closing close automatically or artificial.
Alternatively, when the collection presets the data of unit and judges whether user is in waking state accordingly, the meter Following steps are realized when calculation machine program is by the computing device:
The data of location sensitive unit are obtained, are preset if the variable quantity of the data of the location sensitive unit is more than first Value;Then judge that user is in waking state.
The location sensitive unit is used for the position for sensing present terminal or related to the motion bracelet of present terminal association Data.
In the specific implementation, the data for obtaining location sensitive unit include at least one of following:
The geographic position data obtained according to architecture;
The geographic position data obtained according to GPS location;
The meter step data obtained according to motion bracelet, the motion bracelet is that the motion bracelet being connected has been established with terminal.
In the present embodiment, a location sensitive list can be just obtained at interval of a period of time, e.g. 1 minute or 30 seconds The data of member;The variable quantity refers to the data of the location sensitive unit currently obtained and the location sensitive unit obtained for the first time Variable quantity between data.
Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It should be noted that in another embodiment of the invention, it can also be limited in the default very first time, institute's rheme The variable quantity for putting the data of sensing unit is more than the first preset value;Just judge that user is in waking state.
Alternatively, in one alternative embodiment of terminal provided in an embodiment of the present invention, the data of the default unit of collection And when judging whether user is in waking state accordingly, the computer program is realized following walk during the computing device Suddenly:
The data of sensor unit are obtained, if within default second time, the data of the sensor unit have change; Then judge that user is in waking state;In the present embodiment, sensor unit is primarily referred to as the gyro sensors in sensor unit At least one of device, gravity sensor or acceleration sensor;Can just it be obtained at interval of the regular hour within default second time Take the data of primary transducer unit and the data of the sensor obtained with the last time contrast, judge whether to change.On It is, for example, 2 minutes, 3 minutes or 5 minutes etc. to state default second time.
Or
The data of input block are obtained, if within default 3rd time, the data of the input block are not sky;Then judge User is in waking state;In the present embodiment, input block is primarily referred to as can be used for the numeral or character information that receive input, with And produce the user input unit of the key signals input relevant with the user of mobile terminal setting and function control;E.g. pair Touch operation of contact panel etc..Input block can be just obtained at interval of the regular hour within default 3rd time Data, determine whether sky.Above-mentioned default 3rd time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Or
The data of output unit are obtained, if within default 4th time, the data of the output unit are not sky;Then judge User is in waking state.In the present embodiment, output unit is primarily referred to as audio output unit.Can be with default 3rd time The data of an input block are just obtained at interval of the regular hour and determine whether sky.Above-mentioned default second time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Alternatively, on the basis of any of the above-described embodiment, another optional implementation of terminal provided in an embodiment of the present invention In example, following steps are realized when the computer program is by the computing device:
If judge to show that user is in the conclusion of waking state by the data of location sensitive unit;It may insure user Through the activity of getting up, without being veritified again.
If judge to show that user is in the knot of waking state by the data of sensor unit, input block or output unit By;To avoid user's using terminal from continuing to fall asleep for a period of time afterwards, it is also necessary to further within the default veritification time, obtain position Put the data of the data of sensing unit, the data of sensor unit, the data of input block or output unit;If the position sense Answer any presence in the data of the data of unit, the data of sensor unit, the data of input block or output unit Change is not sky;Then judge that user is in waking state.
More specifically, it is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 point Clock or 30 seconds, just obtain the data of a location sensitive unit;If the data of the location sensitive unit currently obtained and first time Change between the data of the location sensitive unit of acquisition be present, and variable quantity reaches the first preset value;Then judge that user is in clear The state of waking up.Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an input block, if the data of the input block do not have continuous several times for sky;Then judge that user is in Waking state;In the present embodiment, input block be primarily referred to as can be used for receive input numeral or character information, and produce with The user input unit for the key signals input that the user of mobile terminal is set and function control is relevant;E.g. to contact panel Touch operation etc..
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an output unit, if the data of the output unit do not have continuous several times for sky;Then judge that user is in Waking state.In the present embodiment, output unit is primarily referred to as audio output unit.
Alternatively, on the basis of any of the above-described embodiment, in terminal provided in an embodiment of the present invention, described obtain waits to locate When managing alarm clock, following steps are realized when the computer program is by the computing device:
The alarm clock that there is same label with pent alarm clock is obtained, is designated as pending alarm clock;The label can be user Alarm clock type is added, for example, the label " alarm clock " of pent alarm clock or " getting up ";Then label is the noisy of " alarm clock " or " getting up " Clock is picked as dealing with objects in next step, i.e., pending alarm clock.Using this kind of mode, it is necessary to remind user correct when establishing alarm clock Select corresponding label.
The alarm clock for being no more than predetermined threshold value with pent alarm clock interval time is obtained, is designated as pending alarm clock;For example, can Using alarm clock all automatic decisions since first alarm clock of morning within 1~2 hour as wakeup alarm clock, to operate in next step Perform.Specific time interval can be set by user oneself.
The alarm clock that there are identical convenient labels with pent alarm clock is obtained, is designated as pending alarm clock.User can will be same The alarm clock of one function uses same convenient labels, and the convenient labels of the alarm clock of difference in functionality are different, in this way, can be with Which alarm clock user can mark system can be allowed to automatically process by convenient labels.
Alternatively, it is described to be treated described in terminal provided in an embodiment of the present invention on the basis of any of the above-described embodiment When processing alarm clock is handled, following steps are realized when the computer program is by the computing device:
The pending alarm clock is closed;Or
The alerting pattern of the pending alarm clock is revised as vibration mode, 5s is e.g. vibrated and is carried as to user Wake up.
The present invention also provides a kind of computer-readable recording medium, and alarm clock is stored with the computer-readable recording medium Automatically process program, automatically processing for the alarm clock realizes what any embodiment of the present invention provided when program is executed by processor The step of automatic processing method of alarm clock.
More specifically, the alarm clock realizes following steps when automatically processing program by the computing device:
The data of the default unit of collection simultaneously judge whether user is in waking state accordingly.In the specific implementation, Ke Yixian Obtain the earliest opening time of alarm clock setting, before the earliest opening time is reached, e.g. ten minutes, 15 after five minutes Minute, start to gather the data of default unit and judge whether user is in waking state accordingly.Usually, it is if computer-readable Storage is situated between constantly to change in use state or position, then may determine that user in waking state.It can pass through Monitoring to units such as user input unit, audio output units judges that computer-readable storage medium is in use state.
If so, then obtain pending alarm clock;In the specific implementation, can be chosen according to the functional label of alarm clock pending noisy Clock;It is exactly pending on the alarm clock such as getting up or waking now such as user is in waking state, that is, has got up Alarm clock.
The pending alarm clock is handled;Specifically, can be handled according to the rule of user preset.
In the computer-readable storage medium that another embodiment of the present invention provides, the data and evidence of the default unit of collection This judge user whether be in waking state before, the alarm clock automatically process program by during the computing device realize with Lower step:
Monitor whether that alarm clock is closed.If so, then gather the data of default unit and judge whether user is in accordingly Waking state.
Typically, usually first time alarm clock pent at first, that is, the earliest opening time of the alarm clock set;Usually, Most of user gets up after first time alarm clock jingle bell, for having occurred before all alarm clocks non-jingle bell user once in a while Situation about getting up, the effect for reminding user not forget setting alarm clock purpose can also be played by retaining first time alarm clock.Therefore, this reality Apply example the startup time for the data for gathering default unit is set as after monitoring that alarm clock jingle bell is closed;The alarm clock jingle bell can be with It is closing close automatically or artificial.
Alternatively, it is described noisy when the collection presets the data of unit and judges whether user is in waking state accordingly Clock realizes following steps when automatically processing program by the computing device:
The data of location sensitive unit are obtained, are preset if the variable quantity of the data of the location sensitive unit is more than first Value;Then judge that user is in waking state.
The location sensitive unit be used for the position for sensing current computer readable storage medium or with current computer is readable deposits The related data of the motion bracelet of Chu Jie associations.
In the specific implementation, the data for obtaining location sensitive unit include at least one of following:
The geographic position data obtained according to architecture;
The geographic position data obtained according to GPS location;
The meter step data obtained according to motion bracelet, the motion bracelet is to have established to be connected with computer-readable storage medium Motion bracelet.
In the present embodiment, a location sensitive list can be just obtained at interval of a period of time, e.g. 1 minute or 30 seconds The data of member;The variable quantity refers to the data of the location sensitive unit currently obtained and the location sensitive unit obtained for the first time Variable quantity between data.
Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It should be noted that in another embodiment of the invention, it can also be limited in the default very first time, institute's rheme The variable quantity for putting the data of sensing unit is more than the first preset value;Just judge that user is in waking state.
Alternatively, in one alternative embodiment of computer-readable storage medium provided in an embodiment of the present invention, the collection is pre- If data of unit and when judging whether user is in waking state accordingly, the alarm clock automatically processes program by the processing Device realizes following steps when performing:
The data of sensor unit are obtained, if within default second time, the data of the sensor unit have change; Then judge that user is in waking state;In the present embodiment, sensor unit is primarily referred to as the gyro sensors in sensor unit At least one of device, gravity sensor or acceleration sensor;Can just it be obtained at interval of the regular hour within default second time Take the data of primary transducer unit and the data of the sensor obtained with the last time contrast, judge whether to change.On It is, for example, 2 minutes, 3 minutes or 5 minutes etc. to state default second time.
Or
The data of input block are obtained, if within default 3rd time, the data of the input block are not sky;Then judge User is in waking state;In the present embodiment, input block is primarily referred to as can be used for the numeral or character information that receive input, with And produce user's input of the key signals input relevant with the user of mobile computer readable storage medium setting and function control Unit;Touch operation e.g. to contact panel etc..Can just it be obtained at interval of the regular hour within default 3rd time The data of input block, determine whether sky.Above-mentioned default 3rd time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Or
The data of output unit are obtained, if within default 4th time, the data of the output unit are not sky;Then judge User is in waking state.In the present embodiment, output unit is primarily referred to as audio output unit.Can be with default 3rd time The data of an input block are just obtained at interval of the regular hour and determine whether sky.Above-mentioned default second time is, for example, 2 minutes, 3 minutes or 5 minutes etc..
Alternatively, on the basis of any of the above-described embodiment, computer-readable storage medium provided in an embodiment of the present invention is another In one alternative embodiment, the alarm clock realizes following steps when automatically processing program by the computing device:
If judge to show that user is in the conclusion of waking state by the data of location sensitive unit;It may insure user Through the activity of getting up, without being veritified again.
If judge to show that user is in the knot of waking state by the data of sensor unit, input block or output unit By;To avoid user from continuing to fall asleep for a period of time afterwards using computer-readable storage medium, it is also necessary to further in default veritification In time, the number of the data of location sensitive unit, the data of sensor unit, the data of input block or output unit is obtained According to;If in the data of the location sensitive unit, the data of sensor unit, the data of the data of input block or output unit It is any one exist change or for sky;Then judge that user is in waking state.
More specifically, it is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 point Clock or 30 seconds, just obtain the data of a location sensitive unit;If the data of the location sensitive unit currently obtained and first time Change between the data of the location sensitive unit of acquisition be present, and variable quantity reaches the first preset value;Then judge that user is in clear The state of waking up.Usually, the first preset value is also different corresponding to different pieces of information;Because the precision of architecture is determined than GPS The precision of position is small, and therefore, the first preset value ratio is according to GPS location corresponding to the geographic position data obtained according to architecture The first preset value is big corresponding to the geographic position data of acquisition.For example, the geographic position data obtained according to architecture is corresponding The first preset value be 100m;It is 50m according to the first preset value corresponding to the geographic position data that GPS location obtains.According to fortune Start ring acquisition meter step data corresponding to the first preset value be, for example, 50 steps.
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an input block, if the data of the input block do not have continuous several times for sky;Then judge that user is in Waking state;In the present embodiment, input block be primarily referred to as can be used for receive input numeral or character information, and produce with The user input unit for the key signals input that the user of mobile computer readable storage medium is set and function control is relevant;Such as It is touch operation to contact panel etc..
It is default veritification the time in, e.g. 10 minutes, can at interval of a period of time, e.g. 1 minute or 30 seconds, Data with regard to obtaining an output unit, if the data of the output unit do not have continuous several times for sky;Then judge that user is in Waking state.In the present embodiment, output unit is primarily referred to as audio output unit.
Alternatively, on the basis of any of the above-described embodiment, in computer-readable storage medium provided in an embodiment of the present invention, During the pending alarm clock of the acquisition, the alarm clock realizes following steps when automatically processing program by the computing device:
The alarm clock that there is same label with pent alarm clock is obtained, is designated as pending alarm clock;The label can be user Alarm clock type is added, for example, the label " alarm clock " of pent alarm clock or " getting up ";Then label is the noisy of " alarm clock " or " getting up " Clock is picked as dealing with objects in next step, i.e., pending alarm clock.Using this kind of mode, it is necessary to remind user correct when establishing alarm clock Select corresponding label.
The alarm clock for being no more than predetermined threshold value with pent alarm clock interval time is obtained, is designated as pending alarm clock;For example, can Using alarm clock all automatic decisions since first alarm clock of morning within 1~2 hour as wakeup alarm clock, to operate in next step Perform.Specific time interval can be set by user oneself.
The alarm clock that there are identical convenient labels with pent alarm clock is obtained, is designated as pending alarm clock.User can will be same The alarm clock of one function uses same convenient labels, and the convenient labels of the alarm clock of difference in functionality are different, in this way, can be with Which alarm clock user can mark system can be allowed to automatically process by convenient labels.
Alternatively, on the basis of any of the above-described embodiment, in computer-readable storage medium provided in an embodiment of the present invention, It is described when the pending alarm clock is handled, the alarm clock automatically process program realized during the computing device with Lower step:
The pending alarm clock is closed;Or
The alerting pattern of the pending alarm clock is revised as vibration mode, 5s is e.g. vibrated and is carried as to user Wake up.
Automatic processing method, terminal and the computer-readable recording medium of alarm clock provided in an embodiment of the present invention, by adopting The data of the default unit of collection judge whether user is in waking state, so as to obtain pending alarm clock and automatically process;Solve to use The still frequent jingle bell of alarm clock brings the puzzlement of user after family has been got up, and improves Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. automatic processing method of alarm clock, it is characterised in that including:
    The data of the default unit of collection simultaneously judge whether user is in waking state accordingly;Wherein, the default unit includes position Put at least one in sensing unit, sensor unit, input block or output unit;If so, then
    Obtain pending alarm clock;
    The pending alarm clock is handled.
  2. 2. the automatic processing method of alarm clock as claimed in claim 1, it is characterised in that the data of the default unit of collection are simultaneously Judge whether user includes in waking state accordingly:
    The data of location sensitive unit are obtained, if the variable quantity of the data of the location sensitive unit is more than the first preset value;Then Judge that user is in waking state.
  3. 3. the automatic processing method of alarm clock as claimed in claim 2, it is characterised in that the number for obtaining location sensitive unit According to including at least one of following:
    The geographic position data obtained according to architecture;
    The geographic position data obtained according to GPS location;
    The meter step data obtained according to motion bracelet.
  4. 4. the automatic processing method of alarm clock as claimed in claim 1, it is characterised in that the data of the default unit of collection are simultaneously It is at least one of following to judge whether user includes in waking state accordingly:
    The data of sensor unit are obtained, if within default second time, the data of the sensor unit have change;Then sentence Determine user and be in waking state;Or
    The data of input block are obtained, if within default 3rd time, the data of the input block are not sky;Then judge user In waking state;Or
    The data of output unit are obtained, if within default 4th time, the data of the output unit are not sky;Then judge user In waking state.
  5. 5. the automatic processing method of alarm clock as claimed in claim 4, it is characterised in that the data of the default unit of collection are simultaneously Judge whether user is in after waking state accordingly, in addition to:
    Within the default veritification time, data, the data of sensor unit, the data of input block of location sensitive unit are obtained Or the data of output unit;If the data of the location sensitive unit, the data of sensor unit, the data of input block or defeated Change be present or be not sky in any one gone out in the data of unit;Then judge that user is in waking state.
  6. 6. the automatic processing method of alarm clock as claimed in claim 1, it is characterised in that the data of the default unit of collection are simultaneously Judge whether user is in before waking state accordingly, in addition to:
    Monitor whether that alarm clock is closed;If so, then perform the data of the default unit of the collection and whether judge user accordingly The step of in waking state.
  7. 7. the automatic processing method of alarm clock as claimed in claim 1, it is characterised in that it is described obtain pending alarm clock include with It is at least one of lower:
    The alarm clock that there is same label with pent alarm clock is obtained, is designated as pending alarm clock;
    The alarm clock for being no more than predetermined threshold value with pent alarm clock interval time is obtained, is designated as pending alarm clock;
    The alarm clock that there are identical convenient labels with pent alarm clock is obtained, is designated as pending alarm clock.
  8. 8. the automatic processing method of alarm clock as claimed in claim 7, it is characterised in that described to carry out the pending alarm clock Processing, including:
    The pending alarm clock is closed;Or
    The alerting pattern of the pending alarm clock is revised as vibration mode.
  9. A kind of 9. terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be at the place The computer program run on reason device, the computer program are realized during the computing device as appointed in claim 1 to 8 The step of automatic processing method of alarm clock described in one.
  10. 10. a kind of computer-readable recording medium, it is characterised in that be stored with alarm clock on the computer-readable recording medium Program is automatically processed, automatically processing for the alarm clock is realized such as any one of claim 1 to 8 institute when program is executed by processor The step of automatic processing method for the alarm clock stated.
CN201710698151.2A 2017-08-15 2017-08-15 A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium Pending CN107508977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710698151.2A CN107508977A (en) 2017-08-15 2017-08-15 A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710698151.2A CN107508977A (en) 2017-08-15 2017-08-15 A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107508977A true CN107508977A (en) 2017-12-22

Family

ID=60691743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710698151.2A Pending CN107508977A (en) 2017-08-15 2017-08-15 A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107508977A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600996A (en) * 2020-05-18 2020-08-28 龚伟明 Alarm clock reminding system based on client
CN112615962A (en) * 2020-12-30 2021-04-06 惠州Tcl移动通信有限公司 Alarm clock ringing control method, flip mobile phone and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141498A (en) * 2007-12-04 2009-06-25 Nec Corp Wake-up call system, wake-up call method, wake-up call transmission device and wake-up call program
CN103197533A (en) * 2013-04-11 2013-07-10 华为终端有限公司 Implementation method, device and electronic equipment of alarm clock in electronic equipment
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
CN105487650A (en) * 2014-10-10 2016-04-13 小米科技有限责任公司 Intelligent alarm clock turn-off method and apparatus
CN105554282A (en) * 2015-12-18 2016-05-04 努比亚技术有限公司 Alarm control method and device for mobile terminal, and mobile terminal
CN106331342A (en) * 2016-08-23 2017-01-11 京东方科技集团股份有限公司 Alarm clock realization method and device in electronic device and wearable device
CN106534593A (en) * 2016-12-30 2017-03-22 深圳天珑无线科技有限公司 Alarm clock reminding method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009141498A (en) * 2007-12-04 2009-06-25 Nec Corp Wake-up call system, wake-up call method, wake-up call transmission device and wake-up call program
CN103197533A (en) * 2013-04-11 2013-07-10 华为终端有限公司 Implementation method, device and electronic equipment of alarm clock in electronic equipment
CN103634468A (en) * 2013-11-26 2014-03-12 小米科技有限责任公司 Method, device and terminal equipment for processing alarm clock
CN105487650A (en) * 2014-10-10 2016-04-13 小米科技有限责任公司 Intelligent alarm clock turn-off method and apparatus
CN105554282A (en) * 2015-12-18 2016-05-04 努比亚技术有限公司 Alarm control method and device for mobile terminal, and mobile terminal
CN106331342A (en) * 2016-08-23 2017-01-11 京东方科技集团股份有限公司 Alarm clock realization method and device in electronic device and wearable device
CN106534593A (en) * 2016-12-30 2017-03-22 深圳天珑无线科技有限公司 Alarm clock reminding method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111600996A (en) * 2020-05-18 2020-08-28 龚伟明 Alarm clock reminding system based on client
CN112615962A (en) * 2020-12-30 2021-04-06 惠州Tcl移动通信有限公司 Alarm clock ringing control method, flip mobile phone and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108307074A (en) Display control method and device, terminal, computer readable storage medium
CN108376086A (en) Display control method and device, terminal, computer readable storage medium
CN109246291B (en) Mobile terminal and sleep reminding method and device
CN108536377A (en) Display control method and device, terminal, computer readable storage medium
CN109561219A (en) Music adjusting method, device, mobile terminal and readable storage medium storing program for executing
CN107229389A (en) A kind of method of shared file, equipment and computer-readable recording medium
CN108874121A (en) Control method, wearable device and the computer readable storage medium of wearable device
CN108762472A (en) Wearable device control method, wearable device and computer readable storage medium
CN107613095A (en) Incoming call processing method and mobile terminal
CN108966323A (en) A kind of bright screen control method and device, terminal
CN107463243A (en) A kind of screen control method, mobile terminal and computer-readable recording medium
CN109901695A (en) Display methods, mobile terminal and the computer readable storage medium of screen power saving
CN108628217A (en) Wearable device power consumption control method, wearable device and computer readable storage medium
CN107704754A (en) A kind of terminal control method and device, computer-readable recording medium
CN107635070A (en) A kind of method of prompting message, terminal and storage medium
CN109343699A (en) A kind of bright screen method, apparatus, mobile terminal and storage medium
CN108710786A (en) A kind of method of Anti-addiction, equipment and computer readable storage medium
CN108512991A (en) A kind of based reminding method, mobile terminal and computer readable storage medium
CN108366170A (en) Display control method and device, terminal, computer readable storage medium
CN107277364A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107422853A (en) A kind of gesture identification method, mobile terminal and computer-readable recording medium
CN109992472A (en) A kind of interface monitoring method, terminal and computer readable storage medium
CN109947484A (en) A kind of control method, terminal and computer readable storage medium waking up lock
CN107508977A (en) A kind of automatic processing method of alarm clock, terminal and computer-readable recording medium
CN109126127A (en) Game control method, dual-screen mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171222