CN100351644C - Time generating method for single board precise global positioning system - Google Patents

Time generating method for single board precise global positioning system Download PDF

Info

Publication number
CN100351644C
CN100351644C CNB031153259A CN03115325A CN100351644C CN 100351644 C CN100351644 C CN 100351644C CN B031153259 A CNB031153259 A CN B031153259A CN 03115325 A CN03115325 A CN 03115325A CN 100351644 C CN100351644 C CN 100351644C
Authority
CN
China
Prior art keywords
clock signal
gps
pulse
memory
time
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.)
Expired - Fee Related
Application number
CNB031153259A
Other languages
Chinese (zh)
Other versions
CN1521516A (en
Inventor
张海龙
谭国平
续斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB031153259A priority Critical patent/CN100351644C/en
Publication of CN1521516A publication Critical patent/CN1521516A/en
Application granted granted Critical
Publication of CN100351644C publication Critical patent/CN100351644C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for obtaining GPS time on a single board in a code division multiple access system. The present invention comprises the steps that a GPS clock signal obtained by the single board only has a clock signal having a pulse every N seconds (PPNS) and the current time, wherein N is any number of natural numbers smaller than 10, PPNS is sent once at the boundary of every N seconds, a current time message is sent closely behind the PPNS clock signal, the parameter of the message is the GPS time corresponding to the last PPNS clock signal, and the unit of the time is M millisecond; when application layer software receives the current time message, the value of a first memory is set to the sum of the parameter of the current message and N*1000/M; when the next PPNS clock signal is interrupted, the operation that a second memory is equal to the first memory is carried out; in N seconds, M millisecond signals which are synchronous with the GPS clock and are produced by hardware are counted; the GPS time of the current single board is determined according to the sum of the value stored in the second memory and the count value in the counter when N seconds are over.

Description

The production method of accurate GPS time of veneer
Technical field
The present invention relates on veneer, obtain in CDMA (hereinafter to be referred as the CDMA) system a kind of method of accurate GPS (hereinafter to be referred as GPS) time, particularly relate to a kind of method that on veneer, obtains accurate gps time in the cdma system that is accurate to Millisecond.
Background technology
The application layer software of some veneers in the cdma system need be inquired about accurate gps time, application layer software such as vocoder/selector switch (hereinafter to be referred as SVM) veneer requires to have the frame number synchronous with gps time in the forward direction voice packet that sends, markov needs to produce with the synchronous markov packet of gps time in calling out, and this requires application layer software can inquire about current accurate gps time at any time.Therefore, on the SVM veneer, must provide a kind of method to be used to obtain accurate gps time.In cdma system, the gps clock signal that obtains on a lot of veneers be per two seconds a pulse (hereinafter to be referred as PP2S) interrupt, promptly idol second is interrupted, the Current GPS time of obtaining on the veneer can only be accurate to a second level.And application layer software requires must require to be accurate to Millisecond to gps time on this veneer, only relies on an idol second signal obviously can not reach this requirement.
Summary of the invention
Can not be accurate to the problem of Millisecond at prior art from the Current GPS time that veneer obtains, the present invention proposes the veneer production method of accurate GPS time.
A kind of accurate GPS time method that obtains on veneer in code division multiple access system provided by the invention comprises the steps:
(1) make the gps clock signal that obtains on the veneer have only (the being designated hereinafter simply as PPNS) clock signal and the current time of every pulse N second, N is natural any one number less than 10, described every pulse N second is accurate timing pip, send once on every N border second, be not with parameter, current time message is immediately following sending after the clock signal of described every pulse N second, and its parameter is the gps time of the clock signal correspondence of last every pulse N second, and chronomere is the M millisecond;
(2) receive that at application layer software the current time makes during message the value of first memory be set to the parameter and the N * 1000 ÷ M sums of current time message, the number of pairing M millisecond was interrupted in the value representative of set first memory at 0 o'clock in 0 minute 0 second on January 1st, 1980 to the clock signal of a pulse every N of next one second from the gps time true origin;
(3) when the clock signal of a pulse every N of next one second is interrupted, carry out the operation of second memory=first memory;
(4) select a counter for use, when the clock signal of a pulse every N second is interrupted,, in second the M millisecond signal that is synchronized with gps clock that is produced by hardware is counted at described N to counter O reset;
(5) gps time that is defined as current single board according to the value of storing in the second memory when described N finishes second and the count value sum in the counter.
And when N is 2 and M when being 1.25, the gps time that is obtained can be accurate to 1.25 milliseconds.
In addition, described veneer can be vocoder/selector module; Described method can be used for reading gps time in the markov call testing.
Adopt the accurate GPS time of above-mentioned veneer proposed by the invention to produce the concrete many advantages of way.For example, can obtain current accurate gps time, but degree of accuracy M millisecond, and when M was 1.25 milliseconds, the gps time that is obtained can be accurate to 1.25 milliseconds; Application layer software just can be inquired about the current GPS time at any time through set register sum counter among visit the present invention, and is very convenient; In cdma system, obtain accurate gps clock and have considerable meaning, there is not accurate gps clock signal, cdma system just can not normal operation.So the present invention not only provides necessary demand to SVM veneer application layer software, and the overall operation of cdma system is all had very important significance.
Description of drawings
From below in conjunction with the explanation of accompanying drawing to embodiment, advantage of the present invention and purpose will become clear more and be more readily understood.
Fig. 1 represents the process flow diagram of an embodiment of the inventive method.
Embodiment
According to the present invention, in code division multiple access system, on veneer, obtain to have adopted the PPNS clock signal and current time (hereinafter to be referred as the TOD) message that make the gps clock signal that obtains on the veneer have only every pulse N second in the accurate GPS time method.N is natural any one number less than 10, and PPNS is accurate timing pip, sends once on every N border second, is not with parameter.Current time message is immediately following sending after the clock signal of PPNS, and its parameter is the gps time of a last PPNS clock signal correspondence, if chronomere is the M millisecond, is N * 1000 ÷ M then and in the number of N corresponding M millisecond in second.Therefore, method of the present invention comprises the steps:
(1) make the gps clock signal that obtains on the veneer have only the clock signal and the current time of every pulse N second, N is natural any one number less than 10, send once on every N border second, be not with parameter, current time message is immediately following sending after the clock signal of described every pulse N second, its parameter is the gps time of last every N pulse second (PPNS) clock signal correspondence, chronomere is the M millisecond, and promptly the parametric representation of current time message is from the gps time true origin number of 0: 0: 0 on the 1st January in 1980 to pairing M millisecond of current time;
(2) receive that at application layer software the current time makes during message the value of first memory be set to the parameter and the N * 1000 ÷ M sums of current time message, the number of pairing M millisecond was interrupted in representative at 0 o'clock in 0 minute 0 second on January 1st, 1980 to the clock signal of a pulse every N of next one second from the gps time true origin;
(3) when the clock signal of a pulse every N of next one second is interrupted, carry out the operation of second memory=first memory;
(4) select a counter for use, when the clock signal of a pulse every N second is interrupted,, in second the M millisecond signal that is synchronized with gps clock that is produced by hardware is counted at described N to counter O reset;
(5) gps time that is defined as current single board according to the value of storing in the second memory when described N finishes second and the count value sum in the counter.
When being 2 seconds below in conjunction with 1 couple of N of the present invention of accompanying drawing and the embodiment of M when being 1.25 milliseconds be elaborated.When N is 2 seconds and M when being 1.25 milliseconds, promptly, when the gps clock signal that obtains on the veneer has only per two seconds pulse (hereinafter to be referred as PP2S) clock signal and TOD message, PP2S is accurate timing pip, each idol second border sends a PP2S, be not with parameter, TOD message is immediately following sending behind PP2S, its parameter is the gps time of a last PP2S signal correspondence, unit is 1.25 milliseconds, in other words the parametric representation of current time message from gps time true origin 0: 0: 0 on the 1st January in 1980 to pairing 1.25 milliseconds number of current time.1.25 milliseconds number corresponding in 2 seconds is 2 * 1000 ÷ 1.25=1600.In the case, the gps time that is obtained can be accurate to 1.25 milliseconds.Specifically, in the case, of the present inventionly in code division multiple access system, on veneer, obtain accurate GPS time method, comprise the steps:
(1) make the gps clock signal that obtains on the veneer have only the clock signal and the current time message of a pulse in per 2 seconds, pulse in per 2 seconds is accurate timing pip, send once on each idol second border, be not with parameter, current time message is immediately following sending after the clock signal of a pulse in per 2 seconds, its parameter is the gps time of the clock signal correspondence of a last pulse in per 2 seconds, and unit is 1.25 milliseconds;
(2) select two storeies for use, the first memory note is A, and the second memory note is B, is used for writing down the gps time of PP2S signal correspondence; Receive that at application layer software the current time makes during message the value of first memory A be set to parameter and 1600 (2 * 1000 ÷ 1.25) sum of current time message, representative was interrupted pairing 1.25 milliseconds number to the clock signal of a next one pulse in per 2 seconds 0: 0: 0 on the 1st January in 1980 from the gps time true origin;
(3) when the clock signal of a next one pulse in per 2 seconds is interrupted, carry out the operation of second memory B=first memory A;
(4) select a counter for use, when the clock signal of a pulse in per 2 seconds is interrupted,, in described 2 seconds, the 1.25 milliseconds of signals that are synchronized with gps clock that produced by hardware are counted counter O reset;
(5) determine the gps time of current single board according to the count value sum in value of storing in the second memory and the counter.The present invention has obtained successful application in the markov call testing.In the markov call testing, at first require transmitting terminal and receiving end can carry out clock synchronization, and before the initialization of the moment of clock synchronization reverse pseudo-random sequence generator.Be example with the forward direction pseudo-random sequence generator below, the concrete application of the present invention in the markov call testing is described.
The markov detailed process sees also that application number is 01126455.1, name is called the patent document of " markov is called out the method that pseudo-random sequence produces ".In markov is called out, base station controller is Electronic Serial Number (Electronic SerialNumber) ESN that sends of storing mobile station (Mobile Starion) MS at first, read the current GPS time every 20 milliseconds then, this time is changed the back according to certain algorithm to be compared with the ESN that stores, satisfy certain condition and think that then the forward direction pseudo-random sequence generator of transfer table and base station side is upward synchronous, utilize this time just can constantly produce required synchronous markov pseudo-random sequence then, and produce the markov packet, thereby carry out the monitoring of effective forward service link quality.Read gps time here and just used the method that the present invention proposes.

Claims (4)

1, a kind ofly in code division multiple access system, on veneer, obtains accurate GPS time method, comprise the steps:
(1) make the gps clock signal that obtains on the veneer have only the clock signal and the current time of every pulse N second, N is natural any one number less than 10, described every pulse N second is accurate timing pip, send once on every N border second, be not with parameter, current time message is immediately following sending after the clock signal of described every pulse N second, and its parameter is the gps time of the clock signal correspondence of last every pulse N second, and chronomere is the M millisecond;
(2) receive that at application layer software the current time makes during message the value of first memory be set to the parameter and the N * 1000 ÷ M sums of current time message, the number of pairing M millisecond was interrupted in the value representative of set first memory at 0 o'clock in 0 minute 0 second on January 1st, 1980 to the clock signal of a pulse every N of next one second from the gps time true origin;
(3) when the clock signal of a pulse every N of next one second is interrupted, carry out the operation of second memory=first memory;
(4) select a counter for use, when the clock signal of a pulse every N second is interrupted,, in second the M millisecond signal that is synchronized with gps clock that is produced by hardware is counted at described N to counter O reset;
(5) gps time of determining current single board according to the value of storing in the second memory when described N finishes second and the count value sum in the counter.
2, the method for claim 1 is characterized in that, described N is 2, and described M is 1.25.
3, the method for claim 1 is characterized in that described veneer is vocoder/selector module.
4, the method for claim 1 is characterized in that described method is used for the markov call testing and reads gps time.
CNB031153259A 2003-01-30 2003-01-30 Time generating method for single board precise global positioning system Expired - Fee Related CN100351644C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031153259A CN100351644C (en) 2003-01-30 2003-01-30 Time generating method for single board precise global positioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031153259A CN100351644C (en) 2003-01-30 2003-01-30 Time generating method for single board precise global positioning system

Publications (2)

Publication Number Publication Date
CN1521516A CN1521516A (en) 2004-08-18
CN100351644C true CN100351644C (en) 2007-11-28

Family

ID=34284237

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031153259A Expired - Fee Related CN100351644C (en) 2003-01-30 2003-01-30 Time generating method for single board precise global positioning system

Country Status (1)

Country Link
CN (1) CN100351644C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1138811A (en) * 1995-03-07 1996-12-25 现代电子产业株式会社 Digital mobile communication system and timing design method between various subsystems
JPH11284686A (en) * 1998-03-31 1999-10-15 Sony Corp Radio communication terminal device
WO2002041546A2 (en) * 2000-11-14 2002-05-23 Telefonaktiebolaget L M Ericsson (Publ) Systems and methods for controlling audible speech distortion in a cdma wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1138811A (en) * 1995-03-07 1996-12-25 现代电子产业株式会社 Digital mobile communication system and timing design method between various subsystems
JPH11284686A (en) * 1998-03-31 1999-10-15 Sony Corp Radio communication terminal device
WO2002041546A2 (en) * 2000-11-14 2002-05-23 Telefonaktiebolaget L M Ericsson (Publ) Systems and methods for controlling audible speech distortion in a cdma wireless network

Also Published As

Publication number Publication date
CN1521516A (en) 2004-08-18

Similar Documents

Publication Publication Date Title
CN1545360A (en) Method and apparatus for reducing power consumption in a mobile radio communication device
CN1166249C (en) Method for the time synchronisation of a computer network and computer network with time synchronisation
CN111148211A (en) Clock synchronization method and device, computer equipment and storage medium
EP0873661A1 (en) A telecommunications system and a method of providing services to terminals in such a system
CN1183697A (en) Time measurement in communications system, communication system and receiver for use in such system
CN100351644C (en) Time generating method for single board precise global positioning system
CN1134146C (en) Cordless telephone and clock management method
SE513449C2 (en) Procedure for radio synchronization of DECT systems
CN1933506A (en) Method for recording the other party transmission information during talking and telephone
CN101990229A (en) RNC (Radio Network Control) aging test method, equipment, service board and interface board
CN101635617B (en) Method and system for determining primary/standby state in communication apparatus
CN1663309A (en) Telephone apparatus
US20070165807A1 (en) Caller number notification
JP3497869B2 (en) Transmission data test circuit of tone generation circuit
KR100208244B1 (en) Method for confirming printed circuit board mounting position in full electronic switching system
CN102340810B (en) Equipment stability testing method and device
JP2000069476A (en) Radio picture transmission terminal device and radio picture transmission system
KR100251958B1 (en) Method of automatically setting dial mode
KR100520147B1 (en) How to print a message from a digital private exchange system to an extension
US5881052A (en) Line signal analyzing method for use in an electronic switching system
KR920005012B1 (en) Signalling service functions testing method
KR910003922B1 (en) Install data changing method of small systems only for a homephone
CN1168606A (en) Method for transmitting paging signal simultaneously in paging system
JPH02177751A (en) Subscriber circuit housing position recognition system
KR100630106B1 (en) How to store and print an error on the subscriber card in a private exchange

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: ZTE CO., LTD.

Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD. SHANGHAI SECOND INSTITUTE

Effective date: 20050916

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20050916

Address after: 518057 Department of law, Zhongxing building, South hi tech Industrial Park, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen

Applicant after: ZTE Corporation

Address before: No. 396, Shanghai, Guilin Road

Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071128

Termination date: 20140130