Realize the method for location based on travelling carriage
Technical field
The present invention relates to mobile positioning technique, particularly a kind of method that positions based on travelling carriage.
Background technology
Undertaken realizing that based on travelling carriage the method for location may further comprise the steps by the WAP mode at present:
The user inserts LCS CLIENT (location services clients machine) by the WAP mode, sends service request;
LCSCLIENT sends Location Request by the L1 interface to mobile positioning center (MPC), and starts timer T4;
LCSCLIENT returns request-reply by WAP;
Mobile positioning center sends authentication message to user/LCS CLIENT database, checks whether initiation located subscriber and LCSCLIENT are authorized to;
User/LCSCLIENT database returns authenticating result to mobile positioning center;
MS initiates Location Request StartPositioningProcessRequest to mobile positioning center, and termination timing device T4;
Mobile positioning center uses GEOPOSREQ message to send Location Request to position determining entity.Start timer T1;
Mobile positioning center sends location response StartPositioningProcessResponse to MS, activates MS and initiates the IS801 session;
Carry out the IS801 interacting message between position determining entity and the MS, carry out the calculating of MS position.Require position determining entity in the end to return real positioning result in an IS801 message;
Finish the location, and position determining entity uses geoposreq to send positioning result to mobile positioning center, mobile positioning center storage targeted customer current location information;
Mobile positioning center returns the MS positional information by the L1 interface and gives LCSCLIENT;
MS (travelling carriage) sends service request by WAP to LCSCLIENT;
LCSCLIENT returns information on services by WAP and gives MS, for MS provides service.
Yet in above-mentioned prior art, LCSCLIENT (location services clients machine) must send Location Request to mobile positioning center by the L1 interface, and mobile positioning center returns the MS positional information by the L1 interface and gives LCSCLIENT, flow process complexity simultaneously, the time delay expense is bigger, the complexity height.
Summary of the invention
Owing to must utilize the location services clients machine to send the L1 interface message in the existing WAP localization method to MPC, and the return messages of passing through mobile positioning center could obtain the geographical location information of terminal, the object of the present invention is to provide a kind of method that realizes the location based on travelling carriage, simplify flow process, reduce the time delay expense, and reduce and handle complexity.
To achieve these goals, the invention provides a kind of method, wherein, may further comprise the steps based on travelling carriage realization location:
Step 1, Mobile Origination are based on the Location Request of WAP, and the location services clients machine is received the request back to the terminal request positional information, and begin the position fixing process request message by Mobile Origination;
Step 2, travelling carriage and mobile positioning center are finished authentication and authentication alternately;
Step 3, the calculating of the mutual completing place of travelling carriage, position determining entity and mobile positioning center information and obtaining;
Step 4, travelling carriage sends to the location services clients machine by the WAP service request information with the geographical location information of travelling carriage;
Step 5, the location services clients machine provides the service of position-based information after obtaining location of mobile station information to travelling carriage.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described step 1 specifically may further comprise the steps:
Step 101, travelling carriage inserts the location services clients machine by the WAP mode, sends the WAP service request information;
Step 102, location services clients machine are returned WAP service response message;
Step 103, travelling carriage send positioning action to mobile positioning center and start request message.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described step 2 specifically may further comprise the steps:
Step 201, mobile positioning center sends authentication information to user/content supplier's database;
Step 202, database returns authenticating result to mobile positioning center.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described step 3 specifically may further comprise the steps:
Step 301, after authentication was passed through, mobile positioning center used the geographical position request message to send Location Request to position determining entity;
Step 302, position determining entity send the affirmation message of geographical position request to mobile positioning center;
Step 303, mobile positioning center send positioning action to travelling carriage and start response message;
Step 304 is carried out the IS801 data interaction between position determining entity and the travelling carriage, carry out the calculating of location of mobile station, and position determining entity in the end returns real positioning result in an IS801 message;
Step 305, after position fixing process was finished, position determining entity used the return messages of geographical position request to send positioning result to mobile positioning center, mobile positioning center storage targeted customer current location information.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described positioning action starts request message and comprises following parameter: MS ID, mobile position estimation ability and the cell/sector information of the URL of content supplier, application indication, travelling carriage.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described positioning action starts IP address and the port numbers that comprises position determining entity in the response message.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, described positioning action starts response message and is used for indicating the location to carry out, and points out to use location technology type and indication whether to have the position to be returned to this request.
Above-mentioned realizes the method for location based on travelling carriage, wherein wrong if described positioning action starts in the response message, then stops execution in step 304, step 305 and step 4 and step 5, and position fixing process finishes.
Above-mentioned realizes the method for location based on travelling carriage, and wherein, when described location technology type was the gpsOne location, described positioning action started IP address and port numbers or the uniform resource locator address that response message provides position determining entity.
The method that realizes the location based on travelling carriage of the present invention, the WAP service request information that the location services clients machine sends by travelling carriage is obtained the geographical location information of travelling carriage, saved L1 interface message of the prior art, simplified flow process like this, reduce the time delay expense, and reduced the processing complexity.
Description of drawings
Fig. 1 is a schematic flow sheet of realizing the method for location based on travelling carriage of the present invention.
Embodiment
The method that realizes the location based on travelling carriage of the present invention is obtained longitude and latitude by terminal when realizing the WAP location, its processing procedure comprises the steps:
At first terminal is initiated the Location Request based on WAP, and the location services clients machine receives that the request back is to the terminal request positional information;
Terminal is finished relevant authentication and verification process alternately with mobile positioning center (MPC);
The calculating of the mutual completing place of terminal and mobile positioning center information and obtaining;
Travelling carriage sends to the location services clients machine by the WAP service request information with the geographical location information of travelling carriage;
LCS CLIENT provides the service of position-based information after obtaining location information of terminals to terminal.
In original standard, the location services clients machine need send the L1 interface message to MPC, and the return messages by MPC, obtains the longitude and latitude of terminal.But among the present invention in fact latitude and longitude information can realize by the step of other simplification, saved L1 interface message of the prior art, simplified flow process like this, reduced the time delay expense, and reduced the processing complexity.
Concrete implementation procedure is as shown in Figure 1 following, may further comprise the steps:
Step S101, travelling carriage inserts content supplier (CP) by the WAP mode, sends the WAP service request information;
Step S102, the location services clients machine returns WAP service response message by WAP, and concrete message content is referring to the CDMA 1X of China United Telecommunication Corporation Co., Ltd. mobile station equipment standard;
Step S103, travelling carriage sends positioning action to mobile positioning center and starts request message, be StartPositioningProcessRequest, this message comprises following parameter: the uniform resource locator of content supplier (URL), the MS ID that uses indication, travelling carriage, mobile position estimation ability, and cell/sector information, cell/sector information make mobile positioning center can select location based on cell/sector;
Step S104, mobile positioning center sends authentication information to user/CP database, check whether the travelling carriage and the location services clients machine of initiating the location are authorized to, and wherein user/CP CLIENT database is the part of mobile positioning center, and this processing process is undertaken by internal interface;
Step S105, user/CP database returns authenticating result to mobile positioning center, and authenticating result shows whether location services clients machine and travelling carriage are the contracted user;
Step S106, after authentication was passed through, mobile positioning center used the geographical position request message, and promptly GEOPOSREQ ' message sends Location Request to position determining entity, and starts timer T
1
The form of GEOPOSREQ ' message is as follows:
Parameter |
Usage |
Type |
MPC?ID |
MPC?ID |
|
PDE?ID |
PDE?ID |
|
SESSIONID |
Session?ID |
|
PMODE |
Positioning?method |
|
IMSI |
IMSI?of?target?MS |
M |
SID |
SID |
R |
NID |
NID |
R |
BASE?ID |
BS?ID |
R |
BASE_LAT |
BS?Latitude |
R |
BASE_LONG |
BS?Longitude |
R |
Time?Stamp |
Time?Stamp |
R |
PN |
Pseudo?Noise |
R |
BAND_CLASS |
Band?Class |
R |
CDMA_FREQ |
CDMA?Frequency |
R |
ACCDUR |
PDE?Access?Duration |
R |
APP_TYPE |
Application?Type?Indicator |
R |
Step S107, position determining entity sends the affirmation message of geographical position request to mobile positioning center, promptly in the middle of geoposreq ' message, confirm that it has been ready to accept MO IS-801 message from travelling carriage;
Wherein, the affirmation message format of geographical position request is as follows:
Parameter |
Usage |
Type |
MPC?ID |
MPC?ID |
M |
PDE?ID |
PDE?ID |
M |
UNSOLIC |
Solicited/Unsolicited?Indicator |
|
SESSIONID |
Session?ID |
|
IMSI |
IMSI?of?target?MS |
M |
POSRESULT |
Positioning?Result(Acknowledgement) |
M |
Step S108, mobile positioning center sends positioning action to travelling carriage and starts response message, and promptly StartPositioninaProcessResponse is used for activating moving platform and initiates the IS801 session, in this process, MPC must inform travelling carriage with the IP address of PDE, port numbers etc.
Above-mentioned StartPositioningProcessResponse message is used for indication:
This location will be carried out, message will point out which kind of location technology this request is used, if whether adopt the gpsOne location then IP address and port numbers or its url address of PDE also is provided and indicates has the position to be returned in this response, why necessary this indication is, be because for the position of use buffer memory or the flow process of locating based on cell/sector, this message need be returned a position.
In addition, StartPositioningProcessResponse message can also be used for indication: this request is not by authentication, i.e. user or LCS Client failed authentication; Or
Mobile positioning center has been refused this Location Request, has exceeded threshold value as session number.
If any mistake (agreement, coding etc.) is arranged in the StartPositioningProcessResponse message in addition, travelling carriage will think that also position fixing process finishes;
Step S109 carries out the IS801 interacting message between position determining entity and the travelling carriage, carry out the calculating of MS position, and position determining entity in the end returns real positioning result in an IS801 message.
Step S110, after position fixing process was finished, position determining entity used the return messages of geographical position request, and promptly geoposreq ' sends positioning result to mobile positioning center, mobile positioning center storage targeted customer current location information, termination timing device T
1
Wherein, the return messages form of geographical position request is as follows:
Parameter |
Usage |
Type |
MPC?ID |
MPC?ID |
M |
PDE?ID |
PDE?ID |
M |
UNSOLIC |
Solicited/Unsolicited?Indicator |
M |
SESSIONID |
Session?ID |
M |
IMSI |
IMSI?of?target?MS |
M |
POSRESULT |
Positioning?Result(Success?or?Not?) |
M |
POSOUR |
Position?Source |
R |
POSINFO |
Position?Information |
R |
SESSTYPE |
IS-801?Session?Type |
O |
Step S111, travelling carriage send service request by WAP to the location services clients machine once more, comprise the geographical location information of travelling carriage in the request;
Step S112, the location services clients machine returns the information on services response message by WAP and gives travelling carriage, for travelling carriage provides service.
System based on mobile position estimation of the present invention comprises following functional module:
Positioning action module, responsible cooperation are finished obtaining and calculating of terminal longitude and latitude;
The localization process module is responsible for finishing relevant localization process call flow; And
The authentication module be responsible for the legitimacy of terminal use and SP is authenticated, and the privacy relevant with customer location is handled.
The common cooperating of above-mentioned functional module is finished based on the located in connection of Mobile Location Techniques and is handled.Compare with original navigation system platform, new locating platform is also supported simultaneously based on the technology of mobile position estimation and relevant application except the repertoire of supporting original system.For this reason, in the new locating platform, the positioning action module need be supported new localization process, comprise and terminal and localization process module between information interaction.The localization process module need support new localization process flow process to support the realization based on the location technology of travelling carriage, comprise with the interface of terminal and with the interface of positioning action module.The improvement of the optimization of also some handling processes of original platform being carried out with stylish locating platform.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.