CN117395548A - Early warning method and device for optical network faults, electronic equipment and storage medium - Google Patents

Early warning method and device for optical network faults, electronic equipment and storage medium Download PDF

Info

Publication number
CN117395548A
CN117395548A CN202311316258.8A CN202311316258A CN117395548A CN 117395548 A CN117395548 A CN 117395548A CN 202311316258 A CN202311316258 A CN 202311316258A CN 117395548 A CN117395548 A CN 117395548A
Authority
CN
China
Prior art keywords
target
olt
identifier
port
broadband
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
CN202311316258.8A
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202311316258.8A priority Critical patent/CN117395548A/en
Publication of CN117395548A publication Critical patent/CN117395548A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the application discloses an early warning method, device, electronic equipment and storage medium for optical network faults, wherein the method comprises the following steps: acquiring a target OLT identifier and a target OLT port identifier of which broadband state information is abnormally off-line in a target period; determining the total number of abnormal offline users corresponding to the target OLT identification and the target OLT port identification in a target period; determining the total number of online users corresponding to the target OLT identification and the target OLT port identification in a target period; and when the ratio of the total number of abnormal offline users to the total number of online users is greater than or equal to a ratio threshold, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information. The embodiment of the application can timely and accurately determine the large-area optical network faults and can improve the coverage of the optical network fault early warning.

Description

Early warning method and device for optical network faults, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an early warning method and device for optical network faults, electronic equipment and a storage medium.
Background
Currently, optical fiber access is already the most popular broadband access mode, and thousands of households access the internet through optical fibers. When the road construction breaks the optical fiber or the local side equipment of the operator has problems, the concentrated large-area optical network user faults are easy to occur.
In the prior art, faults of large-area optical network users are actively discovered and actively informed through physical alarms of an access network management system. However, the network management system can only find out physical alarms caused by power failure, board card failure and the like, and the physical alarms caused by the abnormality of local side equipment and the complexity of topology cannot cover various scenes of large-area optical network user faults.
Disclosure of Invention
The embodiment of the application provides an early warning method, device, electronic equipment and storage medium for optical network faults, which are beneficial to improving the coverage of early warning of the optical network faults and timely finding out the large-area optical network faults.
In order to solve the above problem, in a first aspect, an embodiment of the present application provides a method for early warning of an optical network failure, including:
acquiring a target OLT identifier and a target OLT port identifier of which broadband state information is abnormally off-line in a target period; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol;
Determining the total number of abnormal offline users corresponding to the target OLT identification and the target OLT port identification in the target period;
determining the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
and when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information.
In a second aspect, an embodiment of the present application provides an early warning device for an optical network fault, including:
the target identification acquisition module is used for acquiring the target OLT identification and the target OLT port identification with the broadband state information of abnormal offline in a target period; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol;
the abnormal offline statistics module is used for determining the total number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
the online user statistics module is used for determining the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
And the alarm generation module is used for generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold value, and outputting the port alarm information.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the early warning method of an optical network failure described in the embodiment of the present application is implemented when the processor executes the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, where the program when executed by a processor implements the method for early warning of an optical network failure disclosed in embodiments of the present application.
According to the early warning method, the device, the electronic equipment and the storage medium for the optical network fault, broadband state information is the target OLT identification and the target OLT port identification which are abnormally off-line in the target period, the total number of the abnormally off-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, the total number of the on-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, when the ratio of the total number of the abnormally off-line users to the total number of the on-line users is greater than or equal to the ratio threshold value, port warning information corresponding to the target OLT identification and the target OLT port identification is generated, and the port warning information is output.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an early warning method for an optical network fault provided in an embodiment of the present application;
FIG. 2 is a flow chart of processing and storing a user broadband authentication message in an embodiment of the present application;
fig. 3 is a flowchart of an early warning method for an optical network fault according to an embodiment of the present application;
fig. 4 is a logic flow diagram of an early warning method for an optical network failure according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a large area barrier intercept network element in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an early warning device for optical network failure according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Fig. 1 is a flowchart of an early warning method for an optical network fault, where the early warning method for an optical network fault may be executed by electronic devices such as an AAA (Authentication, authorization, accounting, authentication, authorization, accounting) system, and the method is applicable to a scenario of an optical network fault caused by an abnormal device physical alarm, a problem of a network parameter of a local side device connected to an uplink device, and the like. The AAA system is an access authentication and accounting platform of the operator fixed network broadband and is used for providing unified authentication, authentication and accounting services for the access of the home broadband user. As shown in fig. 1, the method includes: steps 110 to 140.
Step 110, in a target period, acquiring a target OLT identifier and a target OLT port identifier with broadband state information of abnormal offline; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol.
Wherein OLT (Optical Line Terminal ) refers to a terminal device for connecting an optical fiber trunk. The convergence device has functions of traffic convergence and traffic forwarding, and may be, for example, a BRAS (Broadband Remote Access Server, broadband access server). The BRAS is a novel access gateway facing the broadband network application, is a bridge between the broadband access network and the backbone network, provides a basic access means and a management function of the broadband access network, is positioned at the edge of the network, provides broadband access service, realizes convergence and forwarding of multiple services, can meet the requirements of different users on transmission capacity and bandwidth utilization rate, and is responsible for PPPoE (Point-to-Point Protocol over Ethernet) connection of terminal users and flow functions of convergence users. The two-layer point-to-point protocol may be pppoe+ protocol. The pppoe+ technology is a protocol defined between the access device and the BRAS for implementing policy information transmission by a two-layer point-to-point communication mode, and is used for transmitting user physical port information, and pppoe+ deployment includes a PITP mode and a PITP V mode. When the information of accessing the physical port of the user is needed to be provided for the BRAS, after the PITP of the global port and the PITP of the port are started, the PITP is matched with the AAA platform, so that the binding authentication of the user account and the access port can be realized, and the theft and roaming of the user account are avoided.
The PPPOE+ configuration is added in the convergence device and the OLT device, the PPPOE+ functions in the convergence device and the OLT device are started, software is updated in the AAA system to analyze the message sent by the convergence device, so that the OLT device and the convergence device can transmit broadband state information of a user broadband based on the PPPOE+ functions and transmit the broadband state information to the AAA system, and the AAA system can store the broadband state information of the user broadband sent by each convergence device and serve as basic information of large-area fault alarm. The AAA system may count the broadband state information according to a target period to determine whether there is a large area of subscriber broadband failure. And in the target period, the target OLT identification and the target OLT port identification of which the broadband state information is abnormally off-line can be obtained from the stored broadband state information. The OLT identity may be an IP address of the OLT device and the OLT port identity is an OLT port number.
Passive optical networks (Passive Optical Network, PON) are one of the main technologies for fiber access, solving the "last kilometer" access part. Fiber access can be categorized into FTTH (Fiber to the Home ), FTTB (Fiber to the Building/Curb, fiber to the building), etc., depending on the extent of fiber penetration. One end of the service processing module of the OLT is connected with an upstream network interface of the local side through a central network interface (Central Network Interface, CNI), the upstream network is usually a BRAS or a convergent switch, and the configuration of PPPOE+ involves the addition of a series of network configurations such as the OLT, the BRAS and the like. When pppoe+ configuration is added to the OLT device, the P-mode of the PITP may be enabled in the global mode of the OLT device. In addition, whether pppoe+ or VBAS, the user interface information reported to the convergence device (BASE) is controlled by RAIO Format on the OLT. The RAIO format has default common mode configuration and can be configured in a self-defined mode.
Taking the OLT device as MA5680 as an example, pppoe+ configuration may be added as follows:
# turning on the pitp function
MA5680T(config)#pitp enable pmode
# configuring vlan attributes
MA5680T(config)#vlan attrib xxxx stacking/common
* Remarks: xxxx is vlan tag, the attribute needs to be changed to stacking if vlan is qinq, and common if vlan is single layer.
The # setting reporting mode is a custom mode
MA5680T(config)#raio-mode user-defined
Reporting format for # setting
MA5680T(config)#raio-format pitp-pmode cid xpon anid/rack/frame/slot/subslot/port/ontid/sn
Setting ANID field for OLT to manage IP
MA5680T(config)#raio-anid x.x.x.x
* Remarks: x.x.x is the management IP address of the OLT to facilitate the comparison of the comprehensive resources.
Taking OLT equipment as MA5800 as an example, pppoe+ configuration may be added as follows:
# turning on the pitp function
MA5800T(config)#pitp enable pmode
# configuring vlan attributes
MA5800T(config)#vlan attrib xxxx stacking/common
* Remarks: xxxx is vlan tag, the attribute needs to be changed to stacking if vlan is qinq, and common if vlan is single layer.
PPPOE+ configuration is added to the convergence device, and is exemplified by ME60 device, in ME60, the docking command of ME60 and AAA system is as follows: client-OPTION82[ basin-insert cn-select ], which is used to configure OPTION82 information (DHCP subscriber) reported by the ME device trust client; by default, the ME device does not trust the OPTION82 information reported by the client. In an AAA system, the ME60 and the AAA system interface commands are: the operation-82 parameter-mode { bin|cn|tr-101 }, the command is used for configuring the analysis format of the operation 82 message, and the cn format is adopted for analysis by default.
And 120, determining the total number of abnormal offline users corresponding to the target OLT identification and the target OLT port identification in the target period.
And in the target period, counting all broadband state information corresponding to the target OLT identifier and the target OLT port identifier, wherein the counted broadband state information is the number of all user broadband which are abnormally offline and are not successfully online after the abnormal offline, and the counted broadband state information is used as the total number of the abnormally offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period.
And 130, determining the total number of online users corresponding to the target OLT identification and the target OLT port identification in the target period.
And in the target period, counting all broadband state information corresponding to the target OLT identification and the target OLT port identification, wherein the counted broadband state information is the number of all online and online user broadband, and the number is used as the total number of online users corresponding to the target OLT identification and the target OLT port identification in the target period.
And 140, when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information.
And in the target period, determining the ratio of the total number of abnormal offline users to the total number of online users, comparing the ratio with a ratio threshold, if the ratio is larger than or equal to the ratio threshold, indicating that most of user broadband under the target OLT port corresponding to the target OLT identifier and the target OLT port identifier is failed, determining that the target OLT port is failed, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, outputting the port alarm information, and outputting the port alarm information to service unit electronic equipment corresponding to the target OLT identifier and the target OLT port identifier, for example, to a service hot line or an electronic equipment of a branch company. The port alarm information may include a target OLT identifier, a target OLT port identifier, and broadband identifiers of users that are abnormally off-line. The ratio threshold may be set based on demand, for example, 90%, 80%, etc., although other values are possible.
In the prior art, in the mode of performing broadband large-area fault early warning of an optical network user based on physical warning, accurate early warning cannot be performed under the scene that the physical warning of the OLT equipment is abnormal or the parameter configuration of the network equipment on the OLT equipment is wrong. When the physical alarm of the OLT equipment is abnormal, if the board card of the OLT equipment is jammed, the broadband fault of the user is caused, but the physical alarm is not triggered, and the early warning cannot be carried out in a physical alarm mode; the other condition is that the management channels of the OLT equipment and the network management system are normal and the service channel is interrupted, the OLT equipment carries the service and the network management system recognizes that the equipment is normal, the network management system does not receive the abnormal physical alarm of the equipment, and the early warning cannot be carried out in a mode of depending on the physical alarm. The network equipment on the OLT equipment has parameter configuration errors, so that the broadband large-area faults of the optical network user cannot be found, because the OLT equipment does not have alarms of physical characteristics, but the network equipment (such as a BRAS) connected with the OLT equipment has VLAN parameter configuration errors, so that the service of a plurality of OLT equipment is interrupted at the same time, and the service of the large-area optical network user is interrupted, so that the mode of physical alarms cannot be early-warned. The early warning method for the optical network fault provided by the embodiment of the application can timely and accurately early warn the large-area optical network estimation based on the ratio between the total number of abnormal offline users and the total number of online users, is wider than a scene suitable for physical warning, can be suitable for the scene of abnormal physical warning of the OLT equipment, and can also be suitable for the scene of parameter configuration errors of network equipment on the OLT equipment.
According to the early warning method for the optical network fault, the broadband state information is the target OLT identification and the target OLT port identification which are abnormally off-line in the target period, the total number of the abnormally off-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, the total number of the on-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, when the ratio of the total number of the abnormally off-line users to the total number of the on-line users is greater than or equal to the ratio threshold value, the port warning information corresponding to the target OLT identification and the target OLT port identification is generated, the port warning information is output, the large-area optical network fault can be timely and accurately determined through the ratio between the total number of the abnormally off-line users and the total number of the on-line users in the target period, and the physical equipment warning information of equipment is not relied on, so that the defect brought by equipment physical warning information judging logic is avoided, and the early warning coverage of the optical network fault can be improved.
On the basis of the technical scheme, the method further comprises the following steps: receiving a user broadband authentication message sent by each convergence device based on a two-layer point-to-point protocol, wherein the user broadband authentication message comprises user broadband information, the user broadband information comprises a user broadband identifier, an OLT port identifier and the broadband state information, and the user broadband information is sent to the convergence device by the OLT device based on the point-to-point protocol; and storing the user broadband information into a database.
The PPPOE+ configuration is added in the convergence device and the OLT device, the PPPOE+ functions in the convergence device and the OLT device are started, the OLT device and the convergence device can transmit broadband state information of a user broadband based on the PPPOE+ functions, namely, the OLT device inserts the user broadband information into the reported user broadband authentication message and sends the user broadband authentication message to the convergence device, the convergence device sends the user broadband authentication message to the AAA system based on a two-layer point-to-point protocol, the AAA system receives the user broadband authentication messages sent by the convergence device based on the two-layer point-to-point protocol, processes the user broadband authentication message, acquires the user broadband information, and stores the user broadband information into a database to serve as basic information of optical network fault early warning.
Through the configuration of the two-layer point-to-point protocol, the user broadband information can be transmitted between the convergence device and the OLT device, and can be transmitted to the AAA system, so that the AAA system can collect and store the user broadband information sent by each convergence device, and is used as the basic information of the large-area optical network fault early warning, thereby being convenient for timely finding the large-area optical network fault.
On the basis of the technical scheme, before the user broadband information is stored in the database, the method further comprises the following steps: and analyzing the user broadband authentication message based on a two-layer point-to-point protocol, and acquiring the user broadband information from the user broadband authentication message.
The user broadband authentication message (namely the RADIUS message) sent by the convergence device is complex and comprises more information, some information is useful information for large-area optical network faults, other information is useless information for large-area optical network faults, the user broadband authentication message can be simplified, the useful information for large-area optical network faults can be extracted from the user broadband authentication message, namely the user broadband authentication message is analyzed based on a two-layer point-to-point protocol, and user broadband identification, OLT port identification and broadband state information are acquired from the user broadband authentication message, so that the user broadband information is obtained. The user broadband identification may include, among other things, a user broadband account number and a LOID serial number.
Basic information of each user broadband can be established in the database, and when the user broadband information is subsequently received, corresponding broadband state information in the user broadband information can be stored based on the basic information of the user broadband. Table 1 is exemplary data of basic information of the user broadband, including the user broadband account number, the LOID sequence number, the OLT IP address, the OLT port number, as shown in table 1.
TABLE 1 basic information of user broadband
User broadband account LOID sequence number OLT IP address OLT port number
0799**** 0799**** 172.25.*.* NA-0-5-13
190**** 190**** 182.98.*.* 1-1-7-3
0799**** 0799**** 172.25.*.* 1-1-14-14
190**** 190**** 182.98.*.* 1-1-14-14
0799**** 0799**** 172.25.*.* 1-1-14-14
190**** 190**** 182.98.*.* NA-0-8-3
0799**** 0799**** 172.25.*.* NA-0-8-3
190**** 190**** 182.98.*.* 1-1-7-7
0799**** 0799**** 172.25.*.* 1-1-7-10
190**** 190**** 182.98.*.* NA-0-3-15
0799**** 0799**** 172.25.*.* 1-1-7-6
190**** 190**** 182.98.*.* 1-1-7-16
0799**** 0799**** 172.25.*.* 1-1-7-11
190**** 190**** 182.98.*.* 1-1-7-7
0799**** 0799**** 172.25.*.* 1-1-7-7
190**** 190**** 182.98.*.* 1-1-7-14
0799**** 0799**** 172.25.*.* 1-1-7-13
190**** 190**** 182.98.*.* 1-1-7-12
0799**** 0799**** 172.25.*.* 1-1-7-12
190**** 190**** 182.98.*.* 1-1-7-14
When receiving the user broadband authentication message sent by the convergence device, simplifying the user broadband authentication message, extracting the user broadband information from the user broadband authentication message, and storing the user broadband information. The broadband state information may be uplink state information or downlink state information, and the downlink state information may include User active offline (User-Request), offline (Session-Timeout) when the time length of surfing the internet reaches the authorized time length, line signal loss (Lost-Carrier) or uplink Port anomaly (Port-Error), etc., where User active offline and User offline are User broadband normal offline when the time length of surfing the internet reaches the authorized time length, and line signal loss and uplink Port anomaly are User broadband abnormal offline.
By extracting the user broadband information from the user broadband authentication message, the whole user broadband authentication message is not required to be saved, but the user broadband information extracted from the user broadband authentication message is saved, and the warehousing efficiency of data can be improved.
On the basis of the above technical solution, the storing the user broadband information in a database includes: if the broadband state information comprises online information, storing the broadband state information and the user broadband identification into an online queue corresponding to the OLT identification and the OLT port identification in the database; and if the broadband state information comprises the offline information, storing the broadband state information and the user broadband identification into an offline queue corresponding to the OLT identification and the OLT port identification in the database.
For each port of each OLT device, the uplink information and the downlink information are stored in a classified manner, and for each port of each OLT device, the uplink information and the downlink information may be stored in a queue. After the user broadband information is extracted from the user broadband authentication message, storing the storage positions corresponding to the OLT identification and the OLT port identification in a database based on the OLT identification and the OLT port identification in the user broadband information, storing the user broadband identification and the broadband state information in an online queue corresponding to the OLT identification and the OLT port identification if the broadband state information in the user broadband information comprises the online information, and storing the user broadband identification and the broadband state information in an offline queue corresponding to the OLT identification and the OLT port identification if the broadband state information in the user broadband information comprises the offline information. When the user broadband identification and the broadband state information are stored in the online queue or the offline queue, the update time corresponding to the broadband state information can be stored, so that statistics on the broadband state information can be conveniently carried out based on the target period where the update time is located.
By classifying and storing the user broadband identification and broadband state information according to the online information and the offline information aiming at each OLT identification and each OLT port identification, the data query efficiency of a database can be improved, the data statistics efficiency is improved, and then the early warning of large-area optical network faults can be timely carried out.
Fig. 2 is a flowchart of processing and storing a user broadband authentication message in the embodiment of the present application, as shown in fig. 2, after the AAA system receives an original user broadband authentication message, simplifying the message, warehousing the message, classifying the message according to OLT identification and OLT port identification, and uplink information and downlink information, and forming original alarm data (alarm information) according to an algorithm.
On the basis of the above technical solution, after the generating the target OLT identifier and the port alarm information corresponding to the target OLT port identifier, the method further includes: and if all the target OLT port identifications under the target OLT identifications have the port alarm information, clearing port alarm information corresponding to all the target OLT port identifications, generating equipment alarm information corresponding to the target OLT identifications, and outputting the equipment alarm information.
If all the port identifications of the target OLT corresponding to the target OLT identifications have port alarm information, indicating that the target OLT equipment corresponding to the target OLT identifications has faults, merging all the port alarm information corresponding to the target OLT identifications, namely clearing the port alarm information corresponding to all the target OLT port identifications corresponding to the target OLT identifications, generating equipment alarm information corresponding to the target OLT identifications, and outputting the equipment alarm information.
The port alarm information may include an alarm generation flag, an alarm generation time, a target OLT identification (IP address), a target OLT port identification, and an alarm account list (all users broadband identification of an alarm), for example, one piece of port alarm information may be expressed as: [1,'2023-08-0700:36:42','106.1.1.1','0/2/10',[6,0,5],['079111111111','19179111111','07911222222,'189733333','1897777777']]. The device alarm information may include an alarm generation flag, an alarm generation time, and a target OLT identification (IP address), for example, a piece of device alarm information may be expressed as: [1,'2023-08-0700:36:42','106.5.18.82'].
When port alarm information exists in all the target OLT port identifications under the target OLT identifications, the port alarm information of all the target OLT port identifications is cleared, equipment alarm information corresponding to the target OLT identifications is generated, and the equipment alarm information is output, so that faults of target OLT equipment corresponding to the target OLT identifications can be found in time, and maintenance personnel can overhaul the faults of the target OLT equipment conveniently.
On the basis of the above technical solution, after the generating the port alarm information corresponding to the target OLT identifier and the target OLT port identifier and outputting the port alarm information, the method further includes: and if the broadband online of the user under the target OLT identifier and the target OLT port identifier is successful, generating port alarm cancellation information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm cancellation information.
After generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, if a user broadband authentication message about the target OLT identifier and the target OLT port identifier sent by the aggregation device is received, and broadband state information in the user broadband authentication message is that the user broadband is successfully online, the fault of the target OLT port corresponding to the OLT identifier and the target OLT port identifier is indicated to be recovered, at the moment, port alarm cancellation information corresponding to the target OLT identifier and the target OLT port identifier is generated, the port alarm cancellation information is output, and the alarm of the target OLT port recovered by the fault is cancelled in time.
The port alarm cancellation information may include an alarm cancellation flag, an alarm cancellation time, a target OLT identity, a target OLT port identity, and a user broadband identity for successful online. For example, a piece of port alarm cancellation information may be expressed as: [2,'2023-08-07 01:36:42','106.1.1.1','0/2/10','079111111111'].
When the broadband online of the user under the target OLT identification and the target OLT port identification is successful, port alarm cancellation information corresponding to the target OLT identification and the target OLT port identification is generated, and the port alarm cancellation information is output, so that the port alarm information is cancelled in time after the target OLT port fault is recovered.
Fig. 3 is a flowchart of an early warning method for an optical network fault, where the early warning method for an optical network fault may be executed by electronic devices such as an AAA (Authentication, authorization, accounting, authentication, authorization, accounting) system, and the method is applicable to a scenario of an optical network fault caused by an abnormal device physical alarm, a problem of a network parameter of a local side device connected to an uplink device, and the like. In this embodiment, the target period includes a plurality of sub-periods, and after data statistics is performed according to each sub-period, data statistics of the target period is performed again, that is, a certain number of sub-periods form the target period to perform data statistics. As shown in fig. 3, the method includes: steps 310 through 360.
Step 310, in a target period, acquiring a target OLT identifier and a target OLT port identifier with broadband state information of abnormal offline; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol.
According to the online information or the offline information in the user broadband authentication message, the user broadband information is stored in a database, so that the broadband state information of the user broadband is maintained, the stored user broadband information comprises an OLT (optical line terminal) identifier, an OLT (optical line terminal) port identifier, a user broadband identifier and broadband state information, and the broadband state information can comprise information such as last online time, whether online, offline time, offline reasons and the like.
Based on the user broadband information stored in the database, the target OLT identification and the target OLT port identification of which the broadband state information is abnormal offline are obtained.
And 320, determining the number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the sub-period according to the sub-period.
The time length of the sub-periods is smaller than that of the target period, one target period is composed of a certain number of sub-periods, data statistics can be respectively carried out on each sub-period, and then data in a certain number of sub-periods are counted to obtain the statistical data of the target period, so that the data statistics of the target period can be carried out once every other sub-period, and faults can be found in time. For example, there are sub-periods 1, 2, 3, 4, 5, respectively, with sub-periods 1, 2, 3, 4 constituting a first target period and sub-periods 2, 3, 4, 5 constituting a second target period. The time length may be set according to the requirement, for example, the sub-period may be 1 minute, and the target period may be 5 minutes, where the target period includes 5 sub-periods.
And counting the number of the user broadband which is not successfully on line after the target OLT identification and the target OLT port identification are abnormally off line in the sub-period according to the sub-period, and obtaining the number of the abnormal off-line users corresponding to the target OLT identification and the target OLT port identification in the sub-period.
And 330, determining the sum of the abnormal offline user numbers corresponding to the target OLT identification and the target OLT port identification in the plurality of sub-periods as the total abnormal offline user number corresponding to the target OLT identification and the target OLT port identification in the target period.
And counting the number of the abnormal offline users in a plurality of sub-periods according to the target OLT identification and the target OLT port identification to obtain the total number of the abnormal offline users corresponding to the target OLT identification and the target OLT port identification in the target period.
And step 340, determining the number of online users corresponding to the target OLT identifier and the target OLT port identifier in the sub-period according to the sub-period.
And counting the broadband quantity of all online users of the target OLT identification and the target OLT port identification in the sub-period according to the sub-period to obtain the quantity of online users corresponding to the target OLT identification and the target OLT port identification in the sub-period.
And step 350, determining the sum of the number of online users corresponding to the target OLT identifier and the target OLT port identifier in the plurality of sub-periods as the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period.
And counting the number of the online users in a plurality of sub-periods aiming at the target OLT identification and the target OLT port identification to obtain the total number of the online users corresponding to the target OLT identification and the target OLT port identification in the target period.
And 360, when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information.
When the ratio of the total number of abnormal offline users to the total number of online users in the target period is greater than or equal to a ratio threshold, determining that a fault exists in the target OLT port corresponding to the target OLT identifier and the target OLT port identifier, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information.
According to the early warning method for the optical network faults, the number of abnormal offline users and the number of online users corresponding to the target OLT identification and the target OLT port identification are counted according to the sub-periods, the total number of the abnormal offline users in the target period is determined based on the number of the abnormal offline users in the plurality of the sub-periods, the total number of the online users in the target period is determined based on the number of the online users in the plurality of the sub-periods, and whether faults exist in the target OLT ports corresponding to the target OLT identification and the target OLT port identification or not is determined based on the ratio of the number of the abnormal offline users in the target period to the total number of the online users, so that data statistics can be carried out in a smaller time unit, and the timeliness of the early warning for the faults of the large-area optical network is improved.
Fig. 4 is a logic flow diagram of an early warning method for an optical network failure provided in the embodiment of the present application, as shown in fig. 4, first, pppoe+ technology deployment needs to be performed, pppoe+ configuration is added in an access device (OLT device), pppoe+ configuration is added in a convergence device, and AAA system software is upgraded (so as to be able to parse a message sent by the convergence device); the AAA system collects data and simplifies messages, and carries out alarm statistics by using the OLT identification and the OLT port identification, and respectively carries out statistics aiming at the online information and the offline information of the user broadband, and circularly counts the ratio of the total number of the abnormal offline users to the total number of the online users, so that the original data of two types of large-area alarms can be formed based on the counted data, one type is the large-area alarm of the target OLT port of the target OLT equipment, and the other type is the large-area alarm of the target OLT equipment.
Fig. 5 is a schematic diagram of a large area barrier (zone barrier) interception network element in the embodiment of the present application, as shown in fig. 5, an ONU (Optical Network Unit ) transmits uplink and downlink information of a home subscriber broadband to an OLT device, the OLT device adds an OLT identifier and an OLT port identifier in a message based on a deployed pppoe+ information (the OLT information includes an OLT identifier and an OLT port identifier), and transmits the message to a convergence device (BRAS), the convergence device adds convergence device information in the message, and transmits the message to an AAA system, and the AAA system processes the message and synthesizes the message to form the barrier information (alarm information of the large area fault) of the home subscriber broadband, so that the barrier information can be output to the comprehensive alarm system. In addition, the OLT equipment is provided with a PON network manager, the convergence equipment is provided with an IP network manager, the PON network manager and the IP network manager can correlate the broadband information of the home subscriber based on physical alarm to form the barrier information of the broadband of the home subscriber, and the barrier information is output to the comprehensive alarm system.
The early warning method for the optical network faults is mainly aimed at the faults of the large-area optical network, does not depend on physical equipment warning information of the OLT equipment, thereby avoiding the defects caused by judging logic through the equipment physical warning information, and is suitable for the faults of the large-area optical network caused by abnormal equipment physical warning, problems of local side equipment network parameters of equipment uplink connection and the like. Meanwhile, the user broadband information of each optical network user broadband stored by the AAA system is not only used for large-area fault alarm, but also used for service confirmation information (alarm cancellation information) after fault recovery after the user broadband is recovered to be normal. As a broadband large-area early warning mode for the optical network user with relatively low cost, the method has high cost performance, can be widely applied to the field of optical network fault management, and has high accuracy.
Fig. 6 is a schematic structural diagram of an early warning device for optical network failure according to an embodiment of the present application, and as shown in fig. 6, the device includes:
the target identifier obtaining module 610 is configured to obtain, in a target period, a target OLT identifier and a target OLT port identifier for which broadband status information is abnormal offline; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol;
An abnormal offline statistics module 620, configured to determine a total number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
an online user statistics module 630, configured to determine a total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
and the alarm generating module 640 is configured to generate port alarm information corresponding to the target OLT identifier and the target OLT port identifier when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold, and output the port alarm information.
Optionally, the apparatus further includes:
the message receiving module is used for receiving a user broadband authentication message sent by each convergence device based on a two-layer point-to-point protocol, wherein the user broadband authentication message comprises user broadband information, the user broadband information comprises a user broadband identifier, an OLT port identifier and the broadband state information, and the user broadband information is sent to the convergence device by the OLT device based on the point-to-point protocol;
and the broadband information storage module is used for storing the user broadband information into a database.
Optionally, the apparatus further includes:
and the broadband information extraction module is used for analyzing the user broadband authentication message based on a two-layer point-to-point protocol and acquiring the user broadband information from the user broadband authentication message.
Optionally, the broadband information storage module includes:
the online information storage unit is used for storing the broadband state information and the user broadband identification into an online queue corresponding to the OLT identification and the OLT port identification in the database if the broadband state information comprises online information;
and the offline information storage unit is used for storing the broadband state information and the user broadband identification into an offline queue corresponding to the OLT identification and the OLT port identification in the database if the broadband state information comprises offline information.
Optionally, the target period includes a plurality of sub-periods;
the abnormal offline statistics module is specifically configured to:
according to the subcycle, determining the number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the subcycle;
determining the sum of the number of the abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the plurality of sub-periods as the total number of the abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
The online user statistics module is specifically configured to:
according to the subcycle, determining the number of online users corresponding to the target OLT identifier and the target OLT port identifier in the subcycle;
and determining the sum of the number of the online users corresponding to the target OLT identifier and the target OLT port identifier in the plurality of sub-periods as the total number of the online users corresponding to the target OLT identifier and the target OLT port identifier in the target period.
Optionally, the apparatus further includes:
and the device alarm generating module is used for clearing port alarm information corresponding to all the target OLT port identifications if all the target OLT port identifications under the target OLT identifications have the port alarm information, generating device alarm information corresponding to the target OLT identifications and outputting the device alarm information.
Optionally, the apparatus further includes:
and the alarm cancellation module is used for generating port alarm cancellation information corresponding to the target OLT identifier and the target OLT port identifier and outputting the port alarm cancellation information if the broadband on-line of the user under the target OLT identifier and the target OLT port identifier is successful.
The early warning device for optical network failure provided in this embodiment of the present application is used to implement each step of the early warning method for optical network failure described in this embodiment of the present application, and specific embodiments of each module of the device refer to corresponding steps, which are not described herein again.
According to the early warning device for the optical network fault, the broadband state information is the target OLT identification and the target OLT port identification which are abnormally off-line in the target period, the total number of the abnormally off-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, the total number of the on-line users corresponding to the target OLT identification and the target OLT port identification in the target period is determined, when the ratio of the total number of the abnormally off-line users to the total number of the on-line users is greater than or equal to the ratio threshold value, the port warning information corresponding to the target OLT identification and the target OLT port identification is generated, the port warning information is output, the large-area optical network fault can be timely and accurately determined through the ratio between the total number of the abnormally off-line users and the total number of the on-line users in the target period, and the physical equipment warning information of equipment is not relied on, so that the defect brought by equipment physical warning information judging logic is avoided, and the early warning coverage of the optical network fault can be improved.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 7, the electronic device 700 may include one or more processors 710 and one or more memories 720 connected to the processors 710. Electronic device 700 may also include an input interface 730 and an output interface 740 for communicating with another apparatus or system. Program code executed by processor 710 may be stored in memory 720.
The processor 710 in the electronic device 700 invokes the program code stored in the memory 720 to perform the method of early warning of an optical network failure in the above-described embodiment.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the method for early warning of optical network faults according to the embodiment of the application.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The foregoing describes in detail a method, an apparatus, an electronic device, and a storage medium for early warning of an optical network failure provided in the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, where the descriptions of the foregoing embodiments are only used to help understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or may be implemented by hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.

Claims (10)

1. An early warning method for an optical network fault is characterized by comprising the following steps:
acquiring a target OLT identifier and a target OLT port identifier of which broadband state information is abnormally off-line in a target period; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol;
determining the total number of abnormal offline users corresponding to the target OLT identification and the target OLT port identification in the target period;
determining the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
and when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold, generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm information.
2. The method as recited in claim 1, further comprising:
receiving a user broadband authentication message sent by each convergence device based on a two-layer point-to-point protocol, wherein the user broadband authentication message comprises user broadband information, the user broadband information comprises a user broadband identifier, an OLT port identifier and the broadband state information, and the user broadband information is sent to the convergence device by the OLT device based on the point-to-point protocol;
And storing the user broadband information into a database.
3. The method of claim 2, further comprising, prior to said saving said user broadband information to a database:
and analyzing the user broadband authentication message based on a two-layer point-to-point protocol, and acquiring the user broadband information from the user broadband authentication message.
4. The method of claim 2, wherein the saving the user broadband information into a database comprises:
if the broadband state information comprises online information, storing the broadband state information and the user broadband identification into an online queue corresponding to the OLT identification and the OLT port identification in the database;
and if the broadband state information comprises the offline information, storing the broadband state information and the user broadband identification into an offline queue corresponding to the OLT identification and the OLT port identification in the database.
5. A method according to any one of claims 1-3, wherein the target period comprises a plurality of sub-periods;
the determining the total number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period includes:
According to the subcycle, determining the number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the subcycle;
determining the sum of the number of the abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the plurality of sub-periods as the total number of the abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
the determining the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period includes:
according to the subcycle, determining the number of online users corresponding to the target OLT identifier and the target OLT port identifier in the subcycle;
and determining the sum of the number of the online users corresponding to the target OLT identifier and the target OLT port identifier in the plurality of sub-periods as the total number of the online users corresponding to the target OLT identifier and the target OLT port identifier in the target period.
6. A method according to any of claims 1-3, characterized in that after said generating the target OLT identity and the port alarm information corresponding to the target OLT port identity, further comprises:
And if all the target OLT port identifications under the target OLT identifications have the port alarm information, clearing port alarm information corresponding to all the target OLT port identifications, generating equipment alarm information corresponding to the target OLT identifications, and outputting the equipment alarm information.
7. A method according to any one of claims 1-3, further comprising, after said generating the port alarm information corresponding to the target OLT identity and the target OLT port identity and outputting the port alarm information:
and if the broadband online of the user under the target OLT identifier and the target OLT port identifier is successful, generating port alarm cancellation information corresponding to the target OLT identifier and the target OLT port identifier, and outputting the port alarm cancellation information.
8. An early warning device for optical network faults is characterized by comprising:
the target identification acquisition module is used for acquiring the target OLT identification and the target OLT port identification with the broadband state information of abnormal offline in a target period; the broadband state information is sent by each convergence device based on a two-layer point-to-point protocol, and the convergence device and the OLT device transmit the broadband state information based on the two-layer point-to-point protocol;
The abnormal offline statistics module is used for determining the total number of abnormal offline users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
the online user statistics module is used for determining the total number of online users corresponding to the target OLT identifier and the target OLT port identifier in the target period;
and the alarm generation module is used for generating port alarm information corresponding to the target OLT identifier and the target OLT port identifier when the ratio of the total number of the abnormal offline users to the total number of the online users is greater than or equal to a ratio threshold value, and outputting the port alarm information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method for early warning of an optical network failure according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method for early warning of an optical network failure according to any one of claims 1 to 7.
CN202311316258.8A 2023-10-11 2023-10-11 Early warning method and device for optical network faults, electronic equipment and storage medium Pending CN117395548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311316258.8A CN117395548A (en) 2023-10-11 2023-10-11 Early warning method and device for optical network faults, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311316258.8A CN117395548A (en) 2023-10-11 2023-10-11 Early warning method and device for optical network faults, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117395548A true CN117395548A (en) 2024-01-12

Family

ID=89471246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311316258.8A Pending CN117395548A (en) 2023-10-11 2023-10-11 Early warning method and device for optical network faults, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117395548A (en)

Similar Documents

Publication Publication Date Title
EP3829080B1 (en) Pon fault location method and device
US9166874B2 (en) Communication network system and communication network configuration method
US6978302B1 (en) Network management apparatus and method for identifying causal events on a network
CN110266550B (en) Method and device for predicting fault influence
CN101534460B (en) Method for identifying remote ONU down-linked terminal equipment in PON system automatically
CN101345581B (en) Fault location method and system for passive optical network
US8861371B2 (en) Service status signaling in Ethernet networks
WO2016150300A1 (en) Method and apparatus for distributing optical network unit service information and optical line terminal
CN112468592B (en) Terminal online state detection method and system based on electric power information acquisition
CN112291075B (en) Network fault positioning method and device, computer equipment and storage medium
CN111885440A (en) Fault diagnosis and rapid processing method based on PON access network service
EP2717513A1 (en) Method, optical network device, and system for acquiring association relationship between pon ports
CN112203172B (en) Special line opening method and device
CN102739539A (en) Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)
CN106303763A (en) The detection method of a kind of abnormal PON terminal and device
CN114529005A (en) Machine learning model management method, device and system
EP3917086A1 (en) Network topology discovery method, device, and system
CN111817917B (en) Deep packet inspection method, device, server and storage medium
CN107135116B (en) Method and apparatus for connectivity detection
CN117395548A (en) Early warning method and device for optical network faults, electronic equipment and storage medium
CN113727222B (en) Method and device for detecting MAC address drift in PON system
CN115834365A (en) Method, device and equipment for home wide service diagnosis based on novel network
CN115842760A (en) Fault detection method and device, electronic equipment and storage medium
CN112218180B (en) Method, apparatus, storage medium, and program product for detecting status of optical fiber
CN113872686A (en) Customer self-service troubleshooting processing method based on optical broadband network service

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