CN107994942B - Method for discovering topology of service resource tree of optical broadband access network - Google Patents

Method for discovering topology of service resource tree of optical broadband access network Download PDF

Info

Publication number
CN107994942B
CN107994942B CN201711259670.5A CN201711259670A CN107994942B CN 107994942 B CN107994942 B CN 107994942B CN 201711259670 A CN201711259670 A CN 201711259670A CN 107994942 B CN107994942 B CN 107994942B
Authority
CN
China
Prior art keywords
uplink
confirmed
equipment
link
olt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711259670.5A
Other languages
Chinese (zh)
Other versions
CN107994942A (en
Inventor
钟金凯
杨浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ustc Sinovate Software Co ltd
Original Assignee
Ustc Sinovate Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ustc Sinovate Software Co ltd filed Critical Ustc Sinovate Software Co ltd
Priority to CN201711259670.5A priority Critical patent/CN107994942B/en
Publication of CN107994942A publication Critical patent/CN107994942A/en
Application granted granted Critical
Publication of CN107994942B publication Critical patent/CN107994942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects

Abstract

The invention discloses an optical broadband access network service resource tree topology discovery algorithm, belongs to the technical field of optical broadband access networks, and relates to an algorithm implementation of network topology discovery based on an MAC address forwarding principle, a network link splicing method of optical network equipment (OLT) and Optical Network Units (ONU), and association matching of customer services and network topology. The algorithm comprises four steps of basic data acquisition, network physical link splicing, service and link splicing and service resource tree topology formation. The topology discovery algorithm for the service resource tree of the optical broadband access network has the advantages of good real-time performance, low maintenance cost and high accuracy, and can accurately discover and locate the optical broadband network fault in real time.

Description

Method for discovering topology of service resource tree of optical broadband access network
The technical field is as follows:
the invention relates to the technical field of optical broadband access networks, in particular to a topology discovery method of an optical broadband access network service resource tree, which has good real-time performance, low maintenance cost and high accuracy and can accurately discover and locate optical broadband network faults in real time.
Background art:
with the development of optical broadband network technology, the size of the network is larger and the structure is more and more complex, but many network management tools only provide topology discovery at the network layer. The main element of the network layer is the router, and the router has learning capability and can timely master the routing distribution information in the whole network, so that the function of automatically selecting the route in the network is realized, and the topological structure can be obtained by acquiring and analyzing the routing table. Link layer topology discovery is much more difficult than network layer topology discovery, particularly link topology discovery involving optical network devices. In the current network operation environment, operators basically use a network resource management system or a CRM system to manage broadband services, switches, OLT devices, ONU devices, and network topology relationships thereof in a manual entry manner. The relation among users, services and equipment of the optical broadband is maintained in a manual input mode, the real-time performance is poor, the maintenance cost is high, the accuracy is difficult to guarantee, and the faults of the optical broadband network are difficult to find and position accurately and in real time.
The invention content is as follows:
the technical problem to be solved by the invention is to provide a method for discovering the topology of the service resource tree of the optical broadband access network, which has the advantages of good real-time performance, low maintenance cost and high accuracy and can accurately discover and locate the faults of the optical broadband network in real time.
The technical solution of the present invention is to provide a method for discovering topology of service resource tree of optical broadband access network, which comprises the following steps:
step 1, acquiring basic data;
step 2, splicing network physical links;
step 3, splicing the service and the link;
and 4, forming a service resource tree topology.
Preferably, the method for discovering the topology of the service resource tree of the optical broadband access network according to the present invention, wherein the step 1 includes the following steps:
step 1.1, all switches in a link layer network are collected through a TELNET protocol, and information comprises MAC addresses and port numbers;
step 1.2, the MAC address forwarding tables of all the switch ports and the information of the port configuration VLAN are collected through a TELNET protocol.
And step 1.3, acquiring the MAC addresses, port numbers and QinQ VLAN information of the OLT and the ONU equipment of the PON network and the connection relation between the OLT and the ONU through the SNMP.
Preferably, the method for discovering the topology of the service resource tree of the optical broadband access network according to the present invention, wherein the step 2 includes the following specific steps:
step 2.1, with the terminal ONU as a starting point, establishing the connection relationship between the ONU and the OLT by using the information acquired in the step 1;
step 2.2, the OLT MAC searched in the step 1 is taken as the starting equipment, the MAC address of the uplink port of the OLT is searched in the MAC address forwarding table of the link layer equipment, and the equipment corresponding to the searched port is taken as the uplink equipment to be confirmed of the OLT;
step 2.3, in the uplink equipment to be confirmed by the OLT, in the MAC address forwarding pool of the same port of the uplink equipment to be confirmed, if other uplink equipment to be confirmed by the OLT exists, the uplink equipment is not the real uplink of the OLT equipment, and after the non-real uplink equipment is removed, if the number of the remaining uplink equipment to be confirmed is 1, the uplink equipment is used as the uplink switch for the real uplink confirmation of the OLT equipment, otherwise, the uplink equipment to be confirmed is totally marked as the uplink switch to be confirmed;
step 2.4, traversing the confirmed uplink port MAC address of the uplink switch, retrieving the uplink port MAC address in a link layer equipment MAC address forwarding table, and taking the equipment corresponding to the retrieved port as the uplink equipment to be confirmed of the equipment;
and 2.5, in the MAC address forwarding pool of the to-be-confirmed uplink switch on the same port of the to-be-confirmed uplink switch, if other to-be-confirmed uplink devices of other switches exist, the to-be-confirmed uplink switch is not the real uplink of the confirmed uplink switch. After the non-real uplink devices are removed, if the number of the remaining uplink devices to be confirmed is 1, the remaining uplink devices are taken as the confirmed uplink exchanger real uplink exchanger, and otherwise, the remaining uplink devices are all recorded as the uplink devices to be confirmed;
step 2.6, repeatedly executing the step 2.4 to the step 2.4, and finishing the search logic when the number of the devices to be confirmed to be connected is 0;
step 2.7, there may be multiple physical links found from the ONU, and all the physical links are stored as optical broadband access network physical link data.
Preferably, step 3 specifically refers to matching the device information and QinQ VLAN information carried in the specific service with the spliced device information and QinQ VLAN information in the physical link, and forming a complete service link if the matching is successful. .
Preferably, step 4 of the method for discovering the service resource tree topology of the optical broadband access network of the present invention specifically means that the same device in each service link is deduplicated to form the service resource tree topology.
The invention has the beneficial effects that: on the basis of the MAC address forwarding principle, the invention combines the PON network equipment connection and the division method of the optical broadband access network service, can quickly and accurately discover the optical broadband access network topology structure, and forms the complete service resource tree topology. The service resource tree topology formed by automatic acquisition, calculation and processing can effectively reduce the cost of maintenance and management of the optical broadband access network topology, improve the accuracy of the optical broadband access network topology management, and provide efficient support for network management requirements such as network monitoring, fault location and performance management.
Description of the drawings:
fig. 1 is a schematic flow chart of a method for discovering an optical broadband access network service resource tree topology according to the present invention.
The specific embodiment is as follows:
the following describes a method for discovering an optical broadband access network service resource tree topology according to the present invention in detail with reference to the accompanying drawings and specific embodiments:
as shown in fig. 1, the method for discovering the topology of the service resource tree of the optical broadband access network of the present invention includes the following steps:
step 1, acquiring basic data;
1.1, acquiring all switches in a link layer network by a TELNET protocol, wherein the information comprises an MAC address and a port number;
1.2, collecting MAC address forwarding tables of all switch ports and information of port configuration VLAN through TELNET protocol.
1.3, the MAC addresses, the port numbers and the QinQ VLAN information of the OLT and the ONU equipment of the PON network and the connection relation between the OLT and the ONU are collected through the SNMP.
Step 2, splicing network physical links;
2.1, with the terminal ONU as a starting point, establishing the connection relationship between the ONU and the OLT by using the information acquired in the step 1;
2.2, with the OLT MAC searched in the step 1 as an initial device, searching the MAC address of the uplink port in a link layer device MAC address forwarding table, and using the device corresponding to the searched port as the uplink device to be confirmed of the OLT;
2.3 in the uplink device to be confirmed by the OLT, in the MAC address forwarding pool of the same port of the uplink device to be confirmed, if other uplink devices to be confirmed by the OLT exist, the uplink device is not the real uplink of the OLT device, and after the non-real uplink devices are removed, if the number of the remaining uplink devices to be confirmed is 1, the uplink device is used as the uplink switch for the real uplink confirmation of the OLT device, otherwise, the uplink devices to be confirmed are all recorded as the uplink switch to be confirmed;
2.4 traversing the confirmed uplink port MAC address of the uplink switch, searching the uplink port MAC address in the link layer equipment MAC address forwarding table, and using the equipment corresponding to the searched port as the uplink equipment to be confirmed of the equipment;
2.5 in the MAC address forwarding pool of the to-be-confirmed uplink switch on the same port, if there are other to-be-confirmed uplink devices of other switches, the to-be-confirmed uplink switch is not a real uplink of the confirmed uplink switch. After the non-real uplink devices are removed, if the number of the remaining uplink devices to be confirmed is 1, the remaining uplink devices are taken as the confirmed uplink exchanger real uplink exchanger, and otherwise, the remaining uplink devices are all recorded as the uplink devices to be confirmed;
2.6, repeatedly executing the step 2.4 to the step 2.4, and finishing the search logic when the number of the devices to be confirmed to be connected is 0;
2.7 there may be multiple physical links found from the ONU, and all the physical links are stored as optical broadband access network physical link data.
Step 3, splicing the service and the link;
and matching the equipment information (including BRAS, SR, OLT, ONU and the like) and QinQ VLAN information carried in the specific service with the equipment information and the QinQ VLAN information in the spliced physical link, and forming a complete service link if the equipment information and the QinQ VLAN information are successfully matched.
Step 4, forming a service resource tree topology:
and removing the duplication of the same equipment in each service link to form a service resource tree topology.
The above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements of the technical solution of the present invention may be made by those skilled in the art without departing from the spirit of the present invention, which is defined by the claims.

Claims (1)

1. A method for discovering the topology of the service resource tree of the optical broadband access network is characterized in that: the discovery method comprises the following steps:
step 1, acquiring basic data;
step 2, splicing network physical links;
step 3, splicing the service and the link;
step 4, forming a service resource tree topology;
the step 1 comprises the following specific steps:
step 1.1, all switches in a link layer network are collected through a TELNET protocol, and information comprises MAC addresses and port numbers;
step 1.2, acquiring MAC address forwarding tables of all switch ports and information of port configuration VLAN through a TELNET protocol;
step 1.3, collecting the MAC addresses, port numbers and QinQ VLAN information of PON equipment OLT and ONU and the connection relation between the OLT and the ONU through SNMP;
the step 2 comprises the following specific steps:
step 2.1, with the terminal ONU as a starting point, establishing the connection relationship between the ONU and the OLT by using the information acquired in the step 1;
step 2.2, the OLT MAC searched in the step 1 is taken as the starting equipment, the MAC address of the uplink port of the OLT is searched in the MAC address forwarding table of the link layer equipment, and the equipment corresponding to the searched port is taken as the uplink equipment to be confirmed of the OLT;
step 2.3, in the uplink equipment to be confirmed by the OLT, in the MAC address forwarding pool of the same port of the uplink equipment to be confirmed, if other uplink equipment to be confirmed by the OLT exists, the uplink equipment is not the real uplink of the OLT equipment, and after the non-real uplink equipment is removed, if the number of the remaining uplink equipment to be confirmed is 1, the uplink equipment is used as the uplink switch for the real uplink confirmation of the OLT equipment, otherwise, the uplink equipment to be confirmed is totally marked as the uplink switch to be confirmed;
step 2.4, traversing the confirmed uplink port MAC address of the uplink switch, retrieving the uplink port MAC address in a link layer equipment MAC address forwarding table, and taking the equipment corresponding to the retrieved port as the uplink equipment to be confirmed of the equipment;
step 2.5, in the MAC address forwarding pool of the same port of the upper-link switch to be confirmed, if other upper-link devices to be confirmed of other switches exist, the upper-link switch to be confirmed is not the real upper link of the confirmed upper-link switch, after the non-real upper-link devices are removed, if the number of the left upper-link devices to be confirmed is 1, the upper-link devices to be confirmed are used as the confirmed upper-link switch, and otherwise, the upper-link devices to be confirmed are all recorded as the upper-link devices to be confirmed;
step 2.6, repeatedly executing the step 2.4 to the step 2.4, and finishing the search logic when the number of the devices to be confirmed to be connected is 0;
step 2.7, a plurality of physical links may exist, which are discovered by taking the ONU as a starting point, and all the physical links are stored as the data of the optical broadband access network physical link;
step 3 specifically means that the equipment information and the QinQ VLAN information carried in specific services are used for matching with the equipment information and the QinQ VLAN information in the spliced physical link, and a complete service link is formed if the equipment information and the QinQ VLAN information are successfully matched;
step 4 specifically means that the same device in each service link is deduplicated to form a service resource tree topology.
CN201711259670.5A 2017-12-04 2017-12-04 Method for discovering topology of service resource tree of optical broadband access network Active CN107994942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711259670.5A CN107994942B (en) 2017-12-04 2017-12-04 Method for discovering topology of service resource tree of optical broadband access network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711259670.5A CN107994942B (en) 2017-12-04 2017-12-04 Method for discovering topology of service resource tree of optical broadband access network

Publications (2)

Publication Number Publication Date
CN107994942A CN107994942A (en) 2018-05-04
CN107994942B true CN107994942B (en) 2020-04-14

Family

ID=62035407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711259670.5A Active CN107994942B (en) 2017-12-04 2017-12-04 Method for discovering topology of service resource tree of optical broadband access network

Country Status (1)

Country Link
CN (1) CN107994942B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110121124B (en) * 2019-05-10 2021-11-19 江西山水光电科技股份有限公司 PON aggregation remote DCN ring prevention method
CN112203164B (en) * 2019-07-08 2023-04-28 中国移动通信集团贵州有限公司 Data processing method and device and electronic equipment
CN110856051B (en) * 2019-11-04 2021-10-08 中盈优创资讯科技有限公司 Method and device for checking optical wide resource tree
CN112291162B (en) * 2020-10-02 2022-12-06 中盈优创资讯科技有限公司 Business dynamic resource allocation method
CN113726631B (en) * 2021-07-21 2023-03-28 中盈优创资讯科技有限公司 Static IP (Internet protocol) government-enterprise user resource business path auditing method and device
CN113783724A (en) * 2021-08-27 2021-12-10 国网江苏省电力有限公司南通供电分公司 Terminal access monitoring early warning platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610178A (en) * 2009-07-20 2009-12-23 南京联创科技股份有限公司 Method for obtaining physical layer link network topology based on address forwarding mechanism
CN102739539A (en) * 2012-06-29 2012-10-17 广东东研网络科技有限公司 Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150145128A (en) * 2014-06-18 2015-12-29 한국전자통신연구원 Frame conversion-based Mid-span extender for the acceptance of G-PON service in XG-PON link and Method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610178A (en) * 2009-07-20 2009-12-23 南京联创科技股份有限公司 Method for obtaining physical layer link network topology based on address forwarding mechanism
CN102739539A (en) * 2012-06-29 2012-10-17 广东东研网络科技有限公司 Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)

Also Published As

Publication number Publication date
CN107994942A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN107994942B (en) Method for discovering topology of service resource tree of optical broadband access network
CN107395532B (en) Multi-tenant virtual network isolation method based on SDN
CN103081415B (en) Control device, communication system, communication means and record it on and have the record medium of signal procedure
CN109067592B (en) Intelligent management and control device and method for intelligent power distribution and utilization
CN105847023B (en) Operation system network topology acquisition methods and device
CN101873229B (en) Network topology discover method and device based on SNMP (Simple Network Management Protocol)
CN107294745B (en) Network topology automatic discovery method and device
CN108206792B (en) Topological structure discovery method and device of switch
CN102143007A (en) Distribution-based hierarchical network topology discovery method
US20140317313A1 (en) Nat sub-topology management server
CN105991334A (en) Network topology self-discovering method and device
CN105393511A (en) Method, device and system for switching switch modes
CN104579978B (en) A kind of dynamic network Datalink Layer Topology Discovery method
CN112203172B (en) Special line opening method and device
US8914503B2 (en) Detected IP link and connectivity inference
CN110932906A (en) Data center network topology structure discovery method based on SNMP technology and topology structure discovery system thereof
CN100583830C (en) Method and apparatus for gathering and analyzing flux
CN102326370B (en) Message processing method, apparatus and system
CN105743780B (en) Message transmitting method and device
CN115314392A (en) Automatic network topology generation system and method based on network equipment resource discovery algorithm
CN104579979A (en) Network topology discovery method based on MAC information
CN106716870A (en) Local packet switching at a satellite device
CN108400922A (en) virtual local area network configuration system and method and computer program product thereof
CN102790692A (en) Method for calculating network element interface and web master
CN103117880A (en) Web technology based network topological generation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180504

Assignee: Kedaduochuang cloud Technology Co.,Ltd.

Assignor: USTC SINOVATE SOFTWARE CO.,LTD.

Contract record no.: X2023980034512

Denomination of invention: A Topology Discovery Method for Service Resource Tree in Optical Broadband Access Networks

Granted publication date: 20200414

License type: Common License

Record date: 20230407

EE01 Entry into force of recordation of patent licensing contract