CN112565095B - Automatic discovery and analysis method and device for internet special line - Google Patents

Automatic discovery and analysis method and device for internet special line Download PDF

Info

Publication number
CN112565095B
CN112565095B CN202011459159.1A CN202011459159A CN112565095B CN 112565095 B CN112565095 B CN 112565095B CN 202011459159 A CN202011459159 A CN 202011459159A CN 112565095 B CN112565095 B CN 112565095B
Authority
CN
China
Prior art keywords
equipment
bras
switch
port
access
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
CN202011459159.1A
Other languages
Chinese (zh)
Other versions
CN112565095A (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.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology 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 Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN202011459159.1A priority Critical patent/CN112565095B/en
Publication of CN112565095A publication Critical patent/CN112565095A/en
Application granted granted Critical
Publication of CN112565095B publication Critical patent/CN112565095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/287Remote access server, e.g. BRAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method and a device for automatically discovering and analyzing an internet private line relate to the technical field of internet private line discovery, equipment configuration files are regularly collected, equipment configuration information is obtained and recorded into a database, after an internet private line service is opened, a metropolitan area network (BRAS), convergence layer equipment, access layer equipment and a network topology structure of a user are recorded into the database, and a process of discovering the internet private line is completed by analyzing the configuration files of the related equipment of the internet private line, sequentially discovering a downstream convergence switch or the access layer equipment from the BRAS side from top to bottom according to different network models and discovery rules until the user side. The invention has the beneficial effects that: the automatic discovery and query means of the special line of the Internet are provided, the automatic discovery of the special line service of the user from a metropolitan area network (BRAS) to a convergence switch to an access switch or an Optical Line Terminal (OLT) device is realized, the manual repeated login of the device for querying the special line service is avoided, and the working efficiency is improved.

Description

Automatic discovery and analysis method and device for internet special line
Technical Field
The invention belongs to the technical field of Internet private line discovery, and particularly relates to an Internet private line automatic discovery analysis method and device.
Background
Along with the development requirements of customers and service diversity, the internet special line service opening faces frequent new loading, modification and dismantling operations. Before and after these operations, there is no function that obtains the device configuration information by parsing the device configuration file, and gradually discovers a set of internet private line discovery process from a broadband Access server bras (broadband Remote Access server) side to a user after discovering the aggregation layer switch and the Access layer device connected thereto, according to the network topology structure, to finally confirm the correctness of service provisioning, and to provide private line information query for subsequent extended services. Most of the existing private line discovery processes implement manual login equipment on site, query the relevant configuration under each port, and find out the vlan information configured under each port and the topological relation. Therefore, a piece of special line information from the BRAS to the convergence switch and then to the access switch or from the OLT to the user is analyzed in sequence. This method is time and labor consuming and inconvenient to query or maintain. Therefore, how to realize the automatic discovery function of the internet private line data based on analyzing the device configuration file under the private line is the core theme of the patent.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an automatic discovery and analysis method and device for an internet private line, which solve the problems of automatic discovery and analysis of internet private line data and the like based on an equipment configuration file under an analyzed private line before and after the internet private line is opened, avoid manual repeated login of equipment to inquire private line service and the like, improve the working efficiency, improve the accuracy of next opening of the internet private line service, and provide data accuracy guarantee for subsequent extended functions.
The technical scheme adopted by the invention for solving the technical problems is as follows:
in a first aspect of the invention, an internet special line automatic discovery analysis method is provided, which comprises the steps of
(1) Acquiring equipment configuration files regularly, acquiring equipment configuration information and inputting the equipment configuration information into a database;
(2) after the Internet private line service is opened, recording a metropolitan area network BRAS, convergence layer equipment, access layer equipment and a network topology structure model of a user into a database;
(3) and analyzing the configuration result of the configuration file of the relevant equipment of the special Internet line, sequentially discovering the downstream aggregation switch or the access layer equipment from the BRAS side to the top down according to different network models and discovery methods until the user side, and completing the discovery process of the special Internet line.
Preferably, the network model of the internet private line is divided into two cases: BRAS direct subscribers and non-BRAS direct subscribers.
Preferably, the non-BRAS direct connection user is divided into BRAS-convergence layer switch-access optical line terminal-user and BRAS-convergence layer switch-access layer switch-user.
Preferably, the method for discovering the BRAS direct connection user comprises the following steps: scanning the configuration file, analyzing and inputting the configuration file into a portextinfo of an equipment port information table of a network manager, and performing special line discovery on equipment ports meeting all the following conditions:
(1) the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
(2) the port does not exist in the portcfgvlan table, namely the port does not pass through vlan transparent transmission services but is directly connected with the bras;
(3) the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
(4) the domain name of the port is limited, and the port needs to be filtered according to the special line discovery requirement;
each port of the BRAS meeting all the above conditions is a private line service, and only BRAS equipment needing to be determined is found successfully.
Preferably, the method for discovering the non-BRAS direct connection user comprises the following steps:
(1) filtering ports, and finding BRAS equipment of a private line service;
(2) discovering a convergence layer switch connected with a BRAS of a private line service;
(3) discovering an access layer switch or an optical line terminal connected with a convergence layer switch;
(4) and discovering the optical network unit connected with the access layer switch or the optical line terminal.
Preferably, the method for discovering the BRAS device of the private line service by port filtering in step (1) includes: after the configuration file is scanned and analyzed, the portextinfo of the network management is input, the ports of the BRAS equipment are filtered according to the following conditions, and each port meeting the following all conditions is a special line:
a. the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
b. the port exists in the portcfgvlan table, and the pvlan is not empty, so that the user is accessed in a transparent transmission vlan mode;
c. the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
d. the domain name domain to which the port belongs needs to be filtered.
Preferably, the specific discovery method for the non-BRAS direct connection user comprises the following steps:
(1) the method comprises the steps that a BRAS lower connection port and an outer layer VLAN are associated with a network topology table and a VLAN port table to obtain equipment information of a lower connection switch, if the return fails, the information of an optical line terminal and an optical network unit of an access layer is obtained through an optical line terminal and an optical network unit query mechanism in a network manager by the BRAS lower connection port, the outer layer VLAN and the inner layer VLAN, and the information of the optical line terminal and the optical network unit of the access layer is obtained till the special line of the BRAS equipment, the optical line terminal of the access layer and the optical network unit is found out completely; if the return is successful, judging whether the equipment is accessed according to the returned equipment attribute according to the following steps 1.1-1.3:
1.1, if the attribute of the lower connection port equipment accords with the attribute of the first-level aggregation switch, indicating that the lower connection port equipment is the first-level aggregation switch, recording the upper connection port and the lower connection port and the attribute of the first-level aggregation layer switch, and continuously executing the step (2);
1.2, if the attribute of the lower connection port equipment accords with the attribute of the access switch, indicating that the lower connection port equipment is the access layer switch, and finishing the discovery of all the BRAS equipment and the access layer switch of the metropolitan area network;
1.3, if the other conditions exist, no BRAS downlink equipment is found;
(2) according to the lower connection port and the outer layer VLAN of the first-stage aggregation switch, the information of the lower connection equipment is obtained through a lower connection equipment obtaining mechanism in the network manager: if the return fails, setting the current device identifier currdev as csw1, and continuing to execute the step (4); if the return is successful, judging whether the access equipment is the access equipment according to the returned equipment attribute according to the following steps 2.1-2.3:
2.1, if the equipment attribute belongs to a second-level aggregation switch, a second-level aggregation switch is connected below the first-level aggregation switch, and the step (3) is continuously executed;
2.2, if the equipment attribute belongs to the access switch, indicating that the downstream equipment is an access layer switch, and completing discovery of a special line of a metropolitan area network BRAS, a first-level convergence layer switch and the access layer switch;
2.3 if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(3) acquiring information of the downlink equipment according to the secondary aggregation layer switch, if the search fails, setting current equipment curdev as csw2, and continuing to execute the step (4); if the search is successful, judging whether the equipment is accessed according to the following steps 3.1-3.2 by pressing the attribute of the equipment:
3.1, the attribute of the downlink device is an access device, which indicates that the downlink device is an access switch, and the special line is successfully discovered by the BRAS, the first-level convergence layer switch, the second-level convergence layer switch and the access layer switch;
3.2, if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(4) searching an optical line terminal:
4.1, if the system is a passive optical network access network: acquiring information of the optical line terminal and the optical network unit according to the current equipment level through an optical line terminal and optical network unit information searching mechanism, and if the information is successfully acquired, successfully discovering a special line from a BRAS to a convergence layer switch to the optical line terminal; if the calling return fails, executing the step (5);
4.2, if the system is not a passive optical network access network, executing the step (5);
(5) taking the upper-level switch as an access device:
5.1, if currdev is csw1 and the attribute of csw1 conforms to private access switch device: the first-level aggregation switch is the access device, and the special line from the BRAS to the access switch is successfully found.
And 5.2, if the curdev is csw2 and the csw2 device attribute conforms to the access switch device, finding the special line from the BRAS to the first-level convergence layer switch-access layer switch successfully.
(6) The found private line data is recorded into a database, so that the inquiry is facilitated and a data basis is provided for the subsequent related function expansion.
In a second aspect of the present invention, there is provided an internet private line automatic discovery and analysis apparatus, including:
the information acquisition module is used for periodically acquiring the equipment configuration file, acquiring the equipment configuration information and inputting the equipment configuration information into the database;
the data entry module is used for entering a metropolitan area network BRAS, convergence layer equipment, access layer equipment and a network topology structure model of a user into a database after the Internet private line service is opened;
the file analysis module is used for analyzing configuration files of related equipment of the Internet private line and determining a network model;
and the Internet private line discovery module is used for sequentially discovering the downstream aggregation switch or the access layer equipment from the BRAS side to the user side from top to bottom according to different network models and configured discovery methods and completing the discovery process of the Internet private line.
In a third aspect of the invention, an electronic device is provided, comprising a memory having stored thereon a computer program and a processor implementing the method as described in the first aspect of the invention when executing the program.
In a fourth aspect of the invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method as set forth in the first aspect of the invention.
The invention has the beneficial effects that: according to the method, the device configuration information of the whole network is automatically acquired, the configuration file information is uniformly stored in a warehouse, a network topology table formed when the device is connected into the network is correlated, and an automatic discovery and query means of the special internet line is provided, so that the purpose that the special line service of a user is automatically discovered finally from a metropolitan area network (BRAS) to a convergence switch of a broadband access network to an access switch or an Optical Line Terminal (OLT) can be realized, the manual operation of frequently logging in the device is omitted, the burden of operation and maintenance colleagues is reduced, the special internet line query efficiency is improved, and the service query and technical reference value is provided for the next opening and modification of the special internet line.
Drawings
The above and other features, advantages and aspects of embodiments of the present invention will become more apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
FIG. 1 is a diagram of a prior art network model;
fig. 2 is a schematic overall flow chart of the internet private line automatic discovery analysis method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 shows a schematic diagram of a network model in the prior art.
The business type is DIA (differentiated Internet Access), namely Internet private line, relate to the network model scene as follows, broadband Access server BRAS (broadband Remote Access Server) in the metropolitan area network can connect users directly and form the private line business; in the following description, a plurality of CSWs may be provided through a Convergence layer switch (CSW), but at most two CSWs may be provided, and are referred to as a primary CSW and a secondary CSW, respectively. Then the CSW accesses to the user through an Optical Network Unit (ONU) through OLT equipment of a lower-hanging access layer; in addition, the CSW may be connected to an Access Switch (ASW) and may Access the user through the ASW.
Figure BDA0002830702750000071
After the equipment is accessed to the network, the network manager regularly collects the equipment configuration file, acquires the equipment configuration information and inputs the equipment configuration information into the database, so that a data basis is provided for the Internet private line discovery. After the internet private line service is opened, the metropolitan area network BRAS, the convergence layer equipment, the access layer equipment and the network topology structure of the user are also input into a database according to a certain rule. The method comprises the steps of sequentially discovering a downstream aggregation switch or an access layer device from top to bottom from a BRAS side to a user side according to different network models and certain discovery rules by analyzing configuration results of configuration files of related devices of the Internet private line, and completing the discovery process of the Internet private line.
Fig. 2 is a schematic overall flow chart of the internet private line automatic discovery analysis method of the present invention.
In order to form a set of instant query and confirmation system of the Internet private line service opening accuracy before and after the Internet private line is opened, prevent the failure of the Internet service opening caused by the statistical error of the private line service, and simultaneously improve the query efficiency of the private line service and the effectiveness of the service opening, the invention provides an automatic discovery and analysis method and a device of the Internet private line, and the specific method is as follows:
(1) acquiring equipment configuration files regularly, acquiring equipment configuration information and inputting the equipment configuration information into a database;
(2) after the Internet private line service is opened, recording a metropolitan area network (BRAS), convergence layer equipment, access layer equipment and a network topology structure model of a user into a database;
(3) and analyzing the configuration result of the configuration file of the relevant equipment of the special Internet line, sequentially discovering the downstream aggregation switch or the access layer equipment from the BRAS side to the top down according to different network models and discovery methods until the user side, and completing the discovery process of the special Internet line.
For BRAS direct subscriber cases: scanning the configuration file, analyzing and inputting the configuration file into a portextinfo of an equipment port information table of a network manager, and performing special line discovery on equipment ports meeting all the following conditions:
(1) the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
(2) the port does not exist in the portcfgvlan table, namely the port does not transmit the service through the vlan but directly connects through the bras;
(3) the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
(4) the domain name of the port is limited, and the port needs to be filtered according to the special line discovery requirement;
each port of the BRAS meeting all the above conditions is a private line service, and only BRAS equipment needing to be determined is found successfully.
For the case of non-BRAS direct subscribers:
firstly, port filtering finds BRAS equipment of private line service: after the configuration file is scanned and analyzed, the portextinfo of the network management is input, the ports of the BRAS equipment are filtered according to the following conditions, and each port meeting the following all conditions is a special line:
a. the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
b. the port exists in the portcfgvlan table, and the pvlan is not empty, so that the user is accessed in a transparent transmission vlan mode;
c. the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
d. the domain name domain to which the port belongs needs to be filtered.
Secondly, discovering a downstream aggregation switch or access layer equipment until a user side, and completing the discovery process of the internet private line, wherein the specific method comprises the following steps:
(1) the method comprises the steps that a BRAS lower connection port and an outer layer VLAN are associated with a network topology table and a VLAN port table to obtain equipment information of a lower connection switch, if the return fails, the information of an optical line terminal and an optical network unit of an access layer is obtained through an optical line terminal and an optical network unit query mechanism in a network manager by the BRAS lower connection port, the outer layer VLAN and the inner layer VLAN, and the information of the optical line terminal and the optical network unit of the access layer is obtained till the special line of the BRAS equipment, the optical line terminal of the access layer and the optical network unit is found out completely; if the return is successful, judging whether the equipment is accessed according to the returned equipment attribute according to the following steps 1.1-1.3:
1.1, if the attribute of the lower connection port equipment accords with the attribute of the first-level aggregation switch, indicating that the lower connection port equipment is the first-level aggregation switch, recording the upper connection port and the lower connection port and the attribute of the first-level aggregation layer switch, and continuously executing the step (2);
1.2, if the attribute of the lower connection device accords with the attribute of the access switch, indicating that the lower connection device is an access layer switch, and finishing the discovery of all the BRAS devices and the access layer switches of the metropolitan area network;
1.3, if the other conditions exist, no BRAS downlink equipment is found;
(2) according to the lower connection port and the outer layer VLAN of the first-level aggregation switch, the information of the lower connection equipment is obtained through a lower connection equipment obtaining mechanism in a network management: if the return fails, setting the current device identifier currdev as csw1, and continuing to execute the step (4); if the return is successful, judging whether the access equipment is the access equipment according to the returned equipment attribute according to the following steps 2.1-2.3:
2.1, if the equipment attribute belongs to a second-level aggregation switch, a second-level aggregation switch is connected below the first-level aggregation switch, and the step (3) is continuously executed;
2.2, if the equipment attribute belongs to the access switch, indicating that the downlink equipment is an access layer switch, and completing discovery of a special line of a metropolitan area network BRAS, a first-level convergence layer switch and the access layer switch;
2.3 if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(3) acquiring information of the downlink equipment according to the secondary aggregation layer switch, if the search fails, setting current equipment curdev as csw2, and continuing to execute the step (4); if the search is successful, judging whether the equipment is accessed according to the following steps 3.1-3.2 by pressing the attribute of the equipment:
3.1, the attribute of the downlink device is an access device, which indicates that the downlink device is an access switch, and the special line is successfully discovered by the BRAS, the first-level convergence layer switch, the second-level convergence layer switch and the access layer switch;
3.2, if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(4) searching an optical line terminal:
4.1, if the system is a passive optical network access network: acquiring information of the optical line terminal and the optical network unit according to the current equipment level through an optical line terminal and optical network unit information searching mechanism, and if the information is successfully acquired, successfully discovering a special line from a BRAS to a convergence layer switch to the optical line terminal; if the calling and returning are failed, executing the step (5);
4.2, if the system is not a passive optical network access network, executing the step (5);
(5) taking the upper-level switch as an access device:
5.1, if currdev is csw1 and the attribute of csw1 conforms to private access switch device: the first-level aggregation switch is the access device, and the special line from the BRAS to the access switch is successfully found.
And 5.2, if the curdev is csw2 and the csw2 device attribute conforms to the access switch device, finding the special line from the BRAS to the first-level convergence layer switch-access layer switch successfully.
(6) The found private line data is recorded into a database, so that the inquiry is facilitated and a data basis is provided for the subsequent related function expansion.
The automatic discovery and analysis device for the internet private line comprises:
the information acquisition module is used for periodically acquiring the equipment configuration file, acquiring the equipment configuration information and inputting the equipment configuration information into the database;
the data entry module is used for entering a metropolitan area network BRAS, convergence layer equipment, access layer equipment and a network topology structure model of a user into a database after the Internet private line service is opened;
the file analysis module is used for analyzing configuration files of related equipment of the internet private line and determining a network model;
and the internet private line discovery module is used for sequentially discovering the downlink aggregation switch or the access layer equipment from the BRAS side to the top down according to different network models and configured discovery methods until the user side completes the discovery process of the internet private line.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The invention provides an automatic discovery and query means of the internet private line, which basically realizes the automatic discovery of the private line service of a user from a metropolitan area network (BRAS) to a convergence layer switch of a broadband access network and then to an access switch or Optical Line Terminal (OLT) equipment, avoids the manual repeated login of equipment for querying the private line service and the like, and improves the working efficiency; and the current private line service discovery result can be used as a reference, so that the accuracy of the next Internet private line service opening is greatly improved, and the data accuracy guarantee is provided for the subsequent extended functions.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), and the like.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Further, while operations are depicted in a particular order, this should be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the invention. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (7)

1. An Internet private line automatic discovery analysis method is characterized in that: comprises that
(1) Acquiring equipment configuration files regularly, acquiring equipment configuration information and inputting the equipment configuration information into a database;
(2) after the Internet private line service is opened, recording a metropolitan area network (BRAS), convergence layer equipment, access layer equipment and a network topology structure model of a user into a database;
(3) analyzing a configuration result of a configuration file of related equipment of the internet private line, sequentially discovering a downstream aggregation switch or access layer equipment from the BRAS side to the top down according to different network models and a discovery method until a user side, and completing a discovery process of the internet private line; the network model of the internet special line is divided into two situations: the method comprises the following steps that BRAS direct connection users and non-BRAS direct connection users, wherein the discovery method of the non-BRAS direct connection users comprises the following steps:
(3.1) filtering ports, and discovering the BRAS equipment of the private line service;
(3.2) discovering a convergence layer switch connected with a BRAS of the private line service;
(3.3) discovering an access layer switch or an optical line terminal connected with the convergence layer switch;
(3.4) discovering the optical network unit connected with the access layer switch or the optical line terminal;
the method for discovering the BRAS equipment of the private line service by port filtering in the step (3.1) comprises the following steps: after scanning and analyzing the configuration file, entering the portextinfo of the network manager, filtering the ports of the BRAS equipment according to the following conditions, wherein each port meeting the following all conditions is a special line:
a. the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
b. the port exists in the portcfgvlan table, and the pvlan is not empty, so that the user is accessed in a transparent transmission vlan mode;
c. the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
d. the domain name domain to which the port belongs needs filtering.
2. The method for automatically discovering and analyzing internet private lines according to claim 1, wherein the method comprises the following steps: the non-BRAS direct connection user condition is divided into two types of BRAS-convergence layer switch-access optical line terminal-user and BRAS-convergence layer switch-access layer switch-user.
3. The method for automatically discovering and analyzing internet private lines according to claim 1, wherein the method comprises the following steps: the method for discovering the BRAS direct connection user comprises the following steps: scanning the configuration file, analyzing and inputting the configuration file into a device port information table portextinfo of a network manager, and performing special line discovery on device ports meeting all the following conditions:
(1) the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
(2) the port does not exist in the portcfgvlan table, namely the port does not pass the vlan transparent transmission service but is directly connected with the BRAS;
(3) the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
(4) the domain name of the port is limited, and the port needs to be filtered according to the special line discovery requirement;
each port of the BRAS meeting all the above conditions is a private line service, and only BRAS equipment needing to be determined is found successfully.
4. The method for automatically discovering and analyzing internet private lines according to claim 1, wherein the method comprises the following steps: the specific discovery method of the non-BRAS direct connection user comprises the following steps:
(1) the method comprises the steps that a BRAS lower connection port and an outer layer VLAN are associated with a network topology table and a VLAN port table to obtain information of a lower connection switch device, if the return fails, the information of an optical line terminal and an optical network unit of an access layer is obtained through an optical line terminal and an optical network unit query mechanism in a network manager, and the BRAS lower connection port, the outer layer VLAN and the inner layer VLAN until the special line of the BRAS device, the optical line terminal of the access layer and the optical network unit is found out; if the return is successful, judging whether the equipment is accessed according to the returned equipment attribute according to the following steps 1.1-1.3:
1.1, if the attribute of the lower connection port equipment accords with the attribute of the first-level aggregation switch, indicating that the lower connection port equipment is the first-level aggregation switch, recording the upper connection port and the lower connection port and the attribute of the first-level aggregation layer switch, and continuously executing the step (2);
1.2, if the attribute of the lower connection port equipment accords with the attribute of the access switch, indicating that the lower connection port equipment is the access layer switch, and finishing the discovery of all the BRAS equipment and the access layer switch of the metropolitan area network;
1.3, if the other conditions exist, no BRAS downlink equipment is found;
(2) according to the lower connection port and the outer layer VLAN of the first-level aggregation switch, the information of the lower connection equipment is obtained through a lower connection equipment obtaining mechanism in a network management: if the return fails, setting the current device identifier currdev as csw1, and continuing to execute the step (4); if the return is successful, judging whether the equipment is the access equipment according to the returned equipment attribute according to the following steps 2.1-2.3:
2.1, if the equipment attribute belongs to a second-level aggregation switch, a second-level aggregation switch is connected below the first-level aggregation switch, and the step (3) is continuously executed;
2.2, if the equipment attribute belongs to the access switch, indicating that the downlink equipment is an access layer switch, and completing discovery of a special line of a metropolitan area network BRAS, a first-level convergence layer switch and the access layer switch;
2.3 if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(3) acquiring information of the downlink equipment according to the secondary aggregation layer switch, if the search fails, setting current equipment curdev as csw2, and continuing to execute the step (4); if the search is successful, according to the following steps 3.1-3.2, judging whether the equipment is accessed according to the attribute of the equipment:
3.1, the attribute of the downlink device is an access device, which indicates that the downlink device is an access switch, and the special line is successfully discovered by the BRAS, the first-level convergence layer switch, the second-level convergence layer switch and the access layer switch;
3.2, if the other conditions exist, the lower connection equipment of the aggregation switch is not found;
(4) searching an optical line terminal:
4.1, if the system is a passive optical network access network: acquiring information of the optical line terminal and the optical network unit according to the current equipment level through an optical line terminal and optical network unit information searching mechanism, and if the information is successfully acquired, successfully discovering a special line from a BRAS to a convergence layer switch to the optical line terminal; if the calling return fails, executing the step (5);
4.2, if the system is not a passive optical network access network, executing the step (5);
(5) taking the upper-level switch as an access device:
5.1, if currdev is csw1 and the attribute of csw1 conforms to private access switch device: the primary aggregation switch is the access equipment, and the special line from the BRAS to the access switch is successfully found;
5.2, if the curdev is csw2 and the attribute of the csw2 equipment conforms to the access switch equipment, finding the special line from the BRAS to the first-level convergence layer switch-access layer switch successfully;
(6) the found private line data is recorded into a database, so that the inquiry is facilitated and a data basis is provided for the subsequent related function expansion.
5. An internet private line automatic discovery analysis device, characterized by comprising:
the information acquisition module is used for periodically acquiring the equipment configuration file, acquiring the equipment configuration information and inputting the equipment configuration information into the database;
the data entry module is used for entering a metropolitan area network BRAS, convergence layer equipment, access layer equipment and a network topology structure model of a user into a database after the Internet private line service is opened;
the file analysis module is used for analyzing configuration files of related equipment of the Internet private line and determining a network model;
the Internet private line discovery module is used for sequentially discovering the downlink aggregation switch or the access layer equipment from the BRAS side to the top down according to different network models and configured discovery methods until a user side completes the discovery process of the Internet private line;
the network model of the internet special line is divided into two situations: the method comprises the following steps that BRAS direct connection users and non-BRAS direct connection users, wherein the discovery method of the non-BRAS direct connection users comprises the following steps:
(3.1) filtering the port to discover the BRAS equipment of the private line service;
(3.2) discovering a convergence layer switch connected with a BRAS of the private line service;
(3.3) discovering an access layer switch or an optical line terminal connected with the convergence layer switch;
(3.4) discovering the optical network unit connected with the access layer switch or the optical line terminal;
the method for discovering the BRAS equipment of the private line service by port filtering in the step (3.1) comprises the following steps: after scanning and analyzing the configuration file, entering the portextinfo of the network manager, filtering the ports of the BRAS equipment according to the following conditions, wherein each port meeting the following all conditions is a special line:
a. the port description comprises specified keywords, and the keywords are distinguished into upper and lower cases;
b. the port exists in the portcfgvlan table, and the pvlan is not empty, so that the user is accessed in a transparent transmission vlan mode;
c. the port is not bound with a three-layer/two-layer VPN example, so that the possibility of a special VPN line is eliminated;
d. the domain name domain to which the port belongs needs to be filtered.
6. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN202011459159.1A 2020-12-11 2020-12-11 Automatic discovery and analysis method and device for internet special line Active CN112565095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459159.1A CN112565095B (en) 2020-12-11 2020-12-11 Automatic discovery and analysis method and device for internet special line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459159.1A CN112565095B (en) 2020-12-11 2020-12-11 Automatic discovery and analysis method and device for internet special line

Publications (2)

Publication Number Publication Date
CN112565095A CN112565095A (en) 2021-03-26
CN112565095B true CN112565095B (en) 2022-09-13

Family

ID=75062369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459159.1A Active CN112565095B (en) 2020-12-11 2020-12-11 Automatic discovery and analysis method and device for internet special line

Country Status (1)

Country Link
CN (1) CN112565095B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225628B (en) * 2021-04-25 2023-02-10 中国移动通信集团陕西有限公司 Business data configuration method, device, equipment and computer storage medium
CN113726631B (en) * 2021-07-21 2023-03-28 中盈优创资讯科技有限公司 Static IP (Internet protocol) government-enterprise user resource business path auditing method and device
CN115378763A (en) * 2021-09-03 2022-11-22 中盈优创资讯科技有限公司 IPRAN point-to-multipoint dedicated line opening method and device
CN114844821B (en) * 2022-05-07 2023-10-31 深圳市智象科技有限公司 Network automatic discovery method, device, equipment and storage medium
CN115396336A (en) * 2022-08-01 2022-11-25 南京网元通信技术有限公司 MPLS VPN (Multi-protocol Label switching virtual private network) passenger gathering special line active test method based on software simulation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219829A1 (en) * 2016-06-20 2017-12-28 中兴通讯股份有限公司 Method and device for online management of leased line subscriber
CN107769964A (en) * 2017-09-29 2018-03-06 北京天元创新科技有限公司 Special line check method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510831B (en) * 2009-02-25 2011-06-22 南京联创科技集团股份有限公司 Full-automatic firing method for wideband individual line subscriber based on flowpath optimization
CN102082717B (en) * 2010-12-22 2013-06-05 大唐软件技术股份有限公司 Method for identifying topologic connection relationship between access network and metropolitan area network
CN102307129A (en) * 2011-09-09 2012-01-04 南京邮电大学 Real-time network element topology discovery method for IP (internet protocol) metropolitan area network
US9331807B2 (en) * 2012-10-15 2016-05-03 Telefonaktiebolaget L M Ericsson (Publ) Service edge hub device and methods in an optical network node
CN106331197A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 Method for managing Internet protocol host, broadband access server and management server
CN106998254A (en) * 2016-01-22 2017-08-01 中国移动通信集团广东有限公司 For the information processing method and device of EPON topology
CN108270672A (en) * 2017-12-01 2018-07-10 中国联合网络通信集团有限公司 A kind of method and device for calculating circuit routing
CN110191036B (en) * 2019-07-02 2024-03-15 广东晨信科技有限公司 Internet and private network fusion transmission system based on wireless access mode
CN111064605B (en) * 2019-12-10 2021-07-09 中盈优创资讯科技有限公司 Visual end-to-end private line automatic opening method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219829A1 (en) * 2016-06-20 2017-12-28 中兴通讯股份有限公司 Method and device for online management of leased line subscriber
CN107769964A (en) * 2017-09-29 2018-03-06 北京天元创新科技有限公司 Special line check method and system

Also Published As

Publication number Publication date
CN112565095A (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN112565095B (en) Automatic discovery and analysis method and device for internet special line
JP4132441B2 (en) Data management device for managed objects
CN105847023B (en) Operation system network topology acquisition methods and device
CN106130899A (en) A kind of method and apparatus generating service path
CN109981326B (en) Method and device for positioning household broadband sensing fault
CN112822053B (en) SNMP-based link layer network topology structure discovery method and system
CN108733698A (en) A kind of processing method and background service system of log information
CN110941741A (en) Path search processing method, device, server and storage medium for graph data
CN108197187B (en) Query statement optimization method and device, storage medium and computer equipment
CN115470867A (en) Agent matching method, device, equipment and storage medium based on knowledge graph
WO2012126213A1 (en) Method and device for determining call incoming reason
CN106126634A (en) A kind of master data duplicate removal treatment method based on live industry and system
CN111177481A (en) User identifier mapping method and device
CN109484925A (en) Display methods, device, computer equipment and the storage medium of floor information
CN113067710A (en) Online user query method and device, computer equipment and storage medium
CN112328760A (en) Service providing method, device and system
US20060256935A1 (en) Communication system and data processing method
CN110582091B (en) Method and apparatus for locating wireless quality problems
CN112671567B (en) 5G core network topology discovery method and device based on service interface
CN115658746A (en) Authority data query method and device, storage medium and electronic device
CN106959903A (en) Trap instruction Trap processing method and processing device
CN112671565B (en) 5G core network topology discovery method and device based on signaling link
CN111368146A (en) Path information query method and device, storage medium and processor
CN112565049B (en) Implementation method for intelligently maintaining vprn planning address based on collected data
CN110971450B (en) Information point location ordering method and device for operation and maintenance

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
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811 Caoan Road, Jiading District, Shanghai, 201800

Patentee after: CHINA UNITECHS

Address before: Room 1004-4, 10 / F, 1112 Hanggui Road, Anting Town, Jiading District, Shanghai 201800

Patentee before: CHINA UNITECHS

CP02 Change in the address of a patent holder