• head_banner

10G ONU adapting to 10G/10G symmetry and 10G/1G asymmetry Part Two

Description of drawings

Fig. 1 is a flowchart of a method for onu to adapt to 10g/10g symmetry and 10g/1g asymmetry in an embodiment of the present invention.

Detailed ways

The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

The onu in the embodiment of the present invention adapts to 10g/10g symmetry and 10g/1g asymmetry, and is applied in a 10gepon scenario.

On this basis, as shown in Figure 1, the onu in the embodiment of the present invention adapts to 10g/10g symmetry and 10g/1g asymmetry, including the following steps:

s1: When the onu starts, get the type of the optical module of the onu. If the optical module is a symmetrical optical module, it means that the current onu has the ability to work in both symmetrical mode and asymmetrical mode. At this time, go to s2. If the optical module is The asymmetric optical module means that the current onu only has the ability to work in an asymmetric mode. At this time, the onu can only adapt to the 10g/10g symmetric mode, so it ends directly to reduce operating costs and improve work efficiency.

s2: When the onu changes from the no-light state to the light-on state, reacquire the type of the optical module of the onu. If the optical module is a symmetrical optical module, go to s3 (the reason is the same as s1). If the optical module is an asymmetrical optical module, Then end directly (the reason is the same as s1).

The principle of s2 is: the reason why the onu changes from the no-light state to the light-on state is: the optical module in the onu is replaced, so the type of the optical module needs to be obtained again to ensure the ability of the onu to be accurately known. In addition, because there is a scene where the onu is powered on when it is connected to the optical fiber, the onu has always received the downlink light sent by the olt, and may not be able to detect the event that changes from the no-light state to the light-on state. Therefore, in order to ensure that s2 can It is monitored that the onu changes from a no-light state to a light state. It is necessary to turn off the light-receiving function of the optical module during the startup process of the onu in s1, and then turn on the light-receiving function of the optical module after the onu startup is completed. Create an event that onu changes from a dark state to a light state.

The process of obtaining the type of the onu optical module in s2 is: read back the register of the optical module through i2c (a simple, two-way two-wire synchronous serial bus developed by philips company) to obtain the type information of the optical module (manufacturer character and model characters). Obtain the corresponding optical module type according to the type information. The specific process is: pre-set the optical module database locally. The optical module database includes the type information of the optical module and the corresponding type. The corresponding type is used as the type of the optical module.

s3: Determine the current working mode of onu. If the working mode of onu is symmetric mode, it is necessary to determine whether onu should be converted to asymmetric mode according to OLT, that is, go to s4; if the working mode of onu is asymmetric mode, then Need to determine if onu is going to switch to symmetric mode according to olt, i.e. go to s5.

s4: Determine whether the number of times the olt sends window information in asymmetric mode is above the specified threshold (multiple judgments are due to the consideration of robustness, 5 times in this embodiment), and if so, it proves that the olt only has uplink 1g The capability, that is, OLT is in asymmetric mode, at this time, switch the working mode of ONU from symmetric mode to asymmetric mode, and end; otherwise, it proves that OLT only has the capability of uplink 10g (that is, ONU has issued the window information of symmetric mode), That is to say, olt supports symmetric mode. At this time, the working mode of onu is maintained, and the end is over.

s5: Determine whether the number of window information sent by the olt to the symmetric mode has reached the specified threshold (5 times in this embodiment). If so, it proves that the olt has the capability of uplinking 10g, and switches from the asymmetric mode to the symmetric mode. At this time, switch the working mode of the onu from asymmetric mode to symmetric mode, and end; otherwise, it proves that the OLT only has the capability of uplinking 1G, that is, the OLT is in asymmetric mode, and at this time, keep the working mode of onu, and end.

The window information of the asymmetric mode in s4 and the window information of the symmetric mode in s5 are obtained in the mpcpgate frame issued by the OLT. The window information of the asymmetric mode is the uplink 1g window information, and the window information of the symmetric mode is the uplink 10g window information.

Referring to s1 to s2, it can be seen that the embodiment of the present invention accurately obtains the type of onu first, and referring to s3 to s5, it can be seen that the embodiment of the present invention can detect the working mode of the OLT, and adapt to adjust the working mode of the ONU according to the working mode of the OLT , so as to realize the perfect adaptation of the OLT and the ONU, and the mismatch between the local end mode and the remote end mode in the prior art will not occur.

The onu in the embodiment of the present invention adapts to 10g/10g symmetrical and 10g/1g asymmetrical systems, and is characterized in that: the system includes an onu detection module, a symmetrical mode switching module, and an asymmetrical mode switching module arranged on the onu.

The onu detection module is used to: turn off the light receiving function of the optical module during the startup process of the onu, and obtain the type of the optical module of the onu. If the optical module is an asymmetric optical module, stop working; if the optical module is a symmetrical optical module, when When the onu changes from the non-light state to the light state, the type of the optical module of the onu is reacquired:

If the optical module is a symmetrical optical module, obtain the type of the optical module of the onu. When the optical module is a symmetrical optical module, determine the current working mode of the onu. If the working mode of the onu is a symmetrical mode, send a symmetrical mode switch to the symmetrical mode switching module Signal; if the working mode of the onu is an asymmetric mode, send an asymmetric mode switching signal to the asymmetric mode switching module, and turn on the light receiving function of the optical module after the onu starts up;

If the optical module is an asymmetric optical module, stop working.

The symmetric mode switching module is used to: after receiving the symmetric mode switching signal, judge whether the number of window information issued by the olt in the asymmetric mode reaches a specified threshold or not, and if so, switch the working mode of the onu from the symmetric mode to the asymmetric mode; Otherwise keep the working mode of onu;

The asymmetric mode switching module is used to: after receiving the asymmetric mode switching signal, judge whether the number of window information sent by the olt to the symmetric mode is above the specified threshold, and if so, switch the working mode of the onu from the asymmetric mode to the symmetric mode ; Otherwise keep onu working mode.

The window information of the asymmetric mode in the symmetric mode switching module and the window information of the symmetric mode in the asymmetric mode switching module are obtained in the mpcpgate frame sent by the OLT; the window information of the asymmetric mode is the uplink 1g window information, The window information of the symmetric mode in the asymmetric mode switching module is the uplink 10g window information.

It should be noted that when the system provided by the embodiment of the present invention performs inter-module communication, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. That is, the internal structure of the system is divided into different functional modules to complete all or part of the functions described above.

Further, the present invention is not limited to the above-mentioned embodiments. For those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications are also regarded as the present invention. within the scope of protection. The content not described in detail in this specification belongs to the prior art known to those skilled in the art.


Post time: Jun-13-2023