Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the method for the disclosed a kind of arrival reminding of the embodiment of the present invention.Wherein, the method for the arrival reminding shown in Fig. 1 can be applied in the terminals such as smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), PAD.As shown in Figure 1, the method comprises:
S101, response be for the operation requests of opening the prompting function that arrives at a station, and open the prompting function and for detection of the acceleration sensor of the acceleration in fast mobile terminal direction of arriving at a station.
In the embodiment of the present invention, operation requests can be the operation requests that user need to trigger according to self, also can be the operation requests automatically triggering according to the time of user's setting, for example: user can according to the commuter time of self (as morning 7:30~9:00 and evening 18:00~19:30) time that the prompting function that arrives at a station is opened is automatically set, the embodiment of the present invention does not limit.
In the embodiment of the present invention, when prompting function is arrived at a station in unlatching, also can automatically open the acceleration sensor for detection of the acceleration in fast mobile terminal direction.
S102, judge that whether the acceleration in the fast mobile terminal direction that acceleration sensor detects is less than default acceleration, if so, opens one-time positioning function.
In the embodiment of the present invention, when user's carried terminal rides public transportation means, terminal and the vehicles have identical speed, ideally, the change procedure of the vehicles from a website to the speed of next website is starting, to accelerate (acceleration is greater than zero), in travelling at the uniform velocity (acceleration equals zero), front reduction gear (acceleration is less than zero) arrives at a station, the velocity variations situation of terminal is consistent with the velocity variations situation of the vehicles, so when the acceleration on fast mobile terminal direction being detected is less than default acceleration, just can think that the vehicles are about to stop, terminal is just opened one-time positioning function, in the embodiment of the present invention, default acceleration can be a minus value, as-3m/s
2or-5m/s
2, the embodiment of the present invention does not limit.
In the embodiment of the present invention, if the acceleration in the fast mobile terminal direction detecting is not less than default acceleration, continue by the acceleration on acceleration sensor sense terminals moving direction.
S103, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, open omnidistance positioning function.
In the embodiment of the present invention, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, illustrate the vehicles from the distance of target geographic position very close to, just proceed location; If not, close positioning function and continue by the acceleration on acceleration sensor sense terminals moving direction.
In the embodiment of the present invention, the first default distance value can be 1km, can be also 0.5km, and the embodiment of the present invention does not limit.
If a certain geographical position that the omnidistance positioning function of S104 navigates to is less than default second distance value to the distance value of target geographic position, the prompting of output needle to target geographic position.
In the embodiment of the present invention, in S103 step, if one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, be not less than the first default distance value, terminal just continues to open positioning function to arriving destination, in the process of location, if a certain geographical position navigating to is less than default second distance value to the distance value of target geographic position, just can think that the vehicles are about to arrive target geographic position, terminal is exported prompting to user, so that user is ready.
In the embodiment of the present invention, default second distance value is less than the first default distance value, and default second distance value can be 200m, can be also 100m, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, the mode that output is reminded both can be arranged by user, it can be again default setting, also can take the different way of outputs according to the state of terminal, as terminal detected and be inserted with earphone, the mode that output is reminded can be voice+vibration, or the screen that terminal detected is in illuminating state, the mode that output is reminded can be vibration+pop-up box, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, in unlatching, arrive at a station after prompting function and acceleration sensor, judge whether the acceleration in the fast mobile terminal direction that acceleration sensor detects is less than default acceleration, if, open one-time positioning function, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if, open omnidistance positioning function, if a certain geographical position that omnidistance positioning function navigates to is less than default second distance value to the distance value of target geographic position, the prompting of output needle to target geographic position, wherein, the first distance value is greater than second distance value.Visible, the embodiment of the present invention provides a kind of notification mechanisms, the prompting that can make user receive self terminal before the arrival destination that rides public transportation means, and low in energy consumption.
Refer to Fig. 2, Fig. 2 is the flow chart of the method for the disclosed another kind of arrival reminding of the embodiment of the present invention.Wherein, the method for the arrival reminding shown in Fig. 2 can be applied in the terminals such as smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), PAD.As shown in Figure 2, the method comprises:
The positional information of the target geographic position of S201, storage user preset.
In the embodiment of the present invention, terminal can be according to the identification information of the target geographic position of user input (as the title of target geographic position etc.), call the positional information of the target geographic position that electronic map technique search target geographic position memory search arrive, also can receive user target geographic position input for opening the operation requests of positioning function, and target geographic position is positioned to the positional information of the target geographic position that store location arrives.
S202, response be for the operation requests of opening the prompting function that arrives at a station, and open the prompting function and for detection of the acceleration sensor of the acceleration in fast mobile terminal direction of arriving at a station.
In the embodiment of the present invention, operation requests can be the operation requests that user need to trigger according to self, also can be the operation requests automatically triggering according to the time of user's setting, for example: user can according to the commuter time of self (as morning 7:30~9:00 and evening 18:00~19:30) time that the prompting function that arrives at a station is opened is automatically set, the embodiment of the present invention does not limit.
In the embodiment of the present invention, when prompting function is arrived at a station in unlatching, also can automatically open the acceleration sensor for detection of the acceleration in fast mobile terminal direction.
S203, judge that whether the acceleration in the fast mobile terminal direction that acceleration sensor detects is less than default acceleration, if so, opens one-time positioning function.
In the embodiment of the present invention, when user's carried terminal rides public transportation means, terminal and the vehicles have identical speed, ideally, the change procedure of the vehicles from a website to the speed of next website is starting, to accelerate (acceleration is greater than zero), in travelling at the uniform velocity (acceleration equals zero), front reduction gear (acceleration is less than zero) arrives at a station, the velocity variations situation of terminal is consistent with the velocity variations situation of the vehicles, so when the acceleration on fast mobile terminal direction being detected is less than default acceleration, just can think that the vehicles are about to stop, terminal is just opened one-time positioning function, in the embodiment of the present invention, default acceleration can be a minus value, as-3m/s
2or-5m/s
2, the embodiment of the present invention does not limit.
In the embodiment of the present invention, if the acceleration in the fast mobile terminal direction detecting is not less than default acceleration, continue by the acceleration on acceleration sensor sense terminals moving direction.
S204, record the positional information of the current geographic position that one-time positioning functional localization arrives.
In the embodiment of the present invention, when acceleration sensor detects acceleration in fast mobile terminal direction and is less than default acceleration, terminal will start one-time positioning function, and records the positional information of the current geographic position at every turn navigating to.
S205, obtain the positional information with the geographical position of the positional information binding of target geographic position.
In the embodiment of the present invention, with the generative process of the positional information in the geographical position of the positional information binding of target geographic position can be as follows:
Start and arrive at a station after prompting function each time, be kept at and judge a certain geographical position that omnidistance positioning function navigates to and to the distance value of described target geographic position, be less than the positional information in 3 parts of (can be the also 5 parts) geographical position that navigate to by positioning function before default second distance value, and within the regular hour (can be one month or six months), the number of times of the positional information in 3 parts of (can be also 5 parts) geographical position of preserving is added up, and the number of times counting on is carried out to descending, in general, the positional information in the geographical position that number of times is the highest is the positional information of a upper platform of target geographic position, and the positional information in the highest geographical position of number of times is tied in the positional information of target geographic position.
And with the positional information in the geographical position of the positional information binding of target geographic position whether the positional information of S206, comparison current geographic position match, if so, the predicting reminding of output needle to target geographic position.
In the embodiment of the present invention, if the positional information of the current geographic position navigating to and matching with the positional information in the geographical position of the positional information binding of target geographic position, can illustrate that the vehicles reach the previous website of target geographic position, terminal is the predicting reminding to target geographic position with regard to output needle, with the next platform of reminding user, is exactly that user wants the target geographic position arriving.
S207, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, open omnidistance positioning function.
In the embodiment of the present invention, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, illustrate the vehicles from the distance of target geographic position very close to, just proceed location; If not, close positioning function and continue by the acceleration on acceleration sensor sense terminals moving direction.
In the embodiment of the present invention, the first default distance value can be 1km, can be also 0.5km, and the embodiment of the present invention does not limit.
If a certain geographical position that the omnidistance positioning function of S208 navigates to is less than default second distance value to the distance value of target geographic position, the prompting of output needle to target geographic position.
In the embodiment of the present invention, in S207 step, if one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, be not less than the first default distance value, terminal just continues to open positioning function to arriving destination, in the process of location, if a certain geographical position navigating to is less than default second distance value to the distance value of target geographic position, just can think that the vehicles are about to arrive target geographic position, terminal is exported prompting to user, so that user is ready.
In the embodiment of the present invention, default second distance value is less than the first default distance value, and default second distance value can be 200m, can be also 100m, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, the mode that output is reminded both can be arranged by user, it can be again default setting, also can take the different way of outputs according to the state of terminal, as terminal detected and be inserted with earphone, the mode that output is reminded can be voice+vibration, or the screen that terminal detected is in illuminating state, the mode that output is reminded can be vibration+pop-up box, and the embodiment of the present invention does not limit.
Visible, the embodiment of the present invention provides a kind of notification mechanisms, and the prompting that can make user receive self terminal before the arrival destination that rides public transportation means can also realize the predicting reminding to destination at a upper platform of destination simultaneously, and low in energy consumption.
Refer to Fig. 3, Fig. 3 is the structure chart of the disclosed a kind of terminal of the embodiment of the present invention.Wherein, terminal shown in Fig. 3 can be smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), the terminal such as PAD, as shown in Figure 3, this terminal 300 comprises:
Response unit 301, for responding for opening the operation requests of the prompting function that arrives at a station, and opens the prompting function and for detection of the acceleration sensor of the acceleration in fast mobile terminal direction of arriving at a station.
The first judging unit 302, for judging that whether the acceleration in the fast mobile terminal direction that acceleration sensor detects is less than default acceleration, if so, opens one-time positioning function.
The second judging unit 303, for judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, open omnidistance positioning function.
Output unit 304, if a certain geographical position navigating to for omnidistance positioning function is less than default second distance value, the prompting of output needle to target geographic position to the distance value of target geographic position.
Visible, the embodiment of the present invention can provide a kind of terminal with notification mechanisms, the prompting that can make user receive self terminal before the arrival destination that rides public transportation means, and low in energy consumption.
Refer to Fig. 4, Fig. 4 is the structure chart of the disclosed another kind of terminal of the embodiment of the present invention.Wherein, terminal shown in Fig. 4 can be smart mobile phone (as Android mobile phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (Mobile Internet Devices, MID), the terminal such as PAD, as shown in Figure 4, this terminal 400 comprises:
Memory cell 401, before being used for opening the operation requests of the prompting function that arrives at a station in response unit 402 responses and opening arrive at a station prompting function and the acceleration sensor for detection of the acceleration in fast mobile terminal direction, the positional information of the target geographic position of storage user preset.
In the embodiment of the present invention, memory cell 401 can be specifically for according to the identification information of the target geographic position of user input, calls the positional information of the target geographic position that electronic map technique search target geographic position memory search arrive; Or receive user target geographic position input for opening the operation requests of positioning function, and target geographic position is positioned to the positional information of the target geographic position that store location arrives.
Response unit 402, for responding for opening the operation requests of the prompting function that arrives at a station, and opens the prompting function and for detection of the acceleration sensor of the acceleration in fast mobile terminal direction of arriving at a station.
The first judging unit 403, for judging that whether the acceleration in the fast mobile terminal direction that acceleration sensor detects is less than default acceleration, if so, opens one-time positioning function.
Record cell 404, for at the second judging unit 407, judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value before, record the positional information of the current geographic position that one-time positioning functional localization arrives.
Acquiring unit 405, for in comparing unit 406 positional information of current geographic positions whether and before matching with the positional information in the geographical position of the positional information binding of target geographic position relatively, obtain the positional information with the geographical position of the positional information binding of target geographic position.
And with the positional information in the geographical position of the positional information binding of target geographic position whether comparing unit 406, match for the positional information of current geographic position relatively, if so, the predicting reminding of output needle to target geographic position.
The second judging unit 407, for judge one-time positioning functional localization to current geographic position to the distance value of the target geographic position of user preset, whether be less than the first default distance value, if so, open omnidistance positioning function.
Output unit 408, if a certain geographical position navigating to for omnidistance positioning function is less than default second distance value, the prompting of output needle to target geographic position to the distance value of target geographic position.
Visible, the embodiment of the present invention can provide a kind of terminal with notification mechanisms, the prompting that can make user receive self terminal before the arrival destination that rides public transportation means can also realize the predicting reminding to destination at a upper platform of destination simultaneously, and low in energy consumption.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or by ASIC(Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) realize.
The sequence of steps of the method for the embodiment of the present invention can be adjusted according to actual needs, merges or delete.The unit of the terminal of the embodiment of the present invention can be integrated according to actual needs, Further Division or delete.
Method and the terminal of a kind of the arrival reminding above embodiment of the present invention being provided are described in detail, applied instantiation herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.