CN108040175A - Alarm clock setting method, mobile terminal and computer-readable recording medium - Google Patents
Alarm clock setting method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN108040175A CN108040175A CN201711249979.6A CN201711249979A CN108040175A CN 108040175 A CN108040175 A CN 108040175A CN 201711249979 A CN201711249979 A CN 201711249979A CN 108040175 A CN108040175 A CN 108040175A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- alarm clock
- time
- destination
- time point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Abstract
The application is suitable for technical field of mobile terminals, there is provided alarm clock setting method, mobile terminal and computer-readable recording medium, including:Obtain the positional information of the pre-set time point arrived at and the destination;Obtain the current location information of mobile terminal;According to the current location information of the mobile terminal and the positional information of the destination, the trip mode of user is selected, and obtains the journey time of the trip mode;Obtain pre-set buffer time;According to the buffer time, the journey time and the time point arrived at, the wakeup time point of the alarm clock is set.The operation for the wakeup time point that alarm clock is set can be simplified by the application, improve the efficiency for the wakeup time point that alarm clock is set.
Description
Technical field
The application belongs to technical field of mobile terminals, more particularly to alarm clock setting method, mobile terminal and computer-readable
Storage medium.
Background technology
With the continuous development of mobile terminal, mobile terminal has become the important tool that people are communicated or entertained.
Mobile terminal usually has alarm clock function, and user is waken up by jingle bell in arrival user wakeup time point set in advance.
However, be typically that user is manually entered the wakeup time point of alarm clock in the prior art, when changing the wakeup time point, it is necessary to
Family is changed manually, and operating process is complex.
Therefore, it is necessary to a kind of new technical solution is proposed, to solve above-mentioned technical problem.
The content of the invention
In view of this, this application provides alarm clock setting method, mobile terminal and computer-readable recording medium, with simplification
The operation of the wakeup time point of alarm clock is set, improves the efficiency for the wakeup time point that alarm clock is set.
The first aspect of the application provides a kind of alarm clock setting method, and the alarm clock setting method includes:
Obtain the positional information of the pre-set time point arrived at and the destination;
Obtain the current location information of mobile terminal;
According to the current location information of the mobile terminal and the positional information of the destination, the trip side of user is selected
Formula, and the journey time of the trip mode is obtained, wherein, the journey time of the trip mode refers to from the mobile terminal
Current location set out, pass through the trip mode and reach time needed for the destination;
Obtain pre-set buffer time;
According to the buffer time, the journey time and the time point arrived at, the alarm clock is set
Wakeup time point, wherein, the wakeup time point of the alarm clock refers to the time point for controlling the alarm clock jingle bell.
The second aspect of the application provides a kind of mobile terminal, and the mobile terminal includes:
First information acquisition module, for obtaining the position at the pre-set time point arrived at and the destination
Confidence ceases;
Second data obtaining module, for obtaining the current location information of mobile terminal;
Processing module, for the current location information according to the mobile terminal and the positional information of the destination, choosing
The trip mode of user is selected, and obtains the journey time of the trip mode, wherein, the journey time of the trip mode refers to
From the current location of the mobile terminal, the time needed for the destination is reached by the trip mode;
Buffer time acquisition module, for obtaining pre-set buffer time;
Wakeup time setup module, for according to the buffer time, the journey time and described arriving at
At time point, set the wakeup time point of the alarm clock, wherein, the wakeup time point of the alarm clock refers to control the alarm clock jingle bell
Time point.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit
In reservoir and the computer program that can run on the processor, the processor are realized such as when performing the computer program
Described in above-mentioned first aspect the step of alarm clock setting method.
The fourth aspect of the application provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited
Computer program is contained, the alarm clock setting method as described in above-mentioned first aspect is realized when the computer program is executed by processor
The step of.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer
Program, realizes the alarm clock setting method as described in above-mentioned first aspect when the computer program is executed by one or more processors
The step of.
Therefore application scheme obtains user's pre-set time point arrived at and the position of the destination
Confidence ceases, and obtains the current location information of mobile terminal, according to the current location information of the mobile terminal and the position of destination
The trip mode of confidence breath selection user, and obtains the journey time of the trip mode, during buffering pre-set according to user
Between, above-mentioned journey time and the time point arrived at, the wakeup time point of alarm clock is set.Application scheme is according to mobile whole
The current location information at end and the positional information of destination, automatically select out the trip mode of user, and obtain the trip mode
Journey time, according to the journey time of user's pre-set buffer time, the time point to arrive at the destination and acquisition, push away
The wakeup time point of alarm clock is calculated, so as to avoid user from being manually entered the wakeup time point of alarm clock, simplifies and alarm clock is set
The operation of wakeup time point, improves the efficiency for the wakeup time point for setting alarm clock.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical solution in the embodiment of the present application
Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description are only some of the application
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is that the alarm clock setting method that the embodiment of the present application one provides realizes flow diagram;
Fig. 2 is that the alarm clock setting method that the embodiment of the present application two provides realizes flow diagram;
Fig. 3 is the schematic diagram for the mobile terminal that the embodiment of the present application three provides;
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present application.However, it will be clear to one skilled in the art that these are specific
The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be special described by the instruction of term " comprising " use in this specification and in the appended claims
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other
Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage
Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect
Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application
Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.In this way, terminal public physical structure (for example,
Touch sensitive surface) it can support the various application programs with user interface directly perceived and transparent for a user.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process
Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any restriction with its function and internal logic.
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
It is that the alarm clock setting method that the embodiment of the present application one provides realizes flow diagram, which is set referring to Fig. 1
Method is applied to mobile terminal, and the alarm clock setting method may comprise steps of as shown in the figure:
Step S101, obtains the positional information of the pre-set time point arrived at and the destination.
In the embodiment of the present application, user can enter alarm clock by clicking on the alarm clock application program icon on mobile terminal
Interface, can set the position of the time point arrived at and destination to believe in the alarm clock interface by clicking on Edit button
Breath.For example, after clicking on Edit button, time point input frame and destination input frame can be shown in alarm clock interface, at time point
User can input the time point arrived in input frame, and user can input the position of destination in the input frame of destination
Confidence ceases.Wherein, when the positional information of destination is inputted in the input frame of destination, can be inputted by the long-press destination
Frame, to start the map application on mobile terminal (such as Baidu map or Amap), into the map application journey
Sequence interface, destination is inputted at the interface and is believed with searching for the position of the positional information of the destination or dragging selection destination
Breath.It should be noted that can be that user is pre-set by the map application that long-press destination input frame is started
Map application.
Step S102, obtains the current location information of mobile terminal.
In the embodiment of the present application, global positioning system (Global Positioning System, GPS) can be passed through
Or network position the current location information for obtaining mobile terminal in real time (by GPS with prefixed time interval acquisition movement
The current location information of terminal), and used application program is held in position in mobile terminal running background.
Step S103, according to the current location information of the mobile terminal and the positional information of the destination, selection is used
The trip mode at family, and obtain the journey time of the trip mode.
Wherein, the journey time of the trip mode refers to from the current location of the mobile terminal, by described
Trip mode reaches the time needed for the destination.The trip mode includes walking, ride (such as shared bicycle), public transport
Car, subway, drive (such as automobile) etc..
In the embodiment of the present application, when the current location information of mobile terminal changes, according to the movement after change
The current location information of terminal and the positional information of the destination, adjust the trip mode of user, and obtain going out after adjustment
The journey time of line mode.For example, company's dormitory that the current location of mobile terminal on the 3rd in November is lived by user, apart from company
It is relatively near, within 500 meters, walking can be selected at this time.November mobile terminal on the 4th current location be user home address,
Apart from company farther out, it is about 3000 meters, can selects to drive at this time.
Optionally, it is described according to the current location information of the mobile terminal and the positional information of the destination, selection
The trip mode of user includes:
Detect whether the destination is bus station or subway station;
If the destination is bus station, it is determined that the trip mode of user is bus;
If the destination is subway station, it is determined that the trip mode of user is subway station;
If the destination is not bus station or subway station, according to the current location of the mobile terminal and the purpose
The distance between ground is worth, and selects the trip mode of user.
In the embodiment of the present application, can working as according to mobile terminal when not being bus station or subway station in destination
The trip mode of the far and near selection user of front position and destination, such as when current location and destination are nearer (such as 500 meters
Within), trip mode of the walking as user can be selected, current location and destination farther out when (such as more than 1000
Rice), the trip mode driven as user can be selected, can select to ride as user when between 500 meters to 1000 meters
Trip mode, do not limit herein.
After mobile terminal automatically selects out the trip mode of user, it can show the trip mode, be directed to receiving
After the confirmation instruction of the trip mode, the trip mode using the trip mode as user, the trip mode is directed to receiving
Deny instruction after, a variety of trip modes (such as walking, ride, bus, subway, drive) are shown, by user from above-mentioned
Trip mode of the trip mode chosen in a variety of trip modes as user.
In the embodiment of the present application, can by internet big data acquisition of information current time from mobile terminal work as
Front position, is reached the destination required time, i.e. journey time by selected trip mode.Exist for example, obtaining user
4 points of morning drives trip used in from current location to destination during the time, can count a large number of users and be driven for 4 points in morning
Car is gone on a journey the time used in from current location to destination, and the average value of time used in a large number of users is existed as user
4 points of times used in from current location to destination of morning.
Step S104, obtains pre-set buffer time.
In the embodiment of the present application, the buffer time can refer to set out before the time it takes, such as get up and wash
Gargle, dining of cooking, etc. the time it takes, the buffer time such as elevator can be needed voluntarily to set according to user, such as 30
Minute.
Step S105, according to the buffer time, the journey time and the time point arrived at, sets institute
State the wakeup time point of alarm clock.
Wherein, the wakeup time point of the alarm clock refers to the time point for controlling the alarm clock jingle bell.
Optionally, it is described according to the buffer time, the journey time and the time point arrived at, set
The wakeup time point of the alarm clock includes:
Obtain the additive value of the buffer time and the journey time;
Elapsed forward to the time point after the additive value, as the alarm clock time point arrived at
Wakeup time point.
For example, it is Dongguan company A to set destination, the time point arrived at is 8 points of morning, and mobile terminal is worked as
The distance between front position and Dongguan company A value are 400 meters, can select trip mode as walking, required buffer time
For 30 minutes, by internet calculate needed for the walking trip time be 10 minutes, required time summation be 40 minutes, then alarm clock
Actual wakeup time point could be provided as morning seven point 20 minutes.
It should be noted that in order to avoid mobile terminal repeated priming intelligent alarm clock sets function, purpose can be reached
Preset time point before the time point on ground starts intelligent alarm clock and sets function.Wherein, which need to be arranged on alarm clock
Wakeup time point before, need to ensure no matter user is arrived before the time point that can be arrived at again by which kind of trip mode
Up to destination.For example, the time point that user setting arrives at is 8 points of morning, it is typically to drive to go on a journey, stroke is taken
Between and the temporal summation of buffer time be a hour, then can be arranged on 4 points of morning starts intelligent alarm clocks setting functions,
Then above-mentioned steps S101 and S105 are performed.Wherein, the intelligent alarm clock sets function to refer to that mobile terminal is set automatically
The function of the wakeup time point of alarm clock.
In the embodiment of the present application, when reaching the wakeup time point of alarm clock, alarm clock jingle bell is controlled, to wake up user, this
When can close intelligent alarm clock set function, so as to reduce the power consumption of mobile terminal.
The embodiment of the present application automatically selects out use according to the current location information of mobile terminal and the positional information of destination
The trip mode at family, and the journey time of the trip mode is obtained, according to user's pre-set buffer time, arrive at the destination
Time point and acquisition journey time, the wakeup time point of alarm clock is extrapolated, so as to avoid user from being manually entered alarm clock
Wakeup time point, simplify set alarm clock wakeup time point operation, improve set alarm clock wakeup time point effect
Rate.
It is that the alarm clock setting method that the embodiment of the present application two provides realizes flow diagram, which is set referring to Fig. 2
Method is applied to mobile terminal, and the alarm clock setting method may comprise steps of as shown in the figure:
Step S201, obtains the positional information of the pre-set time point arrived at and the destination.
The step is identical with step S101, for details, reference can be made to the associated description of step S101, details are not described herein.
Step S202, obtains the current location information of mobile terminal.
The step is identical with step S102, for details, reference can be made to the associated description of step S102, details are not described herein.
Step S203, according to the current location information of the mobile terminal and the positional information of the destination, selection is used
The trip mode at family and the corresponding traffic path of the trip mode.
Optionally, it is described according to the current location information of the mobile terminal and the positional information of the destination, selection
The trip mode of user includes:
Obtain the distance between the current location of the mobile terminal and destination value;
If the distance between the current location of the mobile terminal and the destination value are less than predetermined threshold value, from advance
The trip mode of the user is selected in a variety of trip modes set.
Optionally, the embodiment of the present application further includes:
If the distance between the current location of the mobile terminal and the destination value are greater than or equal to the default threshold
Value, then send inquiry message to user, wherein, the inquiry message is used to inquire whether the user sets calling out for the alarm clock
Wake up time point.
In the embodiment of the present application, it can first judge whether destination input by user is bus station or subway station,
When destination is bus station, mobile terminal can be that user selects walking, and when in destination being subway station, mobile terminal can be
User selects subway., can be according to the current location and destination of mobile terminal when in destination not being bus station or subway station
The distance between value, for user select trip mode, specifically:Distance between the current location of mobile terminal and destination
When value is less than or equal to the first pre-determined distance threshold value (such as 500 meters), the trip mode for determining user is walking, in mobile terminal
Current location and the distance between destination value more than the first pre-determined distance threshold value and be less than or equal to the second pre-determined distance threshold
When being worth (such as 1000 meters), the trip mode of user is determined to ride, between the current location of mobile terminal and destination
When distance value is more than the second pre-determined distance threshold value and is less than predetermined threshold value (such as 50000 meters), the trip mode for determining user is
Drive, when the distance value between the current location of mobile terminal and destination is greater than or equal to predetermined threshold value, mobile terminal
Apart from destination farther out, user may go on business or travel in other places for current location, at this time can be in a manner of voice or pop-up
Inquiry message is sent to user, to ask the user whether to set the wakeup time point of the alarm clock.
After mobile terminal automatically selects out the trip mode of user, it can show the trip mode, be directed to receiving
After the confirmation instruction of the trip mode, the trip mode using the trip mode as user, the trip mode is directed to receiving
Deny instruction after, a variety of trip modes (such as walking, ride, bus, subway, drive) are shown, by user from above-mentioned
Trip mode of the trip mode chosen in a variety of trip modes as user.
Step S204, obtains the Traffic Information of the traffic path.
Wherein, the Traffic Information of the traffic path includes but not limited to the real-time road letter of the traffic path
Breath, road restricted driving speed-limiting messages, traffic lights information and Weather information etc..
Step S205, according to the trip mode, the traffic path and the Traffic Information, when obtaining stroke
Between.
Wherein, the journey time of the trip mode refers to from the current location of the mobile terminal, by described
Trip mode reaches the time needed for the destination.
In order to improve the accuracy for obtaining journey time, it can consider that the road of traffic path is handed over when obtaining journey time
Communication breath, adjusts journey time, because real-time road condition information, road in Traffic Information in real time according to the Traffic Information
Road restricted driving speed-limiting messages, traffic lights information and Weather information etc. would generally influence walking, ride, bus, the speed driven etc.,
And then influence to reach the destination the required time.
Step S206, obtains pre-set buffer time.
The step is identical with step S104, for details, reference can be made to the associated description of step S104, details are not described herein.
Step S207, obtains the additive value of the buffer time and the journey time.
The time point arrived at, is elapsed forward the time point after the additive value by step S208, as
The wakeup time point of the alarm clock.
Wherein, the wakeup time point of the alarm clock refers to the time point for controlling the alarm clock jingle bell.
For example, it is Dongguan company A to set destination, the time point arrived at is 8 points of morning, and mobile terminal is worked as
The distance between front position and Dongguan company A value are 400 meters, can select trip mode as walking, required buffer time
For 30 minutes, by internet calculate needed for the walking trip time be 10 minutes, required time summation be 40 minutes, then alarm clock
Actual wakeup time point could be provided as morning seven point 20 minutes.
It should be noted that in order to avoid mobile terminal repeated priming intelligent alarm clock sets function, purpose can be reached
Preset time point before the time point on ground starts intelligent alarm clock and sets function.Wherein, which need to be arranged on alarm clock
Wakeup time point before, need to ensure no matter user is arrived before the time point that can be arrived at again by which kind of trip mode
Up to destination.For example, the time point that user setting arrives at is 8 points of morning, it is typically to drive to go on a journey, stroke is taken
Between and the temporal summation of buffer time be a hour, then can be arranged on 4 points of morning starts intelligent alarm clocks setting functions,
Then above-mentioned steps S201 and S108 are performed.Wherein, the intelligent alarm clock sets function to refer to that mobile terminal is set automatically
The function of the wakeup time point of alarm clock.
In the embodiment of the present application, when reaching the wakeup time point of alarm clock, alarm clock jingle bell is controlled, to wake up user, this
When can close intelligent alarm clock set function, so as to reduce the power consumption of mobile terminal.
The embodiment of the present application adds the Traffic Information for obtaining travel route on the basis of embodiment one, according to going out
Line mode, travel route and Traffic Information obtain journey time, improve the accuracy for obtaining journey time.
Referring to Fig. 3, it is the schematic diagram for the mobile terminal that the embodiment of the present application three provides, for convenience of description, illustrate only
With the relevant part of the embodiment of the present application.
The mobile terminal includes:
First information acquisition module 31, for obtaining the pre-set time point arrived at and the destination
Positional information;
Second data obtaining module 32, for obtaining the current location information of mobile terminal;
Processing module 33, for the current location information according to the mobile terminal and the positional information of the destination,
The trip mode of user is selected, and obtains the journey time of the trip mode, wherein, the journey time of the trip mode is
Refer to from the current location of the mobile terminal, the time needed for the destination is reached by the trip mode;
Buffer time acquisition module 34, for obtaining pre-set buffer time;
Wakeup time setup module 35, for according to the buffer time, the journey time and described arriving at
Time point, the wakeup time point of the alarm clock is set, wherein, the wakeup time point of the alarm clock refers to control the alarm clock to ring
The time point of bell.
Optionally, the wakeup time setup module 35 includes:
Obtaining unit, for obtaining the additive value of the buffer time and the journey time;
Unit is elapsed, for the time point arrived to be elapsed forward to the time point after the additive value,
Wakeup time point as the alarm clock.
Optionally, the processing module 33 includes:
Routing unit, believes for the position of the current location information according to the mobile terminal and the destination
Breath, selects the trip mode and the corresponding traffic path of the trip mode of user;
Information acquisition unit, for obtaining the Traffic Information of the traffic path;
Time acquisition unit, for according to the trip mode, the traffic path and the Traffic Information, obtaining
The journey time.
Optionally, the processing module 33 includes:
Distance acquiring unit, for the distance between the current location for obtaining the mobile terminal and the destination value;
Passenger Traveling Choice unit, if being worth for the distance between the current location of the mobile terminal and described destination
Less than predetermined threshold value, then the trip mode of the user is selected from pre-set a variety of trip modes.
In the embodiment of the present application, the processing module 33 includes the distance acquiring unit and the Passenger Traveling Choice
Unit can be specifically that the routing unit includes the distance acquiring unit and the Passenger Traveling Choice unit.
Optionally, information transmitting unit, if between the current location of the mobile terminal and the destination away from
It is greater than or equal to the predetermined threshold value from value, then sends inquiry message to user, wherein, the inquiry message is used to inquire described
Whether user sets the wakeup time point of the alarm clock.
Mobile terminal provided by the embodiments of the present application can be applied in preceding method embodiment one and embodiment two, details
Referring to the description of above method embodiment one and embodiment two, details are not described herein.
Fig. 4 is the schematic diagram for the mobile terminal that the embodiment of the present application four provides.The mobile terminal as depicted can wrap
Include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (one is only shown in figure),
One or more output equipments 403 (one is only shown in figure) and memory 404.It is above-mentioned processor 401, input equipment 402, defeated
Go out equipment 403 and memory 404 is connected by bus 405.Memory 404 for storing instruction, for execution deposit by processor 401
The instruction that reservoir 404 stores.Wherein:
The processor 401, for obtaining the position at the pre-set time point arrived at and the destination
Information;Obtain the current location information of mobile terminal;According to the current location information of the mobile terminal and the destination
Positional information, selects the trip mode of user, and obtains the journey time of the trip mode, wherein, the trip mode
Journey time refers to from the current location of the mobile terminal, is reached by the trip mode needed for the destination
Time;Obtain pre-set buffer time;According to the buffer time, the journey time and it is described arrive at when
Between point, the wakeup time point of the alarm clock is set, wherein, the wakeup time point of the alarm clock refers to control the alarm clock jingle bell
Time point.
Optionally, the processor 401 is specifically used for:
Obtain the additive value of the buffer time and the journey time;
Elapsed forward to the time point after the additive value, as the alarm clock time point arrived at
Wakeup time point.
Optionally, the processor 401 is specifically used for:
According to the positional information of the current location information of the mobile terminal and the destination, the trip side of user is selected
Formula and the corresponding traffic path of the trip mode;
Obtain the Traffic Information of the traffic path;
According to the trip mode, the traffic path and the Traffic Information, the journey time is obtained.
Optionally, the processor 401 is specifically used for:
Obtain the distance between the current location of the mobile terminal and destination value;
If the distance between the current location of the mobile terminal and the destination value are less than predetermined threshold value, from advance
The trip mode of the user is selected in a variety of trip modes set.
Optionally, the processor 401 is additionally operable to:
If the distance between the current location of the mobile terminal and the destination value are greater than or equal to the default threshold
Value, then send inquiry message to user, wherein, the inquiry message is used to inquire whether the user sets calling out for the alarm clock
Wake up time point.
It should be appreciated that in the embodiment of the present application, the processor 401 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data
Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401, input equipment 402,403 and of output equipment described in the embodiment of the present application
Memory 404 can perform the implementation described in the embodiment of alarm clock setting method provided by the embodiments of the present application, also may be used
The implementation described in mobile terminal described in embodiment three is performed, details are not described herein.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.As shown in figure 5, the mobile end of the embodiment
End 5 includes:Processor 50, memory 51 and it is stored in the meter that can be run in the memory 51 and on the processor 50
Calculation machine program 52.The processor 50 is realized when performing the computer program 52 in above-mentioned each alarm clock setting method embodiment
The step of, such as the step S101 to S105 shown in Fig. 1.Alternatively, reality when the processor 50 performs the computer program 52
The function of each module/unit in existing above-mentioned each device embodiment, such as the function of module 31 to 35 shown in Fig. 3.
Exemplary, the computer program 52 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 51, and are performed by the processor 50, to complete the application.Described one
A or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 52 in the mobile terminal 5 is described.For example, the computer program 52 can be divided
First information acquisition module, the second data obtaining module, processing module, buffer time acquisition module and wakeup time is cut into set
Module is put, each module concrete function is as follows:
First information acquisition module, for obtaining the position at the pre-set time point arrived at and the destination
Confidence ceases;
Second data obtaining module, for obtaining the current location information of mobile terminal;
Processing module, for the current location information according to the mobile terminal and the positional information of the destination, choosing
The trip mode of user is selected, and obtains the journey time of the trip mode, wherein, the journey time of the trip mode refers to
From the current location of the mobile terminal, the time needed for the destination is reached by the trip mode;
Cache-time acquisition module, for obtaining pre-set buffer time;
Wakeup time setup module, for according to the buffer time, the journey time and described arriving at
At time point, set the wakeup time point of the alarm clock, wherein, the wakeup time point of the alarm clock refers to control the alarm clock jingle bell
Time point.
Optionally, the wakeup time setup module includes:
Obtaining unit, for obtaining the additive value of the buffer time and the journey time;
Unit is elapsed, for the time point arrived to be elapsed forward to the time point after the additive value,
Wakeup time point as the alarm clock.
Optionally, the processing module includes:
Routing unit, believes for the position of the current location information according to the mobile terminal and the destination
Breath, selects the trip mode and the corresponding traffic path of the trip mode of user;
Information acquisition unit, for obtaining the Traffic Information of the traffic path;
Time acquisition unit, for according to the trip mode, the traffic path and the Traffic Information, obtaining
The journey time.
Optionally, the processing module includes:
Distance acquiring unit, for the distance between the current location for obtaining the mobile terminal and the destination value;
Passenger Traveling Choice unit, if being worth for the distance between the current location of the mobile terminal and described destination
Less than predetermined threshold value, then the trip mode of the user is selected from pre-set a variety of trip modes.
In the embodiment of the present application, the processing module includes the distance acquiring unit and the Passenger Traveling Choice list
Member can be specifically that the routing unit includes the distance acquiring unit and the Passenger Traveling Choice unit.
Optionally, information transmitting unit, if between the current location of the mobile terminal and the destination away from
It is greater than or equal to the predetermined threshold value from value, then sends inquiry message to user, wherein, the inquiry message is used to inquire described
Whether user sets the wakeup time point of the alarm clock.
The mobile terminal 5 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The mobile terminal may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5
The only example of mobile terminal 5, does not form the restriction to mobile terminal 5, can include than illustrating more or fewer portions
Part, either combines some components or different components, such as the mobile terminal can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 50 can be central processing unit CPU, can also be other general processors, Digital Signal Processing
Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA either other programmable logic device, discrete gate or
Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed
What conventional processor etc..
The memory 51 can be the internal storage unit of the mobile terminal 5, such as the hard disk of mobile terminal 5 or interior
Deposit.The memory 51 can also be the External memory equipment of the mobile terminal 5, such as be equipped with the mobile terminal 5
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodges
Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the mobile terminal 5
Member also includes External memory equipment.The memory 51 is used to store needed for the computer program and the mobile terminal
Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, can pass through it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list
The division of member, is only a kind of division of logic function, can there is other dividing mode when actually realizing, for example, multiple units or
Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show
Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit
Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer-readable recording medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity
Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to foregoing reality
Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each
Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical solution of the application, should all
Within the protection domain of the application.
Claims (10)
1. a kind of alarm clock setting method, it is characterised in that the alarm clock setting method includes:
Obtain the positional information of the pre-set time point arrived at and the destination;
Obtain the current location information of mobile terminal;
According to the current location information of the mobile terminal and the positional information of the destination, the trip mode of user is selected,
And the journey time of the trip mode is obtained, wherein, the journey time of the trip mode refers to from the mobile terminal
Current location is set out, and the time needed for the destination is reached by the trip mode;
Obtain pre-set buffer time;
According to the buffer time, the journey time and the time point arrived at, the wake-up of the alarm clock is set
Time point, wherein, the wakeup time point of the alarm clock refers to the time point for controlling the alarm clock jingle bell.
2. alarm clock setting method as claimed in claim 1, it is characterised in that described according to the buffer time, the stroke
Time and the time point arrived at, setting the wakeup time point of the alarm clock includes:
Obtain the additive value of the buffer time and the journey time;
The time point arrived at is elapsed forward to the time point after the additive value, the wake-up as the alarm clock
Time point.
3. alarm clock setting method according to claim 1, it is characterised in that according to the present bit confidence of the mobile terminal
Breath and the positional information of the destination, select the trip mode of user, and the journey time for obtaining the trip mode includes:
According to the positional information of the current location information of the mobile terminal and the destination, select user trip mode and
The corresponding traffic path of the trip mode;
Obtain the Traffic Information of the traffic path;
According to the trip mode, the traffic path and the Traffic Information, the journey time is obtained.
4. such as claims 1 to 3 any one of them alarm clock setting method, it is characterised in that described according to the mobile terminal
Current location information and the destination positional information, selecting the trip mode of user includes:
Obtain the distance between the current location of the mobile terminal and destination value;
If the distance between the current location of the mobile terminal and the destination value are less than predetermined threshold value, from pre-setting
A variety of trip modes in select the trip mode of the user.
5. alarm clock setting method as claimed in claim 4, it is characterised in that the alarm clock setting method further includes:
If the distance between the current location of the mobile terminal and the destination value are greater than or equal to the predetermined threshold value,
Inquiry message is sent to user, wherein, when the inquiry message is used to inquire whether the user sets the wake-up of the alarm clock
Between point.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
First information acquisition module, the position for obtaining the pre-set time point arrived at and the destination are believed
Breath;
Second data obtaining module, for obtaining the current location information of mobile terminal;
Processing module, for the current location information according to the mobile terminal and the positional information of the destination, selection is used
The trip mode at family, and the journey time of the trip mode is obtained, wherein, the journey time of the trip mode refers to from institute
The current location for stating mobile terminal is set out, and the time needed for the destination is reached by the trip mode;
Buffer time acquisition module, for obtaining pre-set buffer time;
Wakeup time setup module, for according to the buffer time, the journey time and the time arrived at
Point, sets the wakeup time point of the alarm clock, wherein, the wakeup time point of the alarm clock refer to control the alarm clock jingle bell when
Between point.
7. mobile terminal as claimed in claim 6, it is characterised in that the wakeup time setup module includes:
Obtaining unit, for obtaining the additive value of the buffer time and the journey time;
Unit is elapsed, for the time point arrived to be elapsed forward to the time point after the additive value, as
The wakeup time point of the alarm clock;
The processing module includes:
Routing unit, for the current location information according to the mobile terminal and the positional information of the destination, choosing
Select the trip mode and the corresponding traffic path of the trip mode of user;
Information acquisition unit, for obtaining the Traffic Information of the traffic path;
Time acquisition unit, for according to the trip mode, the traffic path and the Traffic Information, described in acquisition
Journey time.
8. mobile terminal as claimed in claims 6 or 7, it is characterised in that the processing module includes:
Distance acquiring unit, for the distance between the current location for obtaining the mobile terminal and the destination value;
Passenger Traveling Choice unit, if the current location for the mobile terminal is less than with the distance between destination value
Predetermined threshold value, then select the trip mode of the user from pre-set a variety of trip modes;
Information transmitting unit, if the current location for the mobile terminal is more than or waits with the distance between destination value
In the predetermined threshold value, then inquiry message is sent to user, wherein, the inquiry message is used to inquire whether the user is set
The wakeup time point of the alarm clock.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 5 when performing the computer program
The step of any one alarm clock setting method.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists
In the step of realization alarm clock setting method as described in any one of claim 1 to 5 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711249979.6A CN108040175A (en) | 2017-12-01 | 2017-12-01 | Alarm clock setting method, mobile terminal and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711249979.6A CN108040175A (en) | 2017-12-01 | 2017-12-01 | Alarm clock setting method, mobile terminal and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108040175A true CN108040175A (en) | 2018-05-15 |
Family
ID=62094612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711249979.6A Pending CN108040175A (en) | 2017-12-01 | 2017-12-01 | Alarm clock setting method, mobile terminal and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108040175A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396403A (en) * | 2020-11-27 | 2021-02-23 | 广州宏途教育网络科技有限公司 | Alarm clock setting method and device, computer equipment and storage medium |
CN113438138A (en) * | 2021-06-17 | 2021-09-24 | 海尔(深圳)研发有限责任公司 | Method, system, device and equipment for reminding user to get up |
CN113822643A (en) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Method and device for setting travel reminding |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580720A (en) * | 2014-12-31 | 2015-04-29 | 深圳市金立通信设备有限公司 | Implementation method of alarm clock |
US20160298971A1 (en) * | 2015-04-10 | 2016-10-13 | GM Global Technology Operations LLC | Vehicle driving aids |
CN106092120A (en) * | 2016-08-25 | 2016-11-09 | 百度在线网络技术(北京)有限公司 | Air navigation aid and device |
-
2017
- 2017-12-01 CN CN201711249979.6A patent/CN108040175A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580720A (en) * | 2014-12-31 | 2015-04-29 | 深圳市金立通信设备有限公司 | Implementation method of alarm clock |
US20160298971A1 (en) * | 2015-04-10 | 2016-10-13 | GM Global Technology Operations LLC | Vehicle driving aids |
CN106092120A (en) * | 2016-08-25 | 2016-11-09 | 百度在线网络技术(北京)有限公司 | Air navigation aid and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112396403A (en) * | 2020-11-27 | 2021-02-23 | 广州宏途教育网络科技有限公司 | Alarm clock setting method and device, computer equipment and storage medium |
CN112396403B (en) * | 2020-11-27 | 2024-01-26 | 广州宏途数字科技有限公司 | Alarm clock setting method and device, computer equipment and storage medium |
CN113438138A (en) * | 2021-06-17 | 2021-09-24 | 海尔(深圳)研发有限责任公司 | Method, system, device and equipment for reminding user to get up |
CN113822643A (en) * | 2021-08-20 | 2021-12-21 | 荣耀终端有限公司 | Method and device for setting travel reminding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103404118B (en) | Profile of knowing on mobile computing device switches | |
CN104838673B (en) | Route recommendation is provided | |
CN104011504B (en) | Method, system and equipment for the navigation based on backlog | |
CN106126178B (en) | Monitor speech input automatically based on context | |
KR102401904B1 (en) | Systems and methods for generating and providing intelligent time to leave reminders | |
CN107209655A (en) | Equipment, method and graphic user interface for setting up the relation between two equipment and connection | |
CN106470148A (en) | Group chatting content display method and device | |
CN107391259A (en) | Method for processing resource and device, computer-readable recording medium, mobile terminal | |
CN108323237B (en) | Terminal behavior triggering method and terminal | |
CN109556621A (en) | A kind of method and relevant device of route planning | |
CN107045528A (en) | A kind of method and terminal reminded of going on a journey | |
CN108040175A (en) | Alarm clock setting method, mobile terminal and computer-readable recording medium | |
CN106651338A (en) | Method for payment processing and terminal | |
CN110692034A (en) | Icon display method, equipment and system | |
CN106056001A (en) | Private data protection method and apparatus based on mobile terminal and mobile terminal | |
WO2024037086A1 (en) | Travel information sharing method and apparatus, computer device, and storage medium | |
CN106603827A (en) | Alarm setting method and terminal | |
CN109164965A (en) | Mobile terminal and its method, apparatus and readable storage medium storing program for executing for reducing screen interface | |
CN108092784A (en) | A kind of method, terminal and computer-readable medium for creating group | |
CN107277217A (en) | A kind of incoming call answering method and terminal device | |
CN110430022A (en) | Data transmission method and device | |
CN107346483A (en) | Setting method of alarm, device, storage medium and electronic equipment | |
CN110400037A (en) | A kind of get-off stop determines method and apparatus | |
CN107909332A (en) | Trip based reminding method, terminal and computer-readable medium | |
CN106559311A (en) | A kind of communicating control method and communicating terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180515 |