The present application provides an optical port auto-negotiation method, including: a: selecting a downstream to-be-received wavelength; b: listening to a downstream message on the selected downstream to-be-received wavelength, performing c if a wavelength idle message is received, and returning to a if no wavelength idle message is received within a specified or fixed time, where the wavelength idle message is used to identify that the wavelength is not occupied or not allocated; c: sending a wavelength application message on an upstream wavelength, performing d if a wavelength grant message is received in a downstream direction; otherwise, going back to a or b, where the wavelength application message is used to identify a request for allocation of the wavelength, and the wavelength grant message is used to identify acknowledgment of wavelength allocation; and d: setting an optical port auto-negotiation success flag bit. The present application further provides an optical module.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method, comprising: a: selecting a downstream wavelength to be received; b: listening to a downstream message on the downstream to-be-received wavelength, performing c when a wavelength idle message from a peer optical module is received, and returning to a when no wavelength idle message is received within a specified or fixed time, wherein the wavelength idle message identifies that the downstream to-be-received wavelength is not occupied or not allocated, wherein M is a length of a random code representing data in a frame header field of a message frame of the wavelength idle message, N is a length of a random code representing data content in a data field of the message frame of the wavelength idle message, and wherein when M is the same as N, a plurality of bits of the message frame represent a frame header, and when M is different from N, one bit of the message frame represents the frame header; c: sending a wavelength application message on an upstream wavelength corresponding to the downstream to-be-received wavelength, going to d when a wavelength grant message is received in a downstream direction; otherwise, returning to a or b, wherein the wavelength application message identifies that an optical module requests the peer optical module to allocate the downstream to-be-received wavelength, and the wavelength grant message identifies that the peer optical module allocates the downstream to-be-received wavelength to the optical module; and d: setting, by the optical module, an optical port auto-negotiation success flag bit.
2. The method according to claim 1 , further comprising: storing a correspondence between upstream wavelengths and downstream wavelengths in the optical module in a form of a table, wherein the correspondence is agreed upon in advance, or is dynamically configured by an optical network unit (ONU) device using an interface between the ONU device and the optical module at an ONU side, or is delivered to a processor of the optical module at the ONU side using a control message.
3. The method according to claim 2 , wherein when the correspondence between upstream wavelengths and downstream wavelengths is agreed upon in advance or dynamically configured, the optical module sets an operating wavelength or a to-be-sent wavelength of a sending component of the optical module at any moment before the wavelength application message is sent.
4. The method according to claim 2 , wherein when the correspondence between upstream wavelengths and downstream wavelengths is delivered using a control message, an operating wavelength or an upstream wavelength of a sending component of the optical module is set after the wavelength idle message from the peer optical module is received and before the wavelength application message is sent.
5. The method according to claim 1 , wherein the message frame of the wavelength idle message further comprises an allowed laser spectral width field, a channel interval field, or a system type field.
6. A method, comprising: periodically sending, by a local optical module, a wavelength idle message to a peer optical module, and listening in an upstream direction, wherein the wavelength idle message identifies that a first wavelength is an idle wavelength, or the wavelength idle message identifies that the first wavelength is not occupied or not allocated, wherein M is a length of a random code representing data in a frame header field of a message frame of the wavelength idle message, N is a length of a random code representing data content in a data field of the message frame of the wavelength idle message, and wherein when M is the same as N, a Plurality of bits of the message frame represent a frame header, and when M is different than N one bit of the message frame represents the frame header; suspending sending wavelength idle information when a message, sent by the peer optical module, for requesting allocation of the first wavelength is received; sending a wavelength application success message to the peer optical module; and setting an internal state when a response message sent by the peer optical module is received, wherein the setting identifies completion of a wavelength negotiation.
7. The method according to claim 6 , wherein the wavelength idle message and the wavelength application success message are coded by means of frequency-shift keying (FSK).
8. The method according to claim 6 , wherein the wavelength idle message and the wavelength application success message are coded in a spectrum spreading manner, and the spectrum spreading manner identifies that spectrum spreading is performed on original signals 0 and 1 using a random code and then the signals are superposed with a data signal and transmitted.
9. An optical module, comprising: a transmitter; a processor; and a receiver; wherein the receiver is configured to select a downstream to-be-received wavelength; wherein the processor is configured to listen to a downstream message on the selected downstream to-be-received wavelength, and send a wavelength application message on an upstream wavelength using the transmitter when a wavelength idle message from a peer optical module is received; wherein M is a length of a random code representing data in a frame header field of a message frame of the wavelength idle message, N is a length of a random code representing data content in a data field of the message frame of the wavelength idle message, and wherein when M is the same as N a plurality of bits of the message frame represent a frame header, and when M is different than N one bit of the message frame represents the frame header; and wherein the processor is further configured to set an optical port negotiation success flag bit of the optical module when the receiver receives a wavelength grant message in a downstream direction.
10. The optical module according to claim 9 , wherein the optical module further comprises a memory, and the memory is configured to store a correspondence between upstream wavelengths and downstream wavelengths.
11. The optical module according to claim 10 , wherein when the correspondence between upstream wavelengths and downstream wavelengths is agreed upon in advance or dynamically configured, the optical module sets an operating wavelength or a to-be-sent wavelength of a sending component of the optical module at any moment before sending the wavelength application message.
12. The optical module according to claim 10 , wherein when the correspondence between upstream wavelengths and downstream wavelengths is delivered using a control message, an operating wavelength or an upstream wavelength of the transmitter of the optical module is set after the wavelength idle message from the peer optical module is received and before the wavelength application message is sent.
13. The optical module according to claim 9 , wherein the message frame of the wavelength application message further comprises a local to-be-sent wavelength field, and the local to-be-sent wavelength field denotes wavelength information using an absolute value, a relative value, or a channel number.
14. The optical module according to claim 9 , wherein the message frame of the wavelength idle message further comprises an allowed laser spectral width field, a channel interval field, or a system type field.
15. An optical module, comprising: a transmitter; a receiver; and a processor; wherein the transmitter periodically sends a wavelength idle message to a peer optical module and the receiver listens in an upstream direction, and the wavelength idle message identifies that a first wavelength is an idle wavelength, or the wavelength idle message identifies that the first wavelength is not occupied or not allocated; wherein M is a length of a random code representing data in a frame header field of a message frame of the wavelength idle message, N is a length of a random code representing data content in a data field of the message frame of the wavelength idle message, wherein when M is the same as N, a plurality of bits of the message frame represent a frame header, and when M is different than M one bit represents the frame header; wherein the receiver suspends sending wavelength idle information when receiving a message, sent by the peer optical module, for requesting allocation of the first wavelength; wherein the transmitter is further configured to send a wavelength application success message to the peer optical module; and wherein the processor is configured to set an internal state when the receiver receives a response message sent by the peer optical module, and the setting identifies completion of wavelength negotiation.
16. The optical module according to claim 15 , wherein the transmitter is further configured to send a wavelength acknowledgment message to the peer optical module before the internal state is set.
17. The optical module according to claim 15 , wherein, when the transmitter and the receiver of the optical module are components with a tunable wavelength or capable of tuning a wavelength, the optical module sets operating wavelengths of the transmitter and the receiver according to configuration information.
18. The optical module according to claim 17 , wherein the wavelength idle message and the wavelength application success message are coded in a spectrum spreading manner, and the spectrum spreading manner identifies that spectrum spreading is performed on original signals 0 and 1 using a random code and then the signals are superposed with a data signal and transmitted.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
May 4, 2017
December 4, 2018
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.