A method for establishing link, onu and computer-readable storage medium
A technology for establishing links and links, applied in the field of Ethernet passive optical networks, can solve problems such as OLT connection establishment, and achieve the effect of improving robustness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Such as figure 1 As shown, the figure shows a method for establishing a link provided by the embodiment of the present invention. It can be seen from the figure that the sudden disconnection of the link between ONU2 and the OLT causes the service datagrams being continuously sent upstream The text 2 stays at the medium access control (MAC, Medium Access Control) layer of the ONU2. At this time, under the action of the OLT keep-alive mechanism, ONU2 re-executes a complete discovery and registration process. During the execution of this process, ONU2 obtains the management data transmission window authorized by the OLT, and uses the authorization window to send the data used to establish with the OLT. The negotiation packet of the connection (ie figure 1 telegram 0) shown. However, since the basic unit of data transmission in the EPON system is a complete Ethernet message, and the management data transmission window authorized by the OLT is relatively small, it can only...
Embodiment 2
[0024] Such as figure 2 As shown, the figure shows a method for establishing a link provided by an embodiment of the present invention, the method is mainly applied to ONU, as can be seen from the figure, the method may include:
[0025] S110. Obtain in real time the state information of the link with the OLT;
[0026] S120. When the state of the above-mentioned link represented by the state information of the above-mentioned link is a discovery state, disable the sending function of service data, and delete the data to be sent at the MAC layer; wherein, the above-mentioned discovery state refers to that the ONU and the OLT have not been established state when connected;
[0027] It can be understood that when the ONU is initially started or restarted, a complete registration and discovery process must be performed. In this process, the state of the link between the ONU and the OLT is called the discovery state. The ONU in the discovery state and the OLT pass through Links ...
Embodiment 3
[0040] In order to facilitate the understanding of the above technical solutions, such as Figure 4 As shown, the figure shows a detailed implementation process for an ONU to realize the above-mentioned technical solution. As can be seen from the figure, the implementation process may specifically include the following steps:
[0041] S410. Receive the MPCP message delivered by the OLT in real time;
[0042] S420. Read the state information of the link contained in the above MPCP message; wherein, the above link refers to the link between the ONU and the OLT;
[0043] S430. Determine whether the state of the above-mentioned link represented by the state information of the above-mentioned link is a discovery state; if yes, execute step S440; otherwise, return to execute step S410;
[0044] Here, the above discovery state refers to a state when no connection is established between the ONU and the OLT.
[0045] S440, disable the service data sending function, and execute step S...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


