CN100492944C - Time synchronization in positioning system - Google Patents
Time synchronization in positioning system Download PDFInfo
- Publication number
- CN100492944C CN100492944C CNB2004100498155A CN200410049815A CN100492944C CN 100492944 C CN100492944 C CN 100492944C CN B2004100498155 A CNB2004100498155 A CN B2004100498155A CN 200410049815 A CN200410049815 A CN 200410049815A CN 100492944 C CN100492944 C CN 100492944C
- Authority
- CN
- China
- Prior art keywords
- location
- server end
- response message
- time
- services client
- 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.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A method for carrying out time synchronization in positioning system includes imbedding system time of positioning server end in message returning back to positioning service client end at positioning server end, reading out system time of positioning server end from the message after message is received by positioning server client end and changing system time of positioning service client end in accordance with system time of positioning server end.
Description
Technical field
The present invention relates to navigation system, be meant a kind of method of in navigation system, carrying out time synchronized especially.
Background technology
Along with popularizing of mobile communication, the importance of Location based service highlights gradually.Location based service, claim location service again, be meant that mobile communication system obtains the positional information of travelling carriage by specific location technology, at Electronic Map Information System (Global Information System, GIS) and under the support of location-based content information system, offer mobile subscriber, communication system or third party, finish the calling class relevant, data class and administrative class business with the position.The system that is used to provide the position class business is exactly a navigation system.
In navigation system, some location services client can send Location Request to the location-server end, the location-server end is according to the Location Request of being received, the particular location of enquiry mobile terminal, and to the response message or the position message message of location services client restoring to normal position request.
Location services client can be periodic Location Request in the Location Request that the location-server end is sent out, promptly require the location-server end at the appointed time to put after, beam back the positional information of institute's localizing objects at set intervals.In such Location Request, just require the time synchronized of location services client and location-server end.If the asynchronism(-nization) of location services client and the location-server end step, the positional information that then can cause location services client to receive is not the positional information of specified time, but certain wrong time point positional information.
In addition, if the Location Request that sent to the location-server end of location services client is the special time Location Request, under the situation in asynchronism(-nization) step of location services client and location-server end, also some error situations can appear.For example location services client is when the location-server end sends Location Request, the time of location services client is 10:00, the time of location-server end is 10:20, require the location-server end to return the positional information of target at 10:10 in the Location Request that location services client is sent, when then sending out Location Request owing to location services client, the location-server end has arrived 10:20, can not return the positional information of target at 10:10, that Location Request that will cause location services client to be sent out like this is invalid.If a plurality of clients send invalid Location Request simultaneously or certain client sends invalid Location Request repeatedly, the locating request message that can cause the network between location services client and the location-server end to be disabled is congested, thereby influences service quality.Therefore, the problem in asynchronism(-nization) step is badly in need of solving.
In present positioning service, settling time, the simple and easy method of asynchronous problem was the time system that periodic manual is adjusted location services client and location-server end, made it basic identical.For example particular moment is weekly adjusted the time system of location services client and location-server end respectively according to the national standard time.
Periodic manual is adjusted the time synchronized that time system can not accurately guarantee location services client and location-server end.The situation of getting over country variant for location services client and location-server end span is difficult to adjust especially.In addition, reaction speed is also very slow.
The method of another kind of time synchronized is for to realize by GPS.This method is all installed a gps time synchronizer separately in each location services client and location-server end, directly obtain unified time from gps satellite, make location services client and location-server end all synchronous, thereby reach the purpose of location services client and location-server end time synchronized with gps time.
This method requires in each location services client and location-server end the GPS synchronizer to be installed all, the expense costliness.
Also having a kind of method is that location-server end and location services client adopt NTP (Network Time Protocol) (Network Time Protocol NTP) realizes time synchronized.Network Time Protocol develops from time protocol (TimeProtocol) and ICMP timestamp message (ICMP Timestamp Message), mainly is to have carried out special design from accuracy and robustness aspect.Network Time Protocol belongs to application layer protocol, be used between distributed time server and location services client, carrying out time synchronized, its realize based on Internet protocol (Internet Protocol, IP) and User Datagram Protocol (User DatagramProtocol, UDP).
When realizing location services client and location-server end synchronous by Network Time Protocol, location services client is from one or more location-server end acquisition time information, and udp protocol is all used in the transmission of all temporal informations.Comprise the transmission of incident last time and time of reception, the transmission local time of incident and the time of reception of this bag now in each temporal information bag that location services client is obtained from the location-server end.Location services client can calculate the departure of time and the time delay of the data of transmission according to certain algorithm after receiving above-mentioned bag.If only obtain temporal information from a time server, can not proofread and correct the time deviation that communication process causes, and when simultaneously communicating by letter the school with many time servers, just can utilize filter algorithm to find out relatively reliably the time and originate, the time of adopting it then is during the school.
Because use the udp protocol information of carrying out to transmit, and will utilize the filtration algorithm, so its technical difficulty height, realize difficulty.
Summary of the invention
In view of this, main purpose of the present invention is to provide that cost in a kind of navigation system is low, the method for synchronizing time of easy realization.
In order to achieve the above object, the invention provides a kind of method of carrying out time synchronized in navigation system, navigation system comprises location-server end and location services client at least, and this method may further comprise the steps:
After A, location-server termination are received the request message of location services client transmission, in response message, embed the system time of location-server end, then to location services client echo reply message;
After B, location services client received response message from the location-server end, the system time of adjusting location services client according to the system time of the location-server end in this response message was consistent with the system time of server end.
Request message in the steps A can be login request message, and then the response message among steps A and the B is the logging request response message.
Request message in the steps A also can be locating request message, and then the response message among steps A and the B is the Location Request response message.
If in the Location Request response message, embed the location-server end system time, in response message, may further include following steps in the steps A before the system time of embedding location-server end:
A1, location-server end judge whether the locating request message of the location-server end of receiving is invalid Location Request, if invalid Location Request, execution in step A2; Otherwise carry out the step that in response message, embeds the system time of location-server end;
The locating request message that A2, location-server end generate the transmission of expression location services client is the response message of invalid locating request message, in this response message, embed the system time of location-server end, and send this response message to the location service customer end, carry out described step B then.
By such scheme as can be seen, the present invention is by giving the system time that embeds location-server in the response message that service customer end returns of location at the location-server end, after location services client is accepted this response message, system time according to the change of the system time in this response message oneself, just can realize the time synchronized of location services client and location-server end, therefore reduce cost, realized easily.In addition, synchronization mechanism effect used in the present invention is very big, and the locating request message that the time synchronized of location services client and location-server has avoided the network between location services client and the location-server to be disabled is congested.
Description of drawings
Fig. 1 is the flow chart according to the first embodiment of the present invention;
Fig. 2 is a flow chart according to a second embodiment of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
Method for synchronizing time in the navigation system that the present invention proposes a kind of low cost, is easy to realize, this method is for embedding the system time of location-server end in the response message that location services client is returned at the location-server end, after location services client receives and comprises the response message of location-server end system time, therefrom read the system time of location-server end, and the system time of change oneself, make it consistent with the system time of location-server end.It can be the logging request response message that the location-server end is given the location response message that service customer end returns, and also can be the Location Request response message.In the mode of specific embodiment implementation method of the present invention is described respectively below.
First embodiment of the invention is the system time that embeds the location-server end in the logging request response message, and location services client is according to the method for synchronizing time of the system time of the change of the time in the login response message that receives oneself.Realization flow figure as shown in Figure 1, concrete steps are as follows:
After step 102, location-server termination are received the login request message of location services client, the system time of location-server end is embedded in the logging request response message that location services client is returned, and send the logging request response message to the location service customer end, finish login;
After executing above-mentioned steps, promptly finished the time synchronized of location-server end and location services client, can continue to carry out other steps in the positioning flow later on.
Present embodiment is by the simple modification in step 102, step 103 pair original bit stream journey, reached the location services client purpose consistent with the location-server end time, thereby guaranteed that location services client can not send invalid Location Request to the location server end, has reduced resource waste.
Second embodiment of the invention is for giving the system time that embeds the location-server end in the Location Request response message that service customer end returns of location at the location-server end, location services client is according to the method for synchronizing time of the system time of the change of the time in the Location Request response message that receives oneself.Realization flow figure as shown in Figure 2, concrete steps are as follows:
After step 202, location-server end are received the login request message of location services client, return the login response message and give the location service customer end;
After step 204, location-server termination are received locating request message, by judging that time in the locating request message is whether at server system after the time, judge whether this message is invalid locating request message, if the time in the locating request message then is not invalid locating request message after system time, execution in step 205; Otherwise execution in step 206;
After step 207, location services client received return messages, the system time of change location services client made it consistent with the system time of location-server end in the received return messages, and the deadline is synchronous.
In the second embodiment of the present invention because Location Request sent before time synchronized, so need to judge the validity of Location Request, if invalid then system time synchronously after, resend Location Request, and other steps in the execution positioning flow.
In concrete implementation process, can carry out suitable improvement, to adapt to the concrete needs of concrete condition to the method according to this invention.Therefore be appreciated that according to the specific embodiment of the present invention just to play an exemplary role, not in order to restriction protection scope of the present invention.
Claims (4)
1, a kind of method of in navigation system, carrying out time synchronized, described navigation system comprises location-server end and location services client at least, it is characterized in that this method may further comprise the steps:
After A, location-server termination are received the request message of location services client transmission, in response message, embed the system time of location-server end, return described response message to location services client then;
After B, location services client receive described response message, be adjusted into the system time of location services client consistent with the system time of server end according to the system time of the location-server end in this response message.
2, the method for claim 1 is characterized in that: described request message is login request message, and described response message is the logging request response message.
3, the method for claim 1 is characterized in that: described request message is locating request message, and described response message is the Location Request response message.
4, method as claimed in claim 3 is characterized in that further may further comprise the steps before the system time of embedding location-server end in response message in the described steps A:
A1, location-server end judge whether the locating request message of receiving from the positioning service server end is invalid Location Request, if, execution in step A2; Otherwise carry out the described step that in response message, embeds the system time of location-server end;
The locating request message that A2, location-server end generate the transmission of expression location services client is the response message of invalid locating request message, in this response message, embed the system time of location-server end, and send this response message to the location service customer end, carry out described step B then.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100498155A CN100492944C (en) | 2004-06-24 | 2004-06-24 | Time synchronization in positioning system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100498155A CN100492944C (en) | 2004-06-24 | 2004-06-24 | Time synchronization in positioning system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1712983A CN1712983A (en) | 2005-12-28 |
CN100492944C true CN100492944C (en) | 2009-05-27 |
Family
ID=35718680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100498155A Active CN100492944C (en) | 2004-06-24 | 2004-06-24 | Time synchronization in positioning system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100492944C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137130A (en) * | 2010-01-22 | 2011-07-27 | 华为技术有限公司 | Synchronized method and device based on hypertext transport protocol (HTTP) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166128A (en) * | 2006-10-16 | 2008-04-23 | 琥珀技术有限公司 | A method for providing third-party service and corresponding system |
CN101247168B (en) * | 2007-02-15 | 2012-04-25 | 华为技术有限公司 | Time synchronization method and system |
CN101436898B (en) * | 2007-11-14 | 2013-03-13 | 华为技术有限公司 | Method, system and apparatus for time synchronization in TDM system |
CN101489122B (en) * | 2008-01-15 | 2011-04-13 | 华为技术有限公司 | Method, apparatus and system for implementing transmission stream time mapping |
CN101587360B (en) * | 2008-05-22 | 2011-04-06 | 闪联信息技术工程中心有限公司 | Method and system for time synchronization during production of embedded device |
CN101656606A (en) * | 2008-08-20 | 2010-02-24 | 华为技术有限公司 | Time synchronization method, time synchronization device and time synchronization system |
CN101374155B (en) * | 2008-09-11 | 2011-10-05 | 广州杰赛科技股份有限公司 | Method for locating client node in wireless netted network and wireless netted network system |
CN101694569A (en) * | 2009-10-21 | 2010-04-14 | 中兴通讯股份有限公司 | Method and device for realizing time synchronization |
US9547068B2 (en) * | 2013-11-07 | 2017-01-17 | Qualcomm Incorporated | Methods, systems and devices for providing location based services in a venue |
CN107071586B (en) * | 2017-04-06 | 2020-04-24 | 深圳Tcl新技术有限公司 | System time setting method and device of television terminal |
EP3764585A4 (en) | 2018-04-04 | 2021-03-17 | Huawei Technologies Co., Ltd. | Communication method and apparatus |
-
2004
- 2004-06-24 CN CNB2004100498155A patent/CN100492944C/en active Active
Non-Patent Citations (2)
Title |
---|
蜂窝移动电话定位系统的时间同步. 李廷军,金慧琴,徐科文.通信技术,第7期. 2001 |
蜂窝移动电话定位系统的时间同步. 李廷军,金慧琴,徐科文.通信技术,第7期. 2001 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102137130A (en) * | 2010-01-22 | 2011-07-27 | 华为技术有限公司 | Synchronized method and device based on hypertext transport protocol (HTTP) |
US8990429B2 (en) | 2010-01-22 | 2015-03-24 | Huawei Technologies Co., Ltd. | HTTP-based synchronization method and apparatus |
US9313015B2 (en) | 2010-01-22 | 2016-04-12 | Huawei Technologies Co., Ltd. | HTTP-based synchronization method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN1712983A (en) | 2005-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100492944C (en) | Time synchronization in positioning system | |
US7961717B2 (en) | System and methods for IP and VoIP device location determination | |
CN1252490C (en) | Satellite positioning reference system and method | |
US7236126B2 (en) | AGPS system using NTP server and method for determining the location of a terminal using a NTP server | |
US9020542B2 (en) | Systems and methods for user-initiated location-based services through messaging | |
US20080208444A1 (en) | Methods for obtaining a navigation track between a first and a second location based on location information shared between peer devices and related devices and computer program products | |
US20070142059A1 (en) | User plane location architecture with mobile server for location based services | |
WO2008006062A1 (en) | Method for disseminating geolocation information for network infrastructure devices | |
US20050227705A1 (en) | Data communication method, telecommunication system and mobile device | |
CN1703627A (en) | Method, system and device to determine assistance information of a satellite positioning system | |
US8059665B2 (en) | Systems and methods for providing location information | |
CN110913038B (en) | IP address determination method, device, server and computer readable storage medium | |
JP5093649B2 (en) | Terminal authentication system, terminal authentication method, program, and recording medium | |
EP3422674A1 (en) | A method of resolving a domain name by a dns server to a plurality of ip addresses based on location information of the user equipment | |
CN113079191B (en) | Positioning method, device, system and storage medium | |
JP2008293399A (en) | Terminal authentication system, terminal authentication method, program and recording medium | |
EP2446648B1 (en) | Route calculations in ip multimedia subsystem | |
KR100587717B1 (en) | Service system of location information used short message and method thereof | |
CN102547557B (en) | The bearing calibration of call center, vehicle position information and corrective system | |
CN111585773A (en) | Method, memory and system for broadcasting text data | |
JP5356021B6 (en) | System and method for determining the location of IP and VOIP devices | |
EP2090136B1 (en) | Method for the geographic location of a terminal connected to a telecommunication network | |
FR3105695A1 (en) | Device and Method for Minimizing Latency in a V2X Communication Network | |
Liu et al. | The Evaluation of the Accuracy and measurement of Latency of Internet-Based DGPS and RTK-GPS Positioning | |
KR20200079066A (en) | Time synchronization management system and method for using NTP server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |