Communication method and optical module
AssigneeHuawei Technologies Co., Ltd.
InventorsYunlei Qi, Chunrong Li
Life of this patent
Estimating the term…
Abstract
This application provides a communication method and an optical module. The method includes: A first optical module determines a first delay. The first optical module sends the first delay to an interface chip. According to the communication method and the optical module that are provided in this application, a delay in the optical module can be reported to the interface chip, so as to improve precision of time synchronization between a master clock and a slave clock, thereby further improving clock precision of a network device.
Claims20
A communication method, comprising:
- extracting, by an optical module in a network device, a first indication signal carried in a packet transmitted to a first circuit of the optical module;
- extracting, by the optical module, a second indication signal carried in the packet transmitted to a second circuit of the optical module;
- determining, by the optical module, a delay based on the first indication signal and the second indication signal, wherein the delay comprises a delay generated when the packet is transmitted in the optical module;
- and
- sending, by the optical module through a delay reporting interface of the optical module, the delay to an interface chip in the network device, wherein the interface chip includes at least one of a physical (PHY) layer chip and a media access control (MAC) layer chip.
A first optical module used in a first network device, the first optical module comprising:
- a processor, configured to:
- extract a first indication signal carried in a first packet transmitted to a first circuit of the first optical module;
- extract a second indication signal carried in the first packet transmitted to a second circuit of the first optical module;
- determine a first delay based on the first indication signal and the second indication signal, wherein the first delay comprises a delay generated when the first packet is transmitted in the first optical module;
- and
- a delay reporting interface, configured to send the first delay to an interface chip in the first network device, wherein the interface chip includes at least one of a physical (PHY) layer chip and a media access control (MAC) layer chip.
A network device, comprising an optical module, the optical module comprising:
- a processor, configured to:
- extract a first indication signal carried in a first packet transmitted to a first circuit of the first optical module;
- extract a second indication signal carried in the first packet transmitted to a second circuit of the first optical module;
- determine a first delay based on the first indication signal and the second indication signal, wherein the first delay comprises a delay generated when a packet is transmitted in the optical module;
- and
- a delay reporting interface, configured to send the first delay to an interface chip in the network device, wherein the interface chip includes at least one of a physical (PHY) layer chip and a media access control (MAC) layer chip.
Dependencies are inferred from the claim text.