CN108174044A - A kind of alarm clock setting method and mobile terminal - Google Patents

A kind of alarm clock setting method and mobile terminal Download PDF

Info

Publication number
CN108174044A
CN108174044A CN201810213087.9A CN201810213087A CN108174044A CN 108174044 A CN108174044 A CN 108174044A CN 201810213087 A CN201810213087 A CN 201810213087A CN 108174044 A CN108174044 A CN 108174044A
Authority
CN
China
Prior art keywords
time
alarm clock
history
user
work
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810213087.9A
Other languages
Chinese (zh)
Other versions
CN108174044B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810213087.9A priority Critical patent/CN108174044B/en
Publication of CN108174044A publication Critical patent/CN108174044A/en
Application granted granted Critical
Publication of CN108174044B publication Critical patent/CN108174044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the present invention provides a kind of alarm clock setting method and mobile terminal, wherein alarm clock setting method includes:When the first history work and rest parameter for monitoring to obtain first time period of the user before current time when the time after the preset duration of current time is history alarm clock calling time;First history work and rest parameter and the second history work and rest parameter are compared, obtain comparison result;Wherein the second history work and rest parameter is the work and rest parameter of second time period of the user before first time period;According to comparison result, carry out alarm clock setting and remind.The automatic setting that the present embodiment realizes alarm clock is reminded, and avoiding user needs to remember alarm clock setting often according to working and resting arrangement.

Description

