The content of the invention
The features and advantages of the present invention partly state in the following description, or can from the description it is clear that or
Person can be learnt by putting into practice the present invention.
To overcome problem of the prior art, the present invention provides the terminal and method that a kind of timing sends geo-localisation information.
Technical solution is as follows used by the present invention solves above-mentioned technical problem:
According to an aspect of the present invention, there is provided a kind of timing send geo-localisation information terminal include location tasks
Setup module, location tasks detection module, locating module and sending module, wherein:
Location tasks setup module, for set predetermined time point or period and location frequency, first terminal and
Second terminal;
Location tasks detection module, for periodically detect location tasks state, when reach it is predetermined at the time of when touch
Send out locating module and start location tasks;
Locating module, for obtaining the geographical location information of first terminal;
Sending module, for the geographical location information of acquisition to be sent to second terminal.
Preferably, the first terminal and second terminal are respectively be configured by Termination ID list one or more
A terminal.
According to another aspect of the present invention, there is provided a kind of timing send geo-localisation information method include following step
Suddenly:Obtain the geographical location information of first terminal in predetermined time point or period, and by acquired geographical location information
It is sent to second terminal.
Preferably, predetermined time point input by user or period and location frequency, first terminal and second are received
Terminal, wherein, first terminal and second terminal are respectively one or more terminal being configured by Termination ID list.
Preferably, Termination ID includes subscriber phone number or instant message ID.
Preferably, the geographical location information for obtaining first terminal is specially:Obtain the geographical location information of itself;And/or
Obtain the geographical location information of the other-end in first terminal outside itself;Wherein, in acquisition first terminal outside itself
The geographical location information of other-end includes:Network is sent by short message, multimedia message, instant message or any several combinations therein
Order obtains the geographical location information of first terminal.
Preferably, acquired geographical location information is sent to second terminal includes:By short message, multimedia message, disappear immediately
The geographical location information of first terminal is sent to second terminal by breath or any several combinations therein.
The geo-localisation information of terminal and method according to the present invention, terminal timing acquisition itself or other-end is concurrent
The terminal specified is given, can realize the real time remote acquisition and interaction of location information between different mobile terminal.
By reading specification, the feature of these technical solutions and interior will be best understood in those of ordinary skill in the art
Hold.
Embodiment
In order to make technical problems, technical solutions and advantages to be solved clearer, clear, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain that the present invention is not intended to limit the present invention.
It is that the terminal module structure that a kind of timing provided in an embodiment of the present invention sends geo-localisation information is shown as shown in Figure 1
It is intended to.Terminal positioning task setup module 11, location tasks detection module 12, locating module 13 and the sending module 14, wherein:
Location tasks setup module 11, for setting predetermined time point or period and location frequency, first terminal
And second terminal;
Preferably, location tasks setup module 11 is user interface, receives the setting input by user predetermined time
Point or period and location frequency, first terminal and second terminal.
Specifically, user can specify some time point automatic start location tasks in future in terminal, can also
Specify in the range of some period in future, periodically carry out location tasks by specified location frequency, obtain the position of first terminal
Confidence ceases and is sent to second terminal, wherein, first terminal and second terminal are respectively what is be configured by Termination ID list
One or more terminal, can include terminal itself.Termination ID includes but not limited to subscriber phone number, instant message ID
Deng.The present embodiment, which can give tacit consent to second terminal, to be included terminal itself and sends prompt message automatically and also may be used to terminal itself, user
Prompt message is only sent with cancellation to the other-end in second terminal.
Location tasks detection module 12, for periodically detect location tasks state, when reach it is predetermined at the time of when
Trigger locating module and start location tasks;
Specifically, location tasks detection module 12 is opened when system starts, periodically detects the state of location tasks,
And branch process is carried out respectively according to the state of each location tasks, for example detection cycle can be 1 minute.
Locating module 13, for obtaining the geographical location information of first terminal;
Preferably, locating module 13 includes unit 131 is locally-located and is remotely located unit 132, wherein:
The geographical location information that unit 131 is used to obtain terminal itself is locally-located;
The geographical location information that unit 132 is used to obtain other-end in first terminal is remotely located, is included but not limited to
The geographical location of networking command acquisition first terminal is sent by short message, multimedia message, instant message or any several combinations therein
Information.
Sending module 14, for the geographical location information of acquisition to be sent to second terminal.
Specifically, sending module 14 is used to pass through short message, multimedia message, instant message or any several combinations therein by first
The geographical location information of terminal is sent to second terminal.
By the terminal of the embodiment of the present invention, the trigger condition that some following time point is performed as positioning action,
And the positional information of positioning is fed back to user, while introduce the long-range positioning for obtaining other users geo-localisation information and obtaining
Information group sending gives corresponding authorized user, realizes the real time remote interaction and acquisition of location information between different mobile terminal user.
Fig. 2 is the method flow diagram that a kind of timing provided in an embodiment of the present invention sends geo-localisation information.In this method
Including:
Step S202, the geographical location information of first terminal is obtained at predetermined time point or period;
The step of location tasks are set is further included before this step, this includes:Receive the predetermined time input by user
Point or period and location frequency, first terminal and second terminal, wherein, first terminal and second terminal are respectively to pass through end
One or more terminal that end ID lists are configured.Termination ID includes subscriber phone number or instant message ID.
Specifically, this step specifically includes:Obtain the geographical location information of itself;And/or obtain in first terminal certainly
The geographical location information of other-end outside body;Wherein, the geographical position of the other-end in acquisition first terminal outside itself
Confidence breath includes:Send networking command by short message, multimedia message, instant message or any several combinations therein and obtain first terminal
Geographical location information.
Step S204, acquired geographical location information is sent to second terminal.
Specifically, can be by short message, multimedia message, instant message or any several combinations therein by first in this step
The geographical location information of terminal is sent to second terminal.
By the method for the embodiment of the present invention, the geo-localisation information of terminal timing acquisition itself or other-end is concurrent
The terminal specified is given, can realize the real time remote acquisition and interaction of location information between different mobile terminal.
Fig. 3 is the method flow diagram that a kind of timing that the preferred embodiment of the present invention provides sends local geographical location information,
In figure:
S302, the location tasks setting for receiving user.
Task input by user can be received in this step by user interface to set, specifically positioning can be set to open
The dynamic time, obtain the list of location information Termination ID and receive the Termination ID list of geographical location information;It is fixed specifically to set
Position time started, positioning end time, the positioning frequency, the end for obtaining the list of location information Termination ID and reception geographical location information
Hold ID lists.
S304, detect whether to reach positioning starting time point, if it is performs step S306, otherwise continues to detect;
S306, the geographical location information for positioning this terminal;
S308, judge whether geo-localisation information succeeds, and performs S309 if failure is positioned, otherwise performs S310;
S309, determine whether the frequency of failure exceeds the threshold value of the frequency of failure, or the time exceeds the predetermined time
Segment limit, if it is performs step S314, is otherwise transferred to step S306;
S310, read the Termination ID list for receiving location information;
S312, by obtain geo-localisation information be sent to it is each reception location information terminal;
S314, terminate flow.
Timing through this embodiment sends the method that information is locally-located, and the geographical location information of itself is mass-sended to it
His terminal, the real time remote for realizing location information between different mobile terminal obtain and interaction.
Fig. 4 is that a kind of timing that the preferred embodiment of the present invention provides sends the method flow diagram for being remotely located information, in figure:
S402, the location tasks for receiving user are set, this in the present embodiment be arranged to some following time point or when
Between point;
S404, detect whether to reach positioning starting time point, if it is performs step S406, otherwise continues to detect;
S405, the Termination ID list for reading positioning target terminal;
S406, send location information acquisition networking command to each corresponding target terminal;
S408, judge whether geo-localisation information succeeds, and performs S409 if failure is positioned, otherwise performs S410;
S409, determine whether the frequency of failure exceeds the threshold value of the frequency of failure, or the time exceeds the predetermined time
Segment limit, if it is performs step S314, is otherwise transferred to step S306;
S410, read the Termination ID list for receiving location information;
S412, by geo-localisation information be sent to corresponding each terminal for receiving location information;
S414, terminate flow.
Timing through this embodiment sends the method for being remotely located information, can remotely obtain the geography of some user terminals
Positional information, and be sent to other terminal, realize location information between different mobile terminal real time remote obtain and
Interaction.
The preferred embodiment of the present invention has shown and described in described above, but as previously described, it should be understood that the present invention is not
Form disclosed herein is confined to, is not to be taken as the exclusion to other embodiment, and available for various other combinations, modification
And environment, and can be carried out in the scope of the invention is set forth herein by the technology or knowledge of above-mentioned teaching or association area
Change., then all should be in institute of the present invention and changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention
In attached scope of the claims.