A home broadband element authentication capability anomaly early warning method and device
By analyzing the online/offline messages and timestamps of the broadband network, the change in the number of online users is calculated, enabling timely alarms for the authentication capabilities of broadband network elements. This solves the problem of untimely network fault repair and improves the efficiency of network function repair.
Patent Information
- Application Number
- CN202210125448.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-10
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-02-10
AI Technical Summary
In existing broadband networks, network link failures can cause abnormal user access authentication, making timely fault repair difficult and affecting the normal use of network functions.
By acquiring online/offline messages during the monitoring period, the network elements associated with the online/offline messages are determined, and the change in the number of online users is calculated based on the timestamp. If the change exceeds the alarm change value, an authentication capability anomaly alarm is triggered.
It enables timely early warning of network element authentication capabilities in home broadband networks, improves fault repair efficiency, and reduces the negative impact on user services.
Smart Images

Figure CN116633757B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, and in particular to a home broadband network element authentication capability abnormality early warning method and device. BACKGROUND
[0002] In the field of home broadband services, user access authentication may be abnormal due to network link failure. In the prior art, the actual failure is often determined based on the complaint feedback content of the user after the failure has occurred. However, this method often has the problem of not being able to handle the failure in a timely manner, which may cause the home broadband network to be unable to function normally for a period of time, and it is difficult to achieve rapid repair of the home broadband network function.
[0003] How to effectively early warn the authentication capability abnormality of the home broadband network element to improve the efficiency of repairing the home broadband network function is a technical problem to be solved by the present application. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a home broadband network element authentication capability abnormality early warning method and device to solve the problem that it is difficult to effectively early warn the authentication capability abnormality of the home broadband network element.
[0005] In a first aspect, a home broadband network element authentication capability abnormality early warning method is provided, comprising:
[0006] obtaining the up and down line messages of the home broadband network in a monitoring period, the up and down line messages carrying time stamps representing the up and down line time of the home broadband user;
[0007] determining the home broadband link network elements associated with the up and down line messages, the home broadband link network elements including network elements that perform the up and down line of the home broadband user through network element authentication capability;
[0008] determining the change value of the number of online home broadband network users of the target home broadband link network element in the monitoring period according to the time stamps carried by the up and down line messages and the home broadband link network elements;
[0009] if the change value of the number of online home broadband network users of the target home broadband link network element is greater than the alarm change value, performing authentication capability abnormality alarm on the target home broadband link network element.
[0010] In a second aspect, a home broadband network element authentication capability abnormality early warning device is provided, comprising:
[0011] an obtaining module, configured to obtain the up and down line messages of the home broadband network in a monitoring period, the up and down line messages carrying time stamps representing the up and down line time of the home broadband user;
[0012] The first determining module determines the home broadband link network element associated with the online / offline message, and the home broadband link network element includes a network element that performs online / offline of a home broadband user through network element authentication capability.
[0013] The second determining module determines a change value of the number of online home broadband network users of a target home broadband link network element in the monitoring period according to the timestamp carried by the online / offline message and the home broadband link network element.
[0014] The executing module performs authentication capability abnormality alarm for the target home broadband link network element if the change value of the number of online home broadband network users of the target home broadband link network element is greater than an alarm change value.
[0015] In a third aspect, an electronic device is provided, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the method of the first aspect are implemented.
[0016] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the method of the first aspect are implemented.
[0017] In the embodiments of the present application, by obtaining online / offline messages of a home broadband network in a monitoring period, the online / offline messages carrying a timestamp representing online / offline time of a home broadband user; determining a home broadband link network element associated with the online / offline message, the home broadband link network element including a network element that performs online / offline of a home broadband user through network element authentication capability; determining a change value of the number of online home broadband network users of a target home broadband link network element in the monitoring period according to the timestamp carried by the online / offline message and the home broadband link network element; and performing authentication capability abnormality alarm for the target home broadband link network element if the change value of the number of online home broadband network users of the target home broadband link network element is greater than an alarm change value. The present scheme determines the change value of the number of online users of a home broadband network element based on online / offline messages, thereby effectively realizing network element authentication abnormality alarm based on the change of the number of online users, which is conducive to improving the efficiency of repairing home broadband network functions. BRIEF DESCRIPTION OF DRAWINGS
[0018] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0019] Figure 1 is one of flow diagrams of a home broadband network element authentication capability abnormality early warning method according to an embodiment of the present application.
[0020] Figure 2Figure 2 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0021] Figure 3 Figure 3 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0022] Figure 4 Figure 4 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0023] Figure 5 Figure 5 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0024] Figure 6 Figure 6 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0025] Figure 7 Figure 7 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0026] Figure 8 Figure 8 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0027] Figure 9 Figure 9 is a flowchart of a method for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application.
[0028] Figure 10 Figure 10 is a structural diagram of a device for early warning of abnormal authentication capability of a home broadband network element according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application. The numbers in the drawings in the present application are only used to distinguish the steps in the schemes, and are not used to limit the execution order of the steps, which is subject to the description in the specification.
[0030] To solve the problems in the prior art, the present application provides a method for early warning of abnormal authentication capability of a home broadband network element, as shown in Figure 1 which comprises the following steps.
[0031] S11: Obtain an up and down message of the home broadband network in a monitoring period, the up and down message carrying a time stamp representing an up and down time of the home broadband user.
[0032] In the home broadband service network, the up and down message can specifically include a user up message and a user down message, and the user up message can specifically include a user access authentication message. For a home broadband service network access protocol expanded to a PPPOE (Point-to-Point Protocol Over Ethernet, Point-to-Point Protocol over Ethernet) + protocol, the user access authentication message often carries detailed user access network element link information and a time stamp representing a user up time or a user down time. Specifically, the user up message (for example, the user access authentication message) carries a time stamp representing a user up time, and the user down message carries a time stamp representing a user down time.
[0033] S12: Determine a home broadband link network element associated with the up and down message, the home broadband link network element including a network element performing user up and down of the home broadband through network element authentication capability.
[0034] Since the up and down message carries detailed user access network element link information, the associated home broadband link network element can be determined by analyzing the up and down message in this step. The up and down message associated home broadband link network element includes a network element performing user up or down of the home broadband through network element authentication capability.
[0035] For example, the home broadband link network element can include a Bras (Broadband Remote Access Server, broadband remote access server), an OLT (Optical Line Terminal, optical line terminal), a PON (Passive Optical Network, passive optical fiber network) device interface, etc.
[0036] S13: Determine a home broadband network user online quantity change value of a target home broadband link network element in the monitoring period according to the time stamp carried by the up and down message and the home broadband link network element.
[0037] In actual application, a key network element in the home broadband link network element can be taken as the target home broadband link network element to determine the network user online quantity change value in the monitoring period. Since the home broadband link network element is used to perform user up and down of the home broadband, if the network element authentication capability of the target home broadband link network element is abnormal, it can cause a large number of users to be offline in a short time. In this step, the user online quantity change value of the target home broadband link network element in the monitoring period is determined, which can directly reflect whether the function of the target home broadband link network element is abnormal.
[0038] In this step, the time stamp carried by the online and offline message can represent the time when the home broadband user is online or offline. Based on the time stamp carried by the online and offline message, the change value of the number of online users of the target home broadband link network element in the monitoring period can be counted. For example, first, the online and offline messages associated with the target home broadband link network element are determined, and then the change value of the number of online users in the monitoring period is determined according to the time stamp carried by the online and offline messages. For example, based on the online and offline messages associated with the target home broadband link network element, the number of online users in the monitoring period and the number of offline users in the monitoring period are determined, and the change value of the number of online users is determined according to the number of online users in the monitoring period and the number of offline users in the monitoring period.
[0039] S14: If the change value of the number of home broadband network users of the target home broadband link network element is greater than the alarm change value, an authentication capability abnormality alarm is performed on the target home broadband link network element.
[0040] In this step, the alarm change value can be pre-set according to actual needs. The number of home broadband network users is often related to the location of the home broadband user, the time period, holidays and other factors. Therefore, the alarm change value can also be pre-determined according to the number of online users of the target home broadband link network element in the historical period. The alarm change value can be an array corresponding to a date or a time, for example, the alarm change value is A from 7 o'clock to 19 o'clock, and the alarm change value is B from 19 o'clock to the next day 7 o'clock.
[0041] The change value of the number of home broadband network users of the target home broadband link network element can represent whether the network element authentication capability of the target home broadband link network element is normal. If the change value of the number of home broadband network users is greater than the alarm change value, it can be determined that the network element authentication capability of the target home broadband link network element is abnormal, which causes the number of online users to change greatly in a short time. Therefore, an authentication capability abnormality alarm is performed on the target home broadband link network element, which can realize timely alarm of the network element authentication capability abnormality and is beneficial to improve the repair efficiency of the abnormal network element.
[0042] In the home broadband service field, although the network element with abnormal network element authentication capability can also be determined according to the user complaint information, this positioning abnormality based on complaint information has low efficiency and often affects the home broadband service of the home broadband user for a period of time. The scheme provided in the embodiment of the application can perform an alarm in a timely manner based on the change of the number of online users after the authentication capability of the target home broadband link network element is abnormal, which is beneficial to timely troubleshoot and repair the abnormal network element. Compared with the scheme of repairing the abnormal network element based on the complaint information, the scheme provided in the embodiment of the application can perform an alarm of the abnormal network element in a more timely manner, which is beneficial to repair the abnormal network element as soon as possible, and thus can shorten the negative impact on the home broadband service of the home broadband user and protect the quality of the home broadband network service.
[0043] Based on the scheme provided in the above embodiment, optionally, as shown in Figure 2 The step S12 includes:
[0044] S21: Analyzing the login / logout message to obtain a broadband remote access server Internet Protocol Address (Bras IP) and home broadband network interface attribute information.
[0045] In this step, for the obtained login / logout message, the user Bras IP (Internet Protocol Address) and home broadband network interface attribute information can be extracted based on the PPPOE+ protocol. The home broadband network interface attribute information can be specifically a NAS-PORT-ID field in the login / logout message.
[0046] S22: Analyzing the home broadband network interface attribute information to obtain an optical line terminal Internet Protocol Address (OLT IP) and passive optical network (PON) device interface information.
[0047] The home broadband network interface attribute information is often generated based on a preset template. In this step, the NAS-PORT-ID field can be parsed according to a vendor formatting template to decompose the user authentication link OLT IP and PON interface information.
[0048] S23: Determining the broadband remote access server corresponding to the broadband remote access server Internet Protocol Address, the optical line terminal corresponding to the optical line terminal Internet Protocol Address (OLT IP), and the passive optical network device corresponding to the passive optical network (PON) device interface information as the home broadband link network element associated with the login / logout message.
[0049] In this step, based on the information parsed from the login / logout message, the home broadband link network element associated with the login / logout message is determined. Specifically, the broadband remote access server (Bras), the optical line terminal (OLT), and the passive optical network device (PON) interface are included.
[0050] Through the scheme provided in the embodiment of the present application, the associated home broadband link network element can be determined based on the login / logout message. The home broadband link network element includes network elements at different levels, and there is an upstream and downstream relationship between the network elements at different levels. In actual application, for a login / logout message, only when the network element authentication capabilities of the associated home broadband link network element are all normal, can the login / logout function of the home broadband user be realized. The scheme provided in the embodiment can determine the home broadband link network element associated with the login / logout message. Then in the subsequent steps, the home broadband link network element can be alarmed to realize timely alarm for the home broadband link network element with abnormal network element authentication capability.
[0051] Based on the scheme provided in the above embodiment, optionally, as shown in Figure 3 After the step S12, the method further comprises:
[0052] S31: determining an authentication association relationship between the multiple home broadband link network elements according to the online and offline messages, the authentication association relationship representing a link upstream and downstream relationship between the multiple home broadband link network elements performing the online and offline of the home broadband users through the network element authentication capability;
[0053] In actual application, the number of the home broadband link network elements associated with the online and offline messages is often multiple, and there is an upstream and downstream association relationship between the multiple home broadband link network elements. In this step, the multiple home broadband link network elements can be first divided based on levels, and a network element authentication capability map is constructed based on the upstream and downstream relationship between the network elements of different levels, so that a large number of network elements in the whole network can be monitored and alarmed.
[0054] For example, the link monitoring network elements in the whole network are divided into three levels of Bras, OLT and PON port according to the active node type. The upstream and downstream relationship between the multiple home broadband link network elements is determined according to the online and offline messages, and a network element authentication capability map of the whole network is formed. The network element authentication capability map not only represents the level and the upstream and downstream association relationship between the home broadband network elements, but also can be used to monitor the real-time user quantity based on the network elements, which is beneficial to timely identify the network element with abnormal authentication capability, and then realize timely alarm.
[0055] Optionally, the online user quantity of each network element can be recorded in the form of "network element information-network element current online user quantity" based on the above network element authentication capability map. The real-time carrying capacity data storage structure of the network elements at all levels in the whole network can be, for example:
[0056] Key network element information
[0057] value network element current online user quantity
[0058] The step S14 comprises:
[0059] S32: if the online user quantity change value of the home broadband network users of the multiple abnormal home broadband link network elements is greater than the alarm change value, determining a target home broadband link network element from the multiple abnormal home broadband link network elements according to the authentication association relationship, the target home broadband link network element being located upstream of the other abnormal home broadband link network elements in the authentication association relationship;
[0060] S33: performing authentication capability abnormality alarm on the target home broadband link network element.
[0061] Since there is an association relationship between home broadband link network elements, when the network element authentication capability of a home broadband link network element is abnormal, the upstream and downstream associated network elements can also be abnormal. In the scheme provided in the embodiments of the present application, in the case of multiple network elements being abnormal, an alarm is executed for the abnormal home broadband link network element located upstream, which is beneficial to repairing the abnormal network element located upstream in priority and reducing the adverse impact on the home broadband service.
[0062] Specifically, the upstream and downstream relationship between multiple abnormal home broadband link network elements can be determined based on the network element authentication capability map, so as to determine the target home broadband link network element, and then an alarm is executed for the home broadband link network element located upstream.
[0063] Based on the scheme provided in the above embodiments, optionally, as shown in Figure 4 the step S13 includes:
[0064] S41: determining the number of home broadband network users performing online and the number of home broadband network users performing offline of the target home broadband link network element in the monitoring period according to the timestamp carried by the online and offline messages.
[0065] In this step, the number of home broadband users performing online and the number of home broadband users performing offline in the monitoring period are respectively counted according to the timestamp of the online and offline messages. Specifically, the type of the message can be identified first, for example, the message is divided into online message and offline message according to the content or function of the message, so as to determine the number of home broadband users performing online and offline in the monitoring period.
[0066] S42: determining the online number change value of the home broadband network users of the target home broadband link network element in the monitoring period according to the number of home broadband network users performing online and the number of home broadband network users performing offline.
[0067] In the scheme provided in the embodiments of the present application, the difference between the number of home broadband network users performing online and the number of home broadband network users performing offline can be determined as the online number change value of the home broadband network users in the monitoring period. The online number change value can represent the number change of the online home broadband users in the monitoring period, and further reflect whether the network element authentication capability of the target home broadband link network element is abnormal, so as to execute an alarm for the abnormal home broadband link network element in time.
[0068] Based on the scheme provided in the above embodiments, optionally, the alarm change value includes a historical same period change ratio or a historical average change value.
[0069] In the embodiments of the present application, the required alarm change value can be set in advance according to the actual change of the home broadband network user. For example, in the area where the home broadband user changes less, the change ratio of the historical same period can be set as the alarm change value. If the home broadband user is relatively fixed, the change ratio of the historical same period can reflect the habits of the home broadband user in the area. Taking the change ratio of the historical same period as the alarm change value, whether the network element authentication capability of the target home broadband link network element is abnormal can be determined based on the habits of the user online and offline. If a large number of users do not perform online and offline according to the historical habits, it is possible that the target home broadband link network element has network element authentication capability abnormality, which causes the home broadband user to be unable to normally use the home broadband service, and thus the target home broadband link network element with abnormality is alarmed in time.
[0070] For another example, in the area where the home broadband user changes greatly, the historical average change value can be set as the alarm change value. Since the home broadband user in the area changes greatly, the home broadband user is frequently added or deleted, and it is difficult to determine the habits of the home broadband user online and offline. At this time, the number of online and offline of the home broadband user can be predicted according to the historical average value. Once the change value of the number of online users of the target home broadband link network element is greater than the historical average value, it is possible that the target home broadband link network element has network element authentication capability abnormality, which causes the home broadband user to be unable to normally use the home broadband service, and thus the target home broadband link network element with abnormality is alarmed in time.
[0071] Optionally, based on the home broadband link network elements divided by the level, the network element authentication capability abnormality fluctuation monitoring of the same level network elements can share the dynamic strategy library. A plurality of dynamic strategies can be set in advance in the dynamic strategy library, so as to perform hierarchical alarm on the home broadband link network element with network element authentication capability abnormality, which is beneficial to repair the serious or key home broadband link network element in priority, so as to reduce the negative influence of the network element authentication capability abnormality on the home broadband service.
[0072] For example, the alarm level can be hierarchically set, for example, set as: high-level early warning, medium-level early warning, and low-level early warning.
[0073] For another example, the alarm change value can be set as a plurality of values, for example, the alarm change value includes the following three kinds: historical period value, that is, the statistical value of the previous N periods; historical median value, that is, the mean value of the historical statistics of the target home broadband link network element after removing the abnormal data; and period-on-period period value, that is, the statistical value of the historical same period.
[0074] Further, the network element authentication capability of the target home broadband link network element can also be represented by other parameters, for example, the steep drop percentage and / or the steep drop number of the target home broadband link network element are determined based on a preset period.
[0075] Based on the scheme provided in the above embodiment, the above-mentioned multiple strategies can be combined to monitor and identify whether the target home broadband link network element has abnormal network element authentication capability from multiple aspects. In actual application, the detection can be performed once every 5 minutes based on a preset period, and the data information of each home broadband link network element is updated. The recorded information can also be used to optimize the above-mentioned strategies.
[0076] Optionally, the detection and alarm can be performed on each home broadband link network element in the whole network independently. That is, each home broadband link network element is taken as a target home broadband link network element to perform detection, so as to realize the monitoring and alarm of the home broadband link network elements in the whole network.
[0077] Based on the scheme provided in the above embodiment, optionally, as shown in Figure 5 Before the step S12, the scheme provided in the embodiment further includes:
[0078] S51: performing validity check on the online / offline message according to a preset check rule to determine a valid online / offline message;
[0079] The step S12 includes:
[0080] S52: determining a home broadband link network element associated with the valid online / offline message.
[0081] In actual application, there can be invalid messages in the obtained online / offline message. To avoid the negative influence of the invalid messages on the abnormal detection of the home broadband link network element, the scheme provided in the embodiment performs validity check on the online / offline message before determining the home broadband link network element. Optionally, the validity check can be performed on the obtained online / offline message based on a preset message format. For example, the compliant NAS-PORT-ID format is as follows:
[0082] trunk 3 / 0 / 30:1106.44 GP (wherein, the bolded “172.27.154.4” is an OLT IP, and “1” is PON port information)
[0083] 0 / 0 / 24:3916.854 GP (wherein, the bolded “172.31.236.44” is an OLT IP, and “03” is PON port information)
[0084] eth 12 / 1 / 2:1010.17 GP (wherein, the bolded “172.30.56.20” is an OLT IP, and “2” is PON port information)
[0085] The invalid message data sample is as follows:
[0086] 0 / 0 / 30:3004.1243 PUY-17 2.31.246.110 -TQDANGXIAO-AL-7360
[0087] eth 1 / 1 / 01 / 11 / 25 / 14 / 1
[0088] trunk 9 / 1 / 9:1000.18AN5516-01 / 0 / 0 / 1 / 0 / 1 / 000000000000SKYW8b1166d5 GP
[0089] In the scheme provided in the embodiment, the invalid message can be deleted. Alternatively, in the case where the required data is complete, the invalid message can be repaired, and the associated home broadband link network element is determined based on the repaired valid message.
[0090] Through the scheme provided in the embodiment of the present application, before determining the home broadband link network element associated with the uplink and downlink messages, the validity of the obtained uplink and downlink messages is verified first to eliminate invalid uplink and downlink messages, reduce the waste of processing resources by invalid messages, avoid the negative impact of invalid messages on abnormal detection of home broadband link network elements, and improve the accuracy of home broadband link network element alarms.
[0091] Next, the method flow provided in the embodiment of the present application will be described in combination with examples.
[0092] In the embodiment, in combination with the validity verification of the uplink and downlink messages, the flow of collecting and processing the user uplink and downlink messages is as follows:
[0093] 1) Deploy user uplink and downlink log collection;
[0094] 2) Analyze the uplink time in the uplink message and perform validity verification;
[0095] 3) Analyze the downlink time in the downlink message and perform validity verification;
[0096] 4) Extract the Bras ip information;
[0097] 5) Extract the NAS-PORT-ID attribute, and split the OLT IP and PON port information according to the format requirements;
[0098] 6) Update the online address library;
[0099] 7) In the uplink message, the real-time carrying capacity of each network element of the authentication link in Redis is increased by 1;
[0100] 8) In the downlink message, the real-time carrying capacity of each network element of the authentication link in Redis is reduced by 1.
[0101] Through the scheme provided in the embodiments of the present application, the efficiency of determining the home broadband link network element associated with the uplink and downlink messages can be improved, and the wireless uplink and downlink messages are avoided from being processed, and the detection alarm process is optimized.
[0102] Based on the scheme provided in the above embodiments, optionally, as shown in Figure 6
[0103] S61: Listen to the home broadband network user online quantity change value of the target home broadband link network element in a verification period after the monitoring period.
[0104] After the alarm is executed on the target home broadband link network element, the scheme provided in the embodiments of the present application can also perform listening on the target home broadband link network element to determine the home broadband network user online quantity change value of the target home broadband link network element in a verification period.
[0105] Optionally, the time length of the verification period can be equal to the time length of the monitoring period, and the starting time of the verification period can be the time when the alarm is executed on the target home broadband link network element.
[0106] Specifically, the home broadband network user online quantity change value can be determined based on any method provided in the above embodiments, for example, the home broadband network user online quantity change value is determined based on steps S11-S13.
[0107] The home broadband network user online quantity change value in the verification period determined in this step can represent the network authentication function of the target home broadband link network element after the alarm is executed. If the number of online users still changes greatly, it indicates that the network element authentication function of the target home broadband link network element is still abnormal, and if the number of online users changes little, the abnormality of the target home broadband link network element can be repaired.
[0108] S62: If the home broadband network user online quantity of the target home broadband link network element in the verification period is not greater than the alarm change value, the authentication capability abnormality alarm of the target home broadband link network element is removed.
[0109] Through the scheme provided in the embodiments of the present application, after the alarm is executed on the target home broadband link network element, the monitoring is continuously performed, which is beneficial to follow up the repair process of the target home broadband link network element and view whether the network element authentication function of the target home broadband link network element is restored in real time.
[0110] Next, in combination with actual scenarios, various instances are provided to illustrate the scheme.
[0111] Instance one:
[0112] When the number of online users of the network element is less than 20% of the number of inventory online users of the network element, it indicates that the number of online users of the network element is decreased by 80% compared with the number of online users of the last five minutes, and thus an online user alarm message of the network element is triggered to be sent to the data network management, and the network element is identified as an alarm state. If the network element is in the alarm state or the decrease of the number of online users is mitigated compared with the last period, the alarm is not sent to the data network management. In addition, if the alarm state of the network element triggers a higher level alarm (i.e. the decrease of the number of online users is increased compared with the last period), a higher level alarm is triggered.
[0113] After the alarm is executed on the network element, the alarm can be released based on preset values. For example, when the number of online users of the network element is greater than 80% of the number of inventory online users of the network element, and the network element is in the alarm state, a release alarm message is triggered to be sent to the data network management, and the network element is identified as a normal state. When the network element is in the normal state and the release alarm message is triggered again, the release alarm message is not triggered to be sent to the data network management.
[0114] Example II:
[0115] For a target home broadband link network element, online user number comparison is performed, and an alarm is generated if an alarm level is reached (e.g. the alarm levels are online user numbers of 3000, 5000, 8000 and 10000). Only one level alarm is generated in a same city at a same time. Moreover, the highest level alarm triggered is determined as the alarm of the city, for example, 10000 level alarm is generated without 3000, 5000 and 8000 alarms when the number of offline users reaches 10000.
[0116] Based on the target home broadband link network element on which an alarm has been executed, the number of offline users in two periods is less than the alarm level, and thus the alarm is recovered, for example, the number of offline users in two periods is less than 3000 when the alarm of 3000 is generated in a same city, and thus the alarm is recovered.
[0117] Example III:
[0118] When the number of online users of the network element is less than 20% of the online median value of the network element (i.e. the number of online users of the network element is decreased by 80% compared with the number of online users of the last five minutes), an online user alarm message of the network element is triggered to be sent to the data network management, and the network element is identified as an alarm state. If the network element is in the alarm state and the alarm is triggered again, the alarm is not sent to the data network management.
[0119] Based on the target home broadband link network element on which an alarm has been executed, when the number of online users of the network element is greater than 80% of the online median value of the network element, and the network element is in the alarm state, a release alarm message is triggered to be sent to the data network management, and the network element is identified as a normal state. When the network element is in the normal state and the release alarm message is triggered again, the release alarm message is not triggered to be sent to the data network management.
[0120] Based on the scheme provided in the above embodiments, optionally, the authentication capability abnormal fluctuation of each level of network element and the authentication capability abnormal fluctuation recovery judgment can be periodically started. The network element carrying capacity information, the corresponding level of network element dynamic baseline strategy are extracted, the strategy requirement is met, the early warning is initiated, and the corresponding data is retained.
[0121] The periodic checking of each network element data retention can be, for example:
[0122] Key Check. Authentication access network element
[0123] Value authentication capability abnormal fluctuation self-detection period network element online user number list
[0124] Optionally, the online user numbers of each home broadband link network element can be recorded in layers, as shown in Figure 7 .
[0125] Among them, based on the Bras IP, the periodic detection of the home broadband link network element of the Bras layer is performed, and the online user number is recorded. Based on the OLT IP, the periodic detection of the home broadband link network element of the OLT layer is performed, and the online user number is recorded. Based on the PON port, the periodic detection of the home broadband link network element of the PON layer is performed, and the online user number is recorded.
[0126] Optionally, the process of monitoring the online user number of the home broadband link network element can be as shown in Figure 8 . Among them, the upstream and downstream levels of the network element starting self-detection can be obtained first, so as to monitor the online user number based on the network association relationship of the network element. Then, the crontab task of the network element starting self-detection is added. Then, the redis is queried to obtain the real-time online number of a single network element and the retention length of the network element.
[0127] Based on the query result, the following two cases are divided:
[0128] If the network element does not reach the retention length, the tail enters the retention queue, the median information is updated, and the online history record table is entered. The network element monitoring is ended.
[0129] If the network element reaches the retention length, the head enters the tail, the network element information is sent to the redisMQ BHGS_SCK queue, and the online history record table is entered. The network element monitoring is ended.
[0130] Referring to Figure 9 , it is judged whether the received network element information is an alarm, and the generated alarm level is returned. According to the strategy, it is judged. Optionally, according to the median comparison or the online number comparison of the network element before the fault, the threshold type is percentage or integer number.
[0131] Among them, if the alarm level is 99 or 1 more than the configured alarm level number, it is a normal network element.
[0132] In addition, for the network element that does not trigger the alarm, it is determined whether the alarm elimination threshold is triggered. If the network element is an alarmed network element and the alarm recovery threshold is reached, the corresponding alarm information (fault_list) is deleted, and the alarm elimination is reported. If the alarm elimination is not reached, the process is ended. If the alarm of the network element has all reached the recovery threshold, the median information (redis) is updated.
[0133] For the network element that has triggered the alarm, i.e., the alarm level is between 1 and the configured minimum alarm level, the network element is added into the fault list table, the fault report table, and the network element detection is ended.
[0134] The scheme provided by the embodiment of the present application can analyze the whole network user authentication message, and perform hierarchical monitoring according to the upstream and downstream relationship of the network element in the authentication link: the Bras layer, the OLT layer, and the PON port layer. The abnormal fluctuation early warning strategy can be personalized according to the upstream and downstream levels of the network element. The authentication capability abnormality of the network element is determined through the three dimensions of baseline, threshold, and alarm level, and the abnormal recovery can be monitored after the alarm is executed. The baseline, the alarm level, and the threshold support dynamic expansion, which is beneficial to be widely applied to various devices, so as to realize the early warning of the authentication capability abnormality fluctuation of the whole link of the home broadband service.
[0135] The scheme provided by the embodiment of the present application can improve the guarantee of the quality of the home broadband service network, improve the self-monitoring and self-early warning capability of the authentication capability of the home broadband service, and fill the blank of the authentication capability abnormality monitoring. In addition, the authentication link capability providing node can be refined, the hierarchical dynamic baseline strategy setting can be personalized according to the network element level, and the strategy optimization can meet the authentication capability abnormality monitoring requirements in different scenes. The flexibility is high, and the portability is strong. In addition, the scheme can realize the authentication access capability abnormality monitoring of the passive dumb resource through the hierarchical clustering relationship, and the passive dumb resource is included in the home broadband service network monitoring range, and is managed in a unified way. In addition, the data source acquisition approach in the scheme can be applied to various existing systems, the data value can be reused, the core business is highly shared, and secondary construction can be avoided.
[0136] In order to solve the problems in the prior art, the embodiment of the present application also provides a home broadband network element authentication capability abnormality early warning device 100, as shown in Figure 10 The device comprises:
[0137] An acquisition module 101 acquires the online and offline messages of the home broadband network in a monitoring period, and the online and offline messages carry a timestamp representing the online and offline time of the home broadband user.
[0138] A first determination module 102 determines the home broadband link network element associated with the online and offline messages, and the home broadband link network element comprises a network element that performs the online and offline of the home broadband user through the network element authentication capability.
[0139] The second determining module 103 determines a change value of the number of online users of the home broadband network of a target home broadband link network element in the monitoring period according to the time stamp carried by the online and offline message and the home broadband link network element.
[0140] The executing module 104 executes an authentication capability abnormality alarm for the target home broadband link network element if the change value of the number of online users of the target home broadband link network element is greater than an alarm change value.
[0141] The device provided by the embodiment of the present application acquires online and offline messages of the home broadband network in a monitoring period, the online and offline messages carrying time stamps representing online and offline time of the home broadband user; determines home broadband link network elements associated with the online and offline messages, the home broadband link network elements including network elements performing online and offline of the home broadband user through network element authentication capability; determines a change value of the number of online users of a target home broadband link network element in the monitoring period according to the time stamp carried by the online and offline message and the home broadband link network element; and executes an authentication capability abnormality alarm for the target home broadband link network element if the change value of the number of online users of the target home broadband link network element is greater than an alarm change value. The present scheme determines the change value of the number of online users of the home broadband network element based on the online and offline messages, thereby effectively realizing the alarm of the network element authentication abnormality based on the change of the number of online users, and being beneficial to improving the efficiency of repairing the function of the home broadband network.
[0142] Preferably, the embodiment of the present application further provides an electronic device, including a processor, a memory, a computer program stored in the memory and executable on the processor, the computer program being executed by the processor to implement each process of the above-mentioned home broadband network element authentication capability abnormality early warning method embodiment and achieve the same technical effect. To avoid repetition, details are not repeated here.
[0143] The embodiment of the present application further provides a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program being executed by the processor to implement each process of the above-mentioned home broadband network element authentication capability abnormality early warning method embodiment and achieve the same technical effect. To avoid repetition, details are not repeated here. The computer readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0144] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0145] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, also can be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a plurality of instructions to make a terminal (may be a mobile phone, computer, server, air conditioner, or network equipment, etc.) execute the method described in various embodiments of the present application.
[0146] The embodiments of the present application are described above in conjunction with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims, which all belong to the protection of the present application.
Claims
1. A home broadband network element authentication capability anomaly early warning method, characterized in that, The method comprises the following steps: acquiring online and offline messages of a home broadband network in a monitoring period, the online and offline messages carrying time stamps representing online and offline time of a home broadband user, the online and offline messages comprising user access authentication messages carrying user access network element link information; determining home broadband link network elements associated with the online and offline messages, the home broadband link network elements comprising network elements performing online and offline of the home broadband user through network element authentication capability; determining a home broadband network user online quantity change value of a target home broadband link network element in the monitoring period according to the time stamps carried by the online and offline messages and the home broadband link network elements; if the home broadband network user online quantity change value of the target home broadband link network element is greater than an alarm change value, performing authentication capability abnormality alarm on the target home broadband link network element, the alarm change value comprising a historical same period change ratio or a historical average change value.
2. The method of claim 1, wherein, The step of determining the home broadband link network elements associated with the online and offline messages comprises the following steps: parsing the online and offline messages to obtain a broadband remote access server Internet protocol address (Bras IP) and home broadband network interface attribute information; parsing the home broadband network interface attribute information to obtain an optical line terminal Internet protocol address (OLT IP) and passive optical network (PON) device interface information; determining a broadband remote access server corresponding to the broadband remote access server Internet protocol address, an optical line terminal corresponding to the optical line terminal Internet protocol address (OLT IP) and a passive optical network (PON) device corresponding to the passive optical network (PON) device interface information as the home broadband link network elements associated with the online and offline messages.
3. The method of claim 2, wherein, The number of the home broadband link network elements associated with the online and offline messages is multiple, and after the home broadband link network elements associated with the online and offline messages are determined, the method further comprises the following steps: determining an authentication association relationship between the multiple home broadband link network elements according to the online and offline messages, the authentication association relationship representing an uplink and downlink relationship of the multiple home broadband link network elements performing online and offline of the home broadband user through network element authentication capability; if the home broadband network user online quantity change value of the target home broadband link network element is greater than an alarm change value, performing authentication capability abnormality alarm on the target home broadband link network element, comprising the following steps: if the home broadband network user online quantity change values of multiple abnormal home broadband link network elements are greater than an alarm change value, determining a target home broadband link network element from the multiple abnormal home broadband link network elements according to the authentication association relationship, the target home broadband link network element being located upstream of other abnormal home broadband link network elements in the authentication association relationship; performing authentication capability abnormality alarm on the target home broadband link network element.
4. The method of claim 1, wherein, The step of determining a home broadband network user online quantity change value of a target home broadband link network element in the monitoring period according to the time stamps carried by the online and offline messages and the home broadband link network elements comprises the following steps: determining a home broadband network user quantity performing online and a home broadband network user quantity performing offline of the target home broadband link network element in the monitoring period according to the time stamps carried by the online and offline messages; The online number of the home broadband network users in the monitoring period is determined according to the number of the home broadband network users that are executed online and the number of the home broadband network users that are executed offline.
5. The method of claim 1, wherein, Before determining the home broadband link network element associated with the online and offline messages, the method further comprises: validity checking is performed on the online and offline messages according to a preset checking rule to determine valid online and offline messages; wherein the home broadband link network element associated with the online and offline messages is determined by: determining the home broadband link network element associated with the valid online and offline messages.
6. The method of claim 1, wherein, After performing the authentication capability abnormality alarm on the target home broadband link network element, the method further comprises: listening to the online number of the home broadband network users of the target home broadband link network element in a checking period after the monitoring period; if the online number of the home broadband network users of the target home broadband link network element in the checking period is not greater than the alarm change value, the authentication capability abnormality alarm on the target home broadband link network element is removed.
7. A home broadband element authentication capability anomaly early warning device, characterized in that, comprise: an acquisition module that acquires online and offline messages of a home broadband network in a monitoring period, the online and offline messages carrying a timestamp representing an online and offline time of a home broadband user, the online and offline messages comprising a user access authentication message, the user access authentication message carrying link information of a network element of a user access network element; a first determination module that determines a home broadband link network element associated with the online and offline messages, the home broadband link network element comprising a network element that performs online and offline of a home broadband user through a network element authentication capability; a second determination module that determines an online number change value of the home broadband network users of a target home broadband link network element in the monitoring period according to the timestamp carried by the online and offline messages and the home broadband link network element; an execution module that performs an authentication capability abnormality alarm on the target home broadband link network element if the online number change value of the home broadband network users of the target home broadband link network element is greater than an alarm change value, the alarm change value comprising a historical same-period change ratio or a historical average change value.
8. An electronic device, comprising: comprise: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer program is stored on the computer readable storage medium, and when executed by the processor, implements steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Network fault positioning method and device, computer equipment and storage medium
CN112291075A