Method and device for acquiring ring system ownership of physical ports
A technology of a physical port and an acquisition method, which is applied in the field of ring system attribution acquisition of physical ports, can solve problems such as error-prone and low work efficiency of the ring system to which it belongs, and achieve the effect of avoiding errors.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] In order to solve the problem that manually determining the ring system to which a physical port belongs is a huge workload and is prone to errors, a method for obtaining the ring system ownership of a physical port is provided, which can effectively improve the efficiency and accuracy of determining the ring system to which a physical port belongs.
[0025] See figure 1 , figure 1 It is a schematic flowchart of a method for acquiring ring system ownership of a physical port in Embodiment 1 of the present invention, including:
[0026] S01: Obtain the physical ports of the entire network and the topological connections of the entire network;
[0027] By accessing the database, obtain the physical ports of the entire network and the topological connections of the entire network, and determine the physical ports and their types of the entire network. It should be understood that the physical ports of the entire network include user-side ports and network-side ports, and...
Embodiment 2
[0043] In order to better understand the present invention, this embodiment provides a method for obtaining ring system ownership of lower physical ports, please refer to image 3 ,include:
[0044] S101: Obtain the physical ports of the whole network, store the port name and the port object in MapPort and initialize them;
[0045] By accessing the database, the physical ports of the entire network are obtained, and each physical port is stored in the MapPort structure according to the port name and port object. The port object includes a physical port type, a monitoring point type, and a ring system to which it belongs, and the initial physical port type is a user-side port, the monitoring point type is a traffic monitoring point, and the ring system to which it belongs is empty.
[0046] S102: Obtain the topological connection of the entire network, store it in the TopoLinkList-T linked list, and update the corresponding physical port type;
[0047] By querying the database,...
Embodiment 3
[0082] The present invention also provides a device for obtaining ring system ownership of a physical port, which is used to implement the methods described in Embodiment 1 and Embodiment 2. Please refer to Figure 5 ,include:
[0083] An information acquisition module 11, configured to acquire physical ports of the entire network and topological connections of the entire network;
[0084] A type judging module 12, used to determine whether the type of each physical port is a user side port or a network side port according to the entire network topology connection;
[0085] The processing module 13 is configured to attribute the physical ports whose type is the user-side port among the physical ports to the ring system to which the network element where the physical port belongs; the ring system to which the physical port whose type is the network-side port belongs, according to the Determine the ring system to which the network element where the physical port belongs and the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


