摘要 |
The present invention provides a method for acquiring an optical fiber connection relation, a node device, and an optical network system. The method is applied in a node device. In the node device, a first unit is connected to a first storage unit; the first storage unit is connected to a first end of an optical fiber; a second unit is connected to a second storage unit; the second storage unit is connected to a second end of the optical fiber; and a management control unit is connected respectively to the first unit and the second unit. The method includes: acquiring, by the first unit, first port identification information of the optical fiber, where the first port identification information of the optical fiber is pre-stored in the first storage unit; correlating port identification information of the first unit that is connected to the first storage unit with the first port identification information; acquiring, by the second unit, second port identification information of the optical fiber, where the second port identification information of the optical fiber is pre-stored in the second storage unit; correlating port identification information of the second unit that is connected to the second storage unit with the second port identification information; acquiring, by the management control unit, correlation information; and determining an optical fiber connection relation between the first unit and the second unit. |