A kind of alarm clock setting method and mobile terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of alarm clock setting methods and mobile terminal.
Background technology
Now with the popularization of mobile terminal, the alarm clock function on mobile terminal becomes in user's daily life using frequency A higher function of rate.When user uses the alarm clock function on mobile terminal, when user can preset alarm clock calling Between, then when reaching the preset alarm clock calling time, mobile terminal is reminded.But if user is in certain a period of time Between Temporarily Closed alarm clock function, and forget restart alarm clock function, then alarm clock can be caused to preset alarm clock calling Time will not be reminded, and cannot be done the thing mapped out in preset basis of time alarm clock calling so as to cause user, be given User makes troubles.
For example, the preset alarm clock calling time of user is the morning 7 of every workday:30, user's work and rest of one day It arranges to be 8:00 goes out door, and 20:00 into door, but when user is suddenly certain day morning 1:00 when going home, user in order to not influence Rest, has been turned off manually alarm clock function, if user's evening 20 on the day of:00 normally into door and forget restart alarm clock function When, then it is possible that alarm clock was not actuated due to second day, alarm clock fails to carry out time alarm, causes user cannot be original Alarm clock calling time makes normal arrangement, this brings big inconvenience profit to user.
In conclusion existing user in the art needs, according to working and resting arrangement, to adjust alarm clock calling time at any time and setting is noisy Clock on off state causes user to need to remember setting alarm clock often.
Invention content
The embodiment of the present invention provides a kind of alarm clock setting method and mobile terminal, needs to press to solve user in the prior art The problem of remembering setting alarm clock often according to working and resting arrangement.
In order to solve the above-mentioned technical problem, in a first aspect, the embodiment of the present invention provides a kind of alarm clock setting method, it is applied to Mobile terminal, including:
When monitor the time after the preset duration of current time be history alarm clock calling time when, obtain user exist The first history work and rest parameter of first time period before the current time;
First history work and rest parameter and the second history work and rest parameter are compared, obtain comparison result;Wherein institute State the work and rest parameter that the second history work and rest parameter is second time period of the user before the first time period;
According to the comparison result, carry out alarm clock setting and remind.
Second aspect, the embodiment of the present invention provide a kind of mobile terminal, including:
First acquisition module is history alarm clock calling for the time after preset duration in current time is monitored During the time, the first history work and rest parameter of first time period of the user before the current time is obtained;
Second acquisition module for first history work and rest parameter and the second history work and rest parameter to be compared, obtains To comparison result;Wherein described second history work and rest parameter is the work of second time period of the user before the first time period Cease parameter;
Reminding module, for according to the comparison result, carrying out alarm clock setting and reminding.
The third aspect, the embodiment of the present invention provide a kind of mobile terminal, the mobile terminal include processor, memory and The computer program that can be run on the memory and on the processor is stored in, the computer program is by the processing The step of alarm clock setting method is realized when device performs.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer program is stored in matter, the step of the alarm clock setting method that the computer program is realized when being executed by processor.
In this way, the embodiment of the present invention is history alarm clock by the time after preset duration in current time is detected During reminder time, the first history work and rest parameter of first time period of the user before current time is obtained, is then gone through first History work and rest parameter is compared with the second history work and rest parameter, obtains comparison result, finally according to comparison result, is carried out alarm clock and is set Put prompting so that mobile terminal can be according to second before the first history of first time period work and rest parameter and first time period Period the second history work and rest parameter, carry out alarm clock setting remind, and then realize mobile terminal based on work and rest parameter from Dynamic alarm clock setting is reminded, and is enabled a user to be set to remind according to the alarm clock to carry out alarm clock setting, is avoided user's needs The situation of setting alarm clock is often remembered according to working and resting arrangement.
Description of the drawings
Fig. 1 shows the step flow charts of alarm clock setting method in the embodiment of the present invention;
Fig. 2 represents the module frame chart of mobile terminal in the embodiment of the present invention;
Fig. 3 represents the structure diagram of mobile terminal in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, the step flow chart for alarm clock setting method in the embodiment of the present invention, this method includes following step Suddenly:
Step 101:When monitor the time after the preset duration of current time be history alarm clock calling time when, obtain Take the first history work and rest parameter of first time period of the family before current time.
In this step, specifically, the current alarm clock calling time of mobile terminal is current alarm clock calling time, this is current Reminder time when alarm clock calling time is not changed is history alarm clock calling time.For example, what if user was at a time set Alarm clock calling time was the first reminder time, then be changed to currently to show by the first reminder time by alarm clock calling time the Two reminder times, then the first reminder time was history alarm clock calling time, and the second reminder time was current alarm clock calling time.
Specifically, when detecting when the time after the preset duration of current time is history alarm clock calling time, it can To obtain the first history of first time period of the user before current time work and rest parameter.In this way mobile terminal is obtained Get the first history work and rest parameter of first time period, so as to for by the first history work and rest parameter and the second history work and rest parameter into Row relatively provides the foundation.
Specifically, preset duration can be set according to user demand, for example, it can be set to being 10 hours;In addition, the One period can be 24 hour period before current time.It is illustrated herein.Assuming that during history alarm clock calling Between be the workaday morning 8:00, preset duration is 10 hours, and first time period is 24 hours, if current time is Monday at this time At night 22:00, then can monitor whether the time after the preset duration of current time is history alarm clock calling time, if prison It is the morning 8 to measure the time after the preset duration of current time:00, then it is 24 small before current time can to obtain user When in work and rest parameter, that is, obtain user in the week-night 10:00 to all a whole nights 10:Work and rest parameter between 00 so that move The second history work and rest parameter of the first history got work and rest parameter and user can be compared by dynamic terminal.
Wherein, when the first history for obtaining first time period of the user before current time works and rests parameter, can work as Current geographic position residing for mobile terminal is detected as preset geographical position, and monitor current time preset duration it When time afterwards is history alarm clock calling time, user is obtained at current geographic position, and first in first time period is gone through History work and rest parameter, wherein the first history work and rest parameter is included in the first entrance that first time period finally enters current geographic position Time.Specifically, preset geographical position can be the home address of user, it is certainly not specific herein to limit default geographical position It puts.
In this way, the time by the way that first time period of the user at preset geographical position to be finally entered to current geographic position As the first history work and rest parameter so that mobile terminal can obtain first time period of the user at preset geographical position most After work and rest situation, the monitoring of work and rest situation of the mobile terminal to user at preset geographical position is realized, so that mobile Terminal can carry out operation setting based on user in the work and rest situation of preset geographical position.
Step 102:First history work and rest parameter and the second history work and rest parameter are compared, obtain comparison result.
In this step, specifically, the second history work and rest parameter is second time period of the user before first time period Work and rest parameter.For example, if first time period is 24 hours before current time, second time period can between a period of time point Before 24 hours, the time point be current time before 24 hours when time point.In this way so that making by the first history When breath parameter is compared with the second history work and rest parameter, can work and rest the history of the period before current time parameter With being compared than the history work and rest parameter of the period more earlier above, it is enable to determine the history work and rest ginseng of the period Whether number is abnormal.
Wherein, the second history work and rest parameter is included in second time period and finally enters the second of current geographic position into fashionable Between.It is compared by the first history work and rest parameter and the second history work and rest parameter, when obtaining comparison result, first can be detected Whether entry time is in the preset time range belonging to the second entry time;When the first entry time is in preset time range When, obtain normal first comparison result of user's work and rest;When the first entry time is not at preset time range, user is obtained Second comparison result of exception of working and resting.
In this way, by user being finally entered the first entry time of current geographic position in first time period and user exists The preset time range that second time period finally enters belonging to the second entry time of current geographic position is compared, can be true It is whether abnormal into the time of current geographic position for the last time in first time period to determine user, exists so as to obtain user First time period and current geographic position last work and rest whether abnormal comparison result, realize mobile terminal on default ground The detection and analysis for situation of working and resting at position to user are managed, so that mobile terminal can make a noise according to obtained comparison result Clock setting operation.
Step 103:According to comparison result, carry out alarm clock setting and remind.
It in this step, can be according to comparing knot specifically, obtaining user's work and rest whether after normal comparison result Fruit carries out alarm clock setting and reminds.Comparison illustrates herein.
First, when comparison result works and rests normal first comparison result for user, if detecting the current state of alarm clock It is in off state, display reminding user opens the first prompt message of alarm clock.
If in this way, obtaining normal first comparison result of user's work and rest, it can determine that user does not need to change history and makes a noise Clock reminder time, and alarm clock is needed to carry out alarm clock calling in history alarm clock calling time, if detecting the current of alarm clock at this time State is in off state, then the first prompt message of alarm clock can be opened with display reminding user, enables a user to pass through First prompt message start alarm clock, avoid due to alarm clock close caused by upset user work and rest the occurrence of, and Avoiding user needs to remember the situation of setting alarm clock according to working and resting arrangement, realizes work and rest situation of the mobile terminal based on user Alarm clock setting remind.
Second, when comparison result works and rests normal first comparison result for user, if detecting the current state of alarm clock For opening, and when detecting current alarm clock calling time with history alarm clock calling time difference, display reminding user ought Preceding alarm clock calling time is changed to the second prompt message of history alarm clock calling time.
If in this way, obtaining normal first comparison result of user's work and rest, it can determine that user does not need to change history and makes a noise Clock reminder time, and alarm clock is needed to carry out alarm clock calling in history alarm clock calling time, if detecting at this time, alarm clock is opened, but Current alarm clock calling time and history alarm clock calling time are inconsistent, then can be with display reminding user by current alarm clock calling time The second prompt message of history alarm clock calling time is changed to, enables a user to be carried alarm clock according to the second prompt message The awake time is changed to history alarm clock calling time, avoids current alarm clock calling time and user is bothered, and avoid user It needs to remember the situation for setting alarm clock according to working and resting arrangement, realizes the alarm clock setting of work and rest situation of the mobile terminal based on user It reminds.
Third, when comparison result works and rests the second abnormal comparison result for user, if detecting the current state of alarm clock For opening, display reminding user closes the third prompt message of alarm clock or prompting user changes history alarm clock calling time The 4th prompt message.
If in this way, obtaining the second abnormal comparison result of user's work and rest, illustrate that history alarm clock calling time no longer adapts to In the current needs of user, if the current state of alarm clock is opening at this time, can alarm clock be closed with display reminding user Third prompt message so that user can close alarm clock according to third prompt message, so that history alarm clock calling time is not The work and rest of user is impacted or is shown again user changes the 4th prompt message of history alarm clock calling time so that use Family can change history alarm clock calling time according to the 4th prompt message, when enabling a user to according to current alarm clock calling Between work and rest, avoid the alarm clock in opening influences caused by user, and avoid user need according to work and rest The situation of memory setting alarm clock is arranged, the alarm clock setting for realizing work and rest situation of the mobile terminal based on user is reminded.
The present embodiment is history alarm clock calling time by the time after preset duration in current time is detected When, the first history work and rest parameter of first time period of the user before current time is obtained, then the first history is worked and rested and is joined Number is compared with the second history work and rest parameter, obtains comparison result, finally according to comparison result, is carried out alarm clock setting and is reminded, Mobile terminal enable according to the second time period before the first history of first time period work and rest parameter and first time period The second history work and rest parameter, carry out alarm clock setting remind, and then realize mobile terminal based on work and rest parameter automatic alarm clock Setting is reminded, and enables a user to be set to remind according to the alarm clock to carry out alarm clock setting, avoiding user needs according to work Format often remembers the situation of setting alarm clock.
On the other hand, as shown in Fig. 2, the embodiment of the present invention provides a kind of mobile terminal, including:
First acquisition module 201 is history alarm clock for the time after preset duration in current time is monitored During reminder time, the first history work and rest parameter of first time period of the user before the current time is obtained;
Second acquisition module 202, for first history work and rest parameter and the second history work and rest parameter to be compared, Obtain comparison result;Wherein described second history work and rest parameter is second time period of the user before the first time period Work and rest parameter;
Reminding module 203, for according to the comparison result, carrying out alarm clock setting and reminding.
Mobile terminal provided in this embodiment by the first acquisition module monitor current time preset duration it When time afterwards is history alarm clock calling time, the first history work and rest of first time period of the user before current time is obtained First history work and rest parameter and the second history work and rest parameter by the second acquisition module are compared, obtain comparing knot by parameter Fruit;Wherein the second history work and rest parameter is the work and rest parameter of second time period of the user before first time period;Pass through prompting Module carries out alarm clock setting and reminds according to comparison result.The present embodiment enables mobile terminal according to the of first time period The second history work and rest parameter of second time period before one history work and rest parameter and first time period, carries out alarm clock setting and carries It wakes up, and then realizes automatic alarm clock of the mobile terminal based on work and rest parameter and prompting is set, enable a user to noisy according to this Clock setting, which is reminded, carries out alarm clock setting, and avoiding user needs often to remember the situation of setting alarm clock according to working and resting arrangement.
Optionally, first acquisition module is used for, when detecting that the current geographic position residing for mobile terminal is default Geographical location, and monitor, when the time after the preset duration of current time is history alarm clock calling time, to obtain user At the current geographic position, and in the first history work and rest parameter of the first time period;Wherein described first history is made Breath parameter is included in the first entry time that the first time period finally enters the current geographic position.
Optionally, second history work and rest parameter is included in the second time period and finally enters the current geographic position The second entry time put;Second acquisition module includes:
Detection unit, for detect first entry time whether default belonging to second entry time when Between range;
First acquisition unit is made for when first entry time is in the preset time range, obtaining user Cease normal first comparison result;
Second acquisition unit, for when first entry time is not at the preset time range, obtaining user Second comparison result of exception of working and resting.
Optionally, the reminding module includes:
First display alarm unit, for when the comparison result for user work and rest normal first comparison result when, if Detect that the current state of alarm clock is in off state, display reminding user opens the first prompt message of alarm clock;Alternatively,
Second display alarm unit, for when the comparison result for user work and rest normal first comparison result when, if The current state for detecting alarm clock is opening, and detect current alarm clock calling time and the history alarm clock calling time When different, the current alarm clock calling time is changed to the second prompting of the history alarm clock calling time by display reminding user Information.
Optionally, the reminding module includes:
Third display alarm unit, for when the comparison result works and rests the second abnormal comparison result for user, if The current state for detecting alarm clock is opening, and display reminding user closes the third prompt message of alarm clock or prompting user Change the 4th prompt message of the history alarm clock calling time.
Mobile terminal provided in an embodiment of the present invention passes through the time after preset duration in current time is detected During for history alarm clock calling time, the first history work and rest parameter of first time period of the user before current time is obtained, so The first history work and rest parameter and the second history parameter of working and resting are compared afterwards, obtain comparison result, finally according to comparison result, It carries out alarm clock setting to remind so that mobile terminal can be according to the first history of first time period work and rest parameter and first time period The second history work and rest parameter of second time period before, carries out alarm clock setting and reminds, and then realizes mobile terminal and be based on making The automatic alarm clock setting for ceasing parameter is reminded, and is enabled a user to be set to remind according to the alarm clock to carry out alarm clock setting, be avoided User needs often to remember the situation of setting alarm clock according to working and resting arrangement.
In addition, a kind of hardware architecture diagram of Fig. 3 mobile terminals of each embodiment to realize the present invention.The movement is whole End 300 includes but not limited to:Radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305th, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310 and power supply 311 etc. Component.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 3 does not form the restriction to mobile terminal, Mobile terminal can include either combining certain components or different components arrangement than illustrating more or fewer components. In the embodiment of the present invention, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted end End, wearable device and pedometer etc..
Wherein, processor 310 is used for, and the time after preset duration in current time is monitored carries for history alarm clock During the awake time, the first history work and rest parameter of first time period of the user before the current time is obtained;By described first History work and rest parameter is compared with the second history work and rest parameter, obtains comparison result;Wherein described second history work and rest parameter Work and rest parameter for second time period of the user before the first time period;According to the comparison result, carry out alarm clock and set Put prompting.
Mobile terminal provided in this embodiment is by the time after preset duration in current time is detected to go through During history alarm clock calling time, the first history work and rest parameter of first time period of the user before current time is obtained, then will First history work and rest parameter is compared with the second history work and rest parameter, obtains comparison result, finally according to comparison result, is carried out Alarm clock setting is reminded so that mobile terminal can be worked and rested according to the first history of first time period before parameter and first time period Second time period the second history work and rest parameter, carry out alarm clock setting remind, and then realize mobile terminal be based on work and rest join Several automatic alarm clock settings are reminded, and are enabled a user to be set to remind according to the alarm clock to carry out alarm clock setting, are avoided use Family needs often to remember the situation of setting alarm clock according to working and resting arrangement.
It should be understood that the embodiment of the present invention in, radio frequency unit 301 can be used for receive and send messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, handled to processor 310;In addition, by uplink Data are sent to base station.In general, radio frequency unit 301 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 301 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 302 and has accessed, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
It is that audio output unit 303 can receive radio frequency unit 301 or network module 302 or in memory 309 The audio data of storage is converted into audio signal and exports as sound.Moreover, audio output unit 303 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 300 performs is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 303 includes loud speaker, buzzer and receiver etc..
Input unit 304 is used to receive audio or video signal.Input unit 304 can include graphics processor (Graphics Processing Unit, GPU) 3041 and microphone 3042, graphics processor 3041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 306.Through graphics processor 3041, treated that picture frame can be deposited Storage is sent in memory 309 (or other storage mediums) or via radio frequency unit 301 or network module 302.Mike Wind 3042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The form output of mobile communication base station can be sent to via radio frequency unit 301 by being converted in the case of telephone calling model.
Mobile terminal 300 further includes at least one sensor 305, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 3061, and proximity sensor can close when mobile terminal 300 is moved in one's ear Display panel 3061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 305 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared ray sensor etc. are spent, details are not described herein.
Display unit 306 is used to show by information input by user or be supplied to the information of user.Display unit 306 can wrap Display panel 3061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Display panel 3061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 307 can be used for receiving the number inputted or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 307 include touch panel 3071 and Other input equipments 3072.Touch panel 3071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 3071 or in touch panel 3071 Neighbouring operation).Touch panel 3071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 310, receiving area It manages the order that device 310 is sent and is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 3071.In addition to touch panel 3071, user input unit 307 can also include other input equipments 3072.Specifically, other input equipments 3072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 3071 can be covered on display panel 3061, when touch panel 3071 is detected at it On or near touch operation after, send to processor 310 with determine touch event type, be followed by subsequent processing device 310 according to touch The type for touching event provides corresponding visual output on display panel 3061.Although in figure 3, touch panel 3071 and display Panel 3061 is the component independent as two to realize the function that outputs and inputs of mobile terminal, but in some embodiments In, can be integrated by touch panel 3071 and display panel 3061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 308 is the interface that external device (ED) is connect with mobile terminal 300.For example, external device (ED) can include Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, audio input/output (I/O) port, video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 308 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and One or more elements that the input received is transferred in mobile terminal 300 can be used in 300 He of mobile terminal Data are transmitted between external device (ED).
Memory 309 can be used for storage software program and various data.Memory 309 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 Audio data, phone directory etc.) etc..In addition, memory 309 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 310 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 309 and/or module and call Data in device 309 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 310 may include one or more processing units;Preferably, processor 310 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 310.
Mobile terminal 300 can also include the power supply 311 (such as battery) powered to all parts, it is preferred that power supply 311 Can be logically contiguous by power-supply management system and processor 310, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 300 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, and including processor 310, memory 309 is stored in On memory 309 and the computer program that can be run on the processor 310, the computer program are performed by processor 310 Each process of the above-mentioned alarm clock setting methods of Shi Shixian, and identical technique effect can be reached, it is repeated to avoid, it is no longer superfluous here It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned alarm clock setting method embodiment, and energy when being executed by processor Reach identical technique effect, repeated to avoid, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
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 elements, and And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
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 of the present invention substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form is belonged within the protection of the present invention.

Claims (10)

1. a kind of alarm clock setting method, applied to mobile terminal, which is characterized in that including:
When monitor the time after the preset duration of current time be history alarm clock calling time when, obtain user described The first history work and rest parameter of first time period before current time;
First history work and rest parameter and the second history work and rest parameter are compared, obtain comparison result;Wherein described Two history work and rest parameter is the work and rest parameter of second time period of the user before the first time period;
According to the comparison result, carry out alarm clock setting and remind.
It is 2. according to the method described in claim 1, it is characterized in that, described after the preset duration in current time is monitored Time when being history alarm clock calling time, the first history for obtaining first time period of the user before the current time is made Parameter is ceased, including:
When detecting the current geographic position residing for mobile terminal as preset geographical position, and monitor in the default of current time When time after duration is history alarm clock calling time, user is obtained at the current geographic position, and described first The first history work and rest parameter of period;
Wherein first history work and rest parameter be included in that the first time period finally enters the current geographic position the One entry time.
3. according to the method described in claim 2, it is characterized in that, when second history work and rest parameter is included in described second Between section finally enter the second entry time of the current geographic position;
It is described to be compared first history work and rest parameter and the second history work and rest parameter, comparison result is obtained, including:
First entry time is detected whether in the preset time range belonging to second entry time;
When first entry time is in the preset time range, normal first comparison result of user's work and rest is obtained;
When first entry time is not at the preset time range, obtains user abnormal second of working and resting and compare knot Fruit.
4. according to the method described in claim 1, it is characterized in that, described according to comparison result, progress alarm clock setting is reminded, packet It includes:
When the comparison result works and rests normal first comparison result for user, if detecting the current state of alarm clock to close State, display reminding user open the first prompt message of alarm clock;Alternatively,
When the comparison result works and rests normal first comparison result for user, if detecting the current state of alarm clock to open State, and when detecting current alarm clock calling time and the history alarm clock calling time difference, display reminding user will described in Current alarm clock calling time is changed to the second prompt message of the history alarm clock calling time.
5. according to the method described in claim 1, it is characterized in that, described according to comparison result, progress alarm clock setting is reminded, packet It includes:
When the comparison result works and rests the second abnormal comparison result for user, if detecting the current state of alarm clock to open State, display reminding user closes the third prompt message of alarm clock or prompting user changes the history alarm clock calling time 4th prompt message.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First acquisition module is history alarm clock calling time for the time after preset duration in current time is monitored When, the first history work and rest parameter of first time period of the acquisition user before the current time;
Second acquisition module for first history work and rest parameter and the second history work and rest parameter to be compared, is compared Relatively result;Wherein described second history work and rest parameter is joined for the work and rest of second time period of the user before the first time period Number;
Reminding module, for according to the comparison result, carrying out alarm clock setting and reminding.
7. mobile terminal according to claim 6, which is characterized in that first acquisition module is used for, and is moved when detecting Current geographic position residing for dynamic terminal is preset geographical position, and monitor the time after the preset duration of current time During for history alarm clock calling time, user is obtained at the current geographic position, and first in the first time period is gone through History work and rest parameter;
Wherein first history work and rest parameter be included in that the first time period finally enters the current geographic position the One entry time.
8. mobile terminal according to claim 7, which is characterized in that second history work and rest parameter is included in described the Two periods finally entered the second entry time of the current geographic position;Second acquisition module includes:
Detection unit, for whether detecting first entry time in the preset time model belonging to second entry time It encloses;
First acquisition unit, for when first entry time is in the preset time range, obtaining user's work and rest just The first normal comparison result;
Second acquisition unit, for when first entry time is not at the preset time range, obtaining user's work and rest The second abnormal comparison result.
9. mobile terminal according to claim 6, which is characterized in that the reminding module includes:
First display alarm unit, for when the comparison result for user work and rest normal first comparison result when, if detection Current state to alarm clock is in off state, and display reminding user opens the first prompt message of alarm clock;Alternatively,
Second display alarm unit, for when the comparison result for user work and rest normal first comparison result when, if detection Current state to alarm clock is opening, and detect that current alarm clock calling time is different from the history alarm clock calling time When, the second prompting that the current alarm clock calling time is changed to the history alarm clock calling time by display reminding user is believed Breath.
10. mobile terminal according to claim 6, which is characterized in that the reminding module includes:
Third display alarm unit, for when the comparison result works and rests the second abnormal comparison result for user, if detection Current state to alarm clock is opening, and display reminding user closes the third prompt message of alarm clock or prompting user's change 4th prompt message of the history alarm clock calling time.
CN201810213087.9A 2018-03-15 2018-03-15 Alarm clock setting method and mobile terminal Active CN108174044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810213087.9A CN108174044B (en) 2018-03-15 2018-03-15 Alarm clock setting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810213087.9A CN108174044B (en) 2018-03-15 2018-03-15 Alarm clock setting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108174044A true CN108174044A (en) 2018-06-15
CN108174044B CN108174044B (en) 2020-11-03

Family

ID=62512009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810213087.9A Active CN108174044B (en) 2018-03-15 2018-03-15 Alarm clock setting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108174044B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960785A (en) * 2018-07-13 2018-12-07 维沃移动通信有限公司 A kind of information cuing method and device
CN109068003A (en) * 2018-09-25 2018-12-21 努比亚技术有限公司 Sleep alarm clock setting method, device, mobile terminal and readable storage medium storing program for executing
CN109474750A (en) * 2018-12-18 2019-03-15 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the medium of alarm clock are set
CN109753327A (en) * 2018-11-19 2019-05-14 努比亚技术有限公司 A kind of control layout method, terminal and computer readable storage medium
CN109769062A (en) * 2018-12-11 2019-05-17 惠州Tcl移动通信有限公司 Method, intelligent terminal and the device with store function of quarter-bell backup
CN110688184A (en) * 2019-09-24 2020-01-14 维沃移动通信有限公司 System function setting method and mobile terminal
CN110865757A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Alarm clock setting method and electronic equipment
WO2023088414A1 (en) * 2021-11-22 2023-05-25 北京字跳网络技术有限公司 Interaction method and apparatus, and electronic device, storage medium and computer program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534522A (en) * 2016-10-28 2017-03-22 北京珠穆朗玛移动通信有限公司 Alarm clock prompting method and mobile terminal
CN106791193A (en) * 2017-02-13 2017-05-31 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107566611A (en) * 2017-08-07 2018-01-09 珠海市魅族科技有限公司 A kind of alarm clock setting method, device, computer installation and computer-readable recording medium
US20180042547A1 (en) * 2015-09-30 2018-02-15 Apple Inc. Adjusting alarms based on sleep onset latency

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180042547A1 (en) * 2015-09-30 2018-02-15 Apple Inc. Adjusting alarms based on sleep onset latency
CN106534522A (en) * 2016-10-28 2017-03-22 北京珠穆朗玛移动通信有限公司 Alarm clock prompting method and mobile terminal
CN106791193A (en) * 2017-02-13 2017-05-31 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN106990708A (en) * 2017-04-28 2017-07-28 深圳如果技术有限公司 A kind of alarm clock ringing method, device and electronic equipment
CN107566611A (en) * 2017-08-07 2018-01-09 珠海市魅族科技有限公司 A kind of alarm clock setting method, device, computer installation and computer-readable recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960785A (en) * 2018-07-13 2018-12-07 维沃移动通信有限公司 A kind of information cuing method and device
CN109068003A (en) * 2018-09-25 2018-12-21 努比亚技术有限公司 Sleep alarm clock setting method, device, mobile terminal and readable storage medium storing program for executing
CN109753327A (en) * 2018-11-19 2019-05-14 努比亚技术有限公司 A kind of control layout method, terminal and computer readable storage medium
CN109769062A (en) * 2018-12-11 2019-05-17 惠州Tcl移动通信有限公司 Method, intelligent terminal and the device with store function of quarter-bell backup
CN109474750A (en) * 2018-12-18 2019-03-15 Oppo广东移动通信有限公司 Method, apparatus, electronic equipment and the medium of alarm clock are set
CN110688184A (en) * 2019-09-24 2020-01-14 维沃移动通信有限公司 System function setting method and mobile terminal
CN110865757A (en) * 2019-11-29 2020-03-06 维沃移动通信有限公司 Alarm clock setting method and electronic equipment
WO2023088414A1 (en) * 2021-11-22 2023-05-25 北京字跳网络技术有限公司 Interaction method and apparatus, and electronic device, storage medium and computer program product

Also Published As

Publication number Publication date
CN108174044B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN108174044A (en) A kind of alarm clock setting method and mobile terminal
CN108089891A (en) A kind of application program launching method, mobile terminal
CN107832110A (en) A kind of information processing method and mobile terminal
CN109788136A (en) Information display method and mobile terminal
CN108135033A (en) A kind of Bluetooth connecting method and mobile terminal
CN108063999A (en) A kind of dust-proof network detecting method, mobile terminal
CN109215683A (en) A kind of reminding method and terminal
CN108391008A (en) A kind of message prompt method and mobile terminal
CN108319833A (en) A kind of control method and mobile terminal of application program
CN108628644A (en) A kind of the startup method, apparatus and mobile terminal of application
CN110209275A (en) Terminal control method and terminal
CN110286980A (en) A kind of schedule creation method and mobile terminal
CN107888765A (en) A kind of method of handoff scenario pattern, mobile terminal
CN108174017A (en) A kind of bluetooth open method and mobile terminal
CN110149628A (en) A kind of information processing method and terminal device
CN109451144A (en) A kind of message treatment method and terminal device
CN108062195A (en) The reminding method and mobile terminal of a kind of notification event
CN110138963A (en) A kind of message treatment method and mobile terminal
CN109831582A (en) Non- response events processing method and terminal
CN109451158A (en) A kind of based reminding method and device
CN107819957A (en) A kind of electricity based reminding method, mobile terminal
CN108196663A (en) A kind of face identification method, mobile terminal
CN108200263A (en) A kind of information processing method and device
CN107613140B (en) Alarm clock setting prompting method, mobile terminal and computer readable storage medium
CN108184029A (en) A kind of alarm clock prompting method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant