CN115834365A - Method, device and equipment for home wide service diagnosis based on novel network - Google Patents

Method, device and equipment for home wide service diagnosis based on novel network Download PDF

Info

Publication number
CN115834365A
CN115834365A CN202211582893.6A CN202211582893A CN115834365A CN 115834365 A CN115834365 A CN 115834365A CN 202211582893 A CN202211582893 A CN 202211582893A CN 115834365 A CN115834365 A CN 115834365A
Authority
CN
China
Prior art keywords
user
sleaf
fault
aleaf
mac
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.)
Pending
Application number
CN202211582893.6A
Other languages
Chinese (zh)
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 CN202211582893.6A priority Critical patent/CN115834365A/en
Publication of CN115834365A publication Critical patent/CN115834365A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method, a device and equipment for diagnosing home wide business based on a novel network, wherein the method comprises the following steps: inquiring the MAC address of the user, inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again; if the user is not on-line, analyzing the ALeaf of the user corresponding to the on-line, inquiring whether the MAC address of the user is on-line or not on the ALeaf, and if not, judging that the access side has a fault; if the user MAC address is inquired to be online on the corresponding ALeaf, analyzing the SLeaf sent by the user flow and inquiring whether the MAC routing information is transmitted to the SLeaf, and if the MAC routing information is not transmitted to the SLeaf, judging that the ALeaf to SLeaf section fails; and if the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is positioned, and arranging the fault positioning process based on a visual design tool.

Description

Method, device and equipment for home wide service diagnosis based on novel network
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a home wide service diagnosis method, a home wide service diagnosis device and home wide service diagnosis equipment based on a novel network.
Background
The home gateway unit provides a broadband service mode for the mainstream of the current operator, mainly because the HGU can provide three services of broadband, interactive network television and voice at the same time, and supports the routing mode. The advantage of the routing mode is that various tests can be remotely implemented on the home gateway unit directly through the remote terminal management system. The positioning fault is mainly based on means such as alarming and noticing. Since the positioning of the broadband connectivity fault needs to involve various devices, such as an authentication authorization accounting server, a broadband remote access server, and an optical line terminal, although a part of fault diagnosis can be performed, the cause of the fault cannot be accurately positioned.
Such as the patent: "method, apparatus, device and medium for locating broadband connectivity fault (application No.: CN 201711405890.4)": inquiring whether the running state of a Home Gateway Unit (HGU) is UP on an optical line terminal network management system (OLT), and continuously inquiring whether the HGU is on line on a remote terminal management system; inquiring that the HGU is on-line on a remote terminal management system, and positioning a broadband connection fault in the remote terminal management system and/or an authentication authorization accounting server (AAA) server; and if the remote terminal management system inquires that the HGU is not on line, the broadband connection fault equipment is positioned by inquiring the OLT and/or the AAA server. According to the scheme, the rapid positioning of the broadband connection fault can be rapidly realized, but in a novel metropolitan area network, due to the adoption of the scheme of the Bras resource pool, a path between a Bras forwarding device and a switch at an Access side is elongated, and a plurality of devices such as Access Leaf, spine, service Leaf and the like are included in the middle, so that the fault positioning of a home wide user is more complicated than before, and an automatic home wide fault diagnosis tool and method are urgently needed.
Disclosure of Invention
In order to solve the problems, the MAC address is inquired and tracked at the key equipment point, the reason that the home-wide user cannot surf the internet can be finally analyzed, operation and maintenance personnel can inquire the fault without logging in the equipment one by one, labor for analyzing and inquiring the fault is saved, and the speed and the accuracy of fault positioning are improved.
According to the embodiment of the invention, a method, a device and equipment for home wide service diagnosis based on a novel network are provided.
In a first aspect of the invention, a method for home-wide service diagnosis based on a new network is provided. The method comprises the following steps:
s01: inquiring the MAC address of the user, inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
s02: if the user is not on line, analyzing the ALeaf of the user corresponding to the on line through the topological data of the access side, inquiring whether the MAC address of the user is on line or not on the ALeaf, if not, judging that the access side has a fault, and switching to the network manager of the access side for continuous positioning;
s03: if the user MAC address is inquired to be online on the corresponding ALeaf, analyzing the SLeaf sent by the user flow and inquiring whether the MAC routing information is transmitted to the SLeaf, and if the MAC routing information is not transmitted to the SLeaf, judging that the ALeaf to SLeaf section fails;
s04: and if the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is positioned, and arranging the fault positioning process based on a visual design tool.
Further, the specific step of querying the MAC address of the user in S01 is: if the user provides the MAC address when reporting the fault, the MAC address provided by the user is used for positioning the fault; and if the user does not provide the MAC address when reporting the fault, inquiring the OLT accessed by the user, and using the test address of the OLT as the MAC address of the user.
Further, the AAA authentication error report described in S01 includes: if the returned message is userName _ Err, the AAA authentication user name is wrong; if the returned message is Passwd Err, the AAA authentication input password is indicated to be wrong; if the returned message is BindAtt _ Err, indicating that the bound attribute is wrong; if the returned message is user name contact Invalid character, it indicates that the user name contains an illegal character string; if the returned message is username _ In _ BlackList _ Err, the user name is indicated to be In a BlackList; if the returned message is username to long, it indicates that the user name is too long.
Further, the method for determining the ALeaf of the user online in S02 is as follows: acquiring OLT data by referring to basic data of a user, acquiring data from the OLT to a switch by referring to data provided by a network manager at an access side, starting LLDP through the switch and both sides of ALeaf, and acquiring the topology data from the switch to the ALeaf by acquiring the LLDP at the ALeaf side; and writing OLT data, data from the OLT to the switch and topology data from the switch to the ALeaf into a data table, and then drawing connection topology information of the access side to obtain the ALeaf of the user online.
Further, the method for determining the SLeaf for user traffic upload in S03 is as follows: acquiring a physical interface of an ALeaf connecting SW according to the drawn connection topology information of the access side to inquire the state of an aggregation port and the state of the physical port and the aggregation port corresponding to the physical port, wherein if the state is UP, the state is normal, and if the state is DOWN, an error is reported; and querying the aggregation port to obtain ESI information, querying the aggregation sub-interface to obtain VSI-EVPN information, and checking the information of the SLeaf paired with the ALeaf according to the detailed information of the VSI-EVPN.
Further, the specific operation of S03 to determine whether the inquiry MAC routing information is transmitted to the SLeaf includes: inquiring whether the ALeaf sends the MAC route to the RR, if not, not transmitting the MAC route information to the SLeaf; if the routing information is sent, whether the RR receives the MAC address routing is inquired, and if the routing information is not received, the MAC address routing information is not transmitted to the SLeaf; if yes, querying whether RR sends the MAC route to SLeaf, if no, MAC route information is not transmitted to the SLeaf, if yes, querying whether the SLeaf receives the MAC address route, if not, the MAC route information is not transmitted to the SLeaf, if yes, the MAC route information is transmitted to the SLeaf, and if yes, the SLeaf stores the received MAC route information into a corresponding table entry.
Further, the logic for querying the failure on SLeaf described in S04 is: inquiring whether the name of the aggregation sub-interface of the UP connected with the SLeaf is correct or not through the EVPN; inquiring whether the state information of the aggregation port and the member physical port is normal; inquiring whether the Vlan discharge configuration of the aggregation sub-interface is normal or not; and inquiring whether the physical port name of the member physical port to the end UP device is correct or not by checking the LLDP neighbor.
Further, the logic for analyzing the failure of the UP pool in S04 is: inquiring whether the name of an aggregation port where a physical port is located is correct through a UP device physical port; inquiring whether the states of the aggregation port and the member physical port are normal or not; and inquiring whether the configuration of the aggregation sub-interface and the Vlan discharge configuration are normal.
In a second aspect of the present invention, an apparatus for home-wide service diagnosis based on a new network is provided. The device includes:
the user online judgment module: the system is used for inquiring the MAC address of the user, inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
MAC address online judging module: if the user is not on-line, analyzing the ALeaf corresponding to the user on-line through the topological data of the access side, inquiring whether the MAC address of the user is on-line or not on the ALeaf, if not, judging that the access side has a fault, and continuing to position the network manager of the access side;
a flow uploading judgment module: the system is used for judging that if the user MAC address is inquired on the corresponding ALeaf, the SLeaf sent on the user flow is analyzed and whether the MAC routing information is transmitted to the SLeaf is inquired, and if the MAC routing information is not transmitted to the SLeaf, the failure of the segment from the ALeaf to the SLeaf is judged;
the SLeaf fault query module: and the fault location module is used for judging whether the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is located, and arranging the fault location process based on a visual design tool.
In a third aspect of the invention, an electronic device is provided. The electronic device includes: a memory having stored thereon a computer program and a processor implementing the method according to 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 executed by a processor, carries out the method according to the first aspect of the invention.
The above-mentioned english abbreviation:
MAC: media Access Control
And (3) CP: bras control device
AAA: authentication, authorization, accounting, authentication Authorization Accounting
Aleaf: access-Leaf, access side router for connecting switch or OLT equipment
The SLeaf: service-Leaf, service access router, used for connecting UP pool device
OLT: optical line terminal
LLDP: link Layer Discovery Protocol
SW: switch, exchange
ESI: ethernet segment Identification
And VSI: virtual Switch Instance
RR: router Reflector, route Reflector
EVPN: ethernet Virtual Private Network, VPN solution of next generation full service bearer
Solution for the problem
UP: the Bras forwarding devices are centralized and pooled and put into a resource pool
And (3) Vlan: virtual Local Area Network (VLAN)
Spine: backbone router
According to the invention, the inquiry and tracking of the MAC address are carried out at the key equipment point, the reason that the home-wide user cannot surf the internet can be finally analyzed, and the operation and maintenance personnel can inquire the fault without logging in the equipment one by one, so that the labor for analyzing and inquiring the fault is saved, and the speed and the accuracy of fault positioning are improved.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of any embodiment of the invention, nor are they intended to limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present invention will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Wherein:
FIG. 1 illustrates a flow diagram of a method for home-wide service diagnosis based on a new network, according to an embodiment of the invention;
FIG. 2 shows a screenshot of a result interface for querying a CP on whether a user is registered online according to embodiment 1 of the invention;
FIG. 3 shows a result interface screenshot of querying a CP for AAA authentication information, according to embodiment 1 of the invention;
FIG. 4 shows a schematic diagram of a fault localization orchestration flow according to embodiment 1 of the invention;
FIG. 5 shows a screenshot of a results interface for checking whether a user's MAC address is online on an ALeaf device according to embodiment 2 of the invention;
FIG. 6 shows a status display results interface screenshot of SLAaf paired with ALeaf according to embodiment 2 of the present invention;
fig. 7 shows a result interface screenshot of querying whether MAC routing information is delivered to the SLeaf device according to embodiment 2 of the present invention;
FIG. 8 shows a resulting interface screenshot of the aggregation subinterface name of SLeaf connected UP according to embodiment 2 of the invention;
FIG. 9 shows a result interface screenshot of querying status information of an aggregation port and a member physical port according to embodiment 2 of the invention;
FIG. 10 shows a result interface screenshot of querying status information of an aggregation port and a member physical port according to embodiment 2 of the present invention;
FIG. 11 shows a result interface screenshot of querying status information of an aggregation port and a member physical port according to embodiment 2 of the present invention;
FIG. 12 shows a result interface screenshot of querying status information of an aggregation port and a member physical port according to embodiment 2 of the invention;
fig. 13 shows a result interface screenshot of whether the Vlan discharge configuration of the query aggregation subinterface is normal according to embodiment 2 of the present invention;
FIG. 14 depicts a result interface screenshot of querying a physical port name of a member physical port to UP device according to embodiment 2 of the present invention;
FIG. 15 shows a screenshot of a result interface for querying the name of an aggregation port where a physical port is located according to embodiment 2 of the invention;
FIG. 16 shows a result interface screenshot of querying the status of an aggregation port and member physical ports according to embodiment 2 of the invention;
FIG. 17 illustrates a result interface screenshot of a configuration of a query aggregation sub-interface according to embodiment 2 of the invention;
FIG. 18 illustrates a diagram of a related sub-interface Vlan configuration checking sub-flow orchestration according to embodiment 2 of the present invention;
FIG. 19 shows a result interface screenshot of querying whether ALeaf sends a MAC to RR, according to embodiment 2 of the invention;
fig. 20 shows a result interface screenshot of querying whether an RR receives a MAC address route according to embodiment 2 of the present invention;
fig. 21 shows a result interface screenshot of querying whether RR issued a MAC address to SLeaf according to embodiment 2 of the present invention;
fig. 22 shows a block diagram of an apparatus for home wide service diagnosis based on a new type network according to an embodiment of the present invention;
fig. 23 shows an apparatus diagram of home-wide service diagnosis based on a new type network according to an embodiment 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.
According to the method, the device and the equipment for diagnosing the home wide business based on the novel network, the inquiry and tracking of the MAC address are carried out at the key equipment point, the reason that home wide users cannot surf the internet can be finally analyzed, operation and maintenance personnel can inquire the fault without logging in the equipment one by one, the labor for analyzing and inquiring the fault is saved, and the speed and the accuracy of fault positioning are improved.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Fig. 1 is a flowchart illustrating a method for diagnosing home wide services based on a new network according to an embodiment of the present invention. The method comprises the following steps:
s01: inquiring the MAC address of the user, inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
s02: if the user is not on line, analyzing the ALeaf of the user corresponding to the on line through the topological data of the access side, inquiring whether the MAC address of the user is on line or not on the ALeaf, if not, judging that the access side has a fault, and switching to the network manager of the access side for continuous positioning;
s03: if the user MAC address is inquired to be online on the corresponding ALeaf, analyzing the SLeaf sent by the user flow and inquiring whether the MAC routing information is transmitted to the SLeaf, and if the MAC routing information is not transmitted to the SLeaf, judging that the ALeaf to SLeaf section fails;
s04: and if the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is positioned, and arranging the fault positioning process based on a visual design tool.
It should be noted that although the operations of the method of the present invention have been described in the above embodiments and the accompanying drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the operations shown must be performed, to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
In order to make the explanation of the method for diagnosing home wide business based on the new network clearer, the following description will be made with reference to two specific embodiments, however, it should be noted that the embodiments are only for better explaining the present invention and should not be construed as unduly limiting the present invention.
The method for diagnosing home wide service based on the new network is further explained in more detail by two specific examples:
example 1:
when the user reports the fault, the user provides the MAC address: 28e3-4e07-5ebf, the MAC address of the user is inquired to be 28e3-4e07-5ebf.
On the CP, the command: the display access-user mac-address 28e3-4e07-5ebf inquires whether the user has registered online, and as a result, as shown in fig. 2, if the user address is online, the user continues to inquire the AAA authentication process of the user on the CP, inputs display AAA online-fail-record mac 28e3-4e07-5ebf, checks a return message, and as shown in fig. 3, returns a message: and the userName _ Err shows that the AAA authentication user name is wrong, the fault location is finished, the AAA authentication user name is modified and then the online is tried again, and the online is completed if the online is successful.
Based on a visual design tool, the process arrangement of fault location is realized, as shown in fig. 4, each step in the process location is encapsulated into an atomic capability or a combined capability composed of several atomic capabilities, and REST interfaces are exposed to the outside. The whole fault positioning process can be packaged into a large combination capacity. The combination capability comprises a starting point, an end point, a positioning process of each step and judgment logic. Each user's fault analysis task may set up a state machine to view the progress of the fault location analysis.
Example 2:
when a user reports an error, the user provides the MAC address: 44ff-baaa-52e9, the user's MAC address is found to be 44ff-baaa-52e9.
On the CP, the command: the display access-user mac-address 44ff-baaa-52e9 inquires whether the user is registered online or not, and the user is not online.
And inquiring the MAC address of the user in the ALeaf on line of the user, and defining the fault: inquiring which ALeaf the user should go online needs to know the connection topology data from the user to OLT, OLT to switch and switch to ALeaf. The data from the user to the OLT can refer to the basic data of the home-wide user; the data from the OLT to the switch can refer to the data provided by the network management at the access side; and (3) the topology data from the switch to the ALeaf needs to start the LLDP at the switch and the two sides of the ALeaf, and the LLDP is collected at the ALeaf side to acquire topology information. The three parts of data need to be prepared and written into the database table. After the access side full-amount topology data is obtained, the account number of the user is input, the connection topology information of the access side can be described from the user to the OLT, to the switch and to the ALeaf, and the ALeaf on which the user is going to be on line is located. On ALeaf, checking whether the MAC address of the user is online, and inputting a command: the result of the dis MAC-address 44ff-baaa-52e9 is shown in fig. 5, where the user MAC address is online, which indicates that the network manager at the access side is normal, and the failure needs to be continuously located downward in the new metropolitan area network.
Acquiring a physical interface of the ALeaf connecting SW according to the connection topology information of the access side described in the last step, so as to query the aggregation port corresponding to the physical port and the states of the physical port and the aggregation port, wherein if the state is UP, the normal state is indicated; inquiring an aggregation port to obtain ESI information, inquiring an aggregation sub-interface to obtain VSI-EVPN information, checking information of the SLAef paired with the ALef according to the detailed information of the VSI-EVPN, and inputting a command: dis l2vpn vsi name E01-H3HX1-DT & WZ-DTVSW1-3 verbose, the result is shown in FIG. 6, the states are all UP, and the positioning continues downward.
Inquiring whether MAC routing information is transmitted to the SLeaf equipment, and inputting a command: and (3) the routing information is transmitted to the SLeaf, and the result is shown in FIG. 7, which shows that the section from ALeaf to SLeaf has no fault, and the next step of checking is continued to check the reason of the fault. If the check is abnormal, the reason that the user can not access the internet is probably the reason, and further positioning is needed, and the MAC route is lost in which step. The interface state, interface VLAN configuration, circuit state, routing release related configuration, etc. need to be checked, and the cause of routing transmission loss is specifically analyzed.
Query on SLeaf:
querying the aggregation subinterface name of the UP connected to the SLeaf through the EVPN, and obtaining a result as shown in fig. 8;
querying status information of the aggregation port and the member physical port, the results are shown in fig. 9-12;
querying whether the Vlan discharge configuration of the aggregation subinterface is normal, with the result shown in fig. 13;
looking UP the LLDP neighbor, querying the physical port name of the member physical port to the UP device, the result is shown in fig. 14;
and (4) continuing analyzing the fault in the UP pool if the SLeaf is not abnormal:
querying the name of the aggregation port where the physical port is located through the UP device physical port, and obtaining a result as shown in fig. 15;
querying the status of the aggregation port and the member physical port, the result is shown in fig. 16;
the configuration of the aggregated subinterface is queried, including Vlan putting-through configuration, and as a result, as shown in fig. 17, there is an error in Vlan putting-through configuration, the Vlan putting-through range is 1000 to 2000, the sVlan of the user's home wide service is 2737, and the user's data packet cannot pass through this interface. And positioning the fault reason, realizing the flow arrangement of fault positioning based on a visual design tool, and checking the sub-flow arrangement for the configuration of the related sub-interface Vlan in the graph 18.
Further, whether the MAC routing information is transmitted to the SLeaf equipment is inquired, if the MAC routing information is not transmitted to the SLeaf equipment, the section from the ALeaf to the SLeaf is explained, and the reason is inquired according to the following method:
1. inquiring whether ALeaf sends the MAC to RR or not, and inputting a command: dis bgpl 2vpn evpn [2] [0] [48] [ MAC value ] [0] [0.0.0 ] 104 additive-info, with the result that two A-Leaf, only one of which will issue a MAC route to both RRs, as shown in FIG. 19.
2. Inquiring whether RR receives MAC address routing or not, and inputting a command: [ -JS-WX-RML-RR-01. NMAN.NE40E-X3A ] dis bgp evpn all routing-table mac-route mac routing values, the results are shown in FIG. 20;
3. inquiring whether RR sends the MAC address to SLeaf, and inputting a command: the IPv6 address of the loopback interface of [ -JS-WX-RML-RR-01. NMAN.NE40E-X3A ] display btp evpn all routing-table peer equipment is updated-routes MAC-route value, and the result is shown in FIG. 21.
Based on the same invention concept, the invention also provides a home-wide service diagnosis device based on the novel network. The implementation of the device can be referred to the implementation of the method, and repeated details are not repeated. As shown in fig. 22, the apparatus 100 includes:
the user online judging module 101: the system comprises a central processing unit (CP) and a plurality of user authentication modules, wherein the user authentication modules are used for inquiring the MAC address of a user and inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
the MAC address online determination module 102: if the user is not on-line, analyzing the ALeaf corresponding to the user on-line through the topological data of the access side, inquiring whether the MAC address of the user is on-line or not on the ALeaf, if not, judging that the access side has a fault, and continuing to position the network manager of the access side;
a flow uploading judgment module 103: the system is used for judging that if the user MAC address is inquired on the corresponding ALeaf, the SLeaf sent on the user flow is analyzed and whether the MAC routing information is transmitted to the SLeaf is inquired, and if the MAC routing information is not transmitted to the SLeaf, the failure of the segment from the ALeaf to the SLeaf is judged;
SLeaf fault query module 104: and the fault location module is used for judging whether the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is located, and arranging the fault location process based on a visual design tool.
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.
As shown in fig. 23, the apparatus includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to computer program instructions stored in a Read Only Memory (ROM) or computer program instructions loaded from a storage unit into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The CPU, ROM, and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
A plurality of components in the device are connected to the I/O interface, including: an input unit such as a keyboard, a mouse, etc.; an output unit such as various types of displays, speakers, and the like; storage units such as magnetic disks, optical disks, and the like; and a communication unit such as a network card, modem, wireless communication transceiver, etc. The communication unit allows the device to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processing unit executes the respective methods and processes described above, such as the methods S01 to S04. For example, in some embodiments, methods S01-S04 may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device via ROM and/or the communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more of the steps of methods S01-S04 described above may be performed. Alternatively, in other embodiments, the CPU may be configured to perform methods S01-S04 in any other suitable manner (e.g., by way of firmware).
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 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 (11)

1. A home wide service diagnosis method based on a novel network is characterized by comprising the following steps:
s01: inquiring the MAC address of the user, inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
s02: if the user is not on line, analyzing the ALeaf corresponding to the user on line through the topological data of the access side, inquiring whether the MAC address of the user is on line on the ALeaf, if not, judging that the access side has a fault, and switching to the network manager of the access side to continue positioning processing;
s03: if the user MAC address is inquired on the corresponding ALeaf, analyzing the SLeaf sent by the user flow and inquiring whether the MAC routing information is transmitted to the SLeaf, if the MAC routing information is not transmitted to the SLeaf, judging that the sections from the ALeaf to the SLeaf are in failure;
s04: and if the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is positioned, and arranging the fault positioning process based on a visual design tool.
2. The method for diagnosing home wide service based on a new network as claimed in claim 1, wherein the step of querying the MAC address of the user in S01 comprises: if the user provides the MAC address when reporting the fault, the MAC address provided by the user is used for positioning the fault; and if the user does not provide the MAC address when the fault is reported, inquiring the OLT accessed by the user, and using the test address of the OLT as the MAC address of the user.
3. The method of claim 1, wherein the AAA authentication error reporting in S01 comprises: if the returned message is userName _ Err, the AAA authentication user name is wrong; if the returned message is Passwd _ Err, the AAA authentication input password is wrong; if the returned message is BindAtt _ Err, indicating that the bound attribute is wrong; if the returned message is user name contact Invalid character, it indicates that the user name contains an illegal character string; if the returned message is username _ In _ BlackList _ Err, the user name is indicated to be In a BlackList; if the returned message is username to long, it indicates that the user name is too long.
4. The method for diagnosing home wide service based on a new network as claimed in claim 1, wherein the method for determining the ALeaf of the user online in S02 is as follows: acquiring OLT data by referring to basic data of a user, acquiring data from the OLT to a switch by referring to data provided by a network manager at an access side, starting LLDP through the switch and both sides of ALeaf, and acquiring the topological data from the switch to the ALeaf by acquiring the LLDP at the ALeaf side; and writing OLT data, OLT-to-switch data and switch-to-ALeaf topology data into a data table, and then drawing connection topology information of an access side to obtain the ALeaf of the user on line.
5. The method for diagnosing home wide service based on a new network as claimed in claim 1 or 4, wherein the method for determining the SLeaf uploaded by the user traffic in S03 is as follows: acquiring a physical interface of an ALeaf connecting SW according to the drawn connection topology information of the access side to inquire the state of an aggregation port and the state of the physical port and the aggregation port corresponding to the physical port, wherein if the state is UP, the state is normal, and if the state is DOWN, an error is reported; and inquiring the aggregation port to obtain ESI information, inquiring the aggregation sub-interface to obtain VSI-EVPN information, and checking the information of the SLeaf paired with the ALeaf according to the detailed information of the VSI-EVPN.
6. The method as claimed in claim 1, wherein the specific operation of querying whether the MAC routing information is transmitted to the SLeaf in S03 is as follows: inquiring whether the ALeaf sends the MAC route to the RR, if not, not transmitting the MAC route information to the SLeaf; if the routing information is sent, whether the RR receives the MAC address routing is inquired, and if the routing information is not received, the MAC address routing information is not transmitted to the SLeaf; if receiving, inquiring whether RR sends MAC route to SLeaf, if not, MAC route information is not transmitted to SLeaf, if sending, inquiring whether SLeaf receives MAC address route, if not, indicating that MAC route information is not transmitted to SLeaf, if receiving, indicating that MAC route information is transmitted to SLeaf, and storing the received MAC route information into corresponding table entry by SLeaf.
7. The method of claim 1, wherein the logic for querying the failure on the SLeaf in S04 is as follows: inquiring whether the name of the aggregation sub-interface of the UP connected with the SLeaf is correct or not through the EVPN; inquiring whether the state information of the aggregation port and the member physical port is normal; inquiring whether the Vlan discharge configuration of the aggregation sub-interface is normal or not; and inquiring whether the physical port name of the member physical port to the end UP device is correct or not by checking the LLDP neighbor.
8. The method of claim 1, wherein the logic for analyzing the failure of the UP pool in S04 is as follows: inquiring whether the name of an aggregation port where a physical port is located is correct through a UP device physical port; inquiring whether the states of the aggregation port and the member physical port are normal or not; and inquiring whether the configuration of the aggregation sub-interface and the Vlan discharge configuration are normal.
9. An apparatus for home wide service diagnosis based on a new network, the apparatus comprising:
the user online judgment module: the system comprises a central processing unit (CP) and a plurality of user authentication modules, wherein the user authentication modules are used for inquiring the MAC address of a user and inquiring whether the user is online on the CP, if so, checking whether the AAA authentication process of the user is wrong on the CP, and if the AAA authentication is wrong, performing related troubleshooting and then enabling the user to be online again;
MAC address online judging module: if the user is not on-line, analyzing the ALeaf corresponding to the user on-line through the topological data of the access side, inquiring whether the MAC address of the user is on-line or not on the ALeaf, if not, judging that the access side has a fault, and continuing to position the network manager of the access side;
a flow uploading judgment module: the system is used for judging that if the user MAC address is inquired on the corresponding ALeaf, the SLeaf sent on the user flow is analyzed and whether the MAC routing information is transmitted to the SLeaf is inquired, and if the MAC routing information is not transmitted to the SLeaf, the failure of the segment from the ALeaf to the SLeaf is judged;
the SLeaf fault query module: and the fault location module is used for judging whether the MAC routing information is transmitted to the SLeaf, inquiring the fault on the SLeaf and analyzing the fault of the UP pool, completing fault diagnosis after the fault is located, and arranging the fault location process based on a visual design tool.
10. 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-8.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 8.
CN202211582893.6A 2022-12-09 2022-12-09 Method, device and equipment for home wide service diagnosis based on novel network Pending CN115834365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211582893.6A CN115834365A (en) 2022-12-09 2022-12-09 Method, device and equipment for home wide service diagnosis based on novel network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211582893.6A CN115834365A (en) 2022-12-09 2022-12-09 Method, device and equipment for home wide service diagnosis based on novel network

Publications (1)

Publication Number Publication Date
CN115834365A true CN115834365A (en) 2023-03-21

Family

ID=85546150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211582893.6A Pending CN115834365A (en) 2022-12-09 2022-12-09 Method, device and equipment for home wide service diagnosis based on novel network

Country Status (1)

Country Link
CN (1) CN115834365A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449808A (en) * 2023-06-14 2023-07-18 深圳市华曦达科技股份有限公司 Processing method and device for realizing automatic diagnosis of OLT service of ONU

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116449808A (en) * 2023-06-14 2023-07-18 深圳市华曦达科技股份有限公司 Processing method and device for realizing automatic diagnosis of OLT service of ONU
CN116449808B (en) * 2023-06-14 2023-08-29 深圳市华曦达科技股份有限公司 ONU-based processing method and ONU-based processing device for automatically diagnosing OLT service

Similar Documents

Publication Publication Date Title
CN110752952B (en) Network fault positioning method and device, network equipment and computer storage medium
US10103851B2 (en) Network link monitoring and testing
US8089897B2 (en) VPN intelligent route service control point trouble diagnostics
US7818283B1 (en) Service assurance automation access diagnostics
US7688951B1 (en) Automated rules based proactive alarm analysis and response
US20040139371A1 (en) Path commissioning analysis and diagnostic tool
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
US7275192B2 (en) Method and system for on demand selective rerouting of logical circuit data in a data network
CN112468335B (en) IPRAN cloud private line fault positioning method and device
CN111385180B (en) Communication tunnel construction method, device, equipment and medium
CN115834365A (en) Method, device and equipment for home wide service diagnosis based on novel network
CN105391588A (en) Network fault diagnosis method and device
CN111988170A (en) Terminal fault positioning method and device
CN109787865B (en) Method, system, switch and storage medium for verifying upgrading condition
CN110048909B (en) Network operation and maintenance method and device
CN113938399B (en) Private line opening method and device
CN114553678A (en) Diagnosis method for soft SLB traffic problem of cloud network
CN113660675A (en) Automatic opening method and device for 5G special line bearing network segment
CN113872686A (en) Customer self-service troubleshooting processing method based on optical broadband network service
CN114430355A (en) Path determining method and device and computer storage medium
CN107800555B (en) Service diagnosis method and device
CN115037664B (en) Network connection testing method and device, repeater and storage medium
CN115834330B (en) Group obstacle detection method, device, equipment and storage medium
CN113630270B (en) Online cutover method, device, equipment and storage medium
CN113452537B (en) Fault positioning method and device based on model

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