Summary of the invention
The problem that the present invention solves needs the mobile terminal of location to there is the problem that hardware cost is higher, power consumption is higher.
For solving the problem, technical solution of the present invention provides a kind of localization method of mobile terminal, comprising:
Mobile terminal gathers parameter information and described parameter information is sent to receiving terminal, described parameter information comprise described mobile terminal gps coordinate data and at least one in access-in point information in a network environment;
Described receiving terminal positions described mobile terminal according to described parameter information.
Optionally, described access-in point information comprise described mobile terminal the identification code of base station access point in a network environment, the media access control address of WIFI access point, service set and Bluetooth accessing point identification code at least one information.
Optionally, described parameter information is sent to described receiving terminal by short message mode by described mobile terminal.
Optionally, described receiving terminal is the second mobile terminal or server.
Optionally, described parameter information is sent to described receiving terminal by described mobile terminal after predetermined time or time delay.
Optionally, the localization method of described mobile terminal also comprises:
The locating information of described mobile terminal is sent to described mobile terminal by described receiving terminal;
Described mobile terminal time delay receives described locating information.
Optionally, described parameter information also comprises the temporal information gathering described access-in point information; The time span of described time delay is associated with the temporal information of the described access-in point information of described collection.
Optionally, the locating information of described mobile terminal is sent to described mobile terminal by short message mode by described receiving terminal.
Optionally, the localization method of described mobile terminal also comprises: the locating information of described mobile terminal is sent to designated terminal by described receiving terminal.
Optionally, the localization method of described mobile terminal also comprises:
When the locating information of described mobile terminal does not meet the locality condition preset, described receiving terminal sends a warning message to described mobile terminal or designated terminal.
Technical solution of the present invention also provides a kind of navigation system of mobile terminal, comprises mobile terminal, also comprises receiving terminal;
Described mobile terminal comprises collecting unit, and described collecting unit is used for acquisition parameter information, the gps coordinate data that described parameter information comprises and described mobile terminal at least one in access-in point information in a network environment; The parameter information that described collecting unit collects is sent to receiving terminal by described mobile terminal;
Described receiving terminal is used for positioning described mobile terminal according to described parameter information.
Optionally, described parameter information is sent to described receiving terminal by short message mode by described mobile terminal.
Optionally, the navigation system of described mobile terminal also comprises: delay unit, carries out delays time to control for receiving described mobile terminal from time of the locating information of described receiving terminal or time of sending described parameter information.
Optionally, the locating information of described mobile terminal is sent to described mobile terminal by short message mode by described receiving terminal.
Optionally, the navigation system of described mobile terminal also comprises: designated terminal, for receiving the locating information of the described mobile terminal that described receiving terminal sends.
Optionally, the navigation system of described mobile terminal also comprises: Alarm Unit, for when the locating information of described mobile terminal does not meet the locality condition preset, sends a warning message to described mobile terminal or designated terminal.
Compared with prior art, technical scheme of the present invention has the following advantages:
The parameter information of mobile terminal collection for positioning, and described parameter information is sent to receiving terminal, receiving terminal realizes the location to described mobile terminal according to described parameter information, the method is when positioning described mobile terminal, described mobile terminal only needs to carry out simple data collection task, require lower to described mobile terminal hardware configuration, without the need to possessing the hardware that the localization methods such as GPS must possess, and described mobile terminal does not need to carry out complicated locator data process yet, require lower to the data-handling capacity of mobile terminal, the method is in the process positioned described mobile terminal, described mobile terminal hardware cost is lower, and due to a described mobile terminal acquisition parameter information data, and without the need to carrying out the operations such as process to data, so power consumption is lower.
Compare with the satellite positioning method such as existing GPS, the method that technical solution of the present invention provides can realize indoor location to mobile terminal, and the satellite positioning methods such as GPS are usually only for positioning in outdoor in the process of movement mobile terminal.
Further, described parameter information can be sent to receiving terminal by short message mode by described mobile terminal, receiving terminal can based on the parameter information received and then the location realized described mobile terminal, even if make when described mobile terminal not supported data business, described parameter information sends by the mode also by note, and then realizes the location to described mobile terminal.
After receiving terminal completes location according to described parameter information to described mobile terminal, described locating information can be sent to described mobile terminal, described mobile terminal can the locating information that sends of receiving terminal described in real-time reception, also time delay described locating information can be received according to the actual requirements, the power consumption of described mobile terminal can be reduced further.
Behind the location that described receiving terminal completes mobile terminal, if when judging that the locating information of described mobile terminal does not meet the locality condition preset, described locating information can be sent to described mobile terminal also can be sent in other designated terminal by described locating information, send a warning message to described mobile terminal, designated terminal, to realize the real-time monitoring of the positional information to described mobile terminal.
Embodiment
As stated in the Background Art, in prior art in the process positioned mobile terminal, there is the problem that hardware cost is higher, power consumption is higher in described mobile terminal.
For solving the problem, technical solution of the present invention provides a kind of localization method of mobile terminal.Fig. 1 is the schematic flow sheet of the localization method of the mobile terminal that technical solution of the present invention provides.
Perform step S1, mobile terminal gathers parameter information and described parameter information is sent to receiving terminal, described parameter information comprise described mobile terminal gps coordinate data and at least one in access-in point information in a network environment.
In present specification, described mobile terminal refers to be needed by the mobile terminal of locating.
Described parameter information is the parameter for positioning described mobile terminal, such as, in the process positioned described mobile terminal, if mobile terminal can get the gps coordinate data corresponding to it, then can realize location based on gps coordinate data.
In addition, also can based on mobile terminal access-in point information in a network environment realize the location of described mobile terminal.
When described mobile terminal needs location, the access-in point information that its periphery exists can be searched for, and send it to receiving terminal, described access-in point information comprise described mobile terminal base station access point in a network environment identification, the media access control address (MAC Address) of WIFI access point and/or service set (SSID), Bluetooth accessing point identification code etc. for the auxiliary information positioned.The parameter information that described mobile terminal gathers should comprise the information that described receiving terminal positions the necessity required for calculating.
Described receiving terminal can be the second mobile terminal or location-server etc., and described second mobile terminal refers to the terminal being different from described mobile terminal in addition.Described receiving terminal can be responsible for the location of parameter information realization to described mobile terminal of transmitting based on mobile terminal specially.Described receiving terminal can respond the Location Request of one or more mobile terminal.
After the parameter information that mobile terminal collects for locating, described parameter information can be sent to receiving terminal.Described parameter information can be sent to receiving terminal in real time, also can send in transmitting time specified in advance, also can send after a suitable delay again.
Such as, can gather parameter information respectively at multiple time points of setting, and the transmitting time point that parameter information repeatedly gathered for mobile terminal is preset at certain is sent, all immediately, send after can avoiding each acquisition parameter information like this, effectively can reduce system power dissipation.
And, after mobile terminal collects parameter information, if mobile terminal does not now possess the condition of interconnection network, namely the condition sending parameter information is not possessed, described parameter information can be stored, after the network environment of mobile terminal is recovered, stored parameter information is being sent, is namely realizing sending the time delay of parameter information.
Perform step S2, described receiving terminal positions described mobile terminal according to described parameter information.
Receiving terminal according to described mobile terminal the parameter informations such as access-in point information in a network environment realize to described mobile terminal localization process.Such as, if include the WIFI hot spot information of its periphery existence that described mobile terminal searches in described parameter information, then described receiving terminal can based on described WIFI hot spot information, adopts of the prior artly to realize localization process by WIFI hot spot information to the method that mobile terminal positions; If include its resident wireless base station id information, adjacent cell list information, adjacent cell signal strength information etc. that described mobile terminal searches in described parameter information, then described receiving terminal based on the relevant information of above-mentioned base station access point, can realize the localization process to described mobile terminal by the localization method of wireless base station.
The supplementary for locating such as the concrete access-in point information that receiving terminal can comprise based on described parameter information, adopts the localization process of corresponding location algorithm realization to described mobile terminal.
The localization method of the mobile terminal that technical solution of the present invention provides, described mobile terminal is by restrictions such as systematic function, hardware configuration and electromagnetic capacities, so only complete simple parameter information collecting work, realize then being realized by receiving terminal the localization process of described mobile terminal based on parameter information, effectively can reduce the hardware cost of described mobile terminal, reduce system power dissipation, and can realize operating the indoor positioning of described mobile terminal.
For enabling above-mentioned purpose of the present invention, feature and advantage more become apparent, and are described in detail specific embodiments of the invention below in conjunction with accompanying drawing.
Fig. 2 is the schematic flow sheet of the localization method of the mobile terminal that the embodiment of the present invention provides, and as shown in Figure 2, when mobile terminal needs to position, first perform step S201, mobile terminal initiates Location Request.
Described Location Request can be initiated by user, and also can be initiated by the application program of specifying in mobile terminal, also can preset the time of initiating Location Request, timing independently initiates Location Request by described mobile terminal.
Described mobile terminal can be triggered according to user's actual need, different application scenarioss etc. and initiate corresponding Location Request.
Such as, if for monitoring the position of described mobile terminal, then can select regularly independently do not initiating Location Request by described mobile terminal in the same time, to realize the demand of the position of mobile terminal being carried out to monitoring in real time.
Perform step S202, mobile terminal gathers parameter information.
Mobile terminal can search for the information of identification code and gps coordinate etc. of WIFI hot spot existing for its periphery, the id information of current resident wireless base station, adjacent cell list information, adjacent cell signal strength information, Bluetooth accessing point, above-mentioned information can be sent to receiving terminal, so that receiving terminal positions described mobile terminal.
In the process that mobile terminal gathers parameter information, without the need to being connected in the access point in searched network environment, only need the access-in point information searching periphery existence.
In the present embodiment, described mobile terminal is sent in the parameter information of receiving terminal the time point that can also comprise and gather above-mentioned parameter information, to make the positional information obtained by receiving terminal can be corresponding with the time point of acquisition parameter information.
In the present embodiment, described parameter information adopts the mode of note to be sent to described receiving terminal, so described parameter information can be converted into accordingly can by the text formatting of SMS message transmission, described receiving terminal can receive the note of this form, and processes it.
In other embodiments, described parameter information also can be converted into described mobile terminal and the pre-set communication format of receiving terminal, and the concrete transformat for described parameter information does not limit at this.
Perform step S203, described parameter information is sent to receiving terminal by short message mode by mobile terminal.
Described receiving terminal is the mobile terminal that can position process or server that preset.After mobile terminal collects described parameter information by step S202, can automatically by this parameter information by short message sending to described terminal, this process is intervened without the need to user.
Perform step S204, after mobile terminal sends described parameter information, the location related work of described mobile terminal enters sleep state.
In order to save the power consumption of described mobile terminal, after described parameter information is sent to described receiving terminal by described mobile terminal, receiving terminal can position process according to described parameter information to described mobile terminal, and now mobile terminal is without the need to carrying out information interaction again, also without the need to carrying out the related work such as calculating, process of the position data of being correlated with described receiving terminal or network side etc., now the location related work of mobile terminal can enter sleep state.
Perform step S205, receiving terminal determines whether locating information.
After receiving terminal receives note, need first to determine whether the locating information from described mobile terminal.Can determine based on the information interaction rule between the receiving terminal preset and described mobile terminal whether described short breath is locating information, such as, by resolving the mark whether form of the specified sign position in the message data of described reception note is pre-set locating information, determine that whether note that receiving terminal receives is for locating information with this.
If the judged result of step S205 is "No", then perform step S206, otherwise perform step S207.
Step S206, receiving terminal performs normal note handling process.
The note received due to described receiving terminal is not the locating information note of described mobile terminal, so receiving terminal is without the need to positioning process, carries out processing according to the note handling process of its routine.
Step S207, the note containing locating information resolved by receiving terminal, positions described mobile terminal according to resolving the rear data obtained.
After receiving the note containing the parameter information for locating of described mobile terminal, first described note is resolved, to reduce contained parameter information data in described note, receiving terminal adopts the localization method relevant with described parameter information to position process to described mobile terminal, to obtain the positional information of described mobile terminal.Described positional information can be specially the geographic coordinate information at described mobile terminal place.
Obtain the positional information of described mobile terminal at receiving terminal after, described positional information can be sent to described mobile terminal, also can judge according to the positional information of the demand of user to described mobile terminal, when not meeting when described positional information the locality condition preset, send a warning message to the terminal that described mobile terminal or other are specified, to point out, described mobile terminal is current to be in outside the region that pre-sets.
In the present embodiment, specifically with after the positional information obtaining described mobile terminal, described positional information is judged as that example is described.
Perform step S208, receiving terminal judges whether to meet locality condition.
Preset the locality condition of corresponding mobile terminal, in the present embodiment, described locality condition can be set as that described mobile terminal leaves certain region preset, when judge the position of described mobile terminal with exceed the described mobile terminal that presets can zone of action time, namely can determine that the positional information of described mobile terminal has met default locality condition, step S209 can be performed and provide warning information.
Namely perform step S209 when step S208 judged result is "Yes", otherwise perform step S210.
Step S209, receiving terminal sends a warning message to designated terminal or described mobile terminal.
The target that can warning information specified in advance to send, the care provider etc. that the user that described target can set described mobile terminal is correlated with, if the user of such as described mobile terminal is minor, then when its leave its monitoring people for its zone of action set after, described receiving terminal just can send a warning message to its care provider, to guarantee described pupillary security activity region.
Described warning information also can send to described mobile terminal, to remind the user of described mobile terminal that its moving position has left default zone of action etc.Concrete sending object can set accordingly according to actual conditions.Being specifically as follows of described warning information reminds described mobile terminal to leave default zone of action etc.
After step S209, perform step S210.Namely, after receiving terminal sends a warning message to designated terminal or described mobile terminal, also positional information concrete for described mobile terminal can be sent to described mobile terminal.
Step S210, described positional information is sent to described mobile terminal by the mode of note by receiving terminal.
When described mobile terminal needs to obtain its positional information, the positional information that it can obtain by described receiving terminal is sent to described mobile terminal by the mode of note.
In other embodiments, also according to actual user's user demand, if the user of described mobile terminal is without the need to knowing the positional information of himself, also described positional information can not be sent to described mobile terminal.Also described positional information can be sent to designated terminal, with the particular location situation helping described designated terminal to understand described mobile terminal.
Perform step S211, described mobile terminal receives note and processes accordingly it.
Described mobile terminal, after receiving note, needs to judge it equally.Can be resolved received note by pre-set communication, analysis protocol etc., to determine whether its note received is positional information or warning information.
It should be noted that, after described mobile terminal receives note, the relevant location related work of described mobile terminal can be switched to wake-up states from sleep state, resolves, the work such as judgement with note received by described mobile terminal.
In the present embodiment, the time that described mobile terminal receives note also can set in advance, can be set to timing receipt note, such as, be set to certain several concrete time point and receive note.The object done like this is the system power dissipation making to reduce further described mobile terminal, if such as described mobile terminal triggers Location Request at multiple time point, then described receiving terminal is corresponding can process the positional information obtaining the described Location Request of multiple correspondence, if receiving terminal is sent to described mobile terminal all in real time after obtaining positional information at every turn, mobile terminal obtains all in real time, then positional information more frequently time, also can strengthen the system power dissipation of described mobile system.The actual demand that described mobile terminal can obtain positional information according to it adopts the mode of timing receipt note, only receives the note containing positional information, to reduce the system power dissipation of described mobile terminal further at the time point preset.
The time point of the default timing receipt note of described mobile terminal can set accordingly according to the actual demand of user, when specifically setting, the temporal information of the parameter information that can gather in conjunction with described mobile terminal sets, and starts to receive note after the time period of such as, presetting after can being set in the time point of the parameter information of described collection.
In other embodiments, described mobile terminal also can adopt and periodically gathers parameter information and be sent in described receiving terminal by note by gathered parameter information, obtain the function of the positional information of described mobile terminal with property performance period, realize the continuous positioning function to described mobile terminal.
The localization method of the mobile terminal that the present embodiment provides, the hardware of described mobile terminal is without the need to supporting the hardware condition required for the localization process such as GPS, also without the need to carrying out complicated data processing work, only need acquisition parameter information, by its by short message sending to receiving terminal, receiving terminal is according to the positioning function of received information realization to described mobile terminal, and described mobile terminal hardware cost is lower.
Further, by adopting the transmission parameter information of note, even if make when described mobile terminal does not support the data services such as GPRS, also the positioning action to described mobile terminal can be realized, and after sending the note containing parameter information, the relevant positioning work of described mobile terminal can enter sleep state, and effectively can reduce system power dissipation by the method for timing receipt note after time delay, effectively increase the stand-by time of mobile terminal.
Described receiving terminal is after the positional information obtaining described mobile terminal, can according to the locality condition preset, to described mobile terminal or other designated terminal sends a warning message or positional information, make it possible to better carry out effective monitoring to the positional information of the user of described mobile terminal.
Can obtain the positional information of described mobile terminal in the different place such as outdoor, indoor, compared to localization methods such as GPS, localization method is simple, effectively, solve the problem that the localization methods such as GPS cannot position the mobile terminal of indoor.
The localization method of corresponding above-mentioned mobile terminal, the embodiment of the present invention also provides a kind of navigation system of mobile terminal.As shown in Figure 3, the navigation system of described mobile terminal comprises mobile terminal U11 and receiving terminal U12.
Described mobile terminal U11 comprises collecting unit U101.
Described collecting unit U101 is used for acquisition parameter information, described parameter information comprise described mobile terminal gps coordinate data and at least one in access-in point information in a network environment.The parameter information that described collecting unit collects is sent to receiving terminal by described mobile terminal.
Described receiving terminal U12 is used for positioning described mobile terminal according to described parameter information.
Described parameter information can be sent to described receiving terminal U12 by short message mode by described mobile terminal U11, and equally, the locating information of described mobile terminal is sent to described mobile terminal U11 by short message mode by described receiving terminal U12.
Described navigation system also comprises delay unit U13, carries out delays time to control for receiving described mobile terminal U11 from time of the locating information of described receiving terminal U12 or time of sending described parameter information.
Described navigation system also comprises designated terminal U14, for receiving the locating information that described receiving terminal U12 sends.
Described navigation system also comprises Alarm Unit U15, for when the locating information of described mobile terminal U11 does not meet the locality condition preset, sends a warning message to described mobile terminal U11, designated terminal U14.
Although the present invention discloses as above, the present invention is not defined in this.Any those skilled in the art, without departing from the spirit and scope of the present invention, all can make various changes or modifications, and therefore protection scope of the present invention should be as the criterion with claim limited range.