CN108337359A - A kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing - Google Patents

A kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108337359A
CN108337359A CN201711283665.8A CN201711283665A CN108337359A CN 108337359 A CN108337359 A CN 108337359A CN 201711283665 A CN201711283665 A CN 201711283665A CN 108337359 A CN108337359 A CN 108337359A
Authority
CN
China
Prior art keywords
moment
mobile terminal
alarm clock
threshold value
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711283665.8A
Other languages
Chinese (zh)
Other versions
CN108337359B (en
Inventor
胡坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nestle Holdings Ltd
Original Assignee
Shenzhen Nestle Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Nestle Holdings Ltd filed Critical Shenzhen Nestle Holdings Ltd
Priority to CN201711283665.8A priority Critical patent/CN108337359B/en
Publication of CN108337359A publication Critical patent/CN108337359A/en
Application granted granted Critical
Publication of CN108337359B publication Critical patent/CN108337359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The invention discloses a kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing, the initial position of mobile terminal is determined first, and current movement speed is detected to judge whether user gets on the bus, illustrate that user has gone up train when current movement speed reaches the first pre-set velocity threshold value for the first time, and obtains correspondence moment the getting on the bus the moment as user when current movement speed reaches the first pre-set velocity threshold value;It is in the second pre-set velocity threshold value in current movement speed, and mobile terminal is when carrying out mobile duration with the second pre-set velocity threshold value and reaching the first preset duration, illustrate that the second moment of correspondence when the movement speed of mobile terminal reaches the second pre-set velocity threshold value is arriving at a station the moment of getting off for user, and determine geographical location of the mobile terminal residing for the second moment as target endpoint position, it is finally based on target endpoint position and default initial position and determines travel route, scene alarm clock can be automatically generated by realizing the mobile terminal when taking train, improve user experience.

Description

A kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing
Technical field
The present invention relates to field of communication technology more particularly to a kind of setting method of scene alarm clock, mobile terminals and readable Storage medium.
Background technology
Alarm clock major function on current such as mobile phone mobile terminal is user setting time alarm clock, uses timer meter When, it by modes such as the tinkle of bells or vibrations notifies user after reaching specified time, has the function that remind user.But work as people It is uncertain to meet some time starteds, but when having the thing of certain time length rule, for example user will take ground on time daily Iron goes to work or comes off duty, and since distance is long, people may rest or play ON TRAINS mobile phone, simultaneously because subway is sent out Vehicle time, time of driving are relatively fixed, and then people may think that one scene alarm clock of setting is used for reminding oneself, but due to Train speed quickly, therefore user mutually want oneself be arranged alarm time if time bad assurance, and at present period on and off duty All it is often the peak period of subway, relatively more etc. many reasons of vehicle occupant can be encountered so that user is not easy to oneself manual setting Scene alarm clock.
The above is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that the above is existing skill Art.(background technology such as listed is really apparent known technology, then can delete, or selects to delete according to customer requirement)
Invention content
It is a primary object of the present invention to propose a kind of setting method of scene alarm clock, mobile terminal and readable storage medium Matter, it is intended to solve the problems, such as that current user is not easy to scene set alarm clock when taking subway train.
To achieve the above object, the present invention provides a kind of setting method of scene alarm clock, the method includes:
It determines the initial position of mobile terminal, and detects the current movement speed of the mobile terminal;
When the current movement speed reaches the first pre-set velocity threshold value for the first time, obtains the current movement speed and reach The first moment when the first pre-set velocity threshold value;
It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the described second default speed When degree threshold value carries out mobile duration and reaches the first preset duration, the movement speed for obtaining the mobile terminal in real time reaches second The second moment when pre-set velocity threshold value, and determine geographical location of the mobile terminal residing for second moment, and will The geographical location is as target endpoint position, wherein the second pre-set velocity threshold value is less than the first pre-set velocity threshold Value;
Travel route is determined based on the target endpoint position and the default initial position, and according to first moment With second moment setting and the relevant scene alarm clock of the travel route.
Preferably, described according to first moment and second moment setting and the relevant scene of the travel route Alarm clock further includes:
It sets first moment to the initial time of the scene alarm clock, sets second moment to the field The termination time of scape alarm clock.
Preferably, it is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with described When two pre-set velocity threshold values carry out mobile duration and reach the first preset duration, the movement speed of the mobile terminal is obtained in real time Before when the second moment when reaching the second pre-set velocity threshold value, the method further includes:
It is in the second pre-set velocity threshold value in the movement speed of the mobile terminal, and the mobile terminal is with described second The movement speed that the duration of pre-set velocity threshold value movement reaches the mobile terminal after the second preset duration reaches described again When the first pre-set velocity threshold value, the movement speed for obtaining the mobile terminal in real time is in the second pre-set velocity threshold value corresponding Three moment, second preset duration are less than first preset duration;
Correspondingly, described according to first moment and second moment setting and the relevant scene of the travel route Alarm clock specifically includes:
It is arranged according to first moment, the third moment and second moment relevant with the travel route Scene alarm clock.
Preferably, the geographical location of initial position characterization subway inception point;
Correspondingly, described according to the setting of first moment, the third moment and second moment and the row The relevant scene alarm clock of route is sailed, further includes:
It sets first moment to the initial time of the scene alarm clock, sets the third moment to the field The subway transfer time of scape alarm clock sets second moment to termination time of the scene alarm clock.
Preferably, described that travel route is determined based on the target endpoint position and the default initial position, it is specific to wrap It includes:
Determine travel route based on the target endpoint position and the default initial position, and to the travel route into Row preserves.
Preferably, described according to first moment and second moment setting and the relevant scene of the travel route After alarm clock, the method further includes:
In response to user to the selection instruction of the scene alarm clock, according to the selection instruction judge mobile terminal whether It is located at the initial position in preset time period;
If the mobile terminal is located at the initial position within a preset period of time, start the scene alarm clock.
Preferably, if the mobile terminal is located at the initial position within a preset period of time, start the field After scape alarm clock, the method further includes:
At the time difference of current time and the scene alarm clock residing for the mobile terminal terminated between the time When prefixed time interval threshold value, alarm clock prompting is carried out in real time.
Preferably, the current time residing for the mobile terminal and between the termination time of the scene alarm clock When time difference is in prefixed time interval threshold value, before carrying out alarm clock prompting in real time, the method further includes:
Current time residing for the mobile terminal and the time difference between the subway transfer time of the scene alarm clock When value is in prefixed time interval threshold value, alarm clock prompting is carried out in real time.
In addition in order to achieve the above object, the present invention also proposes that a kind of server, the server include:Velocity sensor, Memory, processor and the setting program for being stored in the scene alarm clock that can be run on the memory and on the processor, The step of setting program of the scene alarm clock is arranged for carrying out the setting method of scene alarm clock as described above.
In addition it in order to achieve the above object, the present invention also proposes a kind of readable storage medium storing program for executing, is deposited on the readable storage medium storing program for executing The setting program of scene alarm clock is contained, the setting program of the scene alarm clock realizes scene as described above when being executed by processor The step of setting method of alarm clock.
The present invention determines the initial position of mobile terminal first, and detects the current movement speed of the mobile terminal to sentence Whether disconnected user gets on the bus, and illustrates that user is above-listed when the current movement speed reaches the first pre-set velocity threshold value for the first time Vehicle, and correspondence moment when the current movement speed reaches the first pre-set velocity threshold value is obtained as user when getting on the bus It carves;It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the second pre-set velocity threshold When value carries out mobile duration and reaches the first preset duration, illustrate that the movement speed of the mobile terminal reaches the second pre-set velocity The second moment of correspondence when threshold value is arriving at a station the moment of getting off for user, and determines the mobile terminal residing for second moment Geographical location as target endpoint position, be finally based on the target endpoint position and the default initial position and determine traveling Route, and according to first moment and second moment setting and the relevant scene alarm clock of the travel route, realize When taking train, mobile terminal can automatically generate scene alarm clock, solve current user and want to be arranged when taking subway train But the problem of being not easy to scene set alarm clock, brings great convenience to user.
Description of the drawings
Fig. 1 is the structural schematic diagram of the mobile terminal for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is a kind of flow diagram of the setting method first embodiment of scene alarm clock of the present invention;
Fig. 3 is a kind of flow diagram of the setting method second embodiment of scene alarm clock of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the mobile terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the mobile terminal may include:Processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005, velocity sensor 1006.Wherein, communication bus 1002 is for realizing these components Between connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 is optional May include standard wireline interface and wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, Can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally may be used also To be independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 1 is not constituted to the mobile terminal Restriction, may include either combining certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, may include operating system, network communication module, Subscriber Interface Module SIM in the memory 1005 And the setting program of scene alarm clock.
In mobile terminal shown in Fig. 1, network interface 1004 is mainly used for carrying out network data communication;Velocity sensor 1003 are mainly used for obtaining the movement speed of mobile terminal in real time;Processor 1001, storage in mobile terminal of the present invention Device 1005 can be arranged in the mobile terminal, and the mobile terminal is called in memory 1005 by processor 1001 and stored Scene alarm clock setting program, and execute following operation:
It determines the initial position of mobile terminal, and detects the current movement speed of the mobile terminal;
When the current movement speed reaches the first pre-set velocity threshold value for the first time, obtains the current movement speed and reach The first moment when the first pre-set velocity threshold value;
It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the described second default speed When degree threshold value carries out mobile duration and reaches the first preset duration, the movement speed for obtaining the mobile terminal in real time reaches second The second moment when pre-set velocity threshold value, and determine geographical location of the mobile terminal residing for second moment, and will The geographical location is as target endpoint position, wherein the second pre-set velocity threshold value is less than the first pre-set velocity threshold Value;
Travel route is determined based on the target endpoint position and the default initial position, and according to first moment With second moment setting and the relevant scene alarm clock of the travel route.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
It sets first moment to the initial time of the scene alarm clock, sets second moment to the field The termination time of scape alarm clock.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
It is in the second pre-set velocity threshold value in the movement speed of the mobile terminal, and the mobile terminal is with described second The movement speed that the duration of pre-set velocity threshold value movement reaches the mobile terminal after the second preset duration reaches described again When the first pre-set velocity threshold value, the movement speed for obtaining the mobile terminal in real time is in the second pre-set velocity threshold value corresponding Three moment, second preset duration are less than first preset duration;
Correspondingly, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also execute It operates below:
It is arranged according to first moment, the third moment and second moment relevant with the travel route Scene alarm clock.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
It sets first moment to the initial time of the scene alarm clock, sets the third moment to the field The subway transfer time of scape alarm clock sets second moment to termination time of the scene alarm clock.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
Determine travel route based on the target endpoint position and the default initial position, and to the travel route into Row preserves.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
In response to user to the selection instruction of the scene alarm clock, according to the selection instruction judge mobile terminal whether It is located at the initial position in preset time period;
If the mobile terminal is located at the initial position within a preset period of time, start the scene alarm clock.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
At the time difference of current time and the scene alarm clock residing for the mobile terminal terminated between the time When prefixed time interval threshold value, alarm clock prompting is carried out in real time.
Further, processor 1001 can call the setting program of the scene alarm clock stored in memory 1005, also hold The following operation of row:
Current time residing for the mobile terminal and the time difference between the subway transfer time of the scene alarm clock When value is in prefixed time interval threshold value, alarm clock prompting is carried out in real time.
The present embodiment first determine mobile terminal initial position, and detect the current movement speed of the mobile terminal with Judge whether user gets on the bus, illustrates that user is above-listed when the current movement speed reaches the first pre-set velocity threshold value for the first time Vehicle, and correspondence moment when the current movement speed reaches the first pre-set velocity threshold value is obtained as user when getting on the bus It carves;It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the second pre-set velocity threshold When value carries out mobile duration and reaches the first preset duration, illustrate that the movement speed of the mobile terminal reaches the second pre-set velocity The second moment of correspondence when threshold value is arriving at a station the moment of getting off for user, and determines the mobile terminal residing for second moment Geographical location as target endpoint position, be finally based on the target endpoint position and the default initial position and determine traveling Route, and according to first moment and second moment setting and the relevant scene alarm clock of the travel route, realize When taking train, mobile terminal can automatically generate scene alarm clock, solve current user and want to be arranged when taking subway train But the problem of being not easy to scene set alarm clock, brings great convenience to user.
Based on above-mentioned hardware configuration, a kind of embodiment of the method for Sign-On authentication of the present invention is proposed.
With reference to Fig. 2, Fig. 2 is a kind of flow diagram of the setting method first embodiment of scene alarm clock of the present invention.
In the present embodiment, it the described method comprises the following steps:
Step S10:It determines the initial position of mobile terminal, and detects the current movement speed of the mobile terminal;
It should be noted that the executive agent of the present embodiment is the processor of the mobile terminal, the present embodiment is with mobile phone It is illustrated as mobile terminal.
It will be appreciated that such as user will take the subway morning, train is gone to work, and the working place of user is distant, and distance compares Long, the alarm clock that user wants to set up mobile phone when a subway scene alarm clock is got off oneself soon to arrive at a station can be in time Oneself is reminded, in order to avoid miss the stop, but since working in morning is more than the people of subway peak period and train speed is than due to very fast etc., making It is very inconvenient to obtain user oneself manual setting alarm clock.
In the concrete realization, when user enters the inception point of subway, user can start the setting journey of scene alarm clock The processor of sequence, mobile terminal can obtain the current geographical location of mobile terminal in real time, can specifically pass through GPS (Global Positioning System, global positioning system) the current geographical location of mobile terminal is obtained in real time;It is determining currently When geographical location is a subway station coordinate position, using the current geographical location of mobile terminal as initial position, and inspection is executed The step of surveying the current movement speed of the mobile terminal is to judge the whether above train of the mobile terminal (judging user). It should be noted that the mobile terminal is equipped with velocity sensor, it to be used for the current movement speed of examinations mobile terminal.
Step S20:When the current movement speed reaches the first pre-set velocity threshold value for the first time, the current movement is obtained Speed reaches the first moment when the first pre-set velocity threshold value;
Specifically, such as subway train is travelled with the speed of most fast 80km/h, and when dispatching a car of subway under normal circumstances Between, arrival time and time of driving are relatively fixed, and time span meets certain rule.Therefore it is detecting mobile whole When the current movement speed at end reaches first pre-set velocity threshold value (such as 15km/h) for the first time, illustrate that user is rigid from inception point Just upper train;Mobile terminal records pair when the current movement speed reaches the first pre-set velocity threshold value in real time simultaneously Answer the moment, i.e., described first moment, first moment can characterize user by inception point (the i.e. described initial position) get on the bus when It carves.And detect that the current movement speed in mobile terminal does not reach 15km/h, then illustrating that user does not get on the bus may still exist Equal vehicles.
Step S30:It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with described When two pre-set velocity threshold values carry out mobile duration and reach the first preset duration, the movement speed of the mobile terminal is obtained in real time Reach the second moment when the second pre-set velocity threshold value, and determines geographical position of the mobile terminal residing for second moment It sets, and using the geographical location as target endpoint position, wherein it is default that the second pre-set velocity threshold value is less than described first Threshold speed;
In the concrete realization, when velocity sensor detects that the speed of mobile terminal is in the second pre-set velocity threshold value (for example the second pre-set velocity threshold value is 10km/h, or it is less than 15km/h), then illustrate that train is in the state of waiting of arriving at a station at this time, And mobile duration is carried out with the second pre-set velocity threshold value in the mobile terminal and reaches the first preset duration (such as first Preset duration is 10 minutes, and is started again after at most stopping 1 minute after general train arrival, and if user needs to change to Transfer time during if train is not more than 10 minutes) when, then illustrate that user has got off at this time and leaves subway station court Target operation place to go on foot;Therefore processor can obtain the movement speed when reaching the second pre-set velocity threshold value at this time The correspondence moment (i.e. described second moment), second moment, which is characterized as user, arrives at a station and gets off at the time of prepare subway station. And determine geographical location of the mobile terminal residing for second moment, and using the geographical location as target endpoint position It sets.
Step S40:Travel route is determined based on the target endpoint position and the default initial position, and according to described First moment and second moment setting and the relevant scene alarm clock of the travel route.
It will be appreciated that the setting program of the scene alarm clock is just in running of mobile terminal, user when running to step S40 It has arrived at a station and has got off, processor can determine travel route based on the target endpoint position and the default initial position, right The travel route is preserved, and relevant with the travel route according to first moment and second moment setting Scene alarm clock sets first moment to the initial time of the scene alarm clock, and second moment is set as described The termination time of scene alarm clock terminates, the setting stop of the scene alarm clock to the setting of this scene alarm clock.
Further, such as user is typically all to come initial position 7 points or so of morning to take subway, then 7: 10 Get on the bus, i.e., first moment of the setting program of described scene alarm clock record be 7 points 10 minutes, if user does under 20 station Vehicle, then the scene alarm clock setting program record second moment be 8 points 10 minutes.
So user after setting scene alarm clock for the first time, user's the next morning go to work take subway when, choosing The scene alarm clock set automatically yesterday is selected, it is described that processor can judge whether mobile terminal is located within a preset period of time Initial position, i.e. processor can judge that current time whether in or so 8 o'clock of morning, then judges mobile terminal again first Whether the initial position (i.e. that subway inception point of user seating train) is located at, if the mobile terminal is not at described Beginning position can then prompt the contents such as user's " working will be late ";If the mobile terminal is located at the initial position, table Bright user reaching on the time subway station, then start the scene alarm clock, such as when 7: 10, reminds user's row It arrives at a station on vehicle and horse, carries out preparation of getting on the bus;When user's seating train reaches target endpoint position soon, alarm clock prompting, example are carried out in real time Such as may remind the user that in first 1 minute (i.e. prefixed time interval threshold value) near that station got off " will get off, please carry out It gets off preparation ".
The present embodiment first determine mobile terminal initial position, and detect the current movement speed of the mobile terminal with Judge whether user gets on the bus, illustrates that user is above-listed when the current movement speed reaches the first pre-set velocity threshold value for the first time Vehicle, and correspondence moment when the current movement speed reaches the first pre-set velocity threshold value is obtained as user when getting on the bus It carves;It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the second pre-set velocity threshold When value carries out mobile duration and reaches the first preset duration, illustrate that the movement speed of the mobile terminal reaches the second pre-set velocity The second moment of correspondence when threshold value is arriving at a station the moment of getting off for user, and determines the mobile terminal residing for second moment Geographical location as target endpoint position, be finally based on the target endpoint position and the default initial position and determine traveling Route, and according to first moment and second moment setting and the relevant scene alarm clock of the travel route, realize When taking train, mobile terminal can automatically generate scene alarm clock, solve current user and want to be arranged when taking subway train But the problem of being not easy to scene set alarm clock, brings great convenience to user.
Fig. 3 is a kind of flow diagram of the setting method second embodiment of scene alarm clock of the present invention.
Further, reference Fig. 3, a kind of flow diagram of the setting method second embodiment of scene alarm clock of the present invention, A kind of setting method second embodiment of scene alarm clock is proposed based on above-mentioned embodiment shown in Fig. 3.
In the present embodiment, before the step S30, the method further includes:
Step S210:It is in the second pre-set velocity threshold value, and the mobile terminal in the movement speed of the mobile terminal The movement speed that the duration moved with the second pre-set velocity threshold value reaches the mobile terminal after the second preset duration weighs again When newly reaching the first pre-set velocity threshold value, the movement speed for obtaining the mobile terminal in real time is in the second pre-set velocity threshold It is worth the corresponding third moment, second preset duration is less than first preset duration;
Correspondingly, the step S40, specifically includes:
S40`:According to the setting of first moment, the third moment and second moment and the travel route Relevant scene alarm clock.
It will be appreciated that (the ratio when velocity sensor detects that the speed of mobile terminal is in the second pre-set velocity threshold value Such as the second pre-set velocity threshold value is 10km/h, or is less than 15km/h), then illustrate that train is in the shape that parking of arriving at a station is waited at this time State, and the mobile terminal reaches the second preset duration (such as 6 minutes) with the duration that the second pre-set velocity threshold value moves When the movement speed of the mobile terminal reaches the first pre-set velocity threshold value again afterwards, then illustrate that user carries out at this time Train is changed to, and obtains the movement speed of the mobile terminal in real time in the second pre-set velocity threshold value corresponding third moment, The third moment, which is stated, is characterized as the correspondence moment that user prepares another subway of transfer.
In the concrete realization, user may change to once, twice, even subway train three times, the processing of mobile terminal When device detects that user needs transfer, no matter user will change to several times, the setting program of scene alarm clock can execute institute Step S210 is stated, to record the correspondence moment that user needs transfer to get off every time.
When starting the subway scene alarm clock automatically generated yesterday when the working of user second day, for example, user the Primary transfer be when subway train is at four stations, user train first stop pick-up time be 7 points 10 minutes, then when with Family reach four stations when should be 7 points 25 minutes, alarm clock program can remind user " to need to change to so-and-so line at 7: 24 minutes Road train please sit straight and get off preparation with so-and-so circuit train of transfer ", it can miss the stop to avoid user miss transfer train in this way, Cause to delay the work hours, further be brought conveniently for user.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, scene is stored on the readable storage medium storing program for executing The setting program of alarm clock, the setting program of the scene alarm clock realized when being executed by processor first embodiment as described above and A kind of the step of setting method of scene alarm clock of second embodiment.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of setting method of scene alarm clock, which is characterized in that the described method comprises the following steps:
It determines the initial position of mobile terminal, and detects the current movement speed of the mobile terminal;
When the current movement speed reaches the first pre-set velocity threshold value for the first time, obtains the current movement speed and reach described The first moment when the first pre-set velocity threshold value;
It is in the second pre-set velocity threshold value in the current movement speed, and the mobile terminal is with the second pre-set velocity threshold When value carries out mobile duration and reaches the first preset duration, obtaining the movement speed of the mobile terminal in real time, to reach second default The second moment when threshold speed, and determine geographical location of the mobile terminal residing for second moment, and will be described Geographical location is as target endpoint position, wherein the second pre-set velocity threshold value is less than the first pre-set velocity threshold value;
Travel route is determined based on the target endpoint position and the default initial position, and according to first moment and institute State the setting of the second moment and the relevant scene alarm clock of the travel route.
2. the method as described in claim 1, which is characterized in that described to be arranged according to first moment and second moment With the relevant scene alarm clock of the travel route, further include:
Set first moment to the initial time of the scene alarm clock, setting second moment to the scene makes a noise The termination time of clock.
3. the method as described in claim 1, which is characterized in that be in the second pre-set velocity threshold in the current movement speed Value, and when the mobile terminal carries out mobile duration with the second pre-set velocity threshold value and reaches the first preset duration, in real time Before when obtaining the second moment when the movement speed of the mobile terminal reaches the second pre-set velocity threshold value, the method is also wrapped It includes:
It is in the second pre-set velocity threshold value in the movement speed of the mobile terminal, and the mobile terminal is default with described second The movement speed that the duration of threshold speed movement reaches the mobile terminal after the second preset duration reaches described first again When pre-set velocity threshold value, when obtaining the movement speed of the mobile terminal in real time and being in the corresponding third of the second pre-set velocity threshold value It carves, second preset duration is less than first preset duration;
Correspondingly, described noisy according to first moment and second moment setting and the relevant scene of the travel route Clock specifically includes:
According to the setting of first moment, the third moment and second moment and the relevant scene of the travel route Alarm clock.
4. method as claimed in claim 3, which is characterized in that the geographical location of initial position characterization subway inception point;
Correspondingly, described according to the setting of first moment, the third moment and second moment and the traveling road The relevant scene alarm clock of line further includes:
Set first moment to the initial time of the scene alarm clock, setting the third moment to the scene makes a noise The subway transfer time of clock sets second moment to termination time of the scene alarm clock.
5. the method as described in claim 1, which is characterized in that described to be based on the target endpoint position and the default starting Location determination travel route, specifically includes:
Travel route is determined based on the target endpoint position and the default initial position, and the travel route is protected It deposits.
6. such as claim 2-5 any one of them methods, which is characterized in that described according to first moment and described second Moment is arranged with after the relevant scene alarm clock of the travel route, and the method further includes:
In response to user to the selection instruction of the scene alarm clock, judge mobile terminal whether default according to the selection instruction It is located at the initial position in period;
If the mobile terminal is located at the initial position within a preset period of time, start the scene alarm clock.
7. method as claimed in claim 6, which is characterized in that if the mobile terminal is located at institute within a preset period of time Initial position is stated, then after starting the scene alarm clock, the method further includes:
The time difference of current time and the scene alarm clock residing for the mobile terminal terminated between the time is in pre- If when time interval threshold value, carrying out alarm clock prompting in real time.
8. the method for claim 7, which is characterized in that the current time residing for the mobile terminal with it is described When time difference between the termination time of scene alarm clock is in prefixed time interval threshold value, before carrying out alarm clock prompting in real time, The method further includes:
At current time residing for the mobile terminal and the time difference between the subway transfer time of the scene alarm clock When prefixed time interval threshold value, alarm clock prompting is carried out in real time.
9. a kind of mobile terminal, which is characterized in that the server includes:It velocity sensor, memory, processor and is stored in On the memory and the setting program of scene alarm clock that can run on the processor, the setting program of the scene alarm clock The step of being arranged for carrying out the setting method such as scene alarm clock described in any item of the claim 1 to 8.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with the setting journey of scene alarm clock on the readable storage medium storing program for executing Sequence is realized when the setting program of the scene alarm clock is executed by processor as scene described in any item of the claim 1 to 8 is noisy The step of setting method of clock.
CN201711283665.8A 2017-12-06 2017-12-06 Setting method of scene alarm clock, mobile terminal and readable storage medium Active CN108337359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711283665.8A CN108337359B (en) 2017-12-06 2017-12-06 Setting method of scene alarm clock, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711283665.8A CN108337359B (en) 2017-12-06 2017-12-06 Setting method of scene alarm clock, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN108337359A true CN108337359A (en) 2018-07-27
CN108337359B CN108337359B (en) 2020-12-15

Family

ID=62922494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711283665.8A Active CN108337359B (en) 2017-12-06 2017-12-06 Setting method of scene alarm clock, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN108337359B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109061617A (en) * 2018-10-31 2018-12-21 上海与德科技有限公司 A kind of wireless location method, device, terminal and storage medium
CN110650245A (en) * 2019-09-25 2020-01-03 Oppo广东移动通信有限公司 Reminding method, reminding device, mobile terminal and computer readable storage medium
CN110660255A (en) * 2019-09-27 2020-01-07 百度在线网络技术(北京)有限公司 Reminding method and device applied to unmanned bus
CN113596247A (en) * 2021-09-29 2021-11-02 北京小米移动软件有限公司 Alarm clock information processing method, device, vehicle, storage medium and program product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093187A1 (en) * 2001-10-01 2003-05-15 Kline & Walker, Llc PFN/TRAC systemTM FAA upgrades for accountable remote and robotics control to stop the unauthorized use of aircraft and to improve equipment management and public safety in transportation
CN102519456A (en) * 2011-11-28 2012-06-27 华为终端有限公司 Navigation method and mobile terminal of subway line
CN103167405A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Arrival reminding method and electronic equipment
CN103903401A (en) * 2012-12-28 2014-07-02 深圳富泰宏精密工业有限公司 Subway arrival prompt system and method
CN104821069A (en) * 2015-05-25 2015-08-05 重庆蓝岸通讯技术有限公司 Subway station-arriving reminding method based on user mobile phone terminal
CN106227402A (en) * 2016-07-14 2016-12-14 北京小米移动软件有限公司 Information cuing method and device
CN106231568A (en) * 2016-08-03 2016-12-14 深圳市谷米科技有限公司 A kind of reminding method of getting off looking into car software based on mobile phone
CN106600241A (en) * 2017-01-17 2017-04-26 北京奇虎科技有限公司 Method and device for automatically adjusting alarm clock, and mobile terminal
CN106775205A (en) * 2016-11-22 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of arrival reminding method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093187A1 (en) * 2001-10-01 2003-05-15 Kline & Walker, Llc PFN/TRAC systemTM FAA upgrades for accountable remote and robotics control to stop the unauthorized use of aircraft and to improve equipment management and public safety in transportation
CN102519456A (en) * 2011-11-28 2012-06-27 华为终端有限公司 Navigation method and mobile terminal of subway line
CN103167405A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Arrival reminding method and electronic equipment
CN103903401A (en) * 2012-12-28 2014-07-02 深圳富泰宏精密工业有限公司 Subway arrival prompt system and method
CN104821069A (en) * 2015-05-25 2015-08-05 重庆蓝岸通讯技术有限公司 Subway station-arriving reminding method based on user mobile phone terminal
CN106227402A (en) * 2016-07-14 2016-12-14 北京小米移动软件有限公司 Information cuing method and device
CN106231568A (en) * 2016-08-03 2016-12-14 深圳市谷米科技有限公司 A kind of reminding method of getting off looking into car software based on mobile phone
CN106775205A (en) * 2016-11-22 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of arrival reminding method and device
CN106600241A (en) * 2017-01-17 2017-04-26 北京奇虎科技有限公司 Method and device for automatically adjusting alarm clock, and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109061617A (en) * 2018-10-31 2018-12-21 上海与德科技有限公司 A kind of wireless location method, device, terminal and storage medium
CN110650245A (en) * 2019-09-25 2020-01-03 Oppo广东移动通信有限公司 Reminding method, reminding device, mobile terminal and computer readable storage medium
CN110660255A (en) * 2019-09-27 2020-01-07 百度在线网络技术(北京)有限公司 Reminding method and device applied to unmanned bus
CN113596247A (en) * 2021-09-29 2021-11-02 北京小米移动软件有限公司 Alarm clock information processing method, device, vehicle, storage medium and program product

Also Published As

Publication number Publication date
CN108337359B (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN108337359A (en) A kind of setting method of scene alarm clock, mobile terminal and readable storage medium storing program for executing
US20180315022A1 (en) Ride sharing management device, ride sharing management method, and program
US20200380428A1 (en) Information processing apparatus, information processing method and storage medium
CN105333880A (en) Communication terminal and prompting method and device
JP5193808B2 (en) Determination device, determination method, determination program and recording medium for moving means
CN103606294B (en) A kind of subway reporting station method and device thereof for mobile device
CN106062515A (en) Reduced power consumption and improved user experience when navigating along familiar routes
CN108389028B (en) Method and device for stroke reminding and mobile terminal
CN107407570B (en) Shared vehicle management device and shared vehicles management method
JP5156672B2 (en) Mobile terminal, content providing method and program
CN107527188A (en) Processing method and processing device, terminal and the computer-readable medium of stroke reminding time
CN108891286A (en) The optimal charging method of vehicle, device and computer readable storage medium
CN108446786B (en) Information processing method and device and electronic equipment
CN108507583A (en) Air navigation aid, navigation device and electronic equipment
JP5879008B2 (en) Information processing apparatus, information processing method, and information processing program
JP4932798B2 (en) Moving means determination apparatus and method
CN106610288A (en) Navigation control method and apparatus
CN108986511A (en) A kind of Bus information alarm set, Bus information based reminding method and medium
CN103929829B (en) Controlled using the telematics of relation formula
CN113627680B (en) Intelligent bus interaction method and device, electronic equipment and storage medium
US11790415B2 (en) Route determination based on last known position
JP5807506B2 (en) Navigation system, navigation method, and navigation program
KR101832422B1 (en) System, device and computer program for changing device mode
US20200096351A1 (en) Meeting support device and meeting support method
JP5921972B2 (en) Route guidance device, route guidance method, and computer program

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