CN109040464A - Method, mobile terminal and the storage medium of alarm clock are intelligently adjusted based on location information - Google Patents
Method, mobile terminal and the storage medium of alarm clock are intelligently adjusted based on location information Download PDFInfo
- Publication number
- CN109040464A CN109040464A CN201811051299.8A CN201811051299A CN109040464A CN 109040464 A CN109040464 A CN 109040464A CN 201811051299 A CN201811051299 A CN 201811051299A CN 109040464 A CN109040464 A CN 109040464A
- Authority
- CN
- China
- Prior art keywords
- alarm clock
- preset time
- location
- predeterminated position
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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/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
-
- 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/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
Provided herein method, mobile terminal and the storage medium that alarm clock is intelligently adjusted based on location information, wherein method includes monitoring current time;Judge whether the current time is consistent with preset time;If consistent with preset time, the current location of user is obtained;Judge that whether corresponding with the preset time current location predeterminated position be consistent;If inconsistent with predeterminated position, the distance between the current location and the predeterminated position are calculated;According to the distance, according to the corresponding adjustment alarm clock setting of preset rules, the alarm clock setting includes alarm clock volume, oscillation intensity and starting duration.The application can judge automatically the distance between current location and the predeterminated position of user relationship when triggering alarm clock, thus intelligent start/stop alarm clock and according to preset rules adjustment alarm clock setting.
Description
Technical field
This application involves mobile communication technology fields, in particular to intelligently adjust the method for alarm clock based on location information, move
Dynamic terminal and storage medium.
Background technique
Widely available with mobile terminals such as mobile phones, people are in addition to using mobile phone to carry out the communication such as voice, short message, wechat
Except, video-see, the various applications such as take pictures can also be carried out using mobile phone.Wherein, the alarm clock provided using mobile phone
It is also the function that people are commonly used that function, which is arranged, to carry out alarm clock setting, is waited for remind user to get up or complete other
Working item.
The setting of existing alarm clock is all based on the time and carries out corresponding trigger action, can not synthetic user location information.
The corresponding setting, such as volume, duration etc. of alarm clock after actuation are all fixed and invariable, and remind effect unobvious.And it makes a noise
Clock needs user to go to implement closing motion manually after actuation, can make troubles to user.
Summary of the invention
The main purpose of the application is to provide the method that alarm clock is intelligently adjusted based on location information, mobile terminal and storage Jie
Matter can judge automatically the distance between current location and the predeterminated position of user relationship when triggering alarm clock, so that intelligence opens
Stop alarm clock and according to preset rules adjustment alarm clock setting.
To achieve the above object, this application provides a kind of methods that alarm clock is intelligently adjusted based on location information, comprising:
Monitor current time;
Judge whether the current time is consistent with preset time;
If consistent with preset time, the current location of user is obtained;
Judge that whether corresponding with the preset time current location predeterminated position be consistent;
If inconsistent with predeterminated position, the distance between the current location and the predeterminated position are calculated;
According to the distance, according to the corresponding adjustment alarm clock setting of preset rules, the alarm clock setting includes alarm clock volume, vibration
Fatigue resistance and starting duration.
Further, before the step of monitoring current time, comprising:
At least one preset time of typing;
Setting predeterminated position corresponding with each preset time.
Further, the step of setting corresponding with each preset time predeterminated position, comprising:
It is determined whether to enable recommendation functions;
If opening, the preset time is matched with historical position data library, obtain in the first preset time period and
At least one corresponding recommended location of the preset time;
Each recommended location is shown according to preset format in selection interface;
The selection instruction that user inputs in the selection interface is obtained, the selection instruction carries user from each recommendation
The specified recommended location of the middle selection of position;
The predeterminated position is set by the specified recommended location, and establishes corresponding relationship with the preset time.
It is further, described to show each recommended location the selection interface the step of according to preset format, comprising:
Obtain frequency of occurrence of each recommended location in first preset time period;
Each recommended location is subjected to descending arrangement according to the frequency of occurrence, and is shown in the selection interface.
Further, described according to the distance, after preset rules corresponding the step of adjusting alarm clock setting, packet
It includes:
At least one navigation routine is planned according to the current location and the predeterminated position;
Obtain the corresponding traffic information of currently each navigation routine;
Optimal navigation routine is selected according to each traffic information and is exported.
Further, described to judge the consistent step of current location predeterminated position whether corresponding with the preset time
After rapid, comprising:
If inconsistent with predeterminated position, judge whether current date is working day;
It is right in the second preset time period after transferring the current time in operating path database if working day
The user job moving line answered, wherein the operating path database is the activity bit that mobile terminal monitors user job day
Set generation;
Judge whether the current location is contained in the user job moving line;
If being contained in the user job route, the corresponding alarm clock of the current time is not triggered.
Further, the step for judging the current location and whether being contained in the user job moving line,
Include:
Obtain the initial position and final position in the user job moving line;
At least one moving line is predicted according to the initial position and terminal location;
Judge whether the current location is contained at least one moving line;
If being contained at least one moving line, determine that the current location is contained in the user job fortune
In dynamic route;
If being not included at least one moving line, determine that the current location is not included in user's work
Make in moving line.
Further, described also to be wrapped after preset rules corresponding the step of adjusting alarm clock setting according to the distance
It includes:
Start the alarm clock, and updates the number of starts;
Judge whether the number of starts is more than the default number of starts;
If being more than, the preset time is shifted to an earlier date according to preset rules according to the distance.
The application also provides a kind of mobile terminal, including memory and processor, is stored with computer in the memory
The step of program, the processor realizes the above method when executing the computer program.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey
The step of above method is realized when sequence is executed by processor.
Method, mobile terminal and the storage medium that alarm clock is intelligently adjusted based on location information provided herein, is had
Below the utility model has the advantages that when triggering alarm clock, mobile terminal can obtain automatically the current location of user, and judge current location with
The distance between predeterminated position relationship, thus according to distance relation intelligent start/stop alarm clock between the two and according to preset rules
Adjust alarm clock setting.
Detailed description of the invention
Fig. 1 is the step schematic diagram for intelligently adjusting the method for alarm clock in one embodiment of the application based on location information;
Fig. 2 is the overall flow schematic diagram for intelligently adjusting the method for alarm clock in one embodiment of the application based on location information;
Fig. 3 is the structural schematic block diagram of the mobile terminal of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Referring to Fig.1, a kind of method that alarm clock is intelligently adjusted based on location information, packet are provided in one embodiment of the application
It includes:
S1: monitoring current time;
S2: judge whether current time is consistent with preset time;
S3: if consistent with preset time, the current location of user is obtained;
S4: judge that whether corresponding with preset time current location predeterminated position be consistent;
S5: if inconsistent with predeterminated position, the distance between current location and predeterminated position are calculated;
S6: according to distance, according to the corresponding adjustment alarm clock setting of preset rules, alarm clock setting is strong including alarm clock volume, vibration
Degree and starting duration.
Mobile terminal includes but is not limited to mobile phone, and the present embodiment takes the mobile phone as an example.Interior of mobile phone be previously provided with one or
Multiple preset times, the preset time refer to the time of starting alarm clock function.Meanwhile each preset time is correspondingly arranged on one
Predeterminated position.For example, user plan 8 when in subway station, 9 points in company.So, corresponding setting relationship should
Be: preset time is 8 points, and corresponding predeterminated position is subway station;Preset time is 9 points, and corresponding predeterminated position is company.With
Multiple corresponding relationships have can be set according to self-demand in family, wherein different preset times can correspond to identical default position
It sets.In the process of running, real-time monitoring current time, while current time being compared with preset time judges two to mobile phone
Whether person is consistent.If the two is consistent, i.e., when current time is preset time, mobile phone triggers alarm clock function, is determined by internal
Position module, such as GPS are implemented to position, obtain the current location of user to user.For example, mobile phone is being worked as according to above-mentioned setting
When the preceding time is 8, GPS function is automatically turned on, user is positioned in real time, to obtain the current location of user.
Then, current location is compared mobile phone with the corresponding predeterminated position of preset time of triggering alarm clock function, judges user's
Whether current location is identical as predeterminated position.If current location is identical as predeterminated position, show that user currently has been carried out
It is planned, i.e., reaches predeterminated position in preset time, and mobile phone not will start the corresponding alarm clock function of preset time, realize that intelligence is closed
Close alarm clock.If mobile phone detects that the current location of user is inconsistent with predeterminated position, need to calculate distance between the two.
The alarm clock function being triggered is set with pre-set alarm clock, including alarm clock volume, the oscillation intensity of alarm clock and alarm clock
Starting duration.Mobile phone is noisy according to the corresponding adjustment of preset rules according to distance after obtaining the distance of current location and predeterminated position
Clock setting.For example, when mobile phone detects that the distance between current location and predeterminated position are 1km, alarm clock volume 10, alarm clock
Oscillation intensity is 15, starting duration 20S;When mobile phone detects that the distance between current location and predeterminated position are 2km, alarm clock
Volume is 15, oscillation intensity 20, starting duration 30S.Different alarm clock settings can bring more obvious mention to user
Awake effect, brings the different senses of urgency;Meanwhile it is big to facilitate user to understand the distance between current location and predeterminated position in time
It is small.In this implementation, the preset rules of the corresponding adjustment between distance and alarm clock setting can be preset by system, can also be with
It is modified according to their needs by user.
Further, before the step of monitoring current time, comprising:
S7: at least one preset time of typing;
S8: setting predeterminated position corresponding with each preset time.
In the present embodiment, user needs to be set in advance preset time and predeterminated position, and preset time can have multiple.Its
In, different preset times can correspond to identical predeterminated position.User input a preset time after, mobile phone prompt user after
Continuous typing predeterminated position corresponding with preset time.Wherein, predeterminated position can be selected to be manually entered by user, can also be by hand
Machine compares to obtain from the historical position data library of user according to preset time.User determine a preset time and with this
After the corresponding predeterminated position of preset time, preset time and predeterminated position are established corresponding relationship automatically by mobile phone, and are saved, so as to
Later period is judged accordingly when triggering alarm clock function.
Further, the step of predeterminated position corresponding with each preset time is set, comprising:
S801: it is determined whether to enable recommendation functions;
S802: if opening, matching preset time and historical position data library are obtained in the first preset time period and when default
Between at least one corresponding recommended location;
S803: each recommended location is shown according to preset format in selection interface;
S804: obtaining the selection instruction that user inputs in the selection interface, and selection instruction carries user from each recommendation position
The specified recommended location for the middle selection set;
S805: predeterminated position is set by specified recommended location, and establishes corresponding relationship with preset time.
In the present embodiment, after setting preset time, mobile phone asks the user whether to open recommendation function user automatically.If with
Family selection is not turned on, then when subsequent setting predeterminated position, user is needed to be manually entered the information of predeterminated position.If user selects
Recommendation function is opened, mobile phone transfers historical position data library automatically.Wherein, mobile phone monitors the location information of user automatically daily,
And the location information of daily synchronization is classified as same group, thus obtain the multiple groups location information of each different moments.Hand
Machine will correspond to each other between each group location information and each different moments, and building obtains historical position data library.Mobile phone according to
The preset time of family input, is matched with historical position data library, and the preset time obtained in the first preset time period is corresponding
One group of location information.For example, the preset time of user's input is 9 points, after being matched with historical position data library, output is most
In nearly one month, i.e. in the first preset time period, one group of location information at user 9, i.e. recommended location.Mobile phone will match
To each recommended location be shown in selection interface according to preset format and selected for user.User is according to itself actual demand
Selection will be set as the option of the recommended location of predeterminated position, i.e. sending selection instruction.Mobile phone is according to selection instruction, by user
The recommended location of selection is set as predeterminated position, and establishes corresponding relationship with preset time, to trigger alarm clock function in the later period
When, carry out corresponding judgement movement.The recommended location that mobile phone is provided according to the historical position of user can more agree with user's
Living habit, and because its mode for obtaining historical position is identical as the triggering alarm clock acquisition mode of current location, in position
Judgement on have higher accuracy.
Further, each recommended location is shown the selection interface the step of according to preset format, comprising:
S8031: frequency of occurrence of each recommended location in the first preset time period is obtained;
S8032: each recommended location is subjected to descending arrangement according to frequency of occurrence, and is shown in selection interface.
In the present embodiment, mobile phone obtains one group of recommended location in corresponding first preset time period of preset time in matching
Afterwards, according to the record in historical position data library, the corresponding frequency of occurrence of each recommended location is counted.Then by each recommended location
Descending arrangement is carried out according to the size of frequency of occurrence, and each recommended location after arrangement is sequentially displayed in selection from top to bottom
Interface makes user objectively recognize the historical position of oneself, makes a choice convenient for user.For example, preset time is 9 points,
In this group of recommended location, in one month, user at 9, have 20 times in company, 5 times in breakfast shop, 3 times in subway, 2 times
Family.Then recommended location puts in order are as follows: company, breakfast shop, subway, family.Further, mobile phone automatically by frequency of occurrence most
In more recommended location filling predeterminated position options, and exports confirmation message and wait user's confirmation.
Further, according to distance, after preset rules corresponding the step of adjusting alarm clock setting, comprising:
S9: at least one navigation routine is planned according to current location and predeterminated position;
S10: the corresponding traffic information of current each navigation routine is obtained;
S11: optimal navigation routine is selected according to each traffic information and is exported.
In the present embodiment, mobile phone is after starting alarm clock function, and automatically using the current location of user as starting point, predeterminated position is
Terminal plans one or more navigation routine.Wherein, navigation routine includes the corresponding route of different modes of transportation, for example, step
Capable route, the route of cycling, route by the subway etc..Then, to obtain each bar navigation route by transportation network current
Traffic information, for example the jam situation of current road, each road be provided with several traffic lights, need each class of bus for taking
Time interval etc. between secondary.Comprehensive current traffic information, calculates and is reached needed for predeterminated position by each bar navigation route
The corresponding time to be spent.Then, mobile phone, which automatically selects, spends time least navigation routine as optimal navigation routine, and defeated
It out in display screen, or is exported with voice messaging, to guide user to reach predeterminated position within the shortest time, avoids user's
Plan is further delayed.
Further, after judging the consistent step of current location predeterminated position whether corresponding with preset time, comprising:
S12: if inconsistent with predeterminated position, judge whether current date is working day;
S13: right in the second preset time period after transferring current time in operating path database if working day
The user job moving line answered, wherein operating path database is the moving position life that mobile terminal monitors user job day
At;
S14: judge whether current location is contained in user job moving line;
S15: if being contained in user job route, the corresponding alarm clock of current time is not triggered.
In the present embodiment, mobile phone determine user current location predeterminated position corresponding with preset time it is inconsistent when,
Automatically it gets Date, and current date is compared with regulation work calendar, judge whether current date is work with this
Make day.Wherein, it is specified that work calendar is defaulted as national regulation work calendar, user can also carry out corresponding according to the work of itself
Change.For example, user can work regulation, calendar is set as weekly Tuesday to Saturday.If current date is working day,
Mobile phone transfers the user job moving line in the second preset time period after current time automatically.For example, current time is 8
Point, mobile phone transfer at 8 points after 1 hour in user job moving line.Wherein, mobile phone is according to the regulation work of customer acceptance
Calendar records all location informations of user's every workday, and constructs after summarizing according to the date and obtain user job
Moving line.Current location is compared mobile phone with the user job moving line transferred, judge current location whether include
In user job moving line.If current location is contained in user job moving line, mobile phone judges that user is current
From the distance that predeterminated position rushes for destination, the corresponding alarm clock of current time is automatically closed, realizes intelligent start/stop alarm clock
Effect.
Further, judge the step whether current location is contained in user job moving line, comprising:
S1401: the initial position and final position in user job moving line are obtained;
S1402: at least one moving line is predicted according to initial position and terminal location;
S1403: judge whether current location is contained at least one moving line;
S1404: if being contained at least one moving line, determine that current location is contained in user job moving line
In;
S1405: if being not included at least one moving line, determine that current location is not included in user job movement
In route.
In the present embodiment, mobile phone can directly obtain corresponding initial position and terminal position according to user job moving line
It sets, is then predicted to obtain one or more moving line according to initial position and final position.Mobile phone is by the current location of user
Each moving line obtained with prediction is compared, and judges whether current location is contained therein in a moving line.Such as
Fruit current location is contained therein a moving line, then determines that current location is contained in user job moving line.Otherwise,
Then determine that current location is not included in user job moving line, effectively improves the accuracy of judgement.For example, alarm clock is default
Time is 8 points, and user reaches company from subway station when 8-9 available according to user job moving line.Mobile phone obtains
Take subway station to a plurality of moving line of company, if wherein a moving line is to take Line 1 subway.And user at this time
Current location is located in the travel route of Line 1 subway, then determines that current location is contained in user job moving line.
Further, according to distance, after preset rules corresponding the step of adjusting alarm clock setting, further includes:
S16: start the alarm clock, and update the number of starts;
S17: judge whether the number of starts is more than the default number of starts;
S18: if being more than, according to distance according to the preset rules preset in advance time.
In the present embodiment, when starting alarm clock every time, mobile phone will record the corresponding preset time of the alarm clock, the present bit of user
The distance between predeterminated position is set, and updates the number of starts of the alarm clock so far from setting.Then judge current starting
Whether number is more than the default number of starts, if it does, then according to the distance between current location and predeterminated position, according to default
It is arranged rule adjustment preset time in advance.For example, when calculated distance is 1km when starting alarm clock, by preset time
15 minutes in advance;When distance is 2km, preset time is shifted to an earlier date 20 minutes.The present embodiment can be according to the living habit of user, intelligence
The triggered time of alarm clock can be adjusted, to reduce the probability that user delays itself plan.
The method provided in this embodiment that alarm clock is intelligently adjusted based on location information, when triggering alarm clock, mobile terminal energy
Enough automatic current locations for obtaining user, and judge the distance between current location and predeterminated position relationship, thus according to the two
The distance between relationship intelligent start/stop alarm clock and according to preset rules adjustment alarm clock setting
Referring to Fig. 3, a kind of mobile terminal is also provided in the embodiment of the present application, which can be server, in
Portion's structure can be as shown in Figure 3.The mobile terminal include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the mobile terminal design is for providing calculating and control ability.The memory packet of the mobile terminal
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The movement
The database of terminal is for storing the data such as historical position.The network interface of the mobile terminal is used to pass through net with external terminal
Network connection communication.To realize a kind of side for intelligently adjusting alarm clock based on location information when the computer program is executed by processor
Method.
Above-mentioned processor executes the step of above-mentioned method that alarm clock is intelligently adjusted based on location information:
Monitor current time;
Judge whether the current time is consistent with preset time;
If consistent with preset time, the current location of user is obtained;
Judge that whether corresponding with the preset time current location predeterminated position be consistent;
If inconsistent with predeterminated position, the distance between the current location and the predeterminated position are calculated;
According to the distance, according to the corresponding adjustment alarm clock setting of preset rules, the alarm clock setting includes alarm clock volume, vibration
Fatigue resistance and starting duration.
It will be understood by those skilled in the art that structure shown in Fig. 3, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the mobile terminal being applied thereon to application scheme.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates
Machine program realizes a kind of method that alarm clock is intelligently adjusted based on location information when being executed by processor, specifically:
Monitor current time;
Judge whether the current time is consistent with preset time;
If consistent with preset time, the current location of user is obtained;
Judge that whether corresponding with the preset time current location predeterminated position be consistent;
If inconsistent with predeterminated position, the distance between the current location and the predeterminated position are calculated;
According to the distance, according to the corresponding adjustment alarm clock setting of preset rules, the alarm clock setting includes alarm clock volume, vibration
Fatigue resistance and starting duration.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can store and a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
Any reference used in provided herein and embodiment to memory, storage, database or other media,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM can by diversified forms
, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double speed are according to rate SDRAM (SSRSDRAM), increasing
Strong type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include the other elements being not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations
Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, similarly include in the scope of patent protection of the application.
Claims (10)
1. a kind of method for intelligently adjusting alarm clock based on location information characterized by comprising
Monitor current time;
Judge whether the current time is consistent with preset time;
If consistent with preset time, the current location of user is obtained;
Judge that whether corresponding with the preset time current location predeterminated position be consistent;
If inconsistent with predeterminated position, the distance between the current location and the predeterminated position are calculated;
According to the distance, according to the corresponding adjustment alarm clock setting of preset rules, the alarm clock setting is strong including alarm clock volume, vibration
Degree and starting duration.
2. the method according to claim 1 for intelligently adjusting alarm clock based on location information, which is characterized in that the monitoring is worked as
Before the step of preceding time, comprising:
At least one preset time of typing;
Setting predeterminated position corresponding with each preset time.
3. the method according to claim 2 based on location information adjustment alarm clock, which is characterized in that it is described setting with
The step of each preset time corresponding predeterminated position, comprising:
It is determined whether to enable recommendation functions;
If opening, the preset time is matched with historical position data library, obtain the first preset time period it is interior with it is described
At least one corresponding recommended location of preset time;
Each recommended location is shown according to preset format in selection interface;
The selection instruction that user inputs in the selection interface is obtained, the selection instruction carries user from each recommended location
Middle selection specified recommended location;
The predeterminated position is set by the specified recommended location, and establishes corresponding relationship with the preset time.
4. the method according to claim 3 based on location information adjustment alarm clock, which is characterized in that described by each institute
State the step of recommended location is shown in selection interface according to preset format, comprising:
Obtain frequency of occurrence of each recommended location in first preset time period;
Each recommended location is subjected to descending arrangement according to the frequency of occurrence, and is shown in the selection interface.
5. the method according to claim 1 based on location information adjustment alarm clock, which is characterized in that described according to institute
After the step of stating distance, being set according to the corresponding adjustment alarm clock of preset rules, comprising:
At least one navigation routine is planned according to the current location and the predeterminated position;
Obtain the corresponding traffic information of currently each navigation routine;
Optimal navigation routine is selected according to each traffic information and is exported.
6. the method according to claim 1 based on location information adjustment alarm clock, which is characterized in that the judgement institute
After stating the consistent step of current location predeterminated position whether corresponding with the preset time, comprising:
If inconsistent with predeterminated position, judge whether current date is working day;
It is corresponding in the second preset time period after transferring the current time in operating path database if working day
User job moving line, wherein the operating path database is the moving position life that mobile terminal monitors user job day
At;
Judge whether the current location is contained in the user job moving line;
If being contained in the user job route, the corresponding alarm clock of the current time is not triggered.
7. according to the method based on location information adjustment alarm clock described in claim 6, which is characterized in that the judgement
Whether the current location is contained in the step in the user job moving line, comprising:
Obtain the initial position and final position in the user job moving line;
At least one moving line is predicted according to the initial position and terminal location;
Judge whether the current location is contained at least one moving line;
If being contained at least one moving line, determine that the current location is contained in user job movement road
In line;
If being not included at least one moving line, determine that the current location is not included in the user job fortune
In dynamic route.
8. the method according to claim 1 based on location information adjustment alarm clock, which is characterized in that described according to institute
After the step of stating distance, being set according to the corresponding adjustment alarm clock of preset rules, further includes:
Start the alarm clock, and updates the number of starts;
Judge whether the number of starts is more than the default number of starts;
If being more than, the preset time is shifted to an earlier date according to preset rules according to the distance.
9. a kind of mobile terminal, including memory and processor, it is stored with computer program in the memory, feature exists
In the step of processor realizes any one of claims 1 to 8 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811051299.8A CN109040464B (en) | 2018-09-10 | 2018-09-10 | Method for intelligently adjusting alarm clock based on position information, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811051299.8A CN109040464B (en) | 2018-09-10 | 2018-09-10 | Method for intelligently adjusting alarm clock based on position information, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109040464A true CN109040464A (en) | 2018-12-18 |
CN109040464B CN109040464B (en) | 2020-12-25 |
Family
ID=64620742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811051299.8A Active CN109040464B (en) | 2018-09-10 | 2018-09-10 | Method for intelligently adjusting alarm clock based on position information, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040464B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112468651A (en) * | 2019-08-19 | 2021-03-09 | Tcl集团股份有限公司 | Alarm clock setting method and device and intelligent terminal |
CN113596245A (en) * | 2021-07-28 | 2021-11-02 | 中标软件有限公司 | Memo alarm clock system and reminding method thereof |
CN113691428A (en) * | 2021-08-23 | 2021-11-23 | 深圳市欧瑞博科技股份有限公司 | Intelligent awakening method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186844A (en) * | 2011-12-27 | 2013-07-03 | 联想(北京)有限公司 | Information processing equipment, and control method of alarm clock reminding |
CN103795855A (en) * | 2014-01-06 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock setting method and device based on mobile terminal |
CN105245725A (en) * | 2015-10-30 | 2016-01-13 | 努比亚技术有限公司 | Device and method for implementing scene alarm clock and mobile terminal |
CN105554235A (en) * | 2015-09-25 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock prompting method and mobile terminals |
CN105812544A (en) * | 2014-12-30 | 2016-07-27 | Tcl集团股份有限公司 | Method for controlling ringing bell of alarm clock and alarm clock |
US9599967B2 (en) * | 2015-07-27 | 2017-03-21 | International Business Machines Corporation | Deferring appointment alarms |
CN107368553A (en) * | 2017-06-30 | 2017-11-21 | 北京奇虎科技有限公司 | The method and device of search suggestion word is provided based on active state |
-
2018
- 2018-09-10 CN CN201811051299.8A patent/CN109040464B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186844A (en) * | 2011-12-27 | 2013-07-03 | 联想(北京)有限公司 | Information processing equipment, and control method of alarm clock reminding |
CN103795855A (en) * | 2014-01-06 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock setting method and device based on mobile terminal |
CN105812544A (en) * | 2014-12-30 | 2016-07-27 | Tcl集团股份有限公司 | Method for controlling ringing bell of alarm clock and alarm clock |
US9599967B2 (en) * | 2015-07-27 | 2017-03-21 | International Business Machines Corporation | Deferring appointment alarms |
CN105554235A (en) * | 2015-09-25 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Alarm clock prompting method and mobile terminals |
CN105245725A (en) * | 2015-10-30 | 2016-01-13 | 努比亚技术有限公司 | Device and method for implementing scene alarm clock and mobile terminal |
CN107368553A (en) * | 2017-06-30 | 2017-11-21 | 北京奇虎科技有限公司 | The method and device of search suggestion word is provided based on active state |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112468651A (en) * | 2019-08-19 | 2021-03-09 | Tcl集团股份有限公司 | Alarm clock setting method and device and intelligent terminal |
CN112468651B (en) * | 2019-08-19 | 2021-10-12 | Tcl科技集团股份有限公司 | Alarm clock setting method and device and intelligent terminal |
CN113596245A (en) * | 2021-07-28 | 2021-11-02 | 中标软件有限公司 | Memo alarm clock system and reminding method thereof |
CN113691428A (en) * | 2021-08-23 | 2021-11-23 | 深圳市欧瑞博科技股份有限公司 | Intelligent awakening method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109040464B (en) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040464A (en) | Method, mobile terminal and the storage medium of alarm clock are intelligently adjusted based on location information | |
US6678613B2 (en) | Method and apparatus for notifying a user of an appointment | |
US7797267B2 (en) | Methods and architecture for learning and reasoning in support of context-sensitive reminding, informing, and service facilitation | |
Cantarella et al. | Dynamic processes and equilibrium in transportation networks: towards a unifying theory | |
US20170228701A1 (en) | Creating and Managing Optimal Routes for Users' Day | |
US20080004926A1 (en) | Methods and architectures for context-sensitive reminders and service facilitation | |
US7428521B2 (en) | Precomputation of context-sensitive policies for automated inquiry and action under uncertainty | |
Mazloumi et al. | An integrated framework to predict bus travel time and its variability using traffic flow data | |
CN104272709B (en) | It is determined that the method and apparatus for the context inferred | |
EP4102437A1 (en) | Systems and methods for predicting user behavior based on location data | |
US20140304211A1 (en) | Building and using predictive models of current and future surprises | |
CN106465060A (en) | Determining a significant user location for providing location-based services | |
CN110065455A (en) | Vehicle-mounted function intelligent starting method, apparatus, computer equipment and storage medium | |
CN108985896A (en) | Share-car method, the recommended method of share-car route, device, medium and electronic equipment | |
CN110110026A (en) | A kind of method, apparatus and medium of intelligent prompt trip help information | |
CN109195113A (en) | The method, apparatus and computer equipment of a kind of trip of user for identification track | |
Mane et al. | Smart personal assistant using machine learning | |
CN110428120A (en) | Real-time personal mobility planning system | |
US8597030B2 (en) | Electronic profile based education service | |
CN109240763A (en) | Application program accelerates method, mobile terminal and the storage medium of starting | |
CN107861806A (en) | A kind of method, apparatus, computer installation and the computer-readable recording medium of application switching | |
KR20060121478A (en) | Method for setting and displaying class schedule of telecommunication terminal | |
CN109903006A (en) | Reporting method, device, equipment and the computer readable storage medium of building | |
US20130124248A1 (en) | Active Device for Providing Real Time Parolee Information | |
CN111741051B (en) | Method and device for determining full load rate of vehicle, storage medium and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |