METHOD FOR EXCHANGING TIME SYNCHRONIZATION PACKET AND NETWORK APPARATUS
First Claim
1. A method for exchanging a clock synchronization packet, comprising:
- exchanging, by a network apparatus, a clock synchronization packet with a first clock source by using a first slave port, wherein the network apparatus comprises a boundary clock (BC), and the BC comprises the first slave port and a first master port;
determining, by the network apparatus, a first time deviation of the BC relative to the first clock source according to the clock synchronization packet exchanged with the first clock source, wherein the BC avoids performing an operation of calibrating a time of a local clock of the BC according to the first time deviation; and
sending, by the network apparatus, a clock synchronization packet to a first slave clock of the BC by using the first master port, wherein the clock synchronization packet sent by the network apparatus to the first slave clock comprises a first timestamp generated by the BC, a value of the first timestamp is equal to a first corrected value, and the first corrected value is a value obtained by the BC by correcting a time t1 of the local clock by using the first time deviation, wherein the time t1 is a time at which the BC generates the first timestamp.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for exchanging a clock synchronization packet performed by a network apparatus, including: exchanging a clock synchronization packet with a first clock source, where the network apparatus includes a boundary clock; determining a first time deviation of the boundary clock relative to the first clock source according to the clock synchronization packet exchanged with the first clock source, where the boundary clock avoids performing an operation of calibrating a time of a local clock of the boundary clock according to the first time deviation; and sending a clock synchronization packet to a first slave clock of the boundary clock, where the clock synchronization packet includes a first timestamp, a value of the first timestamp is equal to a first corrected value, and the first corrected value is a value obtained by the boundary clock by correcting the time of the local clock by using the first time deviation.
2 Citations
18 Claims
-
1. A method for exchanging a clock synchronization packet, comprising:
-
exchanging, by a network apparatus, a clock synchronization packet with a first clock source by using a first slave port, wherein the network apparatus comprises a boundary clock (BC), and the BC comprises the first slave port and a first master port; determining, by the network apparatus, a first time deviation of the BC relative to the first clock source according to the clock synchronization packet exchanged with the first clock source, wherein the BC avoids performing an operation of calibrating a time of a local clock of the BC according to the first time deviation; and sending, by the network apparatus, a clock synchronization packet to a first slave clock of the BC by using the first master port, wherein the clock synchronization packet sent by the network apparatus to the first slave clock comprises a first timestamp generated by the BC, a value of the first timestamp is equal to a first corrected value, and the first corrected value is a value obtained by the BC by correcting a time t1 of the local clock by using the first time deviation, wherein the time t1 is a time at which the BC generates the first timestamp. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A network apparatus, comprising:
-
a transceiver, configured to exchange a clock synchronization packet with a first clock source by using a first slave port, wherein the network apparatus comprises a boundary clock (BC), and the BC comprises the first slave port and a first master port; a processor communicated with the transceiver, configured to determine a first time deviation of the BC relative to the first clock source according to the clock synchronization packet exchanged with the first clock source, wherein the BC avoids performing an operation of calibrating a time of a local clock of the BC according to the first time deviation; and the transceiver is further configured to send a clock synchronization packet to a first slave clock of the BC by using the first master port, wherein the clock synchronization packet sent by the network apparatus to the first slave clock comprises a first timestamp generated by the BC, a value of the first timestamp is equal to a first corrected value, and the first corrected value is a value obtained by the BC by correcting a time t1 of the local clock by using the first time deviation, wherein the time t1 is a time at which the BC generates the first timestamp. - View Dependent Claims (8, 9, 10)
-
-
11. A method for exchanging a clock synchronization packet, comprising:
-
exchanging, by a network apparatus, a clock synchronization packet with a first clock source; exchanging, by the network apparatus, a clock synchronization packet with a second clock source; after the network apparatus exchanges the clock synchronization packet with the first clock source and after the network apparatus exchanges the clock synchronization packet with the second clock source, sending, by the network apparatus, a first clock synchronization packet to a first slave clock of the network apparatus, wherein the first clock synchronization packet carries a first timestamp generated by the network apparatus, and a time indicated by the first timestamp is equal to a time that is of the first clock source and at which the network apparatus sends the first clock synchronization packet; and after the network apparatus exchanges the clock synchronization packet with the first clock source and after the network apparatus exchanges the clock synchronization packet with the second clock source, sending, by the network apparatus, a second clock synchronization packet to a second slave clock of the network apparatus, wherein the second clock synchronization packet carries a second timestamp generated by the network apparatus, and a time indicated by the second timestamp is equal to a time that is of the second clock source and at which the network apparatus sends the second clock synchronization packet. - View Dependent Claims (12, 13, 14)
-
-
15. A network apparatus, comprising:
-
a first transceiver, configured to exchange a clock synchronization packet with a first clock source; a second transceiver, configured to exchange a clock synchronization packet with a second clock source; the first transceiver is further configured to;
after the first interaction unit exchanges the clock synchronization packet with the first clock source and after the second interaction unit exchanges the clock synchronization packet with the second clock source, send a first clock synchronization packet to a first slave clock of the network apparatus, wherein the first clock synchronization packet carries a first timestamp generated by the network apparatus, and a time indicated by the first timestamp is equal to a time that is of the first clock source and at which the network apparatus sends the first clock synchronization packet; andthe second transceiver is further configured to;
after the first interaction unit exchanges the clock synchronization packet with the first clock source and after the second interaction unit exchanges the clock synchronization packet with the second clock source, send a second clock synchronization packet to a second slave clock of the network apparatus, wherein the first clock synchronization packet carries a second timestamp generated by the network apparatus, and a time indicated by the second timestamp is equal to a time that is of the second clock source and at which the network apparatus sends the second clock synchronization packet. - View Dependent Claims (16, 17, 18)
-
Specification