CN108667543A - A kind of clock processing method, access network equipment and terminal device - Google Patents
A kind of clock processing method, access network equipment and terminal device Download PDFInfo
- Publication number
- CN108667543A CN108667543A CN201710197951.6A CN201710197951A CN108667543A CN 108667543 A CN108667543 A CN 108667543A CN 201710197951 A CN201710197951 A CN 201710197951A CN 108667543 A CN108667543 A CN 108667543A
- Authority
- CN
- China
- Prior art keywords
- signal
- timestamp
- time
- terminal device
- access network
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
- H04L43/106—Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3297—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
Abstract
A kind of clock processing method of offer of the embodiment of the present invention, access network equipment and terminal device, the method includes:Determine the first time stamp that the first signal is sent to terminal device;The second signal corresponding with first signal that the terminal device is sent is received, determines the 4th timestamp for receiving the second signal;Sent to the terminal device includes the data packet stabbed the first time with the 4th timestamp, the local clock that the data packet is used to that the terminal device to be made to adjust the terminal device.First time stamp and the 4th timestamp are disposably sent to terminal device in a manner of merging, improve the utilization rate of running time-frequency resource, and then the more efficient running time-frequency resource using wireless network as a result, realizes that clock synchronizes.
Description
Technical field
The present embodiments relate to a kind of field of communication technology more particularly to clock processing method, access network equipment and ends
End equipment.
Background technology
The technology that wireless communication technique control terminal is carried out to automated job is applied to generation in traditional production control industry
Have become mainstream, such as automatic Pilot technology, Tele medicine, intelligent robot operation technique for manual work.
Such as, in high-precision industrial control field, multiple intelligence machine person cooperative works, at this time multiple robots needs have
Unified clock information could realize collaborative work.Multiple robots usually using network measure and control system precision interval clock
Synchronous protocol standard (Institute of Electrical and Electronics Engineers1588, IEEE1588)
It is synchronized into row clock.IEEE1588 agreements are the clock synchronization schemes designed for the application layer of cable network.
But when using the industrial control system of cordless communication network, IEEE1588 agreements and wireless communication access net
The compatibility of network underlying protocol is bad, and IEEE1588 agreements transmit synchronizing information using the data packet of application layer, and in synchronization
It needs to carry out multiple data-bag interacting in flow, it is thus impossible to efficiently utilize the running time-frequency resource of wireless network, and then cause
The clock that cannot achieve high accurancy and precision synchronizes.
Invention content
An embodiment of the present invention provides a kind of clock processing method, access network equipment and terminal devices, efficient to realize
Using the running time-frequency resource of wireless network, the clock for providing high accurancy and precision synchronizes.
In a first aspect, the embodiment of the present invention provides a kind of clock processing method, this method includes:It determines and is sent out to terminal device
The first time of the first signal is sent to stab;The second signal corresponding with the first signal that receiving terminal apparatus is sent is determined and is received
4th timestamp of second signal;It includes the data packet stabbed at the first time with the 4th timestamp to be sent to terminal device, shown
Data packet is used to make the local clock of terminal device adjustment terminal device.Primary transmission will be merged by timestamp twice, efficiently
Using the running time-frequency resource of wireless network, and then improve the precision of clock synchronization.
In a possible design, stamp is that the first signal starts or complete setting procedure pair in transmission flow at the first time
Point at the time of answering;4th timestamp is that second signal starts or complete to receive the corresponding moment point of setting procedure in flow, clear
At the specific time point received and/or send of signal, improve the precision of clock synchronization.
In a possible design, configure the first signal to be sent configuration information and second signal match confidence
Breath;The first signal is sent to terminal device according to the configuration information of the first signal;It is detected according to the configuration information of second signal
Whether there is second signal to be received, configure the configuration information of the first signal and the second signal, ensure that the first signal and second
The certainty of signal and the uniqueness of second signal.
In a possible design, configuration information includes at least one of:The period of signal, the type of signal, hair
The corresponding frame information of antenna port type and signal for the number of delivering letters.
In a possible design, time-triggered protocol is modified to the 4th timestamp, the record deviation of correction time stamp,
Improve the precision of the 4th timestamp.
In a possible design, time-triggered protocol is compensated to first time stamp and the 4th timestamp, increases signal
The hardware handles time for receiving and/or sending, the precision of timestamp is improved, the leakage of facility information is also prevented from.
In a possible design, correction time processing includes:The 4th timestamp of amendment record is practical with second signal
The time deviation of arrival time.
In a possible design, compensation time-triggered protocol includes at least one of:Increase from record and stabs at the first time
The average time for sending the first signal to access network equipment, and reduce from access network equipment and receive second signal to record the
The average time of four timestamps.
In a possible design, first time stamp and the 4th timestamp are generated to the data packet of the first kind, to end
End equipment sends the data packet of the first kind;Or, being weighted processing to first time stamp and the 4th timestamp generates the second class
The data packet of type sends the data packet of Second Type to terminal device;Or, carrying out difference to first time stamp and the 4th timestamp
Processing generates the data packet of third type, and the data packet of third type is sent to terminal device, in a variety of forms at the first time
Stamp and the 4th timestamp are handled, and the reliability of timestamp is increased, and then improve the precision that clock synchronizes.
In a possible design, data packet further includes verification information, wherein verification information for verify it is following at least
One of:Verification at the first time stamp and the second timestamp whether match and verify third timestamp and the 4th timestamp whether
Match;Second timestamp is the timestamp that terminal device receives second signal, and third timestamp is terminal device to access network equipment
The timestamp for sending second signal ensures the authenticity of timestamp, and then improves the precision that clock synchronizes.
Second aspect, the embodiment of the present invention provide a kind of clock processing method, and this method includes:Receive access network equipment hair
The first signal sent determines the second timestamp for receiving the first signal;It is sent to access network equipment corresponding with the first signal
Second signal determines the third timestamp for sending second signal;Receive access network equipment send include at the first time stamp and
The data packet of 4th timestamp;Local clock is adjusted according to data packet;Wherein, stamp is that access network equipment sends first at the first time
The timestamp of signal, the 4th timestamp are the timestamp that access network equipment receives second signal.One will be merged by timestamp twice
Secondary transmission, it is efficient to utilize the running time-frequency resource of wireless network, and then improve the precision of clock synchronization.
In a possible design, the configuration information and second signal of first signal that access network equipment is sent are received
Configuration information;The first signal to be received is detected whether according to the configuration information of the first signal;According to the configuration of second signal
Information sends second signal corresponding with the first signal to access network equipment, and configure the first signal and the second signal matches confidence
Breath, ensure that the certainty of the first signal and the second signal and the uniqueness of second signal.
In a possible design, the second timestamp is to receive the first signal to start or complete to receive to set step in flow
Rapid corresponding moment point;Third timestamp is at the time of sending second signal to start or complete that setting procedure corresponds in transmission flow
Point specifies the specific time point received and/or send of signal, improves the precision of clock synchronization.
In a possible design, time-triggered protocol is modified to the second timestamp, the record deviation of correction time stamp,
Improve the precision of the 4th timestamp.
In a possible design, time-triggered protocol is compensated to the second timestamp and third timestamp, increases signal
The hardware handles time for receiving and/or sending, the precision of timestamp is improved, the leakage of facility information is also prevented from.
In a possible design, correction time processing includes:The second timestamp of amendment record and the first signal are practical
The time deviation of arrival time.
In a possible design, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the
One signal is to the average time for recording the second timestamp, and increases second signal from record third timestamp to terminal device
The average time of transmission.
In a possible design, data packet is parsed, determines the corresponding type of data packet and timestamp information;Wherein,
The type of data packet is with one in Types Below:The data packet of the first kind generated with the 4th timestamp is stabbed by first time,
First time stamp and the 4th timestamp are weighted to the data packet for the Second Type that processing generates, by first time stamp and the 4th
Timestamp carries out the data packet of the third type of difference processing generation;Timestamp information includes to first time stamp and the 4th time
Stamp treated information, determines the type of data packet, convenient for determining the formula for calculating clock jitter.
In a possible design, data packet further includes verification information;Data packet is parsed, information is verified;According to
Whether verification information verification time stamp information matches;Wherein, verification information is for verifying at least one of:Verification is at the first time
Whether stamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match, and ensure the true of timestamp
Reality, and then improve the precision that clock synchronizes.
In a possible design, when verifying matching, the meter of corresponding clock jitter is determined according to the type of data packet
Calculate formula;Determine local clock relative to access net based on calculation formula, timestamp information, the second timestamp and third timestamp
The clock jitter of equipment clock;Local clock is adjusted according to clock jitter, according to different type of data packet, when determining corresponding
Clock deviation formula, and then improve the precision for calculating clock jitter.
The third aspect, the embodiment of the present invention provide a kind of clock processing method, and this method includes:It determines and is sent out to terminal device
The first time of the first signal is sent to stab;The second signal corresponding with the first signal that receiving terminal apparatus is sent is determined and is received
4th timestamp of second signal;The data packet for including the second timestamp and third timestamp that receiving terminal apparatus is sent;Base
In data packet, stamp and the 4th timestamp determine clock jitter of the terminal device relative to access network equipment at the first time;By clock
Deviation is sent to terminal device, when clock jitter is used to indicate local of the terminal device according to clock jitter adjustment terminal device
Clock;Wherein, the second timestamp is the timestamp that terminal device receives the first signal, and third timestamp is that terminal device sends second
The timestamp of signal will merge into primary transmission by timestamp twice, the efficient running time-frequency resource for utilizing wireless network, and then improve
The precision that clock synchronizes.
In a possible design, data packet is parsed, determines the corresponding type of data packet and timestamp information;Wherein,
The type of data packet is with one in Types Below:The data for the first kind that first time stamp and the 4th timestamp are generated
Packet, will at the first time stamp and the 4th timestamp be weighted processing generate Second Type data packet, will at the first time stamp and
4th timestamp carries out the data packet of the third type of difference processing generation;Timestamp information includes to the second timestamp and third
Timestamp treated information, determines the type of data packet, convenient for determining the formula for calculating clock jitter.
In a possible design, data packet further includes verification information;Data packet is parsed, information is verified;According to
Whether verification information verification time stamp information matches;Wherein, verification information is for verifying at least one of:Verification is at the first time
Whether stamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match;Second timestamp is eventually
End equipment receives the timestamp of second signal, and third timestamp is the time that terminal device sends second signal to access network equipment
Stamp ensures the authenticity of timestamp, and then improves the precision that clock synchronizes.
In a possible design, when verifying matching, the meter of corresponding clock jitter is determined according to the type of data packet
Calculate formula;Based on calculation formula, timestamp information, at the first time stamp and the 4th timestamp determine the clock of terminal device relative to
The clock jitter of access network equipment clock determines corresponding clock jitter formula, and then improve according to different type of data packet
Calculate the precision of clock jitter.
In a possible design, configure the first signal to be sent configuration information and second signal match confidence
Breath;The first signal is sent to terminal device according to the configuration information of the first signal;It is detected according to the configuration information of second signal
Whether there is second signal to be received, configure the configuration information of the first signal and the second signal, ensure that the first signal and second
The certainty of signal and the uniqueness of second signal.
In a possible design, configuration information includes at least one of:The period of signal, the type of signal, hair
The corresponding frame information of antenna port type and signal for the number of delivering letters.
In a possible design, stamp is that the first signal starts or complete setting procedure pair in transmission flow at the first time
Point at the time of answering;4th timestamp is that second signal starts or complete to receive the corresponding moment point of setting procedure in flow, clear
At the specific time point received and/or send of signal, improve the precision of clock synchronization.
In a possible design, time-triggered protocol is modified to the 4th timestamp, the record deviation of correction time stamp,
Improve the precision of the 4th timestamp.
In a possible design, time-triggered protocol is compensated to first time stamp and the 4th timestamp, increases signal
The hardware handles time for receiving and/or sending, the precision of timestamp is improved, the leakage of facility information is also prevented from.
In a possible design, correction time processing includes:When correcting the start to receive second signal record the 4th
Between stamp be actually reached the time deviation at moment with second signal.
In a possible design, compensation time-triggered protocol includes at least one of:Increase from record and stabs at the first time
The average time for sending the first signal to access network equipment, and reduce from access network equipment and receive second signal to record the
The average time of four timestamps.
Fourth aspect, the embodiment of the present invention provide a kind of clock processing method, and this method includes:Receive access network equipment hair
The first signal sent determines the second timestamp for receiving the first signal;It is sent to access network equipment corresponding with the first signal
Second signal determines the third timestamp for sending second signal;Include the second timestamp and third to access network equipment transmission
The data packet of timestamp;The clock jitter that access network equipment is determined according to data packet is received, when adjusting local according to clock jitter
Clock.
In a possible design, the configuration information for the first signal and the second signal that access network equipment is sent is received;
The first signal to be received is detected whether according to the configuration information of the first signal;According to the configuration information of second signal to access
Net equipment sends second signal corresponding with the first signal, will merge into primary transmission by timestamp twice, efficiently utilizes nothing
The running time-frequency resource of gauze network, and then improve the precision of clock synchronization.
In a possible design, the second timestamp is to receive the first signal to start or complete to receive to set step in flow
Rapid corresponding moment point;Third timestamp is at the time of sending second signal to start or complete that setting procedure corresponds in transmission flow
Point specifies the specific time point received and/or send of signal, improves the precision of clock synchronization.
In a possible design, time-triggered protocol is modified to the second timestamp, the record deviation of correction time stamp,
Improve the precision of the 4th timestamp.
In a possible design, time-triggered protocol is compensated to the second timestamp and third timestamp, increases signal
The hardware handles time for receiving and/or sending, the precision of timestamp is improved, the leakage of facility information is also prevented from.
In a possible design, correction time processing includes:When correcting start to receive the first signal record second
Between stamp be actually reached the time deviation at moment with the first signal.
In a possible design, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the
One signal is to the average time for recording the second timestamp, and increases second signal from record third timestamp to terminal device
The average time of transmission.
In a possible design, the second timestamp and third timestamp are generated to the data packet of the first kind, to connecing
Log equipment sends the data packet of the first kind;Or, being weighted processing to the second timestamp and third timestamp generates second
The data packet of type sends the data packet of Second Type to access network equipment;Or, being carried out to the second timestamp and third timestamp
Difference processing generates the data packet of third type, and the data packet of third type is sent to access network equipment, in a variety of forms to the
One timestamp and the 4th timestamp are handled, and the reliability of timestamp is increased, and then improve the precision that clock synchronizes.
In a possible design, data packet further includes verification information, wherein verification information for verify it is following at least
One of:Verification at the first time stamp and the second timestamp whether matches, and verification third timestamp and the 4th timestamp whether
Match;Stamp is the timestamp that access network equipment sends the first signal at the first time, and the 4th timestamp is that access network equipment receives second
The timestamp of signal ensures the authenticity of timestamp, and then improves the precision that clock synchronizes.
5th aspect, a kind of access network equipment of the embodiment of the present invention, the access network equipment include:Processing unit, for true
Directional terminals equipment sends the first time stamp of the first signal;Receiving unit, what is sent for receiving terminal apparatus believes with first
Number corresponding second signal;Processing unit is additionally operable to determine the 4th timestamp for receiving second signal;Transmission unit is used for
It includes the data packet stabbed at the first time with the 4th timestamp to be sent to terminal device, and data packet is for making terminal device adjustment eventually
The local clock of end equipment.
In a possible design, stamp is that the first signal starts or complete setting procedure pair in transmission flow at the first time
Point at the time of answering;4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
In a possible design, processing unit is additionally operable to configure matching for the first signal and the second signal to be sent
Confidence ceases;Transmission unit is additionally operable to that the first signal is sent to terminal device according to the configuration information of the first signal;Processing is single
Member is additionally operable to detect whether second signal to be received according to the configuration information of second signal.
In a possible design, configuration information includes at least one of:The period of signal, the type of signal, hair
The corresponding frame information of antenna port type and signal for the number of delivering letters.
In a possible design, processing unit is additionally operable to be modified time-triggered protocol to the 4th timestamp.
In a possible design, processing unit, when being additionally operable to compensate first time stamp and the 4th timestamp
Between handle.
In a possible design, correction time processing includes:The 4th timestamp of amendment record is practical with second signal
The time deviation of arrival time.
In a possible design, compensation time-triggered protocol includes at least one of:Increase from record and stabs at the first time
The average time for sending the first signal to access network equipment, and reduce from access network equipment and receive second signal to record the
The average time of four timestamps.
In a possible design, processing unit is additionally operable to first time stamp and the 4th timestamp generating the first kind
The data packet of type, and control the data packet that transmission unit sends the first kind to terminal device;Or, to first time stamp and the 4th
Timestamp is weighted processing and generates the data packet of Second Type, and controls transmission unit and send Second Type to terminal device
Data packet;Or, carrying out difference processing to first time stamp and the 4th timestamp generates the data packet of third type, and control transmission
Unit sends the data packet of third type to terminal device.
In a possible design, data packet further includes verification information, wherein verification information for verify it is following at least
One of:Verification at the first time stamp and the second timestamp whether matches, and verification third timestamp and the 4th timestamp whether
Match;Second timestamp is the timestamp that terminal device receives second signal, and third timestamp is terminal device to access network equipment
Send the timestamp of second signal.
6th aspect, a kind of terminal device of the embodiment of the present invention, the terminal device include:Receiving unit, for connecing
The first signal that log equipment is sent, processing unit, for determining the second timestamp for receiving the first signal;Transmission unit is used
In to access network equipment send the corresponding second signal of the first signal;Processing unit is additionally operable to determine transmission second signal
Third timestamp;Receiving unit, be additionally operable to reception access network equipment transmission includes to stab and the 4th timestamp at the first time
Data packet;Processing unit is additionally operable to adjust local clock according to data packet;Wherein, stamp is that access network equipment is sent at the first time
The timestamp of first signal, the 4th timestamp are the timestamp that access network equipment receives second signal.
In a possible design, receiving unit is additionally operable to receive the configuration for the first signal that access network equipment is sent
The configuration information of information and second signal;Processing unit is additionally operable to detected whether according to the configuration information of the first signal waiting
The first signal received;Transmission unit is additionally operable to be sent and the first signal to access network equipment according to the configuration information of second signal
Corresponding second signal.
In a possible design, the second timestamp is to receive the first signal to start or complete to receive to set step in flow
Rapid corresponding moment point;Third timestamp is at the time of sending second signal to start or complete that setting procedure corresponds in transmission flow
Point.
In a possible design, processing unit is additionally operable to be modified time-triggered protocol to the second timestamp.
In a possible design, processing unit, when being additionally operable to compensate the second timestamp and third timestamp
Between handle.
In a possible design, correction time processing includes:The second timestamp of amendment record and the first signal are practical
The time deviation of arrival time.
In a possible design, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the
One signal is to the average time for recording the second timestamp, and increases second signal from record third timestamp to terminal device
The average time of transmission.
In a possible design, processing unit, be additionally operable to parsing data packet, determine the corresponding type of data packet and when
Between stab information;Wherein, the type of data packet is with one in Types Below:The generated by first time stamp and the 4th timestamp
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates by the data packet of one type, will
Stamp and the 4th timestamp carry out the data packet of the third type of difference processing generation at the first time;Timestamp information includes to first
Timestamp and the 4th timestamp treated information.
In a possible design, data packet further includes verification information;Processing unit is additionally operable to parsing data packet, obtains
To verification information;Processing unit is additionally operable to stab whether information matches according to the verification information verification time;Wherein, verification information is used
In verification at least one of:Whether stamp and the second timestamp match at the first time for verification, and verification third timestamp and the
Whether four timestamps match.
In a possible design, processing unit is additionally operable to determine when verifying matching, true according to the type of data packet
Surely the calculation formula of clock jitter is corresponded to;This is determined based on calculation formula, timestamp information, the second timestamp and third timestamp
Clock jitter of the ground clock relative to access network equipment clock;Local clock is adjusted according to clock jitter.
7th aspect, a kind of access network equipment of the embodiment of the present invention, the access network equipment include:Processing unit, for true
Directional terminals equipment sends the first time stamp of the first signal;Receiving unit, what is sent for receiving terminal apparatus believes with first
Number corresponding second signal;Processing unit is additionally operable to determine the 4th timestamp for receiving second signal;Receiving unit is also used
In the data packet for including the second timestamp and third timestamp that receiving terminal apparatus is sent;Processing unit is additionally operable to based on number
According to packet, stamp and the 4th timestamp determine clock jitter of the terminal device relative to access network equipment at the first time;Transmission unit is used
In clock jitter is sent to terminal device, clock jitter is used to indicate terminal device and adjusts terminal device according to clock jitter
Local clock;Wherein, the second timestamp is the timestamp that terminal device receives the first signal, and third timestamp is sent out for terminal device
Send the timestamp of second signal.
In a possible design, processing unit, be additionally operable to parsing data packet, determine the corresponding type of data packet and when
Between stab information;Wherein, the type for stating data packet is with one in Types Below:First time stamp and the 4th timestamp are generated
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates by the data packet of the first kind,
First time stamp and the 4th timestamp are carried out to the data packet of the third type of difference processing generation;Timestamp information includes to
Two timestamps and third timestamp treated information.
In a possible design, data packet further includes verification information;Processing unit is additionally operable to parsing data packet, obtains
To verification information;Processing unit is additionally operable to stab whether information matches according to the verification information verification time;Wherein, verification information is used
In verification at least one of:Whether stamp and the second timestamp match at the first time for verification, and verification third timestamp and the
Whether four timestamps match;Second timestamp is the timestamp that terminal device receives second signal, and third timestamp sets for terminal
The standby timestamp that second signal is sent to access network equipment.
In a possible design, processing unit is additionally operable to when verifying matching, according to the determination pair of the type of data packet
Answer the calculation formula of clock jitter;Based on calculation formula, timestamp information, stamp and the 4th timestamp determine that terminal is set at the first time
Clock jitter of the standby clock relative to access network equipment clock.
In a possible design, processing unit is additionally operable to configure the configuration information of the first signal to be sent and
The configuration information of binary signal;Transmission unit, is additionally operable to the first signal is sent to terminal according to the configuration information of the first signal and sets
It is standby;Processing unit is additionally operable to detect whether second signal to be received according to the configuration information of second signal.
In a possible design, configuration information includes at least one of:The period of signal, the type of signal, hair
The corresponding frame information of antenna port type and signal for the number of delivering letters.
In a possible design, stamp is that the first signal starts or complete setting procedure pair in transmission flow at the first time
Point at the time of answering;4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
In a possible design, processing unit is additionally operable to be modified time-triggered protocol to the 4th timestamp.
In a possible design, processing unit, when being additionally operable to compensate first time stamp and the 4th timestamp
Between handle.
In a possible design, correction time processing includes:When correcting the start to receive second signal record the 4th
Between stamp be actually reached the time deviation at moment with second signal.
In a possible design, compensation time-triggered protocol includes at least one of:Increase from record and stabs at the first time
The average time for sending the first signal to access network equipment, and reduce from access network equipment and receive second signal to record the
The average time of four timestamps.
Eighth aspect, a kind of terminal device of the embodiment of the present invention, the terminal device include:Receiving unit, for connecing
The first signal that log equipment is sent;Processing unit, for determining the second timestamp for receiving the first signal;Transmission unit is used
In sending corresponding with the first signal second signal to access network equipment;Processing unit is additionally operable to determine transmission second signal
Third timestamp;Receiving unit, be additionally operable to access network equipment send include the second timestamp and third timestamp number
According to packet;Processing unit is additionally operable to receive the clock jitter that access network equipment is determined according to data packet, this is adjusted according to clock jitter
Ground clock.
In a possible design, receiving unit is additionally operable to receive the configuration for the first signal that access network equipment is sent
The configuration information of information and second signal;Processing unit is additionally operable to detected whether according to the configuration information of the first signal waiting
The first signal received;Transmission unit is additionally operable to send the first signal phase to access network equipment according to the configuration information of second signal
Corresponding second signal.
In a possible design, the second timestamp is to receive the first signal to start or complete to receive to set step in flow
Rapid corresponding moment point;Third timestamp is at the time of sending second signal to start or complete that setting procedure corresponds in transmission flow
Point.
In a possible design, processing unit is additionally operable to be modified time-triggered protocol to the second timestamp.
In a possible design, processing unit, when being additionally operable to compensate the second timestamp and third timestamp
Between handle.
In a possible design, correction time processing includes:When correcting start to receive the first signal record second
Between stamp be actually reached the time deviation at moment with the first signal.
In a possible design, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the
One signal is to the average time for recording the second timestamp, and increases second signal from record third timestamp to terminal device
The average time of transmission.
In a possible design, processing unit is additionally operable to the second timestamp and third timestamp generating the first kind
The data packet of type, and control the data packet that transmission unit sends the first kind to access network equipment;Or, to the second timestamp and
Three timestamps are weighted processing and generate the data packet of Second Type, and control transmission unit and send the second class to access network equipment
The data packet of type;Or, carrying out difference processing to the second timestamp and third timestamp generates the data packet of third type, and control
Transmission unit sends the data packet of third type to access network equipment.
In a possible design, data packet further includes verification information, wherein verification information for verify it is following at least
One of:Verification at the first time stamp and the second timestamp whether matches, and verification third timestamp and the 4th timestamp whether
Match;Stamp is the timestamp that access network equipment sends the first signal at the first time, and the 4th timestamp is that access network equipment receives second
The timestamp of signal.
9th aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, are stored thereon with computer journey
The step of sequence, which realizes above-mentioned various aspects the method when being executed by processor.
Tenth aspect, an embodiment of the present invention provides a kind of communication system, which includes the terminal described in above-mentioned aspect
Equipment and access network equipment.
Tenth on the one hand, and an embodiment of the present invention provides a kind of computer readable storage mediums, for being stored as above-mentioned connect
Computer software instructions used in log equipment, it includes executed designed by above-mentioned aspect for controlling the access network equipment
Program.
12nd aspect, an embodiment of the present invention provides a kind of computer readable storage mediums, for being stored as above-mentioned end
Computer software instructions used in end equipment, it includes execute journey designed by above-mentioned aspect for controlling the terminal device
Sequence.
Clock processing scheme provided in an embodiment of the present invention, by first time stamp and the 4th timestamp in a manner of merging one
Secondary property is sent to terminal device, and terminal device calculates clock jitter, or by the second timestamp and third timestamp to merge
Mode is disposably sent to access network equipment, and access network equipment calculates clock jitter;The utilization rate for improving running time-frequency resource, into
And the more efficient running time-frequency resource using wireless network, realize that clock synchronizes.
Description of the drawings
Fig. 1 is the scene graph of the scheme application of the clock processing of the embodiment of the present invention;
Fig. 2 is a kind of schematic interaction figure of method of clock processing provided in an embodiment of the present invention;
Fig. 3 is a kind of method schematic flow chart of clock processing provided in an embodiment of the present invention;
Fig. 4 is the schematic interaction figure of method of another clock processing provided in an embodiment of the present invention;
Fig. 5 is the method schematic flow chart of another clock processing provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of access network equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of entity structure schematic diagram of access network equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 9 is a kind of entity structure schematic diagram of terminal device provided in an embodiment of the present invention.
Specific implementation mode
Fig. 1 is a kind of application scenarios schematic diagram of clock processing scheme provided in an embodiment of the present invention.As shown in Figure 1, tool
Body includes access network equipment and one or more terminal devices.
Access network equipment and terminal device, which may be used, wirelessly to be connected;Wherein, when access network equipment has standard
Clock, access network equipment are responsible for providing the clock reference of standard to terminal device.
The method of the clock processing of the embodiment of the present invention can be applied to wireless cellular communication network system (as the whole world is mobile logical
(Global System of Mobile communication, the GSM) system of news, wideband code division multiple access (Wideband Code
Division Multiple Access, WCDMA) system, long term evolution (Long Term Evolution, LTE), 5G communication
System) in, the terminal device to connect the wireless cellular communication network system provides high-precision standard time clock.
It should be noted that the access network equipment of the embodiment of the present invention can there are many types, but access network equipment is necessary
Has standard time clock, such as base station (Evolved Node B, eNB), relay station etc.;Terminal device may include any type of sets
It is standby, such as user equipment (User Equipment, UE), the equipment such as robot.
For example:Robot first accesses access network equipment, then obtains standard time clock information, the prior art by access network equipment
The step of middle robot obtains standard time clock information by access network equipment, it is specific as follows:
Access network equipment sends a signal to robot, and records the sending time stamp T of the signal1;Robot receives should
Signal and record receiving time stamp T2, while a signal is returned to access network equipment again, and record the sending time stamp of the signal
T3;Access network equipment receives the signal and records receiving time stamp T4。
A signal and robot are sent between access network equipment one signal of return to robot in access network equipment, are accessed
Net equipment needs the signal sending time for recording access network equipment to stab T1It is sent to robot;Reception is recorded in access network equipment
Time stamp T4Afterwards, it also needs time stamp T4It is sent to robot.Robot is according to the time stamp T received1And time stamp T4It ties again
Close the time stamp T of robotic end record2And time stamp T3Clock jitter of the robot relative to access network equipment is calculated, in turn
Robot local clock is adjusted according to the clock jitter.
The above method needs access network equipment to send timestamp information twice and gives a robot (T1, a T4), therefore not
The running time-frequency resource of wireless network can be efficiently utilized, therefore a kind of clock processing scheme solution of proposition of the embodiment of the present invention must not be high
The problem of utilizing wireless network running time-frequency resource of effect, describes in detail as follows.
Fig. 2 is a kind of schematic interaction figure of method of clock processing provided in an embodiment of the present invention.This method as shown in Figure 2
Include the following steps:
S201, access network equipment determine the first time stamp that the first signal is sent to terminal device.
In the present embodiment, terminal device is by accessing access network equipment, and then establishes information exchange with access network equipment.
When access network equipment sends the first signal to terminal device, the first time stamp that record sends the first signal makees T1, wherein it connects
Log equipment may be, but not limited to,:Base station, relay station etc.;First signal may be, but not limited to, timing reference signal, such as
Sync Signal。
S202, terminal device receive the first signal, and determine the second timestamp for receiving the first signal.
After access network equipment sends the first signal to terminal device, terminal device receives the first signal, and determines and receive the
Second timestamp of one signal is denoted as T2, wherein the first signal may be, but not limited to, timing reference signal, such as Sync
Signal。
S203, terminal device send corresponding with the first signal second signal to access network equipment, and determine transmission the
The third timestamp of binary signal.
Terminal device sends second signal corresponding with the first signal to access network equipment, determines and sends second signal
Third timestamp is denoted as T3, wherein second signal may be, but not limited to, timing reference signal, such as Delay_req Signal.
It should be noted that in the present embodiment, the first signal is downlink signal, (is set from access network equipment to terminal
The signal that preparation is sent), second signal is uplink signal (signal sent from terminal device to access network equipment), downlink signal
It can be set, such as executed according to the sequence of S201-S202-S203, again according to actual conditions with the sequential relationship of uplink signal
Such as (the first signal is sent out in access network equipment and terminal device does not receive first according to the execution of the sequence of S201-S203-S202
When signal, second signal is just sent to access network equipment by terminal device), in this regard, the present embodiment is not especially limited.
S204, access network equipment receiving terminal apparatus send second signal, and determine receive second signal the 4th when
Between stab.
After terminal device sends second signal to access network equipment, access network equipment receives second signal, and determines and receive
4th timestamp of second signal is denoted as T4, wherein second signal may be, but not limited to, timing reference signal, such as Delay_
req Signal。
S205, access network equipment to terminal device send include at the first time stamp and the 4th timestamp data packet.
S206, terminal device adjust the local clock of terminal device according to data packet.
After access network equipment determines stamp at the first time and the 4th timestamp, by first time stamp and the 4th timestamp with number
Be sent to terminal device according to the form of packet, generate data packet processing mode can there are many, such as directly will at the first time stamp and
4th timestamp merges, and first time stamp and the 4th timestamp are for another example weighted merging etc..
After terminal device receives data packet, data packet is handled, determines and is stabbed comprising first time with data packet
With the timestamp information of the 4th timestamp, in conjunction with the second timestamp and third timestamp of terminal device records, terminal device
Determine that the handling result of local clock and access network equipment clock, terminal device adjust local clock so that originally according to handling result
Ground clock is synchronous with the clock of access network equipment.
Therefore, the method for clock processing provided in an embodiment of the present invention, by first time stamp and the 4th timestamp to merge
Mode be disposably sent to terminal device, improve the utilization rate of running time-frequency resource, and then more efficient utilize wireless network
Running time-frequency resource, realize clock synchronize.
Optionally, as one embodiment of the invention, method as shown in Figure 3 further includes:
S207, access network equipment configure the configuration information of the configuration information and second signal of the first signal to be sent.
When the terminal device for accessing present Access equipment needs to obtain the clock information of standard from access network equipment, connect
Log equipment configures the first signal to be sent and the second letter according to the information (device parameter of such as terminal device) of terminal device
Number configuration information, configuration information includes at least one of:The period of signal, the type of signal, the antenna end for sending signal
Mouth type and the corresponding frame information of signal.
The period of signal is the sending cycle of the first signal or second signal, such as 50ms;The type of signal can be, but not
It is limited to:Cell specifies reference signal (Cell-specific Reference Signal, CRS), demodulated reference signal
(DeModulation Reference Signal, DMRS), detection reference signal (Sounding Reference Signal,
SRS), the signal or 5G of the LTE/LTE-A systems such as random access channel (Random Access CHannel, RACH)
The reference signal or the specially designed reference signal synchronized for clock that can be multiplexed in NR;Send the antenna of signal
Port type may be, but not limited to,:The corresponding signal sending end mouths 0~3 of CRS, the corresponding signal sending end mouths of DMRS 7~
14, SRS corresponding signal sending end mouths 10,20,21,40,41,42,43;The corresponding frame information of signal is the corresponding frame of the signal
Number, subframe numbers, such as configure the CRS sent in 5 subframe of each even frame as Sync Signal.
It should be noted that in the present embodiment, CRS can be used as the first signal (i.e. downlink signal), SRS and RACH can make
For second signal (i.e. uplink signal), the signal that can also be taken other form is as the first signal or second signal, in this regard, originally
Embodiment is not especially limited.
In the present embodiment, after access network equipment configures the configuration informations of the first signal and the second signal, by the configuration
Information is sent to the terminal device of access access network equipment, and the type of configuration information may be, but not limited to,:Initial
Message, wherein Initial Message are dynamic or semi-static scheduling information, are sent out from access network equipment to terminal device
The mode of configuration information is sent to may be, but not limited to,:Broadcast, multicast or unicast.
First signal is sent to terminal device by S208, access network equipment according to the configuration information of the first signal.
Access network equipment determines the sending cycle of the first signal, the type of signal, hair according to the configuration information of the first signal
Sending end mouth and the corresponding frame information of signal, and the first signal is sent to terminal device according to agreement, such as the first signal Sync
Signal is CRS, sending cycle 50ms, sending port are 0~3, and the corresponding frame information of previously arranged signal is in the 5th son of even frame
CRS is sent when frame.
It should be noted that the mode that access network equipment sends the first signal may be, but not limited to,:Broadcast or multicast.
In the present embodiment, the configuration information of the first signal and the second signal is configured, it is ensured that the first signal and second
The certainty of signal ensures that access network equipment sends the first signal to terminal device, terminal device is returned to access network equipment
Flow and the signal characteristic definition of second signal are clear;It can also ensure the uniqueness of second signal, that is, ensure one second letter
Number correspond uniquely to first signal.
Optionally, in S204 before the second signal of access network equipment receiving terminal apparatus, access network equipment can be according to configuration
The configuration information of second signal be detected, that is, detect whether the second signal that be received, terminal device is sent, such as root
It carries out judging whether there is second signal to be received according to frame information, when detecting second signal to be received, executes S204.
It should be noted that S207 and S208 can be executed before S201.
Optionally, as an embodiment of the present invention, in S201-S204, access network equipment determines stamp and the at the first time
Four timestamps, terminal device determine that the second timestamp and third timestamp are specific as follows:
Access network equipment determines that stamp and the 4th timestamp specifically can be in the following way at the first time:Access network equipment is sent out
When sending the first signal, the first signal starts or completes the corresponding moment point of setting procedure in transmission flow and is recorded as at the first time
Stamp;When access network equipment is received second signal, second signal starts or completes in reception flow setting procedure at the time of correspond to
Point is recorded as the 4th timestamp.
Corresponding, terminal device determines that the second timestamp and third timestamp specifically can be in the following way:Terminal is set
Standby when receiving the first signal, the first signal starts or completes when the corresponding moment point of setting procedure is recorded as second in reception flow
Between stab;When terminal device is sent second signal, at the time of second signal starts or completes that setting procedure corresponds in transmission flow
Point is recorded as third timestamp.
It should be noted that the transmission of signal or reception flow include multiple steps, such as group packet, symbol generate, convert, become
Frequency etc.;Therefore the first signal start or complete the corresponding timestamp of setting procedure can a variety of methods of determination, e.g., about it is settled first believe
Number complete digital-to-analogue conversion (Digital to Analog, D/A) processing step when mark point (moment point) be denoted as at the first time
Stamp can also have other processing steps in addition to digital-to-analogue transformation processing step, such as group packet, symbol are generated, converted, frequency conversion.Second
The method of determination of timestamp, third timestamp and the 4th timestamp is similar with the method for determination of first time stamp, does not go to live in the household of one's in-laws on getting married herein
It states.
Optionally, as one embodiment of the invention, method as shown in Figure 3 further includes:
S209, the 4th timestamp of access network equipment pair are modified time-triggered protocol.
Correction time processing includes:The 4th timestamp of amendment record is actually reached the time deviation at moment with second signal,
Time deviation e can be specifically determined as follows:
Assuming that the second signal that terminal device is sent is x (n), and channel impulse response h (n), the letter that access network equipment receives
Number it is:
Pass through frequency domain coherent detection estimated channel impulse responseJudge the true arrival time of signal x (n).
Pass through above formula, it may be determined that receive the deviation e of the initial time of signal and the true arrival time of signal, you can determine
Record time deviation e when four timestamps4。
Increase time deviation when the 4th timestamp of record is actually reached with second signal, it is specific as follows:
T4=T4'+e4
Optionally, as one embodiment of the invention, method as shown in Figure 3 further includes:
S210, access network equipment compensate time-triggered protocol to first time stamp and the 4th timestamp.
The step of compensating time-triggered protocol includes at least one of:Increasing will to access network equipment from record first time stamp
The average time that first signal is sent, and reduce from access network equipment and receive second signal being averaged to the 4th timestamp of record
Time.
It should be noted that compensation time-triggered protocol be signal the hardware handles time, can according to the equipment of concrete model with
The mode tabled look-up determines that the i.e. hardware handles time is a setting value, is had determined that when the equipment is dispatched from the factory.In this embodiment, it also needs
T is stabbed to first time1With the 4th time stamp T4Time-triggered protocol is compensated, that is, increases the hardware of the first signal and the second signal
It is processing time, specific as follows:
T1,fixed=T1+Ttx,m
Wherein, Ttx,mTo stab the average time for sending the first signal to access network equipment at the first time from record.
T4,fixed=T4-Trx,m
Wherein, Trx,mTo receive second signal to the average time for recording the 4th timestamp from access network equipment.
It should be noted that in the present embodiment, the priority of correction time processing and compensation time-triggered protocol can be set, such as
Time-triggered protocol first is modified to timestamp, then time-triggered protocol is compensated to timestamp;Here, being not especially limited.
Optionally, as one embodiment of the invention, the processing step of S205 specifically includes as follows:
Access network equipment is to before terminal device transmission data packet, needing at first time stamp and the 4th timestamp
Reason, generates data packet, and the type of data packet includes:The first kind, Second Type and third type, access network equipment generate data
The process of Bao Bingxiang terminal device transmission data packets is specific as follows:First time stamp and the 4th timestamp are generated into the first kind
Data packet sends the data packet of the first kind to terminal device;Or, being weighted processing to first time stamp and the 4th timestamp
The data packet for generating Second Type sends the data packet of Second Type to terminal device;Or, stamp and the 4th timestamp between first
The data packet that difference processing generates third type is carried out, the data packet of third type is sent to terminal device.
The corresponding timestamp information of first data packet is:T1And T4;The corresponding timestamp information of second data packet is T=α
(T1+T4), wherein α indicates weighted factor, and the setting of weighted factor can be carried out setting this implementation according to actual needs and do not made
It is specific to limit, such as α=1,0.5;The corresponding timestamp information of second data packet is T1And τm(T4With-τm), wherein τm=T4-T1。
In this embodiment, the generating mode of above-mentioned three kinds of data packets can be selected according to actual needs, to this this hair
Bright embodiment is not especially limited.
It should be noted that the sending method of data packet may be, but not limited to,:Unicast or multicast, data packet can be
One message, such as Follow_up Message.It, can be by the data of upper a cycle for the clock synchronization scheme that the period executes
Packet is sent together with the timing reference signal of current period.
Optionally, as one embodiment of the invention, verification information can also be added in adding in the packet, wherein verification
Information is for verifying at least one of:Whether stamp and the second timestamp match at the first time for verification, or verification third timestamp
Whether matched with the 4th timestamp;Verification information may be, but not limited to,:(Identification knows the ID of terminal device
Not) number, frame number or subframe numbers e.g. verify stamp and the second timestamp at the first time according to the frame number of the first signal.
Optionally, as one embodiment of the invention, method as shown in Figure 3 further includes:
S211, the second timestamp of terminal device pair are modified time-triggered protocol.
Correction time handle the step of include:The second timestamp of amendment record and the first signal are actually reached the time at moment
Deviation, it is specific as follows:
T2=T2'+e2
S212, the second timestamp of terminal device pair and third timestamp compensate time-triggered protocol.
The second time stamp T of terminal device pair2With third time stamp T3Compensate time-triggered protocol, that is, compensate the first signal and
The hardware handles time of second signal such as reduces from terminal device and receives the first signal to the mean time for recording the second timestamp
Between, and increase the average time for the second signal being sent to terminal device from record third timestamp, it is specific as follows:
T2,fixed=T2-Trx,s
Wherein, Trx,sTo receive the first signal to the average time for recording the second timestamp from terminal device;
T3,fixed=T3+Ttx,s
Wherein, Ttx,sFor the average time for sending second signal to terminal device from record third timestamp.
The second timestamp of terminal device pair and third timestamp compensate time-triggered protocol, and are carried out to the second timestamp
Correction time is handled, and be can refer to access network equipment and is compensated time-triggered protocol and right to first time stamp and the 4th timestamp
4th timestamp is modified time-triggered protocol, concrete principle, here, not repeating.
It should be noted that S211-S212 can be executed in the random order between S202-S216, not to this present embodiment
Make specific limit.
Optionally, it in S209 and S210, can also be performed separately, as access network equipment is stood after determining stamp at the first time
Time-triggered protocol is compensated to first time stamp, the 4th timestamp was compensated at the time again after determining four timestamps
Reason and correction time processing;It specifically can refer to above-mentioned access network equipment and compensate time-triggered protocol and the processing of correction time step
Suddenly, here, not repeating.
Optionally, as one embodiment of the invention, method as shown in Figure 3 further includes:
What S213, terminal device received access network equipment transmission includes the data of stamp and the 4th timestamp at the first time
Packet.
S214, terminal device parse data packet, determine the corresponding type of data packet and timestamp information.
After terminal device receives data packet, dissection process is carried out to data packet, determines corresponding type and timestamp letter
Breath;Wherein, the type of data packet includes:The first kind, Second Type and third Packet type;When timestamp information includes to first
Between stamp and the 4th timestamp treated information.
It should be noted that the corresponding timestamp information of the data packet of the first kind is:T1And T4;The data of Second Type
It is T=α (T to wrap corresponding timestamp information1+T4), wherein α indicates weighted factor, can be according to reality for the setting of weighted factor
Border, which carries out setting this implementation, to be not especially limited, such as α=1,0.5;The corresponding timestamp information of data packet of third type
For T1And τm(T4 and-τm), wherein τm=T4-T1。
It needs, after parsing data packet, when it includes verification information to determine in the data packet after parsing, it is also necessary to
Whether matched according to verification information verification time stamp, such as whether stamp and the second timestamp match at the first time for verification, and verification
Whether third timestamp and the 4th timestamp match, can be according to the ID number of terminal device, the frame number or second signal of the first signal
Subframe numbers verified, when verify mismatch when, unmatched timestamp is deleted, new time stamp data is reacquired and makees
To detect object.
Optionally, as one embodiment of the invention, S206 specifically includes as follows:
S215, terminal device determine the calculation formula of corresponding clock jitter according to the type of data packet.
When S216, terminal device determine local based on calculation formula, timestamp information, the second timestamp and third timestamp
Clock jitter of the clock relative to access network equipment.
Access network equipment generates there are three types of the modes of data packet, i.e., there are three types of the data packet of type, each type of data
Packet is corresponding with one or more calculation formula for calculating clock jitter, corresponding therefore, it is necessary to be determined according to the type of data packet
The calculation formula of clock jitter, it is specific as follows:
When data packet is the first kind, the calculation formula of following clock jitter can be used:
When data packet is Second Type, the calculation formula of following clock jitter can be used:
When data packet is third type, the calculation formula of following clock jitter can be used:
Or,
Timestamp information, the second timestamp and third timestamp are substituted into corresponding calculation formula, terminal is calculated and sets
It is standby to determine clock jitter of the local clock relative to access network equipment.
S217, terminal device adjust local clock according to clock jitter.
Terminal device according to be calculated clock jitter adjustment local clock so that terminal device local clock with connect
Log equipment synchronizes, and such as when clock jitter is positive value, terminal device slows down local clock, when clock jitter is negative value, eventually
End equipment tunes up local clock.
The present embodiment has modified the record time by being modified time-triggered protocol to the second timestamp and the 4th timestamp
Deviation when stamp, and stamp, the second timestamp, third timestamp and the 4th timestamp at the first time were compensated at the time
Reason, increase signal hardware processing time and record time deviation so that at the first time stamp, the second timestamp, third timestamp and
4th timestamp is more accurate, to improve the precision of clock synchronization scheme;The hardware handles time is added in timestamp, also
It can prevent the hardware parameter of access network equipment or terminal device from revealing;Access network equipment stabs first time and the 4th timestamp
It merges into a data packet and is sent to terminal device, the running time-frequency resource of wireless network can be saved, simplify scheduling overhead, shorten single
The deadline of secondary flow, improve clock synchronize efficiency, data packet addition verification information can ensure at the first time stab and
The matching degree of second timestamp, the matching degree of third timestamp and the 4th timestamp reduce error, improve the accurate of clock synchronization
Degree.
Fig. 4 is the schematic interaction figure of method of another clock processing provided in an embodiment of the present invention.As shown in figure 4, should
Method includes the following steps:
S401, access network equipment determine the first time stamp that the first signal is sent to terminal device.
S402, terminal device receive the first signal that access network equipment is sent, and determine the second time for receiving the first signal
Stamp.
S403, terminal device send second signal corresponding with the first signal to access network equipment, determine and send second
The third timestamp of signal.
The second signal that S404, access network equipment receiving terminal apparatus are sent, determines the 4th time for receiving second signal
Stamp.
The data packet for including the second timestamp and third timestamp that S405, access network equipment receiving terminal apparatus are sent.
S406, access network equipment are based on data packet, stamp and the 4th timestamp determine terminal device relative to connecing at the first time
The clock jitter of log equipment.
Clock jitter is sent to terminal device by S407, access network equipment.
S408, terminal device adjust the local clock of terminal device according to clock jitter.
It should be noted that the computing capability of access network equipment is stronger than terminal device, therefore relative to terminal device, access
The speed that net equipment calculates is fast, and the precision calculated is high, and the present embodiment is terminal device transmission data packet, access network equipment meter
The numerical procedure for calculating clock jitter, with above-described embodiment access network equipment transmission data packet, terminal device calculates clock jitter
Numerical procedure is similar.
S401 and S404 can refer to S201 and S204 in above-described embodiment, here, not repeating.
S405 is identical with the principle of the S205 in above-described embodiment, differs only in executive agent difference and data packet not
Together, S205 is that access network equipment sends the data packet for including stamp and the 4th timestamp at the first time, and S405 is terminal device hair
The data packet for including the second timestamp and third timestamp is sent, because S405 can refer to S205 here, not repeating.
Difference lies in S214 is terminal device calculating clock jitter to S214 in S406 and above-described embodiment, and S406
Clock jitter is calculated for access network equipment, the calculation formula and parameter all same of the two, therefore, S406 can refer to S214, here,
It does not repeat.
It should be noted that after access network equipment determines terminal device relative to the clock jitter of access network equipment, also need
Clock jitter is sent to terminal device by S407, execute S408 with instruction terminal equipment adjusts terminal according to clock jitter
The local clock of equipment so that the local clock of terminal device is synchronous with access network equipment.
Therefore, the method for clock provided in this embodiment processing, terminal device will at the first time stamp and third timestamp with
Combined mode is disposably sent to access network equipment, improves the utilization rate of running time-frequency resource, and then more efficient utilization nothing
The running time-frequency resource of gauze network, and access network equipment is faster than the calculating speed of terminal device, and the precision of calculating is high.
Optionally, as one embodiment of the invention, method as shown in Figure 5 further includes:
S409, access network equipment configure the configuration information of the configuration information and second signal of the first signal to be sent.
First signal is sent to terminal device by S410, access network equipment according to the configuration information of the first signal.
S409 and S410 can be executed before S401, and S409 and S410 can refer to S207 and S208 in above-described embodiment,
Here, not repeating.
Optionally, as one embodiment of the invention, method as shown in Figure 5 further includes:
S411, the second timestamp of terminal device pair are modified time-triggered protocol.
S412, the second timestamp of terminal device pair and third timestamp compensate time-triggered protocol.
S411 can refer to the S211 in above-described embodiment, and S412 can refer to the S212 in above-described embodiment, here, not going to live in the household of one's in-laws on getting married
It states.
Optionally, as one embodiment of the invention, method as shown in Figure 5 further includes:
S413, the 4th timestamp of access network equipment pair are modified time-triggered protocol.
S414, access network equipment compensate time-triggered protocol to first time stamp and the 4th timestamp.
S413 can refer to the S209 in above-described embodiment, and S414 can refer to the S210 in above-described embodiment, here, not going to live in the household of one's in-laws on getting married
It states.
Optionally, as one embodiment of the invention, S406 may include following processing step:
S415, access network equipment parse data packet, determine the corresponding type of data packet and timestamp information.
S416, access network equipment determine the calculation formula of corresponding clock jitter according to the type of data packet.
S417, access network equipment are determined local based on calculation formula, timestamp information, at the first time stamp and the 4th timestamp
Clock jitter of the clock relative to access network equipment.
That difference lies in executive agents is different by S415-S417 and the S214-S216 in above-described embodiment, and above-described embodiment is
Terminal executes, and the present embodiment executes for access network equipment, and the principle of processing procedure is identical, here, not repeating.
Clock jitter is sent to terminal device by S407, access network equipment.
S408, terminal device adjust the local clock of terminal device according to clock jitter.
Therefore, the method for clock provided in this embodiment processing, terminal device will at the first time stamp and third timestamp with
Combined mode is disposably sent to access network equipment, improves the utilization rate of running time-frequency resource, and then more efficient utilization nothing
The running time-frequency resource of gauze network, and access network equipment is faster than the calculating speed of terminal device, and the time is compensated to timestamp
Processing and correction time processing, improve the accuracy of timestamp, and then improve the precision of time deviation, when passing through compensation
Between processing be also prevented from the leakage of access network equipment and terminal device parameter, can ensure the in data packet addition verification information
The matching degree of the matching degree of one timestamp and the second timestamp, third timestamp and the 4th timestamp reduces error, improves clock
Synchronous precision.
The above-mentioned angle mainly interacted from access network equipment and terminal device is situated between to the scheme of the embodiment of the present invention
It continues.It is understood that access network equipment, terminal device etc., in order to realize above-mentioned function, it comprises execute each function phase
The hardware configuration and/or software module answered.Those skilled in the art should be readily appreciated that, in conjunction with reality disclosed herein
Each exemplary unit and algorithm steps of example description are applied, the present invention can be with the combining form of hardware or hardware and computer software
To realize.Some functions is executed in a manner of hardware or computer software driving hardware actually, depends on technical solution
Specific application and design constraint.Professional technician can to each specific application come using distinct methods to realize
The function of description, but such implementation should not be considered as beyond the scope of the present invention.
The embodiment of the present invention can carry out functional unit according to above method example to access network equipment and terminal device etc.
Division two or more functions can also be integrated for example, can correspond to each function divides each functional unit
In a processing unit.The form that hardware had both may be used in above-mentioned integrated unit is realized, software function list can also be used
The form of member is realized.It should be noted that being schematical, only a kind of logic to the division of unit in the embodiment of the present invention
Function divides, formula that in actual implementation, there may be another division manner.
Using integrated unit, Fig. 6 shows the one of access network equipment involved in above-described embodiment
The possible structural schematic diagram of kind.As shown in fig. 6, access network equipment 600 may include:Processing unit 601,602 and of receiving unit
Transmission unit 603.
Processing unit 601, for determining the first time stamp for sending the first signal to terminal device;Receiving unit 602 is used
Second signal corresponding with the first signal is sent in receiving terminal apparatus;Processing unit 601 is additionally operable to determine that receiving second believes
Number the 4th timestamp;Transmission unit 603 includes the number stabbed at the first time with the 4th timestamp for being sent to terminal device
According to packet, data packet is used to make the local clock of terminal device adjustment terminal device.
The access network equipment 600 of the present embodiment has the function of access network equipment in Fig. 2, it can be achieved that S201-S205 in Fig. 2
The action that middle access network equipment is completed, and then realize that S201-S205 corresponds to the technique effect of clock processing method, please specifically it join
According to S201-S205 in Fig. 2, described to be succinct, here, not repeating.
Optionally, stamp is that the first signal starts or complete the corresponding moment point of setting procedure in transmission flow at the first time;
4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
Optionally, processing unit 601 are additionally operable to configure the configuration information of the first signal to be sent and matching for second signal
Confidence ceases;Transmission unit 603 is additionally operable to that the first signal is sent to terminal device according to the configuration information of the first signal;Processing
Unit 601 is additionally operable to detect whether second signal to be received according to the configuration information of second signal.
Optionally, configuration information includes at least one of:The period of signal, the type of signal, the antenna for sending signal
Port type and the corresponding frame information of signal.
Optionally, processing unit 601 are additionally operable to be modified time-triggered protocol to the 4th timestamp.
Optionally, processing unit 601 are additionally operable to compensate time-triggered protocol to first time stamp and the 4th timestamp.
Optionally, the correction time, which is handled, includes:The 4th timestamp of amendment record and second signal be actually reached the moment when
Between deviation.
Optionally, compensation time-triggered protocol includes at least one of:Increase from record and is stabbed at the first time to access network equipment
The average time that first signal is sent, or reduce from access network equipment and receive second signal being averaged to the 4th timestamp of record
Time.
Optionally, processing unit 601, the data packet for first time stamp and the 4th timestamp to be generated to the first kind,
And control the data packet that transmission unit 603 sends the first kind to terminal device;Or, to first time stamp and the 4th timestamp into
Row weighting processing generates the data packet of Second Type, and controls the data that transmission unit 603 sends Second Type to terminal device
Packet;Or, carrying out difference processing to first time stamp and the 4th timestamp generates the data packet of third type, and control transmission unit
603 send the data packet of third type to terminal device.
Optionally, data packet further includes verification information, wherein verification information is for verifying at least one of:Verification the
Whether one timestamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match;Second time
Stamp is the timestamp that terminal device receives second signal, and third timestamp is that terminal device sends second signal to access network equipment
Timestamp.
Including the access network equipment 600 of said units has the work(of access network equipment in clock processing method as shown in Figure 3
Can, the action that access network equipment is completed in executable S207-S217, and then realize that S207-S217 corresponds to clock processing method
Technique effect, middle S207-S217 is specifically please referred to Fig.3, for succinct description, here, not repeating.
In one embodiment of this invention, the processing unit 601 in access network equipment 600 as shown in Figure 6, receiving unit
602 and transmission unit 603 can also be used to execute other operations, it is specific as follows:
Processing unit 601, for determining the first time stamp for sending the first signal to terminal device;Receiving unit 602 is used
In the second signal corresponding with the first signal that receiving terminal apparatus is sent;Processing unit 601 is additionally operable to determine reception second
4th timestamp of signal;Receiving unit 602, be additionally operable to receiving terminal apparatus transmission includes the second timestamp and third time
The data packet of stamp;Processing unit 601 is additionally operable to based on data packet, stamp and the 4th timestamp determine terminal device phase at the first time
For the clock jitter of access network equipment;Transmission unit 603, for clock jitter to be sent to terminal device, clock jitter is used
The local clock of terminal device is adjusted according to clock jitter in instruction terminal equipment.
Wherein, the second timestamp is the timestamp that terminal device receives the first signal, and third timestamp is sent out for terminal device
Send the timestamp of second signal.
The access network equipment 600 of the present embodiment has the function of in above-described embodiment access network equipment in S401-S408, can
The everything of access network equipment in S401-S408 is executed, and then realizes that S401-S408 corresponds to the technology effect of clock processing method
Fruit specifically please refers to S401-S408 in Fig. 4, is described to be succinct, here, not repeating.
Optionally, processing unit 601 are additionally operable to parsing data packet, determine the corresponding type of data packet and timestamp information;
Wherein, the type of data packet is with one in Types Below:That first time stamp and the 4th timestamp are generated
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates by the data packet of one type, will
Stamp and the 4th timestamp carry out the data packet of the third type of difference processing generation at the first time;Timestamp information includes to second
Timestamp and third timestamp treated information.
Optionally, data packet further includes verification information;Processing unit 601 is additionally operable to parsing data packet, is verified letter
Breath;Processing unit 601 is additionally operable to stab whether information matches according to the verification information verification time;
Wherein, verification information is for verifying at least one of:Whether stamp and the second timestamp match at the first time for verification,
And whether verification third timestamp and the 4th timestamp match;Second timestamp is the time that terminal device receives second signal
Stamp, third timestamp are the timestamp that terminal device sends second signal to access network equipment.
Optionally, processing unit 601 are additionally operable to when verifying matching, determine that corresponding clock is inclined according to the type of data packet
The calculation formula of difference;Based on calculation formula, timestamp information, stamp and the 4th timestamp determine the clock of terminal device at the first time
Clock jitter relative to access network equipment clock.
Optionally, processing unit 601 are additionally operable to configure the configuration information of the first signal and the second signal to be sent;Hair
Unit 603 is sent, is additionally operable to that the first signal is sent to terminal device according to the configuration information of the first signal;Processing unit 601, also
For detecting whether second signal to be received according to the configuration information of second signal.
Optionally, configuration information includes at least one of:The period of signal, the type of signal, the antenna for sending signal
Port type and the corresponding frame information of signal.
Optionally, stamp is that the first signal starts or complete the corresponding moment point of setting procedure in transmission flow at the first time;
4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
Optionally, processing unit 601 are additionally operable to be modified time-triggered protocol to the 4th timestamp.
Optionally, processing unit 601 are additionally operable to compensate time-triggered protocol to first time stamp and the 4th timestamp.
Optionally, the correction time, which is handled, includes:Correct the 4th timestamp for starting to receive second signal record and the second letter
Number it is actually reached the time deviation at moment.
Optionally, compensation time-triggered protocol includes at least one of:Increase from record and is stabbed at the first time to access network equipment
The average time that first signal is sent, and reduce from access network equipment and receive second signal to the flat of the 4th timestamp of record
The equal time.
Including the access network equipment 600 of said units has the access network equipment in clock processing method as shown in Figure 5
Function can perform the everything of access network equipment in S409-S408, and then realize that S409-S408 corresponds to clock processing method
Technique effect, S409-S408 in Fig. 5 is specifically please referred to, for succinct description, here, not repeating.
Processing unit 601 in Fig. 6 access network equipments 600 can be processor/controller, and receiving unit 602 can be
Receiver, transmission unit 603 can be transmitter, as Fig. 7 shows the one of access network equipment involved in above-described embodiment
The entity schematic diagram of the possible design structure of kind.Access network equipment 600 includes:Transmitter 701, receiver 702, controller/place
Manage device 703, memory 704 and modem processor 705.
Controller/processor 703 can be central processing unit (Central Processing Unit, CPU), general place
Manage device, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application-
Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate
Array, FPGA) either other programmable logic device, transistor logic, hardware component or its arbitrary combination.It can
To realize or execute various illustrative logic blocks, module and circuit in conjunction with described in the disclosure of invention.Processor
Can also be to realize the combination of computing function, such as combined comprising one or more microprocessors, the combination of DSP and microprocessor
Etc..
It is stored with program or instruction for executing Fig. 2 or Fig. 4 in memory 704, is held by controller/processor 703
Specific steps in row Fig. 2 or Fig. 4;It is such as determined by controller/processor 703 and sends the first of the first signal to terminal device
Timestamp;The second signal corresponding with the first signal that 702 receiving terminal apparatus of receiver is sent, controller/processor 703
Determine the 4th timestamp for receiving second signal;When transmitter 701 includes first time stamp and the 4th to terminal device transmission
Between the data packet stabbed, data packet is used to make the local clock of terminal device adjustment terminal device.
Optionally, stamp is that the first signal starts or complete the corresponding moment point of setting procedure in transmission flow at the first time;
4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
Optionally, controller/processor 703, be additionally operable to configure the first signal and the second signal to be sent matches confidence
Breath;Transmitter 701 is additionally operable to that the first signal is sent to terminal device according to the configuration information of the first signal;Receiver 702,
It is additionally operable to detect whether second signal to be received according to the configuration information of second signal.
Optionally, configuration information includes at least one of:The period of signal, the type of signal, the antenna for sending signal
Port type and the corresponding frame information of signal.
Optionally, controller/processor 703 is additionally operable to be modified time-triggered protocol to the 4th timestamp.
Optionally, controller/processor 703 is additionally operable to compensate at the time first time stamp and the 4th timestamp
Reason.
Optionally, the correction time, which is handled, includes:The 4th timestamp of amendment record and second signal be actually reached the moment when
Between deviation.
Optionally, compensation time-triggered protocol includes at least one of:Increase from record and is stabbed at the first time to access network equipment
The average time that first signal is sent, or reduce from access network equipment and receive second signal being averaged to the 4th timestamp of record
Time.
Optionally, controller/processor 703 is additionally operable to first time stamp and the 4th timestamp generating the first kind
Data packet, and control transmitter 701 sends the data packet of the first kind to terminal device;Or, when to first time stamp and the 4th
Between stamp be weighted the data packet that processing generates Second Type, and control transmitter 701 sends Second Type to terminal device
Data packet;Or, carrying out difference processing to first time stamp and the 4th timestamp generates the data packet of third type, and control transmitting
Device 701 sends the data packet of third type to terminal device.
Optionally, data packet further includes verification information, wherein verification information is for verifying at least one of:Verification the
Whether one timestamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match;Second time
Stamp is the timestamp that terminal device receives second signal, and third timestamp is that terminal device sends second signal to access network equipment
Timestamp.
For another example:The first time stamp that the first signal is sent to terminal device is determined by controller/processor 703;It receives
The second signal corresponding with the first signal that 702 receiving terminal apparatus of device is sent;Controller/processor 703, which determines, receives the
4th timestamp of binary signal;The number for including the second timestamp and third timestamp that 702 receiving terminal apparatus of receiver is sent
According to packet;Controller/processor 703 is stabbed based on data packet, at the first time and the 4th timestamp determines terminal device relative to access
The clock jitter of net equipment;Clock jitter is sent to terminal device by transmitter 701, with instruction terminal equipment according to clock jitter
Adjust the local clock of terminal device;Wherein, the second timestamp is the timestamp that terminal device receives the first signal, third time
Stamp is the timestamp that terminal device sends second signal.
Optionally, controller/processor 703 is additionally operable to parsing data packet, determines the corresponding type of data packet and timestamp
Information;Wherein, the type of data packet is with one in Types Below:The first kind that first time stamp and the 4th timestamp are generated
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates, by first by the data packet of type
Timestamp and the 4th timestamp carry out the data packet of the third type of difference processing generation;Timestamp information includes to the second time
Stamp and third timestamp treated information.
Optionally, data packet further includes verification information;Controller/processor 703 is additionally operable to parsing data packet, is tested
Demonstrate,prove information;Stab whether information matches according to the verification information verification time;Wherein, verification information is for verifying at least one of:
Whether stamp and the second timestamp match or verify third timestamp at the first time and whether the 4th timestamp matches for verification;When second
Between stamp be terminal device receive second signal timestamp, third timestamp be terminal device to access network equipment send second letter
Number timestamp.
Optionally, controller/processor 703, for when verifying matching, corresponding clock to be determined according to the type of data packet
The calculation formula of deviation;Based on calculation formula, timestamp information, at the first time stamp and the 4th timestamp determine terminal device when
Clock jitter of the clock relative to access network equipment clock.
Optionally, controller/processor 703, be additionally operable to configure the first signal and the second signal to be sent matches confidence
Breath;Transceiver is additionally operable to that the first signal is sent to terminal device according to the configuration information of the first signal;According to second signal
Configuration information detects whether second signal to be received.
Optionally, configuration information includes at least one of:The period of signal, the type of signal, the antenna for sending signal
Port type and the corresponding frame information of signal.
Optionally, stamp is that the first signal starts or complete the corresponding moment point of setting procedure in transmission flow at the first time;
4th timestamp is that second signal starts or completes to receive the corresponding moment point of setting procedure in flow.
Optionally, controller/processor 703 is additionally operable to be modified time-triggered protocol to the 4th timestamp.
Optionally, controller/processor 703 is additionally operable to compensate at the time first time stamp and the 4th timestamp
Reason.
Optionally, the correction time, which is handled, includes:Correct the 4th timestamp for starting to receive second signal record and the second letter
Number it is actually reached the time deviation at moment.
Optionally, compensation time-triggered protocol includes at least one of:Increase from record and is stabbed at the first time to access network equipment
The average time that first signal is sent, or reduce from access network equipment and receive second signal being averaged to the 4th timestamp of record
Time.
It should be noted that:Modem processor 705 is used to carry out coding and modulation treatment to signal, and to signal
Carry out demodulation and decoding processing.
Above-mentioned access network equipment 700 can be used as the access network equipment in clock processing method as shown in Figure 3, execute S207-
S217 is, it can be achieved that S207-S217 corresponds to the technique effect of clock processing method;It is alternatively arranged as clock processing method as shown in Figure 5
In access network equipment, execute S409-S408, it can be achieved that S409-S408 corresponds to the technique effect of clock processing method, here,
It does not repeat.
Using integrated unit, Fig. 8 shows one kind of terminal device involved in above-described embodiment
Possible structural schematic diagram, terminal device 800 include:Receiving unit 801, processing unit 802 and transmission unit 803.
Receiving unit 801, the first signal for receiving access network equipment transmission, processing unit 802 are received for determining
Second timestamp of the first signal;Transmission unit 803, for sending the second letter corresponding with the first signal to access network equipment
Number;Processing unit 802 is additionally operable to determine the third timestamp for sending second signal;Receiving unit 801 is additionally operable to receive access
What net equipment was sent includes the data packet of stamp and the 4th timestamp at the first time;Processing unit 802, is additionally operable to according to data packet
Adjust local clock;Wherein, stamp is the timestamp of access network equipment the first signal of transmission at the first time, and the 4th timestamp is access
Net equipment receives the timestamp of second signal.
The terminal device 800 of the present embodiment has the function of in above-described embodiment terminal device in S201-S205, can perform
The everything of terminal device in S201-S205, and then realize that S201-S205 corresponds to the technique effect of clock processing method, tool
Body please refers to S201-S205 in Fig. 2, is described to be succinct, here, not repeating.
Optionally, receiving unit 801 are additionally operable to receive the configuration information and second for the first signal that access network equipment is sent
The configuration information of signal;Processing unit 802 is additionally operable to detect whether to be received first according to the configuration information of the first signal
Signal;Transmission unit 803 is additionally operable to corresponding to access network equipment the first signal of transmission according to the configuration information of second signal
Second signal.
Optionally, the second timestamp is to receive the first signal to start or completes in reception flow setting procedure at the time of correspond to
Point;Third timestamp is to send second signal to start or complete the corresponding moment point of setting procedure in transmission flow.
Optionally, processing unit 802 are additionally operable to be modified time-triggered protocol to the second timestamp.
Optionally, processing unit 802 are additionally operable to compensate time-triggered protocol to the second timestamp and third timestamp.
Optionally, the correction time, which is handled, includes:The second timestamp of amendment record and the first signal be actually reached the moment when
Between deviation.
Optionally, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the first signal to record
The average time of second timestamp, and increase and put down from record third timestamp to terminal device by what the second signal was sent
The equal time.
Optionally, processing unit 802 are additionally operable to parsing data packet, determine the corresponding type of data packet and timestamp information;
Wherein, the type of data packet is with one in Types Below:That first time stamp and the 4th timestamp are generated
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates by the data packet of one type, will
Stamp and the 4th timestamp carry out the data packet of the third type of difference processing generation at the first time;Timestamp information includes to first
Timestamp and the 4th timestamp treated information.
Optionally, data packet further includes verification information;Processing unit 802 is additionally operable to parsing data packet, is verified letter
Breath;Processing unit 802, for stabbing whether information matches according to the verification information verification time;Wherein, verification information for verify with
It is at least one lower:Whether stamp and the second timestamp match at the first time for verification, or verification third timestamp and the 4th timestamp are
No matching.
Optionally, processing unit 802, be additionally operable to determine when verify match when, according to the type of data packet determine to it is corresponding when
The calculation formula of clock deviation;Local clock phase is determined based on calculation formula, timestamp information, the second timestamp and third timestamp
For the clock jitter of access network equipment clock;Local clock is adjusted according to clock jitter.
Including the terminal device 800 of said units has the function of the terminal device in clock processing method as shown in Figure 3,
The everything of terminal device in executable S207-S217, and then realize that S207-S217 corresponds to the technology effect of clock processing method
Fruit specifically please refers to S207-S217 in Fig. 3, is described to be succinct, here, not repeating.
In one embodiment of this invention, the receiving unit 801 in terminal device 800 shown in Fig. 8,802 and of processing unit
Transmission unit 803 can also be used to execute other operations, specific as follows:
Receiving unit 801, the first signal for receiving access network equipment transmission;Processing unit 802 is received for determining
Second timestamp of the first signal;Transmission unit 803, for sending the second letter corresponding with the first signal to access network equipment
Number;Processing unit 802 is additionally operable to determine the third timestamp for sending second signal;Receiving unit 801 is additionally operable to access net
Equipment transmission includes the data packet of the second timestamp and third timestamp;Processing unit 802, for receiving access network equipment root
According to the clock jitter that data packet determines, local clock is adjusted according to clock jitter.
The terminal device 800 of the present embodiment has the function of in above-described embodiment terminal device in S401-S408, can perform
The everything of terminal device in S401-S408, and then realize that S401-S408 corresponds to the technique effect of clock processing method, tool
Body please refers to S401-S408 in Fig. 4, is described to be succinct, here, not repeating.
Optionally, receiving unit 801 are additionally operable to receive the configuration for the first signal and the second signal that access network equipment is sent
Information;Processing unit 802, for detecting whether the first signal to be received according to the configuration information of the first signal;It sends single
Member 803 is additionally operable to send the corresponding second signal of the first signal to access network equipment according to the configuration information of second signal.
Optionally, the second timestamp is to receive the first signal to start or completes in reception flow setting procedure at the time of correspond to
Point;Third timestamp is to send second signal to start or complete the corresponding moment point of setting procedure in transmission flow.
Optionally, processing unit 802 are additionally operable to be modified time-triggered protocol to the second timestamp.
Optionally, processing unit 802 are additionally operable to compensate time-triggered protocol to the second timestamp and third timestamp.
Optionally, the correction time, which is handled, includes:Correct the second timestamp for starting to receive the first signal record and the first letter
Number it is actually reached the time deviation at moment.
Optionally, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the first signal to record
The average time of second timestamp, and increase the mean time for second signal being sent to terminal device from record third timestamp
Between.
Optionally, processing unit 802, the data packet for the second timestamp and third timestamp to be generated to the first kind,
And control the data packet that transmission unit 803 sends the first kind to access network equipment;Or, to the second timestamp and third timestamp
It is weighted processing and generates the data packet of Second Type, and control transmission unit 803 and send Second Type to access network equipment
Data packet;Or, carrying out difference processing to the second timestamp and third timestamp generates the data packet of third type, and control transmission
Unit 803 sends the data packet of third type to access network equipment.
Optionally, data packet further includes verification information, wherein verification information is for verifying at least one of:Verification the
Whether one timestamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match;At the first time
Stamp is the timestamp that access network equipment sends the first signal, and the 4th timestamp is the time that access network equipment receives second signal
Stamp.
Including the terminal device 800 of said units has the function of the terminal device in clock processing method as shown in Figure 5,
The everything of terminal device in executable S409-S408, and then realize that S409-S408 corresponds to the technology effect of clock processing method
Fruit specifically please refers to S409-S408 in Fig. 5, is described to be succinct, here, not repeating.
Processing unit 801 in terminal device 800 shown in Fig. 8 can device/processor in order to control, receiving unit 801 can be with
For receiver, transmission unit 803 can be transmitter, as Fig. 9 shows the one of terminal device involved in above-described embodiment
The entity schematic diagram of the possible design structure of kind.Including:Transmitter 901, receiver 902, controller/processor 903, memory
904 and modem processor 905.
Controller/processor 903 is to be processor or controller, such as can be central processing unit (Central
Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP),
Application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable gate array
It is (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hard
Part component or its arbitrary combination.It may be implemented or executes illustratively patrols in conjunction with various described in the disclosure of invention
Collect box, module and circuit.Processor can also be to realize the combination of computing function, such as include one or more microprocessors
Combination, the combination etc. of DSP and microprocessor.
It is stored with program or instruction for executing Fig. 2 or Fig. 4 in memory 904, is held by controller/processor 903
Specific steps in row Fig. 2 or Fig. 4;The first signal that access network equipment is sent such as is received by receiver 902;Controller/place
It manages device 903 and determines the second timestamp for receiving the first signal;Transmitter 901 is corresponding to access network equipment the first signal of transmission
Second signal;Controller/processor 903 determines the third timestamp for sending second signal;Receiver 902 receives access network equipment
What is sent includes the data packet of stamp and the 4th timestamp at the first time;Controller/processor 903 adjusts local according to data packet
Clock;Wherein, the timestamp that the first signal is sent for access network equipment is stabbed at the first time, and the 4th timestamp connects for access network equipment
Receive the timestamp of second signal.
Optionally, receiver 902 are additionally operable to receive the configuration information for the first signal that access network equipment is sent and the second letter
Number configuration information, the first signal to be received is detected whether according to the configuration information of the first signal;Transmitter 901, is also used
In sending the corresponding second signal of the first signal to access network equipment according to the configuration information of second signal.
Optionally, the second timestamp is to receive the first signal to start or completes in reception flow setting procedure at the time of correspond to
Point;Third timestamp is to send second signal to start or complete the corresponding moment point of setting procedure in transmission flow.
Optionally, controller/processor 903 is additionally operable to be modified time-triggered protocol to the second timestamp.
Optionally, controller/processor 903 is additionally operable to compensate at the time the second timestamp and third timestamp
Reason.
Optionally, the correction time, which is handled, includes:The second timestamp of amendment record and the first signal be actually reached the moment when
Between deviation.
Optionally, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the first signal to record
The average time of second timestamp or increase are averaged to terminal device by what the second signal was sent from record third timestamp
Time.
Optionally, controller/processor 903 is additionally operable to parsing data packet, determines the corresponding type of data packet and timestamp
Information;Wherein, the type of data packet is with one in Types Below:The first kind that first time stamp and the 4th timestamp are generated
First time stamp and the 4th timestamp are weighted the data packet for the Second Type that processing generates, by first by the data packet of type
Timestamp and the 4th timestamp carry out the data packet of the third type of difference processing generation;Timestamp information includes at the first time
Stamp and the 4th timestamp treated information.
Optionally, data packet further includes verification information;Controller/processor 903 is additionally operable to parsing data packet, is tested
Demonstrate,prove information;Stab whether information matches according to the verification information verification time;Wherein, verification information is for verifying at least one of:
Whether stamp and the second timestamp match at the first time for verification, or whether verification third timestamp and the 4th timestamp match.
Optionally, controller/processor 903 is determined according to the type of data packet and is corresponded to for determining when verifying matching
The calculation formula of clock jitter;Local clock is determined based on calculation formula, timestamp information, the second timestamp and third timestamp
Clock jitter relative to access network equipment clock;Local clock is adjusted according to clock jitter.
For another example:The first signal that access network equipment is sent is received by receiver 902;The determination of controller/processor 903 connects
Receive the second timestamp of the first signal;Transmitter 901 sends the corresponding second signal of the first signal to access network equipment;Control
Device/processor 903 determines the third timestamp for sending second signal;It includes second that transmitter 901 is sent to access network equipment
The data packet of timestamp and third timestamp;Receiver 902 receives the clock jitter that access network equipment is determined according to data packet;Control
Device/processor 903 processed adjusts local clock according to clock jitter.
Optionally, receiver 902, be additionally operable to the first signal and the second signal that reception access network equipment is sent matches confidence
Breath;The first signal to be received is detected whether according to the configuration information of the first signal;Transmitter 901, is additionally operable to according to second
The configuration information of signal sends the corresponding second signal of the first signal to access network equipment.
Optionally, the second timestamp is to receive the first signal to start or completes in reception flow setting procedure at the time of correspond to
Point;Third timestamp is to send second signal to start or complete the corresponding moment point of setting procedure in transmission flow.
Optionally, controller/processor 903 is additionally operable to be modified time-triggered protocol to the second timestamp.
Optionally, controller/processor 903 is additionally operable to compensate at the time the second timestamp and third timestamp
Reason.
Optionally, the correction time, which is handled, includes:Correct the second timestamp of record and for starting to receive the first signal record
One signal is actually reached the time deviation at moment.
Optionally, compensation time-triggered protocol includes at least one of:It reduces from terminal device and receives the first signal to record
The average time of second timestamp, or increase the mean time for second signal being sent to terminal device from record third timestamp
Between.
Optionally, controller/processor 903, the number for the second timestamp and third timestamp to be generated to the first kind
According to packet, and control transmitter 901 sends the data packet of the first kind to access network equipment;Or, when to the second timestamp and third
Between stamp be weighted processing generate Second Type data packet, and control transmitter 901 to access network equipment send Second Type
Data packet;Or, carrying out difference processing to the second timestamp and third timestamp generates the data packet of third type, and control hair
Emitter 901 sends the data packet of third type to access network equipment.
Optionally, data packet further includes verification information, wherein verification information is for verifying at least one of:Verification the
Whether one timestamp and the second timestamp match, and whether verification third timestamp and the 4th timestamp match;At the first time
Stamp is the timestamp that access network equipment sends the first signal, and the 4th timestamp is the time that access network equipment receives second signal
Stamp.
It should be noted that:Modem processor 805 is used to carry out coding and modulation treatment to signal, and to signal
Carry out demodulation and decoding processing.
Above-mentioned terminal device 900 can be used as the terminal device in clock processing method as shown in Figure 3, execute S207-S217,
The technique effect that S207-S217 corresponds to clock processing method can be achieved;The end being alternatively arranged as in clock processing method as shown in Figure 5
End equipment executes S409-S408, it can be achieved that S409-S408 corresponds to the technique effect of clock processing method, here, not repeating.
The embodiment of the present invention provides a kind of computer readable storage medium, for storing the access net as described in Fig. 3 or Fig. 5
Computer software instructions used in equipment, it includes execute program designed by above-mentioned aspect for controlling access network equipment.
The embodiment of the present invention provides a kind of computer readable storage medium, is set for storing the terminal as described in Fig. 3 or Fig. 5
Standby computer software instructions used, it includes the programs executed for control terminal equipment designed by above-mentioned aspect.
The embodiment of the present invention provides a kind of computer program product, and it includes instructions, when described program is held by computer
When row, which makes computer execute the function as performed by access network equipment in the design of Fig. 3 or Fig. 5 the methods.
The embodiment of the present invention provides a kind of computer program product, and it includes instructions, when described program is held by computer
When row, which makes computer execute the function as performed by terminal device in the design of Fig. 3 or Fig. 5 the methods.
The embodiment of the present invention provides a kind of communication system, which includes above-mentioned access network equipment and terminal device.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is
The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be the INDIRECT COUPLING by some interfaces, device or unit
Or communication connection, can also be electricity, mechanical or other form connections.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the embodiment of the present invention
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, can also be during two or more units are integrated in one unit.It is above-mentioned integrated
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain subject to.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can use hardware, processor to execute
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect
It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention
Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (36)
1. a kind of clock processing method, which is characterized in that including:
Determine the first time stamp that the first signal is sent to terminal device;
The second signal corresponding with first signal that the terminal device is sent is received, determines and receives the second signal
The 4th timestamp;
Sent to the terminal device includes the data packet stabbed the first time with the 4th timestamp, the data packet
For making the terminal device adjust the local clock of the terminal device.
2. according to the method described in claim 1, it is characterized in that, first time stamp is first signal starts or complete
At the corresponding moment point of setting procedure in transmission flow;4th timestamp is that the second signal starts or complete receiving stream
The corresponding moment point of setting procedure in journey.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
Configure the configuration information of the configuration information and the second signal of first signal to be sent;
First signal is sent to the terminal device according to the configuration information of first signal;
The second signal to be received is detected whether according to the configuration information of the second signal.
4. according to the method described in claim 3, it is characterized in that, the configuration information includes at least one of:Signal
Period, signal type, send signal antenna port type and the corresponding frame information of signal.
5. according to the method described in claim 2, it is characterized in that, the method further includes:
Time-triggered protocol is modified to the 4th timestamp.
6. the method according to claim 2 or 5, which is characterized in that the method further includes:
Time-triggered protocol is compensated to first time stamp and the 4th timestamp.
7. according to the method described in claim 5, it is characterized in that, correction time processing includes:Described in amendment record
Four timestamps are actually reached the time deviation at moment with the second signal.
8. according to the method described in claim 6, it is characterized in that, the compensation time-triggered protocol includes at least one of:Increase
Add and stab the average time that first signal is sent to access network equipment from recording first time, and reduction is from access
Net equipment receives the second signal to the average time for recording the 4th timestamp.
9. method according to claim 7 or 8, which is characterized in that described sent to the terminal device includes described
The data packet of stamp and the 4th timestamp at the first time, including:
The data packet that first time stamp and the 4th timestamp are generated to the first kind sends institute to the terminal device
State the data packet of the first kind;
Or,
The data packet that processing generates Second Type is weighted to first time stamp and the 4th timestamp, to the end
End equipment sends the data packet of the Second Type;
Or,
The data packet that difference processing generates third type is carried out to first time stamp and the 4th timestamp, to the end
End equipment sends the data packet of the third type.
10. a kind of clock processing method, which is characterized in that including:
The first signal that access network equipment is sent is received, determines the second timestamp for receiving first signal;
Second signal corresponding with first signal is sent to access network equipment, determines the third for sending the second signal
Timestamp;
Receive the access network equipment transmission includes the data packet of stamp and the 4th timestamp at the first time;
Local clock is adjusted according to the data packet;
Wherein, the first time stamp is the timestamp that the access network equipment sends first signal, the 4th time
Stamp is the timestamp that the access network equipment receives the second signal.
11. according to the method described in claim 10, it is characterized in that, the method further includes:
Receive the configuration information of the configuration information and the second signal of first signal that access network equipment is sent;
First signal to be received is detected whether according to the configuration information of first signal;
It is described to send second signal corresponding with first signal to access network equipment, including:
It is corresponding with first signal described to access network equipment transmission according to the configuration information of the second signal
Second signal.
12. according to the method described in claim 10, it is characterized in that, second timestamp is to receive first signal to open
Begin or completes to receive the corresponding moment point of setting procedure in flow;The third timestamp be send the second signal start or
Complete the corresponding moment point of setting procedure in transmission flow.
13. according to the method for claim 12, which is characterized in that the method further includes:
Time-triggered protocol is modified to second timestamp.
14. method according to claim 12 or 13, which is characterized in that the method further includes:
Time-triggered protocol is compensated to second timestamp and the third timestamp.
15. according to the method for claim 13, which is characterized in that the correction time, which is handled, includes:Amendment record second
Timestamp is actually reached the time deviation at moment with first signal.
16. according to the method for claim 14, which is characterized in that the compensation time-triggered protocol includes at least one of:
It reduces from terminal device and receives the first signal to the average time for recording the second timestamp, and increase from record third timestamp
The average time for sending the second signal to terminal device.
17. according to the method described in claim 10, it is characterized in that, the method further includes:
Parse the data packet, determine the data packet type and comprising timestamp information;
Wherein, the data packet is with one in Types Below:It is generated by first time stamp and the 4th timestamp
First time stamp and the 4th timestamp are weighted the Second Type that processing generates by the data packet of the first kind
First time stamp and the 4th timestamp are carried out the data packet of the third type of difference processing generation by data packet;Institute
It includes to first time stamp and the 4th timestamp treated information to state timestamp information.
18. according to the method for claim 17, which is characterized in that described to adjust local clock, packet according to the data packet
It includes:
The calculation formula of corresponding clock jitter is determined according to the type of the data packet;
Based on the calculation formula, the timestamp information, the second timestamp and third timestamp determine local clock relative to
The clock jitter of access network equipment clock;
Local clock is adjusted according to the clock jitter.
19. a kind of access network equipment, which is characterized in that including:
Processing unit, for determining the first time stamp for sending the first signal to terminal device;
Receiving unit, the second signal corresponding with first signal sent for receiving the terminal device;
The processing unit is additionally operable to determine the 4th timestamp for receiving the second signal;
Transmission unit includes the data stabbed the first time with the 4th timestamp for being sent to the terminal device
Packet, the local clock that the data packet is used to that the terminal device to be made to adjust the terminal device.
20. access network equipment according to claim 19, which is characterized in that the first time stamp is first signal
Start or complete the corresponding moment point of setting procedure in transmission flow;4th timestamp is that the second signal starts or complete
At the corresponding moment point of setting procedure in reception flow.
21. access network equipment according to claim 19, which is characterized in that the processing unit is additionally operable to configure pending
The configuration information of the configuration information and the second signal of first signal sent;
The transmission unit is additionally operable to that first signal is sent to the terminal according to the configuration information of first signal
Equipment;
The processing unit is additionally operable to detect whether second letter to be received according to the configuration information of the second signal
Number.
22. access network equipment according to claim 21, which is characterized in that the configuration information include it is following at least it
One:The period of signal, the type of signal, the antenna port type and the corresponding frame information of signal for sending signal.
23. access network equipment according to claim 20, which is characterized in that the processing unit is additionally operable to described
Four timestamps are modified time-triggered protocol.
24. the access network equipment according to claim 20 or 23, which is characterized in that the processing unit is additionally operable to institute
It states stamp and the 4th timestamp at the first time and compensates time-triggered protocol.
25. access network equipment according to claim 23, which is characterized in that the correction time, which is handled, includes:Correct note
It records the 4th timestamp and is actually reached the time deviation at moment with the second signal.
26. access network equipment according to claim 24, which is characterized in that the compensation time-triggered protocol include it is following at least
One of:Increase stabs the average time for sending first signal to access network equipment from the first time is recorded, and subtracts
It is few to receive the second signal to the average time for recording the 4th timestamp from access network equipment.
27. the access network equipment according to claim 25 or 26, which is characterized in that the processing unit is additionally operable to institute
It states stamp at the first time and the 4th timestamp generates the data packet of the first kind, and control the transmission unit to the terminal
Equipment sends the data packet of the first kind;Or, being weighted processing to first time stamp and the 4th timestamp
The data packet of Second Type is generated, and controls the data that the transmission unit sends the Second Type to the terminal device
Packet;Or, carrying out difference processing to first time stamp and the 4th timestamp generates the data packet of third type, and control
The transmission unit sends the data packet of the third type to the terminal device.
28. a kind of terminal device, which is characterized in that including:
Receiving unit, the first signal for receiving access network equipment transmission;
Processing unit, for determining the second timestamp for receiving first signal;
Transmission unit, for sending the corresponding second signal of the first signal to access network equipment;
The processing unit is additionally operable to determine the third timestamp for sending the second signal;
The receiving unit, is additionally operable to receive that the access network equipment sends includes stamp and the 4th timestamp at the first time
Data packet;
The processing unit is additionally operable to adjust local clock according to the data packet;
Wherein, the first time stamp is the timestamp that the access network equipment sends first signal, the 4th time
Stamp is the timestamp that the access network equipment receives the second signal.
29. terminal device according to claim 28, which is characterized in that the receiving unit is additionally operable to receive access net
The configuration information of the configuration information and the second signal of first signal that equipment is sent;
The processing unit is additionally operable to detect whether first letter to be received according to the configuration information of first signal
Number;
The transmission unit is additionally operable to be sent and described the to the access network equipment according to the configuration information of the second signal
The corresponding second signal of one signal.
30. terminal device according to claim 28, which is characterized in that second timestamp is to receive first letter
Number start or complete receive flow in the corresponding moment point of setting procedure;The third timestamp is to send the second signal to open
Beginning completes the corresponding moment point of setting procedure in transmission flow.
31. terminal device according to claim 30, which is characterized in that the processing unit is additionally operable to described second
Timestamp is modified time-triggered protocol.
32. the terminal device according to claim 30 or 31, which is characterized in that the processing unit is additionally operable to described
Second timestamp and the third timestamp compensate time-triggered protocol.
33. terminal device according to claim 31, which is characterized in that the correction time, which is handled, includes:Amendment record
Second timestamp is actually reached the time deviation at moment with first signal.
34. terminal device according to claim 32, which is characterized in that the compensation time-triggered protocol include it is following at least it
One:It reduces from terminal device and receives the first signal to the average time for recording the second timestamp, and increase from when recording third
Between stab average time for sending the second signal to terminal device.
35. terminal device according to claim 28, which is characterized in that the processing unit is additionally operable to parse the number
According to packet, determine the data packet type and comprising timestamp information;
Wherein, the type of the data packet is with one in Types Below:By first time stamp and the 4th timestamp
First time stamp and the 4th timestamp are weighted the second of processing generation by the data packet of the first kind of generation
First time stamp and the 4th timestamp are carried out the data of the third type of difference processing generation by the data packet of type
Packet;The timestamp information includes to first time stamp and the 4th timestamp treated information.
36. terminal device according to claim 35, which is characterized in that the processing unit is additionally operable to according to the number
The calculation formula of corresponding clock jitter is determined according to the type of packet;Based on the calculation formula, the timestamp information, the second time
Stamp and third timestamp determine clock jitter of the local clock relative to access network equipment clock;It is adjusted according to the clock jitter
Local clock.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710197951.6A CN108667543B (en) | 2017-03-29 | 2017-03-29 | Clock processing method, access network equipment and terminal equipment |
PCT/CN2018/080836 WO2018177320A1 (en) | 2017-03-29 | 2018-03-28 | Clock processing method, access network device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710197951.6A CN108667543B (en) | 2017-03-29 | 2017-03-29 | Clock processing method, access network equipment and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108667543A true CN108667543A (en) | 2018-10-16 |
CN108667543B CN108667543B (en) | 2019-12-13 |
Family
ID=63674262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710197951.6A Active CN108667543B (en) | 2017-03-29 | 2017-03-29 | Clock processing method, access network equipment and terminal equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108667543B (en) |
WO (1) | WO2018177320A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112600639A (en) * | 2020-12-17 | 2021-04-02 | 珠海市一微半导体有限公司 | Timestamp correction method and system |
WO2021097769A1 (en) * | 2019-11-21 | 2021-05-27 | 华为技术有限公司 | Clock synchronization method and apparatus |
CN116700094A (en) * | 2023-06-21 | 2023-09-05 | 哈尔滨博尼智能技术有限公司 | Data driving control system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7577169B1 (en) * | 2005-11-30 | 2009-08-18 | The United States Of America As Represented By The Secretary Of The Navy | Time stamping |
CN102833062A (en) * | 2012-09-25 | 2012-12-19 | 广东电网公司珠海供电局 | Time synchronization method and system for synchronous messages of IEEE1588 (Precision Time Protocol) master-slave clocks of intelligent transformer substation |
CN104918319A (en) * | 2014-03-13 | 2015-09-16 | 北方工业大学 | Clock synchronization simplified information exchange method applied to wireless sensor network |
CN104993900A (en) * | 2015-07-06 | 2015-10-21 | 江苏省电力公司南京供电公司 | Synchronous correction method based on IEEE1588 clock model |
US20160302165A1 (en) * | 2015-04-08 | 2016-10-13 | Alcatel-Lucent Usa Inc. | Base station synchronization |
CN106488550A (en) * | 2016-12-20 | 2017-03-08 | 华为技术有限公司 | Determine the method and apparatus of terminal and base station clock time deviation |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7496686B2 (en) * | 2005-01-28 | 2009-02-24 | Gencsus | Localizing a remote event timestamp from a network device with an independent clock method and apparatus |
CN103929263B (en) * | 2014-04-30 | 2016-10-26 | 北京华力创通科技股份有限公司 | Network communication method |
-
2017
- 2017-03-29 CN CN201710197951.6A patent/CN108667543B/en active Active
-
2018
- 2018-03-28 WO PCT/CN2018/080836 patent/WO2018177320A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7577169B1 (en) * | 2005-11-30 | 2009-08-18 | The United States Of America As Represented By The Secretary Of The Navy | Time stamping |
CN102833062A (en) * | 2012-09-25 | 2012-12-19 | 广东电网公司珠海供电局 | Time synchronization method and system for synchronous messages of IEEE1588 (Precision Time Protocol) master-slave clocks of intelligent transformer substation |
CN104918319A (en) * | 2014-03-13 | 2015-09-16 | 北方工业大学 | Clock synchronization simplified information exchange method applied to wireless sensor network |
US20160302165A1 (en) * | 2015-04-08 | 2016-10-13 | Alcatel-Lucent Usa Inc. | Base station synchronization |
CN104993900A (en) * | 2015-07-06 | 2015-10-21 | 江苏省电力公司南京供电公司 | Synchronous correction method based on IEEE1588 clock model |
CN106488550A (en) * | 2016-12-20 | 2017-03-08 | 华为技术有限公司 | Determine the method and apparatus of terminal and base station clock time deviation |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021097769A1 (en) * | 2019-11-21 | 2021-05-27 | 华为技术有限公司 | Clock synchronization method and apparatus |
CN112600639A (en) * | 2020-12-17 | 2021-04-02 | 珠海市一微半导体有限公司 | Timestamp correction method and system |
CN116700094A (en) * | 2023-06-21 | 2023-09-05 | 哈尔滨博尼智能技术有限公司 | Data driving control system |
CN116700094B (en) * | 2023-06-21 | 2024-03-01 | 哈尔滨博尼智能技术有限公司 | Data driving control system |
Also Published As
Publication number | Publication date |
---|---|
WO2018177320A1 (en) | 2018-10-04 |
CN108667543B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021129060A1 (en) | Methods for configuring and receiving transmission resource of positioning reference signal, and terminal | |
CN102457371B (en) | Time synchronization method and related equipment and system | |
US11777629B2 (en) | Reference time determining method and apparatus | |
US11943100B2 (en) | Apparatus and method for supporting TSC | |
WO2018137413A1 (en) | Time service method, terminal device and network device | |
WO2017186068A1 (en) | Uwb high-precision positioning system, positioning method and apparatus, and computer readable medium | |
CN102869087B (en) | The hardware time synchronization implementation method of industry Internet of Things chip | |
US20210144666A1 (en) | Synchronizing tsn master clocks in wireless networks | |
WO2020001367A1 (en) | Time information correction method and device | |
CN112789906A (en) | Apparatus and method for synchronization using wireless communication network in wireless communication system | |
WO2008035863A1 (en) | Method and apparatus for synchronizing applications of terminals in communication network | |
JP6356818B2 (en) | Device and device synchronization method in inter-device (D2D) communication | |
CN105472722B (en) | A kind of clock synchronizing method and device | |
CN112217615B (en) | Method and device for supporting time-sensitive network | |
TW202029790A (en) | Cellular vehicle-to-everything out of coverage synchronization | |
CN108667543A (en) | A kind of clock processing method, access network equipment and terminal device | |
WO2013159596A1 (en) | Device-to-device communication method and user equipment | |
CN107528676B (en) | Method and equipment for transmitting feedback information of uplink transmission | |
CN108155982A (en) | A kind of timestamp processing method and equipment | |
CN113767680A (en) | Apparatus and method for supporting a burst arrival time reference clock based on time sensitive communication assistance information in a wireless communication network | |
CN104703164A (en) | Method of acquiring synchronous references, method of transmitting synchronous information and equipment | |
CN115699624A (en) | Apparatus and method for transmitting synchronization information in communication system | |
CN104270218B (en) | Frequency calibrating method | |
US20220201682A1 (en) | Resource determination method and device, storage medium and terminal | |
CN106231561B (en) | Positioning method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |