CN106775646A - Alarm clock control method and device - Google Patents

Alarm clock control method and device Download PDF

Info

Publication number
CN106775646A
CN106775646A CN201611050434.8A CN201611050434A CN106775646A CN 106775646 A CN106775646 A CN 106775646A CN 201611050434 A CN201611050434 A CN 201611050434A CN 106775646 A CN106775646 A CN 106775646A
Authority
CN
China
Prior art keywords
alarm clock
sunrise moment
time
module
ring time
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
CN201611050434.8A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611050434.8A priority Critical patent/CN106775646A/en
Publication of CN106775646A publication Critical patent/CN106775646A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • 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)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

The disclosure is directed to alarm clock control method and device.The method includes:First, the sunrise moment in user location is obtained, alarm clock ring time is then determined according to the sunrise moment, finally, prompt message is exported when alarm clock ring time is reached.Due to Four seasons change, the time that the sun rises all is daily different, and alarm clock ring time is determined by according to the sunrise moment in the user location for getting, and the alarm clock of the more hommization of realization is set, and cause that getting up for user more meets the rule of four seasons operation, effectively improve Consumer's Experience.

Description

Alarm clock control method and device
Technical field
This disclosure relates to communication technical field, more particularly to alarm clock control method and device.
Background technology
At present, with science and technology continue to develop and user's request raising, terminal device is towards intelligent, function Diversified direction is developed, such as mobile phone used in everyday, in addition to possessing the common functions such as make a phone call, send short messages, also provides Other miscellaneous functions, such as:Alarm clock.
In the alarm clock function using mobile phone, user manually sets alarm clock ring time according to the experience of oneself, works as mobile phone Detect during up to current point in time arrival alarm clock ring time, then remind user.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure to provide alarm clock control method and device.The skill Art scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock control method, including:
Obtain the sunrise moment in user location;
Alarm clock ring time is determined according to the sunrise moment;
Prompt message is exported when the alarm clock ring time is reached.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, alarm clock ring time is then determined according to the sunrise moment, finally, when alarm clock ring time is reached export prompting Information.Due to Four seasons change, the time that the sun rises all is daily different, by according to the user location for getting The sunrise moment determines alarm clock ring time, and the alarm clock of the more hommization of realization is set, and causes that getting up for user more meets four The rule of Ji Yunhang, effectively improves Consumer's Experience.
In one embodiment, it is described that alarm clock ring time is determined according to the sunrise moment, including:
Determine that the sunrise moment is the alarm clock ring time;
Or,
The alarm clock ring time is determined according to the sunrise moment and Preset Time step-length.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, it is then determined that the sunrise moment be alarm clock ring time, or, true according to the sunrise moment and Preset Time step-length The fixed alarm clock ring time, finally, prompt message is exported when alarm clock ring time is reached.Due to being determined according to the sunrise moment Alarm clock ring time, so that the alarm clock of the more hommization realized is set, and causes that getting up for user more meets four seasons operation Rule, effectively improves Consumer's Experience.
In one embodiment, it is described when determining the alarm clock jingle bell according to the sunrise moment and Preset Time step-length Between, including:
Determine that the sunrise moment is the alarm clock ring time plus the time point obtained by the Preset Time step-length;
Or,
It is the alarm clock ring time to determine that the sunrise moment subtracts time point obtained by the Preset Time step-length.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, it is then determined that the sunrise moment is alarm clock sound plus the time point obtained by the Preset Time step-length The bell time, or, when determining that the sunrise moment, to subtract time point obtained by the Preset Time step-length be the alarm clock jingle bell Between, finally, prompt message is exported when alarm clock ring time is reached.Due to determining alarm clock ring time according to the sunrise moment, from And the alarm clock of the more hommization realized is set, and cause that getting up for user more meets the rule of four seasons operation, effectively improve Consumer's Experience.
In one embodiment, the prompt message that exported when the alarm clock ring time is reached includes:
When the alarm clock ring time is reached prompt message is exported by way of vibrations;
Or,
Prompt message is exported by way of quarter-bell when the alarm clock ring time is reached.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, alarm clock ring time is then determined according to the sunrise moment, finally, when alarm clock ring time is reached by vibrations Or the mode of quarter-bell exports prompt message.Due to Four seasons change, the time that the sun rises all is daily different, by basis The sunrise moment determines alarm clock ring time, and prompting message is exported when alarm clock ring time is reached to remind user, so that Obtain getting up for user and more meet the rule of four seasons operation, effectively improve Consumer's Experience.
In one embodiment, the sunrise moment for obtaining user location, including:
The sunrise moment is obtained by third-party platform.
The technical scheme provided by this disclosed embodiment can include the following benefits:
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock control device, including:
Acquisition module, the sunrise moment for obtaining user location;
Determining module, the sunrise moment for being obtained according to the acquisition module determines alarm clock ring time;
Output module, the alarm clock ring time for determining in the determining module exports prompt message when reaching.
In one embodiment, the determining module includes:First determination sub-module,
First determination sub-module, for determining that the sunrise moment that the acquisition module is obtained is alarm clock sound The bell time.
In one embodiment, the determining module includes:Second determination sub-module,
Second determination sub-module, walks for the sunrise moment obtained according to the acquisition module and Preset Time It is long to determine the alarm clock ring time.
In one embodiment, second determination sub-module includes:3rd determination sub-module,
3rd determination sub-module, for determining that the sunrise moment that the acquisition module is obtained presets plus described Time point obtained by time step is the alarm clock ring time.
In one embodiment, second determination sub-module includes:4th determination sub-module,
4th determination sub-module, for determining that the sunrise moment that the acquisition module is obtained subtracts described presetting Time point obtained by time step is the alarm clock ring time.
In one embodiment, the output module includes:Vibrations output sub-module,
The vibrations output sub-module, the alarm clock ring time for determining in the determining module passes through when reaching The mode of vibrations exports prompt message.
In one embodiment, the output module includes:Quarter-bell output sub-module,
The quarter-bell output sub-module, the alarm clock ring time for determining in the determining module passes through when reaching The mode of quarter-bell exports prompt message.
In one embodiment, the acquisition module includes:Acquisition submodule,
The acquisition submodule, for obtaining the sunrise moment by third-party platform.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock control device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the sunrise moment in user location;
Alarm clock ring time is determined according to the sunrise moment;
Prompt message is exported when the alarm clock ring time is reached.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and it is used to explain the principle of the disclosure together with specification.
Fig. 1 is the flow chart of the alarm clock control method according to an exemplary embodiment one.
Fig. 2 is the flow chart of step S102 in alarm clock control method according to an exemplary embodiment one.
Fig. 3 is the flow chart of step S102 in alarm clock control method according to an exemplary embodiment two.
Fig. 4 is the flow chart of step S1022 in alarm clock control method according to an exemplary embodiment one.
Fig. 5 is the flow chart of step S1022 in alarm clock control method according to an exemplary embodiment two.
Fig. 6 is the flow chart of step S103 in alarm clock control method according to an exemplary embodiment one.
Fig. 7 is the flow chart of step S103 in alarm clock control method according to an exemplary embodiment two.
Fig. 8 is the flow chart of step S101 in alarm clock control method according to an exemplary embodiment one.
Fig. 9 is the flow chart of the alarm clock control method according to an exemplary embodiment two.
Figure 10 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment one.
Figure 11 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment two.
Figure 12 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment three.
Figure 13 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment four.
Figure 14 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment five.
Figure 15 is the block diagram of the alarm clock control device according to an exemplary embodiment.
Figure 16 is the block diagram of the determining module 12 in the alarm clock control device according to an exemplary embodiment one.
Figure 17 is the block diagram of the determining module 12 in the alarm clock control device according to an exemplary embodiment two.
Figure 18 is the frame of the second determination sub-module 122 in the alarm clock control device according to an exemplary embodiment one Figure.
Figure 19 is the frame of the second determination sub-module 122 in the alarm clock control device according to an exemplary embodiment two Figure.
Figure 20 is the block diagram of the output module 13 in the alarm clock control device according to an exemplary embodiment one.
Figure 21 is the block diagram of the output module 13 in the alarm clock control device according to an exemplary embodiment two.
Figure 22 is the block diagram of the acquisition module 11 in the alarm clock control device according to an exemplary embodiment.
Figure 23 is a kind of block diagram of the device 80 for alarm clock control according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent all implementation methods consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Fig. 1 is the flow chart of the alarm clock control method according to an exemplary embodiment one, as shown in figure 1, the alarm clock Control method comprises the following steps S101-S103:
In step S101, the sunrise moment in user location is obtained.
In step s 102, alarm clock ring time is determined according to the sunrise moment.
In step s 103, prompt message is exported when alarm clock ring time is reached.
The embodiment of the present disclosure provides a kind of alarm clock control method, including:First, the sunrise moment in user location is obtained, Then alarm clock ring time is determined according to the sunrise moment, finally, prompt message is exported when alarm clock ring time is reached.Due to four Season crack, the time that the sun rises all is daily different, and the sunrise moment in the user location got by basis is true Set an alarm ring time, and the alarm clock of the more hommization of realization is set, and causes that getting up for user more meets the rule of four seasons operation Rule, effectively improves Consumer's Experience.
In one embodiment, as shown in Fig. 2 step S102 can also be embodied as:Step S1021.
In step S1021, determine that the sunrise moment is alarm clock ring time.
In the present embodiment, if user needs the working time more long on daytime, then can directly determine what is got The sunrise moment is alarm clock ring time so that user gets up at once when just arriving daytime, so as to avoid because alarm clock sets The problem of working time deficiency caused by putting the time too late.
And if it is determined that the sunrise moment be alarm clock ring time, also may be such that the biological clock of user more conforms to health Rule, namely can daily daytime just arrive when get up, improve Consumer's Experience.
For example:The sunrise moment is 5:00, then then determine 5:00 is alarm clock ring time, 5:During 00 arrival, output is carried Show information to point out user to get up.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, it is then determined that the sunrise moment be alarm clock ring time, finally, when alarm clock ring time is reached export prompting believe Breath.Due to being alarm clock ring time by the sunrise moment, so that the alarm clock of the more hommization realized is set, and rising for user is caused Bed more meets the rule of four seasons operation, effectively improves Consumer's Experience.
In one embodiment, as shown in figure 3, step S102 can also be embodied as:Step S1022.
In step S1022, alarm clock ring time is determined according to sunrise moment and Preset Time step-length.
If the user feels that it is a little too early to be got up at the sunrise moment, do not meet oneself work and life demand, then At this point it is possible to determine alarm clock ring time according to Preset Time step-length and the sunrise moment for getting.
For example:The sunrise moment is 5:00, Preset Time step-length is 30 minutes, then now just can be according to 5:00 and 30 point Clock determines alarm clock ring time.
In one embodiment, as shown in figure 4, step S1022 can also be embodied as:Step S1022a.
In step S1022a, when determining the sunrise moment plus the time point obtained by Preset Time step-length for alarm clock jingle bell Between.
Continue according to above-mentioned example, 5 can be set:00 plus the time point 5 obtained by 30 minutes:30 is alarm clock jingle bell Time, namely 5:When 30, alarm clock output prompt message, to point out user to get up.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, it is then determined that the sunrise moment is alarm clock ring time plus the time point obtained by Preset Time step-length, finally, Prompt message is exported when alarm clock ring time is reached.Due to determine alarm clock ring time be it is related to the sunrise moment, from And obtain getting up for user and more meet the rule of four seasons operation, effectively improve Consumer's Experience.
In one embodiment, as shown in figure 5, step S1022 can also be embodied as:Step S1022b.
In step S1022b, when determining that the sunrise moment, to subtract time point obtained by Preset Time step-length be alarm clock jingle bell Between.
Continue according to above-mentioned example, 5 can be set:00 subtracts the time point 4 obtained by 30 minutes:30 is alarm clock jingle bell Time, namely 4:When 30, alarm clock output prompt message, to point out user to get up.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, it is then determined that the sunrise moment subtract time point obtained by Preset Time step-length for alarm clock ring time, finally, Prompt message is exported when alarm clock ring time is reached.Due to determine alarm clock ring time be it is related to the sunrise moment, from And obtain getting up for user and more meet the rule of four seasons operation, effectively improve Consumer's Experience.
In one embodiment, as shown in fig. 6, step S103 can also be embodied as:Step S1031.
In step S1031, prompt message is exported by way of vibrations when alarm clock ring time is reached.
The technical scheme provided by this disclosed embodiment can include the following benefits:Including:First, user institute is obtained At the sunrise moment on ground, alarm clock ring time is then determined according to the sunrise moment, finally, passed through when alarm clock ring time is reached The mode of vibrations exports prompt message.Due to Four seasons change, the time that the sun rises all is daily different, by according to day Go out determination alarm clock ring time constantly, and prompting message is exported when alarm clock ring time is reached to remind user, so that Getting up for user more meets the rule of four seasons operation, effectively improves Consumer's Experience.
In one embodiment, as shown in fig. 7, step S103 can also be embodied as:Step S1032.
In step S1032, prompt message is exported by way of quarter-bell when alarm clock ring time is reached.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, user location is obtained The sunrise moment, alarm clock ring time is then determined according to the sunrise moment, finally, when alarm clock ring time is reached pass through quarter-bell Mode export prompt message.Due to Four seasons change, the time that the sun rises all is daily different, by according at sunrise Carve and determine alarm clock ring time, and prompting message is exported when alarm clock ring time is reached to remind user, so that user Get up more meet the four seasons operation rule, effectively improve Consumer's Experience.
In one embodiment, as shown in figure 8, step S101 can also be embodied as:Step S1011.
In step S1011, the sunrise moment is obtained by third-party platform.
In the present embodiment, the sunrise moment can be obtained by network side, it is also possible to which day is got by other-end equipment Go out the moment, the disclosure is not limited to third-party platform, also the method for obtaining the sunrise moment is not any limitation as.
The technical scheme provided by this disclosed embodiment can include the following benefits:First, by third-party platform The sunrise moment is obtained, alarm clock ring time is then determined according to the sunrise moment, finally, exported when alarm clock ring time is reached and carried Show information.The sunrise moment in user location is obtained by third-party platform, so as to the result for getting is more accurate, so that noisy The setting time of clock is more accurate.
Fig. 9 is the flow chart of the alarm clock control method according to an exemplary embodiment two, as shown in figure 9, this implementation The method of example is applied to terminal device, and the alarm clock control method comprises the following steps S201-S203:
In step s 201, the sunrise moment in user location is obtained by network side.
In step S202, the sunrise moment is determined for alarm clock ring time, or, determining that the sunrise moment walks plus Preset Time Resulting time point is grown for alarm clock ring time, or the time point that the determination sunrise moment is subtracted obtained by Preset Time step-length is Alarm clock ring time.
In step S203, prompt message is exported by way of vibrations when alarm clock ring time is reached, or, in alarm clock Ring time exports prompt message when reaching by way of quarter-bell.
The embodiment of the present disclosure provides a kind of alarm clock control method, including:First, user location is obtained by network side The sunrise moment;It is then determined that the sunrise moment is alarm clock ring time, or, determining the sunrise moment plus obtained by Preset Time step-length Time point be alarm clock ring time, or it is alarm clock jingle bell to determine that the sunrise moment subtracts time point obtained by Preset Time step-length Time;Finally, prompt message is exported by way of vibrations when alarm clock ring time is reached, or, being arrived in alarm clock ring time Up to when prompt message is exported by way of quarter-bell.Due to Four seasons change, the time that the sun rises all is daily different, is led to Cross and alarm clock ring time is determined according to the sunrise moment in the user location for getting, the alarm clock of the more hommization of realization sets Put, and cause that getting up for user more meets the rule of four seasons operation, effectively improve Consumer's Experience.
Figure 10 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment one, Figure 11 is screen display schematic diagram when setting alarm clock by terminal device according to an exemplary embodiment two, and Figure 12 is root According to screen display schematic diagram when setting alarm clock by terminal device shown in an exemplary embodiment three, Figure 13 is according to an example Property example IV shown in by terminal device set alarm clock when screen display schematic diagram, Figure 14 is according to an exemplary embodiment Screen display schematic diagram when alarm clock is set by terminal device shown in five, as shown in Figure 10, when user needs to set the disclosure During the alarm clock of offer, the prompting frame of " addition alarm clock " is now shown on the screen of terminal device, now user can click on this and " add Plus alarm clock " prompting frame, the screen of terminal device enters the interface shown in Figure 11, occur on screen " common alarm clock " prompting frame and " sunrise alarm clock " prompting frame, wherein, common alarm clock is the alarm clock commonly used in correlation technique, and sunrise alarm clock is this public affairs The alarm clock of embodiment offer is opened, now user can click on " sunrise alarm clock " prompting frame, and the screen of terminal device enters Figure 12 Shown interface, namely enter the interface that alarm clock ring time is set, three choice boxs are had, respectively " sunrise moment ", " day Go out and add Preset Time step-length constantly " or " the sunrise moment subtracts Preset Time step-length ", that is, as user's selection " sunrise moment " When, it is determined that the sunrise moment is alarm clock ring time, and interface as shown in figure 18 is shown on the screen of terminal device;Work as user During selection " the sunrise moment adds Preset Time step-length ", it is determined that when " the sunrise moment adds Preset Time step-length " is for alarm clock jingle bell Between, and interface as shown in fig. 13 that is shown on the screen of terminal device;When user's selection, " the sunrise moment subtracts Preset Time step It is long " when, it is determined that " the sunrise moment subtracts Preset Time step-length " is alarm clock ring time, and is shown such as on the screen of terminal device Interface shown in Figure 13, for example, now user's selection alarm clock ring time is " the sunrise moment adds Preset Time step-length ", Then the screen of terminal device enters the interface shown in Figure 13, namely enters the interface that Preset Time step-length is set, and has two choosings Frame is selected, respectively " is given tacit consent to " and " user input ", wherein, " acquiescence " is the Preset Time step-length pre-seted in system, for example:Can Think 10 minutes, 20 minutes or 30 minutes etc., the Preset Time step-length of " user input " for needed for user oneself is manually entered, example Such as:Can be 13 minutes, 29 minutes, or 63 minutes etc., when user selects " acquiescence " choice box, the screen entrance of terminal device Interface shown in Figure 14, namely prompting user's alarm clock is set successfully, or, when user is input into what is wanted in " user input " choice box After Preset Time step-length, the screen of terminal device likewise enters the interface shown in Figure 14, namely prompting user's alarm clock is set successfully.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.
Figure 15 is the block diagram of the alarm clock control device according to an exemplary embodiment, the device can by software, Being implemented in combination with for hardware or both is some or all of as electronic equipment.As shown in figure 15, the alarm clock control device bag Include:
Acquisition module 11, the sunrise moment for obtaining user location;
Determining module 12, the sunrise moment for being obtained according to the acquisition module 11 determines alarm clock ring time;
Output module 13, output prompting letter when the alarm clock ring time for determining in the determining module 12 is reached Breath.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 16, the determining module 12 includes:First determination sub-module 121,
First determination sub-module 121, for determining that the sunrise moment that the acquisition module 11 is obtained is described Alarm clock ring time.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 17, the determining module 12 includes:Second determination sub-module 122,
Second determination sub-module 122, for sunrise moment for being obtained according to the acquisition module 11 and default Time step determines the alarm clock ring time.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 18, second determination sub-module 122 includes:3rd determination sub-module 1221,
3rd determination sub-module 1221, for determining that the sunrise moment that the acquisition module 11 is obtained adds institute The time point obtained by Preset Time step-length is stated for the alarm clock ring time.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 19, second determination sub-module 122 includes:4th determination sub-module 1222,
4th determination sub-module 1222, for determining that the sunrise moment that the acquisition module 11 is obtained subtracts institute The time point obtained by Preset Time step-length is stated for the alarm clock ring time.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 20, the output module 13 includes:Vibrations output sub-module 131,
The vibrations output sub-module 131, the alarm clock ring time for determining in the determining module 12 is reached When vibrations by way of export prompt message.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 21, the output module 13 includes:Quarter-bell output sub-module 132,
The quarter-bell output sub-module 132, the alarm clock ring time for determining in the determining module 12 is reached When prompt message is exported by way of quarter-bell.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
In one embodiment, as shown in figure 22, the acquisition module 11 includes:Acquisition submodule,
The acquisition submodule, for obtaining the sunrise moment by third-party platform.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of alarm clock control device, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, processor is configured as:
Obtain the sunrise moment in user location;
Alarm clock ring time is determined according to the sunrise moment;
Prompt message is exported when the alarm clock ring time is reached.
Above-mentioned processor is also configured to:
It is described that alarm clock ring time is determined according to the sunrise moment, including:
Determine that the sunrise moment is the alarm clock ring time;
Or,
The alarm clock ring time is determined according to the sunrise moment and Preset Time step-length.
It is described that the alarm clock ring time is determined according to the sunrise moment and Preset Time step-length, including:
Determine that the sunrise moment is the alarm clock ring time plus the time point obtained by the Preset Time step-length;
Or,
It is the alarm clock ring time to determine that the sunrise moment subtracts time point obtained by the Preset Time step-length.
The prompt message that exported when the alarm clock ring time is reached includes:
When the alarm clock ring time is reached prompt message is exported by way of vibrations;
Or,
Prompt message is exported by way of quarter-bell when the alarm clock ring time is reached.
The sunrise moment for obtaining user location, including:
The sunrise moment is obtained by third-party platform.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 23 is a kind of block diagram of the device 80 for alarm clock control according to an exemplary embodiment, and the device is fitted For terminal device.For example, device 80 can be mobile phone, computer, digital broadcast terminal, messaging devices, game Console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 80 can include following one or more assemblies:Processing assembly 802, memory 804, power supply module 806 is more Media component 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communication component 816。
The integrated operation of the usual control device 80 of processing assembly 802, such as with display, call, data communication, camera Operation and the associated operation of record operation.Processing assembly 802 can carry out execute instruction including one or more processors 820, To complete all or part of step of above-mentioned method.Additionally, processing assembly 802 can include one or more modules, it is easy to Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, to facilitate many matchmakers Interaction between body component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 80.These data are shown Example includes the instruction for any application program or method operated on device 80, and contact data, telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 80.Power supply module 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 80.
Multimedia groupware 808 is included in one screen of output interface of offer between described device 80 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection and the touch or slide related duration and pressure.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 80 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 80 is in operator scheme, such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The audio signal for being received can be further stored in memory 804 or via communication component 816 send.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, the state estimation for providing various aspects for device 80. For example, sensor cluster 814 can detect the opening/closed mode of device 80, the relative positioning of component, such as described component It is the display and keypad of device 80, sensor cluster 814 can be with 80 1 positions of component of detection means 80 or device Change, user is presence or absence of with what device 80 was contacted, the temperature change of the orientation of device 80 or acceleration/deceleration and device 80. Sensor cluster 814 can include proximity transducer, be configured to when without any physical contact detect near object Presence.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 80 and other equipment.Device 80 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 80 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks realization, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of device 80.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of device 80 During execution so that the method that device 80 is able to carry out above-mentioned alarm clock control, methods described includes:
Obtain the sunrise moment in user location;
Alarm clock ring time is determined according to the sunrise moment;
Prompt message is exported when the alarm clock ring time is reached.
It is described that alarm clock ring time is determined according to the sunrise moment, including:
Determine that the sunrise moment is the alarm clock ring time;
Or,
The alarm clock ring time is determined according to the sunrise moment and Preset Time step-length.
It is described that the alarm clock ring time is determined according to the sunrise moment and Preset Time step-length, including:
Determine that the sunrise moment is the alarm clock ring time plus the time point obtained by the Preset Time step-length;
Or,
It is the alarm clock ring time to determine that the sunrise moment subtracts time point obtained by the Preset Time step-length.
The prompt message that exported when the alarm clock ring time is reached includes:
When the alarm clock ring time is reached prompt message is exported by way of vibrations;
Or,
Prompt message is exported by way of quarter-bell when the alarm clock ring time is reached.
The sunrise moment for obtaining user location, including:
The sunrise moment is obtained by third-party platform.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (10)

1. a kind of alarm clock control method, it is characterised in that including:
Obtain the sunrise moment in user location;
Alarm clock ring time is determined according to the sunrise moment;
Prompt message is exported when the alarm clock ring time is reached.
2. method according to claim 1, it is characterised in that described when determining alarm clock jingle bell according to the sunrise moment Between, including:
Determine that the sunrise moment is the alarm clock ring time;
Or,
The alarm clock ring time is determined according to the sunrise moment and Preset Time step-length.
3. method according to claim 2, it is characterised in that described true according to the sunrise moment and Preset Time step-length The fixed alarm clock ring time, including:
Determine that the sunrise moment is the alarm clock ring time plus the time point obtained by the Preset Time step-length;
Or,
It is the alarm clock ring time to determine that the sunrise moment subtracts time point obtained by the Preset Time step-length.
4. method according to claim 1, it is characterised in that described that prompting is exported when the alarm clock ring time is reached Information includes:
When the alarm clock ring time is reached the prompt message is exported by way of vibrations;
Or,
The prompt message is exported by way of quarter-bell when the alarm clock ring time is reached.
5. method according to claim 1, it is characterised in that the sunrise moment in the acquisition user location, including:
The sunrise moment is obtained by third-party platform.
6. a kind of alarm clock control device, it is characterised in that including:
Acquisition module, the sunrise moment for obtaining user location;
Determining module, the sunrise moment for being obtained according to the acquisition module determines alarm clock ring time;
Output module, the alarm clock ring time for determining in the determining module exports prompt message when reaching.
7. device according to claim 6, it is characterised in that the determining module includes:First determination sub-module,
First determination sub-module, when the sunrise moment for determining the acquisition module acquisition is the alarm clock jingle bell Between.
8. device according to claim 6, it is characterised in that the determining module includes:Second determination sub-module,
Second determination sub-module, the sunrise moment and Preset Time step-length for being obtained according to the acquisition module is true The fixed alarm clock ring time.
9. device according to claim 8, it is characterised in that second determination sub-module includes:3rd determines submodule Block,
3rd determination sub-module, for determining that the sunrise moment that the acquisition module is obtained adds the Preset Time Time point obtained by step-length is the alarm clock ring time.
10. device according to claim 8, it is characterised in that second determination sub-module includes:4th determines submodule Block,
4th determination sub-module, for determining that the sunrise moment that the acquisition module is obtained subtracts the Preset Time Time point obtained by step-length is the alarm clock ring time.
CN201611050434.8A 2016-11-23 2016-11-23 Alarm clock control method and device Pending CN106775646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611050434.8A CN106775646A (en) 2016-11-23 2016-11-23 Alarm clock control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611050434.8A CN106775646A (en) 2016-11-23 2016-11-23 Alarm clock control method and device

Publications (1)

Publication Number Publication Date
CN106775646A true CN106775646A (en) 2017-05-31

Family

ID=58910514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611050434.8A Pending CN106775646A (en) 2016-11-23 2016-11-23 Alarm clock control method and device

Country Status (1)

Country Link
CN (1) CN106775646A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390503A (en) * 2017-07-03 2017-11-24 北京小米移动软件有限公司 A kind of method and apparatus for controlling alarm clock signal
CN107883520A (en) * 2017-09-30 2018-04-06 珠海格力电器股份有限公司 Based reminding method and device based on air-conditioning equipment, terminal
CN114338902A (en) * 2021-12-28 2022-04-12 高创(苏州)电子有限公司 Method for dynamically setting alarm clock, storage medium, control equipment and wearable equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080192580A1 (en) * 2007-02-08 2008-08-14 Mga Entertainment, Inc. Animated Character Alarm Clock
CN102438054A (en) * 2011-10-25 2012-05-02 深圳桑菲消费通信有限公司 Method and system for dynamic setting of alarm clock time
CN104469681A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 Alarm clock automatic setting system
CN104580748A (en) * 2015-02-12 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting alarm clocks and mobile terminal
CN105391871A (en) * 2015-12-26 2016-03-09 魅族科技(中国)有限公司 Alarm clock prompt method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080192580A1 (en) * 2007-02-08 2008-08-14 Mga Entertainment, Inc. Animated Character Alarm Clock
CN102438054A (en) * 2011-10-25 2012-05-02 深圳桑菲消费通信有限公司 Method and system for dynamic setting of alarm clock time
CN104469681A (en) * 2014-12-05 2015-03-25 上海斐讯数据通信技术有限公司 Alarm clock automatic setting system
CN104580748A (en) * 2015-02-12 2015-04-29 广东欧珀移动通信有限公司 Method and system for adjusting alarm clocks and mobile terminal
CN105391871A (en) * 2015-12-26 2016-03-09 魅族科技(中国)有限公司 Alarm clock prompt method and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈维兴,宋利强编: "《Windows 3.2中文版实用指南》", 31 October 1997, 科学普及出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390503A (en) * 2017-07-03 2017-11-24 北京小米移动软件有限公司 A kind of method and apparatus for controlling alarm clock signal
CN107883520A (en) * 2017-09-30 2018-04-06 珠海格力电器股份有限公司 Based reminding method and device based on air-conditioning equipment, terminal
CN107883520B (en) * 2017-09-30 2019-12-13 珠海格力电器股份有限公司 Reminding method and device based on air conditioning equipment and terminal
CN114338902A (en) * 2021-12-28 2022-04-12 高创(苏州)电子有限公司 Method for dynamically setting alarm clock, storage medium, control equipment and wearable equipment

Similar Documents

Publication Publication Date Title
CN104219388B (en) Sound control method and device
CN104731688B (en) Point out the method and device of reading progress
CN104394137B (en) A kind of method and device of prompting voice call
CN104456831A (en) Air purification warning method and device, user equipment and system
CN104156204B (en) Set up the method and device of calendar entry
CN106791921A (en) The processing method and processing device of net cast
CN104361486A (en) Alarm clock reminding method and device
CN107197441A (en) The operating mode control method and device of intelligent home device
CN107992257A (en) Split screen method and device
CN106990903A (en) Display and the method and device of hide application program
CN107105517A (en) Method for connecting network and device
CN107529699A (en) Control method of electronic device and device
CN107635074A (en) Control the method and device of quarter-bell
CN107135147A (en) Method, device and the computer-readable recording medium of sharing position information
CN106775646A (en) Alarm clock control method and device
CN107368280A (en) Method for controlling volume, device and the interactive voice equipment of interactive voice
CN104536753B (en) Backlog labeling method and device
CN106921797A (en) Information prompting method and device
CN106534495A (en) Method of information processing, device and equipment
CN104794074B (en) External equipment recognition methods and device
CN104281431B (en) The method and device that audio plays
CN107888468A (en) Information acquisition system, method and device
CN107257405A (en) Alarm clock control method and device
CN107037270A (en) Wireless signal detection method and device
CN106936986A (en) Application processing method and device

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

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication