CN107172285A - A kind of method and mobile terminal for adjusting alarm clock ring time - Google Patents
A kind of method and mobile terminal for adjusting alarm clock ring time Download PDFInfo
- Publication number
- CN107172285A CN107172285A CN201710354032.5A CN201710354032A CN107172285A CN 107172285 A CN107172285 A CN 107172285A CN 201710354032 A CN201710354032 A CN 201710354032A CN 107172285 A CN107172285 A CN 107172285A
- Authority
- CN
- China
- Prior art keywords
- time
- alarm clock
- weather information
- ring
- mobile terminal
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Abstract
The embodiment of the invention discloses a kind of method and mobile terminal for adjusting alarm clock ring time, wherein, this method includes:When the current time of mobile terminal reaches the very first time, current Weather information is obtained, the very first time is prior to the pre-set alarm clock ring time that is stored in mobile terminal;Judge that the Weather information default Weather information whether corresponding with the very first time matches;If the Weather information default Weather information corresponding with the very first time matches, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time;Mobile terminal is controlled to export ring of alarm clock in the very first time.Implement the embodiment of the present invention, can dynamically adjust alarm clock ring time according to weather conditions.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and mobile terminal for adjusting alarm clock ring time.
Background technology
At present, the mobile terminal such as smart mobile phone, tablet personal computer all possesses basic alarm clock function, and people are by moving
Alarm clock is set to remind the material time point in daily life and work in dynamic terminal.In actual applications, it is usually
User sets alarm clock ring time in the terminal in advance, and then jingle bell is reminded after the ring time is reached.However,
Sometimes often encounter the bad situation of weather situations such as (such as rain, snow, haze), cause road conditions bad and traffic congestion causes
User will expend more times than usual on the road of working.If still using above-mentioned single alarm clock calling mode, very
User may be caused to delay normal working in the case of bad weather, such as working or late for school.Based on above mentioned problem, how
The problem of adjustment alarm clock ring time is current urgent need to resolve to avoid user from normally being handled affairs because weather reason delays.
The content of the invention
, can be vaporous according to day the embodiment of the invention discloses a kind of method and mobile terminal for adjusting alarm clock ring time
Condition dynamically adjusts alarm clock ring time.
First aspect of the embodiment of the present invention discloses a kind of method for adjusting alarm clock ring time, including:
When the current time of mobile terminal reaches the very first time, current Weather information is obtained, the very first time is first
The pre-set alarm clock ring time stored in the mobile terminal;
Judge that the Weather information default Weather information whether corresponding with the very first time matches;
If the Weather information default Weather information corresponding with the very first time matches, alarm clock bell will be exported
The time of sound is adjusted to the very first time by the pre-set alarm clock ring time;
The mobile terminal is controlled to export ring of alarm clock in the very first time.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to work as the current of mobile terminal
When time reaches the very first time, obtain before current Weather information, methods described also includes:
Obtain the alarm clock ring time that is set in the alarm clock application of the mobile terminal of user, and by the alarm clock jingle bell
Time is used as pre-set alarm clock ring time;
The corresponding relation of at least one time point and Weather information is set according to the pre-set alarm clock ring time, it is described extremely
A few time point includes the very first time.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to judge the weather letter
It is described to export the time of ring of alarm clock by described pre- after breath default Weather information corresponding with the very first time matches
If alarm clock ring time was adjusted to before the very first time, methods described also includes:
Obtain the corresponding current traffic information of pre-set navigational route;
Determine whether the pre-set navigational route is currently in congestion state according to the current traffic information;
If it is determined that the pre-set navigational route is currently at congestion state, then what execution was described will export ring of alarm clock
Time the step of be adjusted to the very first time by the pre-set alarm clock ring time.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to judge the weather letter
It is described to export the time of ring of alarm clock by described pre- after breath default Weather information corresponding with the very first time matches
If alarm clock ring time was adjusted to before the very first time, methods described also includes:
Obtain the current real time position of the mobile terminal;
Judging the real time position, whether the predeterminated position with being stored in the mobile terminal matches;
If the real time position matches with the predeterminated position, the described time by ring of alarm clock is exported is performed
The step of very first time is adjusted to by the pre-set alarm clock ring time.
As an alternative embodiment, in first aspect of the embodiment of the present invention, when at least one described time point
Also included for the second time, and second time is prior to the pre-set alarm clock ring time and when the very first time, institute
Stating method also includes:
If the Weather information default Weather information corresponding with the very first time is mismatched, detect described mobile whole
Whether the current time at end reaches second time;
If the current time of the mobile terminal reaches second time, current Weather information is obtained;
Judge that the Weather information default Weather information whether corresponding with second time matches;
If the Weather information default Weather information corresponding with second time matches, alarm clock bell will be exported
The time of sound is adjusted to second time by the pre-set alarm clock ring time;
The mobile terminal is controlled to export ring of alarm clock in second time.
Second aspect of the embodiment of the present invention discloses a kind of mobile terminal, including:
First acquisition unit, for when the current time of mobile terminal reaches the very first time, obtaining current weather letter
Breath, the very first time is prior to the pre-set alarm clock ring time that is stored in the mobile terminal;
First judging unit, for judging the Weather information default Weather information whether corresponding with the very first time
Match;
Adjustment unit, for judging that the Weather information is corresponding with the very first time when first judging unit
When default Weather information matches, the time of output ring of alarm clock is adjusted to described first by the pre-set alarm clock ring time
Time;
Control unit, for controlling the mobile terminal in very first time output ring of alarm clock.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the mobile terminal also includes:
Second acquisition unit, the current time for working as mobile terminal in the first acquisition unit reaches the very first time
When, before obtaining current Weather information, when obtaining the alarm clock jingle bell that user is set in the alarm clock application of the mobile terminal
Between, and it regard the alarm clock ring time as pre-set alarm clock ring time;
Setting unit, pair for setting at least one time point and Weather information according to the pre-set alarm clock ring time
It should be related to, at least one described time point includes the very first time.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the mobile terminal also includes:
3rd acquiring unit, for judging the Weather information and the very first time pair in first judging unit
After the default Weather information answered matches, the time for exporting ring of alarm clock is rung by the pre-set alarm clock in the adjustment unit
The bell time was adjusted to before the very first time, obtained the corresponding current traffic information of pre-set navigational route;
Determining unit, for determining whether the pre-set navigational route is currently in congestion according to the current traffic information
State;
The adjustment unit when the determining unit specifically for determining that the pre-set navigational route is currently at congestion
During state, the time of output ring of alarm clock is adjusted to the very first time by the pre-set alarm clock ring time.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the mobile terminal also includes:
4th acquiring unit, for judging the Weather information and the very first time pair in first judging unit
After the default Weather information answered matches, the time for exporting ring of alarm clock is rung by the pre-set alarm clock in the adjustment unit
The bell time was adjusted to before the very first time, obtained the current real time position of the mobile terminal;
Second judging unit, for judge the real time position whether with the predeterminated position phase that is stored in the mobile terminal
Matching;
The adjustment unit when second judging unit specifically for judging the real time position and the default position
Put when matching, will export time of ring of alarm clock is adjusted to the very first time by the pre-set alarm clock ring time.
As an alternative embodiment, in second aspect of the embodiment of the present invention, when at least one described time point
Also included for the second time, and second time is prior to the pre-set alarm clock ring time and when the very first time, institute
Stating mobile terminal also includes:
Detection unit, for judging that the Weather information is corresponding with the very first time in first judging unit
When default Weather information is mismatched, detect whether the current time of the mobile terminal reaches second time;
The first acquisition unit, is additionally operable to when the current time that the detection unit detects the mobile terminal is reached
During second time, current Weather information is obtained;
First judging unit, is additionally operable to judge the Weather information default day whether corresponding with second time
Gas information match;
The adjustment unit, is additionally operable to when first judging unit judges the Weather information and second time
When corresponding default Weather information matches, then the time for exporting ring of alarm clock is adjusted to by the pre-set alarm clock ring time
Second time;
Described control unit, is additionally operable to control the mobile terminal to export ring of alarm clock in second time.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, when the current time of mobile terminal reaches the very first time and does not reach pre-set alarm clock jingle bell
Between when, current Weather information can be obtained, and judge the Weather information default weather letter whether corresponding with the very first time
Manner of breathing is matched, if both match, and by the pre-set alarm clock ring time can be adjusted into this time for exporting ring of alarm clock
The very first time, and control mobile terminal to export ring of alarm clock in the very first time.It can be seen that, implement the embodiment of the present invention, it is mobile whole
Hold when reaching the early ring time of setting, the current Weather information and to detect whether the Weather information meets dynamic by obtaining
State adjusts the condition of alarm clock ring time, if it is satisfied, then ring time is adjusted into the early ring time.In such manner, it is possible to
According to the dynamic adjustment alarm clock ring time of weather conditions so that alarm clock calling is more intelligent and hommization, and then can be effective
User is avoided to delay normal working because of weather reason.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is a kind of schematic flow sheet for the method for adjusting alarm clock ring time disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another adjustment alarm clock ring time disclosed in the embodiment of the present invention;
Fig. 3 is a kind of setting interface schematic diagram of alarm clock ring time disclosed in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
It should be noted that the term " comprising " and " having " of the embodiment of the present invention and their any deformation, it is intended that
Be to cover it is non-exclusive include, for example, containing process, method, system, product or the equipment of series of steps or unit not
Be necessarily limited to those steps or the unit clearly listed, but may include not list clearly or for these processes, side
The intrinsic other steps of method, product or equipment or unit.
, can be vaporous according to day the embodiment of the invention discloses a kind of method and mobile terminal for adjusting alarm clock ring time
Condition dynamically adjusts alarm clock ring time.It is described in detail below with reference to accompanying drawing.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow signal of method for adjusting alarm clock ring time disclosed in the embodiment of the present invention
Figure.Wherein, the method for the adjustment alarm clock ring time can apply in mobile terminal.As shown in figure 1, the adjustment alarm clock jingle bell
The method of time may comprise steps of.
101st, whether the current time of detection mobile terminal reaches the very first time, if it is, performing step 102;If
It is no, then terminate the operation of this adjustment alarm clock ring time.
In the embodiment of the present invention, mobile terminal can include but is not limited to cell phone, mobile flat board, personal digital assistant
(Personal Digital Assistant, PDA), electronic alarm clock, mobile unit, Intelligent worn device (such as intelligent watch, intelligence
Can bracelet etc.), mobile internet device (Mobile Internet Device, MID) etc. possess the terminal device of alarm clock function.
In the embodiment of the present invention, whether mobile terminal can reach first in real time or every special time detection current time
Time.Wherein, the time that current time can show for mobile terminal current system.The very first time is shifting to an earlier date for setting in advance
The time of jingle bell, can be prior to the pre-set alarm clock ring time that is stored in mobile terminal, i.e. the very first time is than pre-set alarm clock jingle bell
Time wants preset in advance duration.Pre-set alarm clock ring time is the initial alarm clock calling that user is set in the terminal in advance
Time.
In the embodiment of the present invention, alarm clock application can be installed in mobile terminal, the alarm clock application can be mobile terminal
What acquiescence was carried, the third-party application of installation can also be downloaded, the embodiment of the present invention is not construed as limiting.User can enter mobile whole
Carry out the setting of alarm clock ring time (i.e. pre-set alarm clock ring time), it is possible to which alarm clock jingle bell is being set in the alarm clock application at end
Choose whether to open the function that alarm clock ring time is dynamically adjusted according to Weather information during the time, if selection is opened, move
Terminal can show that weather option and dynamic adjustment time chosen axis are set for user simultaneously in alarm clock sets interface, and preserve
The setting result of user.For example, the alarm clock ring time that user is set is 8:00, and be provided with rainy weather condition
It is adjusted to 7:50 (i.e. the very first time) jingle bells, i.e. 10 minutes jingle bells in advance.
102nd, current Weather information is obtained.
In the embodiment of the present invention, when the current time of mobile terminal reaches the very first time, mobile terminal can be obtained and worked as
The Weather information in region is currently located under the Weather information of preceding region, the i.e. very first time.Because Weather information can be with
The change of time and change, so Weather information is a variable factor, current time is may be referred to here (when i.e. first
Between) under Weather information.Wherein, Weather information can include but is not limited to state of weather (such as fine day, the cloudy day, shower, light rain,
Heavy rain, haze, snow, hail etc.), warm and humid angle value, wind-force size, at least one of air quality index etc..
Specifically, mobile terminal can read current Weather information in the weather application that itself is installed, when mobile whole
End can obtain the real-time weather information for being currently located region in the state of networking;When mobile terminal is in the state of failed cluster
Under, the weather history information for being currently located region can be obtained, the Weather information updated during such as networking recently, the present invention is implemented
Example is not construed as limiting.
If as an alternative embodiment, obtain be real-time weather information, perform step 102 before, Fig. 1
Described method can also comprise the following steps:
11) judge whether the mobile terminal is currently in networking state, if in networking state, performing step
102 obtain current Weather information;If being not at networking state, terminate the operation of this adjustment alarm clock ring time.
103rd, judge that the Weather information default Weather information whether corresponding with the very first time matches, if it is,
Perform step 104;If it is not, then terminating the operation of this adjustment alarm clock ring time.
In the embodiment of the present invention, the very first time being previously stored corresponding default weather letter can be obtained from mobile terminal
Breath, and the current weather information got default Weather information corresponding with the very first time is compared, to determine both
Whether match, if both matchings, it may be said that bright current weather information meets the condition of dynamic adjustment alarm clock ring time;If
Both mismatch, it may be said that bright current weather information is unsatisfactory for the condition of dynamic adjustment alarm clock ring time.
104th, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time.
In the embodiment of the present invention, when the current weather information of acquisition meets the condition of dynamic adjustment alarm clock ring time,
The time of alarm clock jingle bell, i.e. early ring can be adjusted.Specifically, the time that export ring of alarm clock can be preset by original
Alarm clock ring time is the very first time in advance.
105th, control mobile terminal exports ring of alarm clock in the very first time.
In the embodiment of the present invention, when by original pre-set alarm clock ring time are adjusted into this time for exporting ring of alarm clock
During the very first time, it may be said that bright alarm clock ring time now is the very first time, rather than pre-set alarm clock ring time, then moves
Dynamic terminal can export ring of alarm clock in the very first time, and not export ring of alarm clock in pre-set alarm clock ring time.Therefore, when
In the case that weather is relatively severe, alarm clock early ring can be adjusted, so as to avoid user because weather reason and caused by
Class is late for school.
It can be seen that, implement the method described by Fig. 1, mobile terminal is when reaching the early ring time of setting, by obtaining
Current Weather information simultaneously detects whether the Weather information meets the condition of dynamic adjustment alarm clock ring time, if it is satisfied, then
Ring time is adjusted to the early ring time.In such manner, it is possible to dynamically adjust alarm clock ring time according to weather conditions so that
Alarm clock calling is more intelligent and hommization, and then it is possible to prevente effectively from user delays normal working because of weather reason.
Embodiment two
Referring to Fig. 2, the flow that Fig. 2 is the method for another adjustment alarm clock ring time disclosed in the embodiment of the present invention is shown
It is intended to.Wherein, the method for the adjustment alarm clock ring time can apply in mobile terminal.As shown in Fig. 2 the adjustment alarm clock rings
The method of bell time may comprise steps of.
201st, whether the current time of detection mobile terminal reaches the very first time, if it is, performing step 202;If
It is no, then terminate the operation of this adjustment alarm clock ring time.
Wherein, the very first time be set in advance can early ring time, can be pre- prior to what is stored in mobile terminal
If alarm clock ring time, pre-set alarm clock ring time be the initial alarm clock calling that sets in the terminal in advance of user when
Between.
In the embodiment of the present invention, before step 201 is performed, the method described by Fig. 2 can also comprise the following steps:
21) the alarm clock ring time that user is set in the alarm clock application of mobile terminal is obtained, and during by the alarm clock jingle bell
Between be used as pre-set alarm clock ring time;
22) corresponding relation of at least one time point and Weather information is set according to pre-set alarm clock ring time, it is above-mentioned extremely
A few time point includes the very first time.
Wherein, user can set alarm clock according to self-demand in the alarm clock of the alarm clock application of mobile terminal sets interface
Ring time is simultaneously preserved, as pre-set alarm clock ring time.Referring to Fig. 3, Fig. 3 is a kind of alarm clock disclosed in the embodiment of the present invention
The setting interface schematic diagram of ring time.As shown in figure 3, alarm clock is set can show time shaft on interface, user can pass through
The mode of sliding time axle selects the time wanted to set up, and as illustrated in the drawing 8:00, then the pre-set alarm clock time is 8:00.Just
In the case of often, when the current time of mobile terminal reaches 8:When 00, then jingle bell immediately.Further, user can also be in alarm clock
The function of choosing whether to open on interface and alarm clock ring time is dynamically adjusted according to Weather information is set, and when to the right, slide switch is selected
Select and open after the function, it will the one or more weather options of display and dynamic adjustment time chosen axis.As shown in Figure 3, show
Show 3 kinds of weather conditions, wherein, user have selected rainstorm weather, and corresponding ring time is in pre-set alarm clock ring time 8:
Shift to an earlier date 10 minutes jingle bells, and haze weather on the premise of 00, corresponding ring time is in pre-set alarm clock ring time 8:00
On the premise of 30 minutes jingle bells, also cloudy with occasional showers weather, but user is non-selected in advance.It is understood that Weather information is corresponding
Jingle bell situation according to the form of a few minutes jingle bell in advance shown in figure or can directly display some specific time
The corresponding form of jingle bell, such as rainstorm weather are 7:50 jingle bells, and it is 7 that haze weather is corresponding:30 jingle bells, the present invention is implemented
Example is not construed as limiting.And it is Weather information pass corresponding with time point that above-mentioned different weather, which is correspondingly arranged different ring times,
System.In addition, only simply having arranged 3 kinds of weather conditions in Fig. 3, user can also enter edlin to Weather information and/or time point,
With self-defined increase or some Weather informations etc. can be deleted, the embodiment of the present invention is not construed as limiting.
202nd, current Weather information is obtained.
In the embodiment of the present invention, Weather information can include but is not limited to state of weather (such as fine day, cloudy day, shower, small
Rain, heavy rain, haze, snow, hail etc.), warm and humid angle value, wind-force size, at least one of air quality index etc..This
When the Weather information that gets be the Weather information that region is currently located under the very first time.
203rd, judge that the Weather information default Weather information whether corresponding with the very first time matches, if it is,
Perform step 204;If it is not, then performing step 206.
204th, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time.
205th, control mobile terminal exports ring of alarm clock in the very first time.
By taking Weather information and the corresponding relation at time point set in Fig. 3 as an example, pre-set alarm clock ring time is 8:00,
The very first time is 7:30, the very first time corresponding default Weather information is haze, then may determine that mobile terminal in the very first time
When the Weather information default Weather information whether corresponding with the very first time that obtains match, that is, judge the day that the very first time obtains
Whether gas information is also haze weather, if haze weather, then meets the condition of dynamic adjustment alarm clock ring time, can be by
The time of alarm clock jingle bell is adjusted to the very first time, i.e., ring time to be advanced into 7 by default ring time:30, and 8:00 will
No longer jingle bell.
As an alternative embodiment, judging that the Weather information is corresponding with the very first time performing step 203
Default Weather information match after, perform step 204 will export ring of alarm clock time by pre-set alarm clock ring time
It is adjusted to before the very first time, the method described by Fig. 2 can also comprise the following steps:
23) the corresponding current traffic information of pre-set navigational route is obtained;
24) determine whether pre-set navigational route is currently in congestion state according to the current traffic information, if it is determined that go out
Pre-set navigational route is currently at congestion state, then the time of ring of alarm clock will be exported by pre-set alarm clock jingle bell by performing step 204
Time is adjusted to the very first time.
In this embodiment, user can set navigation way in the terminal and preserve in advance, that is, obtain pre-
If navigation way, the navigation way such as set is the route from the home to school, or for from the home to route of company etc..It is mobile
Terminal can obtain the corresponding current traffic information of the pre-set navigational route in map application, and current traffic information can include
But it is not limited to vehicle flowrate, Congestion Level SPCC, road speed etc. information.Further, mobile terminal can be according to the current road conditions
Information determines that the pre-set navigational route is to be in congestion state or unimpeded state, when the pre-set navigational route is in unimpeded shape
State, it is believed that current weather conditions do not have an impact traffic circulation, then now can without alarm clock ring time tune
It is whole, still carry out jingle bell prompting in pre-set alarm clock ring time.And when the pre-set navigational route is in congestion state, can recognize
There is considerable influence to traffic circulation for current weather conditions, then alarm clock ring time will be now adjusted, with early ring.Pass through
Implement the embodiment, in conjunction with current traffic information is considered in the state of current weather is understood, alarm clock can be adjusted
The more demand of laminating user.
As an alternative embodiment, judging that the Weather information is corresponding with the very first time performing step 203
Default Weather information match after, perform step 204 will export ring of alarm clock time by pre-set alarm clock ring time
It is adjusted to before the very first time, the method described by Fig. 2 can also comprise the following steps:
25) the current real time position of mobile terminal is obtained;
26) judging the real time position, whether the predeterminated position with being stored in mobile terminal matches, if the real time position
Match with predeterminated position, then perform step 204 and the time of output ring of alarm clock is adjusted to this by pre-set alarm clock ring time
The very first time.
In this embodiment, mobile terminal can pass through GPS (Global Positioning built-in in itself
System, global positioning system) obtain current real time position or obtained by architecture current real-time
Position, can also be by Wi-Fi (Wireless-Fidelity, Wireless Fidelity) positioning to obtain current real time position etc.
Deng the embodiment is not construed as limiting.Wherein, the real time position can be a specific position, for example, it may be with longitude and latitude
The mode of coordinate embodies, can also specific to residing provinces and cities, street, number etc.;The real time position can also be one
Position range, such as certain city, some region in certain city etc., the embodiment is not construed as limiting.User can be prior
Set one or more positions in the terminal and preserve, that is, obtain predeterminated position, such as set position for family position,
Position of school etc..Specifically, may determine that mobile terminal real time position whether in the range of predeterminated position or away from
From no more than preset value, if it is, it is considered that user then can will now adjust alarm clock ring time in resident position, with
Early ring.If not, it is considered that user is not in resident position, then now can without alarm clock ring time adjustment,
Still jingle bell prompting is carried out in pre-set alarm clock ring time.For example, in the case of the out on tours that is absent from duty on the day of user, because of user
, then now can not early ring not in resident position.By implementing the embodiment, in the state of current weather is understood again
Take the real time position of mobile terminal into consideration, the demand of alarm clock adjustment more laminating user can be made.
It is understood that the road conditions letter of pre-set navigational route can individually be taken into consideration again on the basis of Weather information
The real time position of breath or mobile terminal, can also both take the traffic information of pre-set navigational route into consideration, and take movement into consideration again
Two kinds of information of real time position of terminal, the embodiment of the present invention is not construed as limiting.
206th, whether the current time of detection mobile terminal reached for the second time, if it is, performing step 207;If
It is no, then terminate the operation of this adjustment alarm clock ring time.
In the embodiment of the present invention, when user set at least one above-mentioned time point in addition to including the very first time, in addition to
During the second time, mismatched in the Weather information default Weather information corresponding with the very first time for judging very first time acquisition
Afterwards, mobile terminal can detect whether current time reached for the second time in real time or at regular intervals, wherein, second time
Can be prior to pre-set alarm clock ring time and after the very first time.
207th, current Weather information is obtained.
In the embodiment of the present invention, the Weather information now got is believed to be currently located the weather in region under the second time
Breath.
208th, judge that the Weather information default Weather information whether corresponding with second time matches, if it is,
Perform step 209;If it is not, then terminating the operation of this adjustment alarm clock ring time.
209th, the time of output ring of alarm clock is adjusted to second time by pre-set alarm clock ring time.
210th, control mobile terminal exports ring of alarm clock in second time.
In the embodiment of the present invention, the Weather information default Weather information corresponding with second time obtained when the second time
When matching, the time for exporting alarm clock jingle bell by pre-set alarm clock ring time can be adjusted to second time, i.e., second
Time exports ring of alarm clock.Therefore, in the case that weather is relatively more severe, alarm clock early ring can be adjusted, so as to keep away
Exempt from user because weather reason and caused by working or it is late for school.
Still by taking Weather information and the corresponding relation at time point set in Fig. 3 as an example, pre-set alarm clock ring time is 8:
00, the very first time is 7:30, the very first time corresponding default Weather information is haze, and the second time was 7:50, the second time pair
The default Weather information answered is heavy rain.When 7:When 30 Weather informations obtained are not haze weather, then 7:Obtained again when 50
Take Weather information, and judge the Weather information that gets whether with 7:50 corresponding default Weather informations match, that is, judge 7:
Whether 50 Weather informations got are rainstorm weather, if rainstorm weather, then by ring time by 8:00 is advanced to 7:50,
I.e. 7:50 carry out jingle bell, and 8:00 will no longer carry out jingle bell.It is understood that when at least one above-mentioned time point also wraps
When including the 3rd time, the 4th time etc., then judged step by step also according to above-mentioned steps, until meeting dynamic adjustment jingle bell
The condition of time, otherwise, does not then adjust ring time.
It can be seen that, implement the method described by Fig. 2, mobile terminal is when reaching the early ring time of setting, by obtaining
Current Weather information simultaneously detects whether the Weather information meets the condition of dynamic adjustment alarm clock ring time, if it is satisfied, then
Ring time is adjusted to the early ring time.In such manner, it is possible to dynamically adjust alarm clock ring time according to weather conditions so that
Alarm clock calling is more intelligent and hommization, and then it is possible to prevente effectively from user delays normal working because of weather reason.
Embodiment three
Referring to Fig. 4, Fig. 4 is a kind of structural representation of mobile terminal disclosed in the embodiment of the present invention, it can be used for holding
The method of row adjustment alarm clock ring time disclosed above.As shown in figure 4, the mobile terminal can include:
First acquisition unit 401, for when the current time of mobile terminal reaches the very first time, obtaining current weather
Information.
Wherein, the very first time be set in advance can early ring time, can be prior to storing in mobile terminal
Pre-set alarm clock ring time.Pre-set alarm clock ring time be the initial alarm clock calling that sets in the terminal in advance of user when
Between.The Weather information is the Weather information under the very first time, can include but is not limited to state of weather (such as fine day, cloudy day, battle array
Rain, light rain, heavy rain, haze, snow, hail etc.), warm and humid angle value, wind-force size, at least one in air quality index etc.
Kind.
First judging unit 402, for judging the Weather information default Weather information whether corresponding with the very first time
Match.
Adjustment unit 403, for judging that the Weather information is corresponding with the very first time pre- when the first judging unit 402
If Weather information matches, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time.
Control unit 404, for controlling mobile terminal in very first time output ring of alarm clock.
, can be with please refer to fig. 5, Fig. 5 is the structural representation of another mobile terminal disclosed in the embodiment of the present invention
The method of the adjustment alarm clock ring time disclosed above for performing.Wherein, the mobile terminal shown in Fig. 5 is as shown in Figure 4
Mobile terminal optimizes what is obtained.Compared with the mobile terminal shown in Fig. 4, the mobile terminal shown in Fig. 5 can also include:
Second acquisition unit 405, the current time for working as mobile terminal in first acquisition unit 401 reaches the very first time
When, obtain before current Weather information, obtain the alarm clock ring time that user is set in the alarm clock application of mobile terminal, and
It regard the alarm clock ring time as pre-set alarm clock ring time;
Setting unit 406, for setting at least one time point and Weather information according to the pre-set alarm clock ring time
Corresponding relation, at least one above-mentioned time point includes the very first time.
As an alternative embodiment, the mobile terminal shown in Fig. 5 can also include:
3rd acquiring unit 407, for judging that the Weather information is corresponding with the very first time in the first judging unit 402
Default Weather information match after, adjustment unit 403 will export ring of alarm clock time by pre-set alarm clock ring time
It is adjusted to before the very first time, obtains the corresponding current traffic information of pre-set navigational route;
Determining unit 408, for determining whether pre-set navigational route is currently in congestion shape according to the current traffic information
State;
Correspondingly, adjustment unit 403 when determining unit 408 specifically for determining that pre-set navigational route is currently at congestion
During state, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time.
As an alternative embodiment, the mobile terminal shown in Fig. 5 can also include:
4th acquiring unit 409, for judging that the Weather information is corresponding with the very first time in the first judging unit 402
Default Weather information match after, adjustment unit 403 will export ring of alarm clock time by pre-set alarm clock ring time
It is adjusted to before the very first time, obtains the current real time position of mobile terminal;
Second judging unit 410, for judge the real time position whether with the predeterminated position phase that is stored in mobile terminal
Match somebody with somebody;
Correspondingly, adjustment unit 403 when the second judging unit 410 specifically for judging the real time position and predeterminated position
When matching, the time of output ring of alarm clock is adjusted to the very first time by pre-set alarm clock ring time.
As an alternative embodiment, when at least one above-mentioned time point that setting unit 406 is set also includes the
Two times, and the second time, prior to pre-set alarm clock ring time and when the very first time, the mobile terminal shown in Fig. 5 may be used also
With including:
Detection unit 411, for judging that the Weather information is corresponding with the very first time pre- in the first judging unit 402
If Weather information is mismatched, whether the current time of detection mobile terminal reaches second time;
Correspondingly, first acquisition unit 401, are additionally operable to when the current time that detection unit 411 detects mobile terminal is arrived
During up to second time, current Weather information is obtained, wherein, the Weather information is the Weather information under the second time;
First judging unit 402, is additionally operable to judge the Weather information default weather letter whether corresponding with second time
Manner of breathing is matched;
Adjustment unit 403, is additionally operable to when the first judging unit 402 judges that the Weather information is corresponding with second time
When default Weather information matches, then by export ring of alarm clock time by pre-set alarm clock ring time be adjusted to this second when
Between;
Control unit 404, is additionally operable to control mobile terminal and exports ring of alarm clock in second time.
Wherein, implement Fig. 4 and Fig. 5 described by mobile terminal, mobile terminal reach setting the early ring time when,
By obtaining current Weather information and detect the Weather information whether meet dynamic adjustment alarm clock ring time condition, if
Meet, then ring time is adjusted to the early ring time.In such manner, it is possible to when dynamically adjusting alarm clock jingle bell according to weather conditions
Between so that alarm clock calling is more intelligent and hommization, and then it is possible to prevente effectively from user delays because of weather reason normally does
Thing.
Specifically, the mobile terminal introduced in the embodiment of the present invention can implement the present invention and combine the tune that Fig. 1 or Fig. 2 is introduced
Part or all of flow in the embodiment of the method for whole alarm clock ring time.
It should be noted that for each foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as to one it is
The combination of actions of row, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because
For according to the application, certain some step can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily this Shen
Please be necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in some embodiment
Part, may refer to the associated description of other embodiment.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in mobile terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage
Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of data storage.
A kind of method and mobile terminal for adjusting alarm clock ring time disclosed in the embodiment of the present invention has been carried out in detail above
Thin to introduce, specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said
The bright method and its core concept for being only intended to help to understand the present invention;Simultaneously for those of ordinary skill in the art, foundation
The thought of the present invention, will change, in summary, this specification content is not in specific embodiments and applications
It is interpreted as limitation of the present invention.
Claims (10)
1. a kind of method for adjusting alarm clock ring time, it is characterised in that including:
When the current time of mobile terminal reaches the very first time, current Weather information is obtained, the very first time is prior to institute
State the pre-set alarm clock ring time stored in mobile terminal;
Judge that the Weather information default Weather information whether corresponding with the very first time matches;
If the Weather information default Weather information corresponding with the very first time matches, ring of alarm clock will be exported
Time is adjusted to the very first time by the pre-set alarm clock ring time;
The mobile terminal is controlled to export ring of alarm clock in the very first time.
2. according to the method described in claim 1, it is characterised in that described when the current time of mobile terminal reaches the very first time
When, obtain before current Weather information, methods described also includes:
Obtain the alarm clock ring time that is set in the alarm clock application of the mobile terminal of user, and by the alarm clock ring time
It is used as pre-set alarm clock ring time;
The corresponding relation of at least one time point and Weather information, described at least one are set according to the pre-set alarm clock ring time
Individual time point includes the very first time.
3. method according to claim 1 or 2, it is characterised in that described to judge the Weather information and described first
After time corresponding default Weather information matches, it is described by export ring of alarm clock time by the pre-set alarm clock jingle bell when
Between be adjusted to before the very first time, methods described also includes:
Obtain the corresponding current traffic information of pre-set navigational route;
Determine whether the pre-set navigational route is currently in congestion state according to the current traffic information;
If it is determined that the pre-set navigational route is currently at congestion state, then perform it is described by export ring of alarm clock when
Between the step of be adjusted to the very first time by the pre-set alarm clock ring time.
4. method according to claim 1 or 2, it is characterised in that described to judge the Weather information and described first
After time corresponding default Weather information matches, it is described by export ring of alarm clock time by the pre-set alarm clock jingle bell when
Between be adjusted to before the very first time, methods described also includes:
Obtain the current real time position of the mobile terminal;
Judging the real time position, whether the predeterminated position with being stored in the mobile terminal matches;
If the real time position matches with the predeterminated position, the described time by ring of alarm clock is exported is performed by institute
State the step of pre-set alarm clock ring time is adjusted to the very first time.
5. method according to claim 2, it is characterised in that also included for the second time when at least one described time point,
And second time, prior to the pre-set alarm clock ring time and when the very first time, methods described also includes:
If the Weather information default Weather information corresponding with the very first time is mismatched, the mobile terminal is detected
Whether current time reaches second time;
If the current time of the mobile terminal reaches second time, current Weather information is obtained;
Judge that the Weather information default Weather information whether corresponding with second time matches;
If the Weather information default Weather information corresponding with second time matches, ring of alarm clock will be exported
Time is adjusted to second time by the pre-set alarm clock ring time;
The mobile terminal is controlled to export ring of alarm clock in second time.
6. a kind of mobile terminal, it is characterised in that including:
First acquisition unit, for when the current time of mobile terminal reaches the very first time, obtaining current Weather information, institute
The very first time is stated prior to the pre-set alarm clock ring time that is stored in the mobile terminal;
First judging unit, for judging the Weather information default Weather information phase whether corresponding with the very first time
Match somebody with somebody;
Adjustment unit, for judging that the Weather information is corresponding with the very first time default when first judging unit
When Weather information matches, when by the pre-set alarm clock ring time are adjusted into described first the time for exporting ring of alarm clock
Between;
Control unit, for controlling the mobile terminal in very first time output ring of alarm clock.
7. mobile terminal according to claim 6, it is characterised in that also include:
Second acquisition unit, for, when the current time of mobile terminal reaches the very first time, being obtained in the first acquisition unit
Take before current Weather information, obtain the alarm clock ring time that user is set in the alarm clock application of the mobile terminal, and
It regard the alarm clock ring time as pre-set alarm clock ring time;
Setting unit, for setting at least one time point pass corresponding with Weather information according to the pre-set alarm clock ring time
System, at least one described time point includes the very first time.
8. the mobile terminal according to claim 6 or 7, it is characterised in that also include:
3rd acquiring unit, for judging that the Weather information is corresponding with the very first time in first judging unit
After default Weather information matches, when the adjustment unit will export the time of ring of alarm clock by the pre-set alarm clock jingle bell
Between be adjusted to before the very first time, obtain the corresponding current traffic information of pre-set navigational route;
Determining unit, for determining whether the pre-set navigational route is currently in congestion shape according to the current traffic information
State;
The adjustment unit when the determining unit specifically for determining that the pre-set navigational route is currently at congestion state
When, the time of output ring of alarm clock is adjusted to the very first time by the pre-set alarm clock ring time.
9. the mobile terminal according to claim 6 or 7, it is characterised in that also include:
4th acquiring unit, for judging that the Weather information is corresponding with the very first time in first judging unit
After default Weather information matches, when the adjustment unit will export the time of ring of alarm clock by the pre-set alarm clock jingle bell
Between be adjusted to before the very first time, obtain the current real time position of the mobile terminal;
Second judging unit, for judge the real time position whether with the predeterminated position phase that is stored in the mobile terminal
Match somebody with somebody;
The adjustment unit when second judging unit specifically for judging the real time position and the predeterminated position phase
During matching, the time of output ring of alarm clock is adjusted to the very first time by the pre-set alarm clock ring time.
10. mobile terminal according to claim 7, it is characterised in that also include second when at least one described time point
Time, and second time is prior to the pre-set alarm clock ring time and when the very first time, in addition to:
Detection unit, for judging that the Weather information is corresponding with the very first time default in first judging unit
When Weather information is mismatched, detect whether the current time of the mobile terminal reaches second time;
The first acquisition unit, is additionally operable to when the current time that the detection unit detects the mobile terminal reaches described
During the second time, current Weather information is obtained;
First judging unit, is additionally operable to judge the Weather information default weather letter whether corresponding with second time
Manner of breathing is matched;
The adjustment unit, is additionally operable to when first judging unit judges that the Weather information is corresponding with second time
Default Weather information when matching, then will export time of ring of alarm clock is adjusted to described by the pre-set alarm clock ring time
Second time;
Described control unit, is additionally operable to control the mobile terminal to export ring of alarm clock in second time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710354032.5A CN107172285A (en) | 2017-05-18 | 2017-05-18 | A kind of method and mobile terminal for adjusting alarm clock ring time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710354032.5A CN107172285A (en) | 2017-05-18 | 2017-05-18 | A kind of method and mobile terminal for adjusting alarm clock ring time |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107172285A true CN107172285A (en) | 2017-09-15 |
Family
ID=59815217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710354032.5A Pending CN107172285A (en) | 2017-05-18 | 2017-05-18 | A kind of method and mobile terminal for adjusting alarm clock ring time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172285A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769415A (en) * | 2018-05-25 | 2018-11-06 | 武汉工程大学 | A kind of terminal and based reminding method according to the prompting of real-time weather data-triggered |
CN109005290A (en) * | 2018-07-27 | 2018-12-14 | 努比亚技术有限公司 | A kind of alarm clock setting method, terminal and computer readable storage medium |
CN109495650A (en) * | 2018-12-14 | 2019-03-19 | 北京小米移动软件有限公司 | Alarm clock prompting method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006038126A2 (en) * | 2004-10-05 | 2006-04-13 | Nokia Corporation | Mobile communication terminal providing an alarm clock functionality |
CN102158594A (en) * | 2011-02-17 | 2011-08-17 | 华为终端有限公司 | Method for mobile terminal reminding and mobile terminal |
CN102638760A (en) * | 2012-03-29 | 2012-08-15 | 广东步步高电子工业有限公司 | Method for controlling ring of alarm clock according to geographical position and handheld device thereof |
CN106488026A (en) * | 2016-10-19 | 2017-03-08 | 珠海格力电器股份有限公司 | The control method of mobile terminal, device and mobile terminal |
CN106534575A (en) * | 2016-12-06 | 2017-03-22 | 歌尔科技有限公司 | Alarm clock reminding method and device based on mobile terminal |
-
2017
- 2017-05-18 CN CN201710354032.5A patent/CN107172285A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006038126A2 (en) * | 2004-10-05 | 2006-04-13 | Nokia Corporation | Mobile communication terminal providing an alarm clock functionality |
CN102158594A (en) * | 2011-02-17 | 2011-08-17 | 华为终端有限公司 | Method for mobile terminal reminding and mobile terminal |
CN102638760A (en) * | 2012-03-29 | 2012-08-15 | 广东步步高电子工业有限公司 | Method for controlling ring of alarm clock according to geographical position and handheld device thereof |
CN106488026A (en) * | 2016-10-19 | 2017-03-08 | 珠海格力电器股份有限公司 | The control method of mobile terminal, device and mobile terminal |
CN106534575A (en) * | 2016-12-06 | 2017-03-22 | 歌尔科技有限公司 | Alarm clock reminding method and device based on mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769415A (en) * | 2018-05-25 | 2018-11-06 | 武汉工程大学 | A kind of terminal and based reminding method according to the prompting of real-time weather data-triggered |
CN109005290A (en) * | 2018-07-27 | 2018-12-14 | 努比亚技术有限公司 | A kind of alarm clock setting method, terminal and computer readable storage medium |
CN109495650A (en) * | 2018-12-14 | 2019-03-19 | 北京小米移动软件有限公司 | Alarm clock prompting method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8089355B2 (en) | Context-detected auto-mode switching | |
EP2077436B1 (en) | Graphical user interface for presenting location information | |
CN107944277B (en) | Application starting control method and device, storage medium and intelligent terminal | |
CN107172285A (en) | A kind of method and mobile terminal for adjusting alarm clock ring time | |
US20060068812A1 (en) | Scheduling tasks dynamically depending on the location of a mobile user | |
EP1441300A1 (en) | Location-based to-do list reminders | |
US9898902B2 (en) | Computer implemented method for notifying user by using a speaker | |
US20080077865A1 (en) | Context-based user interface system | |
US6907582B2 (en) | Communication of information through background modulation in an information display | |
CN102158594A (en) | Method for mobile terminal reminding and mobile terminal | |
KR20080070736A (en) | Method and device for context dependent user input proposal | |
CN101438133A (en) | Navigation apparatus with adaptability navigation instruction | |
WO2008070400A2 (en) | Local caching of map data based on carrier coverage data | |
CN105865466A (en) | Intelligent navigation system and method thereof | |
CN107045528A (en) | A kind of method and terminal reminded of going on a journey | |
EP1875165A1 (en) | Method for displaying objects to be positioned on a display of a positioning device, a positioning device and an application | |
CN106250542A (en) | A kind of method of recommended program and terminal | |
CN103017750A (en) | Mobile terminal navigation method and corresponding navigation system | |
CN102752714A (en) | Method and device for setting bell | |
CN107249082B (en) | Volume control method and device, storage medium and electronic equipment | |
CN110361019B (en) | Method, device, electronic equipment and readable medium for predicting navigation time | |
CN105979080A (en) | Application state display device, method and terminal | |
CN110472940B (en) | Schedule information updating processing method and device, terminal and storage medium | |
KR100974405B1 (en) | A golf course and facility management system and method thereof | |
AU2011218683B2 (en) | Graphical user interface for presenting location information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170915 |