[go: up one dir, main page]

CN113923096B - Network element fault early warning method and device, electronic equipment and storage medium - Google Patents

Network element fault early warning method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113923096B
CN113923096B CN202010575127.1A CN202010575127A CN113923096B CN 113923096 B CN113923096 B CN 113923096B CN 202010575127 A CN202010575127 A CN 202010575127A CN 113923096 B CN113923096 B CN 113923096B
Authority
CN
China
Prior art keywords
network element
target
service data
historical
early warning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010575127.1A
Other languages
Chinese (zh)
Other versions
CN113923096A (en
Inventor
王磊
郑圣
刘泽锋
潘海兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010575127.1A priority Critical patent/CN113923096B/en
Publication of CN113923096A publication Critical patent/CN113923096A/en
Application granted granted Critical
Publication of CN113923096B publication Critical patent/CN113923096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • 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/0604Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
    • 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/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/0681Configuration of triggering conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种网元故障预警方法、装置、电子设备及存储介质,通过根据预设策略获取目标网元的目标通用业务数据;从目标网元的历史业务数据中,获取目标网元的历史通用业务数据,其中,历史业务数据中包括至少一种类型的业务数据;根据历史通用业务数据,对目标通用业务数据进行预警分析,获得预警结果,由于对网元故障进行预警分析时使用的是目标通用业务数据和历史通用业务数据,无需针对不同厂商的网元进行单独的分析,提高了网元数据的使用效率,实现了网元故障的自动预警,提高了网络故障预警的时效性和准确性。

Figure 202010575127

Embodiments of the present invention provide a network element failure early warning method, device, electronic equipment, and storage medium, by obtaining the target general service data of the target network element according to a preset strategy; and obtaining the target network element from the historical service data of the target network element The historical general service data, wherein, the historical service data includes at least one type of service data; according to the historical general service data, early warning analysis is performed on the target general service data, and the early warning result is obtained. The target general service data and historical general service data do not need to be analyzed separately for network elements of different manufacturers, which improves the use efficiency of network element data, realizes automatic early warning of network element faults, and improves the timeliness of network fault early warning and accuracy.

Figure 202010575127

Description

网元故障预警方法、装置、电子设备及存储介质Network element failure early warning method, device, electronic equipment and storage medium

技术领域technical field

本发明涉及通讯技术领域,尤其涉及一种网元故障预警方法、装置、电子设备及存储介质。The present invention relates to the field of communication technology, in particular to a network element failure early warning method, device, electronic equipment and storage medium.

背景技术Background technique

随着网络技术的发展及移动网络用户的高速增长,电信服务运营商的核心网所起到的作用越来越重要,而对核心网及时、合理维护工作,是保证运营商核心网能够提供高质量电信服务的关键。With the development of network technology and the rapid growth of mobile network users, the core network of telecom service operators is playing an increasingly important role, and timely and reasonable maintenance of the core network is to ensure that the core network of operators can provide high-quality services. Key to quality telecommunication services.

在核心网维护中,网络故障的发现一般依赖网管告警和用户投诉。网管告警一般由各网元自身产生和上报,再经过工程师去分析判断,得出故障诊断结论,同时,故障定位手段依赖工程师根据告警信息、通信网元配置信息、信令等信息进行综合分析判断,最终定位故障点。In core network maintenance, the discovery of network faults generally relies on network management alarms and user complaints. Network management alarms are generally generated and reported by each network element itself, and then analyzed and judged by engineers to draw fault diagnosis conclusions. At the same time, fault location means rely on engineers to conduct comprehensive analysis and judgment based on alarm information, communication network element configuration information, signaling and other information , and finally locate the fault point.

然后随着核心网网络越来越复杂,网元种类越来越多,不同厂家的网元告警信息不一致,人工分析难度很大,往往要等到用户投诉才发现网络出现故障,因此,现有技术中存在网络故障预警滞后、时效性差、准确度低的问题。However, as the core network network becomes more and more complex, and there are more and more types of network elements, the alarm information of network elements from different manufacturers is inconsistent, and manual analysis is very difficult. It is often not until the user complains that the network is found to be faulty. Therefore, the existing technology There are problems such as network failure early warning lag, poor timeliness, and low accuracy.

发明内容Contents of the invention

本发明提供一种网元故障预警方法、装置、电子设备及存储介质,用以解决网络故障预警滞后、时效性差、准确度低的问题。The invention provides a network element fault early warning method, device, electronic equipment and storage medium, which are used to solve the problems of network fault early warning lag, poor timeliness and low accuracy.

根据本公开实施例的第一方面,本发明提供了一种网元故障预警方法,所述方法包括:According to the first aspect of the embodiments of the present disclosure, the present invention provides a network element fault early warning method, the method comprising:

根据预设策略获取目标网元的目标通用业务数据;Obtain target general service data of target network elements according to preset policies;

从所述目标网元的历史业务数据中,获取所述目标网元的历史通用业务数据,其中,所述历史业务数据中包括至少一种类型的业务数据;Obtain historical general service data of the target network element from historical service data of the target network element, wherein the historical service data includes at least one type of service data;

根据所述历史通用业务数据,对所述目标通用业务数据进行预警分析,获得预警结果。According to the historical general business data, an early warning analysis is performed on the target general business data to obtain an early warning result.

可选地,根据所述历史通用业务数据,对所述目标通用业务数据进行预警分析,获得预警结果,包括:Optionally, according to the historical general business data, an early warning analysis is performed on the target general business data, and an early warning result is obtained, including:

根据所述历史通用业务数据,对所述目标通用业务数据进行处理分析,得到预警结果,其中,所述处理分析包括以下的至少一种:阈值分析、突变分析、偏差分析。According to the historical general business data, the target general business data is processed and analyzed to obtain an early warning result, wherein the processing and analysis includes at least one of the following: threshold analysis, mutation analysis, and deviation analysis.

可选地,所述根据所述历史通用业务数据,对所述目标通用业务数据进行阈值分析,获得预警结果,包括:Optionally, performing threshold analysis on the target general business data according to the historical general business data to obtain an early warning result includes:

根据所述历史通用业务数据,确定阈值范围;Determine a threshold range according to the historical general business data;

根据所述通用业务数据的阈值是否处于所述阈值范围内,确定预警结果。An early warning result is determined according to whether the threshold of the general service data is within the threshold range.

可选地,所述根据所述历史通用业务数据,确定阈值范围,包括:Optionally, the determining the threshold range according to the historical general service data includes:

获取所述历史通用业务数据中符合预设条件的目标历史数据;Acquiring target historical data that meets preset conditions in the historical general business data;

利用目标历史数据进行基于fbprophet算法的机器学习,预测未来第二预设时长内的预测通用业务数据;Use the target historical data to carry out machine learning based on the fbprophet algorithm to predict the predicted general business data within the second preset time period in the future;

根据所述预测通用业务数据的阈值,确定阈值范围。A threshold range is determined according to the threshold for predicting general service data.

可选地,所述根据所述历史通用业务数据,对所述目标通用业务数据进行突变分析,确定预警结果,包括:Optionally, the performing mutation analysis on the target general business data according to the historical general business data to determine the warning result includes:

获取历史通用业务数据中与所述目标通用业务数据对应的一个或多个目标历史数据;Acquiring one or more target historical data corresponding to the target general business data in the historical general business data;

计算所述通用业务数据相对于所述目标历史数据的变化率;calculating the rate of change of the general business data relative to the target historical data;

根据所述变化率确定预警结果。An early warning result is determined according to the rate of change.

可选地,所述根据所述历史通用业务数据,对所述目标通用业务数据进行偏差分析,确定预警结果,包括:Optionally, the performing deviation analysis on the target general business data according to the historical general business data, and determining the early warning result include:

根据所述目标通用业务数据,确定所述目标网元对应的目标业务量占比;determining the proportion of target traffic corresponding to the target network element according to the target general service data;

根据所述历史通用业务数据,获取与所述目标网元对应的历史业务量占比;Acquiring the proportion of historical traffic corresponding to the target network element according to the historical general traffic data;

计算所述目标业务量占比与所述历史业务量占比的偏差值;calculating the deviation value between the target business volume ratio and the historical traffic volume ratio;

根据所述偏差值,确定预警结果。According to the deviation value, an early warning result is determined.

可选地,目标通用业务数据包括在线用户数,和/或,流量数据;所述根据预设策略获取目标网元的目标通用业务数据,包括:Optionally, the target general service data includes the number of online users, and/or, traffic data; the acquisition of the target general service data of the target network element according to a preset strategy includes:

获取所述目标网元的网元类型;Obtaining the network element type of the target network element;

根据预设的映射关系,确定所述网元类型对应的通用业务项,其中,所述映射关系为网元类型与通用业务项之间的映射关系;Determine a general service item corresponding to the network element type according to a preset mapping relationship, where the mapping relationship is a mapping relationship between a network element type and a general service item;

每间隔预设时间长度,采集目标网元的通用业务项对应的在线用户数,和/或流量数据。The number of online users and/or traffic data corresponding to the common service items of the target network element are collected at intervals of preset time intervals.

根据本公开实施例的第二方面,本发明提供了一种网元故障预警装置,包括:According to the second aspect of the embodiments of the present disclosure, the present invention provides a network element failure early warning device, including:

第一获取模块,用于根据预设策略获取目标网元的目标通用业务数据;The first obtaining module is used to obtain the target general service data of the target network element according to a preset strategy;

第二获取模块,用于从所述目标网元的历史业务数据中,获取所述目标网元的历史通用业务数据,其中,所述历史业务数据中包括至少一种类型的业务数据;A second acquiring module, configured to acquire historical general service data of the target network element from historical service data of the target network element, wherein the historical service data includes at least one type of service data;

分析模块,用于根据所述历史通用业务数据,对所述目标通用业务数据进行预警分析,获得预警结果。An analysis module, configured to perform early warning analysis on the target general business data according to the historical general business data, and obtain an early warning result.

可选地,所述分析模块,具体用于:Optionally, the analysis module is specifically used for:

根据所述历史通用业务数据,对所述目标通用业务数据进行处理分析,得到预警结果,其中,所述处理分析包括以下的至少一种:阈值分析、突变分析、偏差分析。According to the historical general business data, the target general business data is processed and analyzed to obtain an early warning result, wherein the processing and analysis includes at least one of the following: threshold analysis, mutation analysis, and deviation analysis.

可选地,所述分析模块在根据所述历史通用业务数据,对所述目标通用业务数据进行阈值分析,获得预警结果时,具体用于:Optionally, the analysis module is specifically used to:

根据所述历史通用业务数据,确定阈值范围;Determine a threshold range according to the historical general business data;

根据所述通用业务数据的阈值是否处于所述阈值范围内,确定预警结果。An early warning result is determined according to whether the threshold of the general service data is within the threshold range.

可选地,所述分析模块在根据所述历史通用业务数据,确定阈值范围时,具体用于:Optionally, when the analysis module determines the threshold range according to the historical general business data, it is specifically used to:

获取所述历史通用业务数据中符合预设条件的目标历史数据;Acquiring target historical data that meets preset conditions in the historical general business data;

利用目标历史数据进行基于fbprophet算法的机器学习,预测未来第二预设时长内的预测通用业务数据;Use the target historical data to carry out machine learning based on the fbprophet algorithm to predict the predicted general business data within the second preset time period in the future;

根据所述预测通用业务数据的阈值,确定阈值范围。A threshold range is determined according to the threshold for predicting general service data.

可选地,所述分析模块在根据所述历史通用业务数据,对所述目标通用业务数据进行突变分析,确定预警结果时,具体用于:Optionally, the analysis module is specifically used to:

获取历史通用业务数据中与所述目标通用业务数据对应的一个或多个目标历史数据;Acquiring one or more target historical data corresponding to the target general business data in the historical general business data;

计算所述通用业务数据相对于所述目标历史数据的变化率;calculating the rate of change of the general business data relative to the target historical data;

根据所述变化率确定预警结果。An early warning result is determined according to the rate of change.

可选地,所述分析模块在在根据所述历史通用业务数据,对所述目标通用业务数据进行偏差分析,确定预警结果时,具体用于:Optionally, the analysis module is specifically used to:

根据所述目标通用业务数据,确定所述目标网元对应的目标业务量占比;determining the proportion of target traffic corresponding to the target network element according to the target general service data;

根据所述历史通用业务数据,获取与所述目标网元对应的历史业务量占比;Acquiring the proportion of historical traffic corresponding to the target network element according to the historical general traffic data;

计算所述目标业务量占比与所述历史业务量占比的偏差值;calculating the deviation value between the target business volume ratio and the historical traffic volume ratio;

根据所述偏差值,确定预警结果。According to the deviation value, an early warning result is determined.

可选地,目标通用业务数据包括在线用户数,和/或,流量数据;所述第一获取模块,具体用于:Optionally, the target general service data includes the number of online users, and/or, traffic data; the first acquisition module is specifically used for:

获取所述目标网元的网元类型;Obtaining the network element type of the target network element;

根据预设的映射关系,确定所述网元类型对应的通用业务项,其中,所述映射关系为网元类型与通用业务项之间的映射关系;Determine a general service item corresponding to the network element type according to a preset mapping relationship, where the mapping relationship is a mapping relationship between a network element type and a general service item;

每间隔预设时间长度,采集目标网元的通用业务项对应的在线用户数,和/或流量数据。The number of online users and/or traffic data corresponding to the common service items of the target network element are collected at intervals of preset time intervals.

根据本公开实施例的第三方面,本发明提供了一种电子设备,包括:存储器,处理器以及计算机程序;According to a third aspect of the embodiments of the present disclosure, the present invention provides an electronic device, including: a memory, a processor, and a computer program;

其中,所述计算机程序存储在所述存储器中,并被配置为由所述处理器执行如本公开实施例第一方面任一项所述的网元故障预警方法。Wherein, the computer program is stored in the memory, and is configured to execute, by the processor, the network element fault early warning method according to any one of the first aspect of the embodiments of the present disclosure.

根据本公开实施例的第四方面,本发明提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如本公开实施例第一方面任一项所述的网元故障预警方法。According to the fourth aspect of the embodiments of the present disclosure, the present invention provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used to implement the following: The network element fault early warning method described in any one of the first aspects of the embodiments of the present disclosure.

本发明提供的网元故障预警方法、装置、电子设备及存储介质,通过根据预设策略获取目标网元的目标通用业务数据;从所述目标网元的历史业务数据中,获取所述目标网元的历史通用业务数据,其中,所述历史业务数据中包括至少一种类型的业务数据;根据所述历史通用业务数据,对所述目标通用业务数据进行预警分析,获得预警结果,由于对网元故障进行预警分析时使用的是目标通用业务数据和历史通用业务数据,无需针对不同厂商的网元进行单独的分析,提高了网元数据的使用效率,实现了网元故障的自动预警,提高了网络故障预警的时效性和准确性。The network element failure early warning method, device, electronic equipment and storage medium provided by the present invention obtain the target general service data of the target network element according to the preset strategy; obtain the target network element from the historical service data of the target network element. Yuan’s historical general business data, wherein, the historical business data includes at least one type of business data; according to the historical general business data, carry out early warning analysis on the target general business data, and obtain early warning results, due to network The target general service data and historical general service data are used in the early warning analysis of element failures, without separate analysis for network elements of different manufacturers, which improves the use efficiency of network element data, realizes automatic early warning of network element failures, and improves It improves the timeliness and accuracy of network failure early warning.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1为本发明实施例提供的网元故障预警方法的一种应用场景图;FIG. 1 is an application scenario diagram of a network element failure early warning method provided by an embodiment of the present invention;

图2为本发明一个实施例提供的网元故障预警方法的流程图;FIG. 2 is a flowchart of a network element failure early warning method provided by an embodiment of the present invention;

图3为本发明另一个实施例提供的网元故障预警方法的流程图;FIG. 3 is a flowchart of a network element failure early warning method provided by another embodiment of the present invention;

图4为图3所示实施例中步骤S204的流程图;Fig. 4 is the flowchart of step S204 in the embodiment shown in Fig. 3;

图5为图3所示实施例中步骤S205的流程图;Fig. 5 is the flowchart of step S205 in the embodiment shown in Fig. 3;

图6为图3所示实施例中步骤S206的流程图;Fig. 6 is the flowchart of step S206 in the embodiment shown in Fig. 3;

图7为本发明一个实施例提供的网元故障预警装置的结构示意图;FIG. 7 is a schematic structural diagram of a network element failure early warning device provided by an embodiment of the present invention;

图8为本发明一个实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

首先对本发明所涉及的名词进行解释:At first the terms involved in the present invention are explained:

网元:指网络中的元素、设备,能够独立完成一定的传输功能,网元是网络管理中被监视和管理的最小单位,根据不同的网络架构,网元的定义可以是不同的。例如,网元可以包括基站,也可以包括移动管理节点功能(Mobility Management Entity,MME)、服务网关(Serving GateWay,SGW)、公用数据网(Public Data Network,PDN)等等,对于核心网中的网元而言,不同的网元承载了不同的服务、业务。Network element: refers to the elements and devices in the network that can independently complete certain transmission functions. The network element is the smallest unit that is monitored and managed in network management. According to different network architectures, the definition of network elements can be different. For example, a network element may include a base station, and may also include a mobility management node function (Mobility Management Entity, MME), a serving gateway (Serving GateWay, SGW), a public data network (Public Data Network, PDN), etc., for the core network In terms of network elements, different network elements carry different services and services.

图1为本发明实施例提供的网元故障预警方法的一种应用场景图,如图1所示,本实施例提供的网元故障预警方法应用于电子设备,例如网管设备11,网管设备11与核心网连接,核心网内包括多个用于核心交换或者呼叫路由功能的网元12,不同的网元12承载不同的功能,进而起到支撑不同电信网络业务的作用,网管设备11可以通过核心网获得网元12上传的报警信息,同时,根据需要将网元报警信息发送至运维人员使用的终端设备13。FIG. 1 is an application scene diagram of the network element failure early warning method provided by the embodiment of the present invention. As shown in FIG. 1, the network element failure early warning method provided by this embodiment is applied to electronic equipment, such as network management equipment 11, Connected to the core network, the core network includes a plurality of network elements 12 for core switching or call routing functions, and different network elements 12 bear different functions, and then play a role in supporting different telecommunication network services. The network management device 11 can pass The core network obtains the alarm information uploaded by the network element 12, and at the same time, sends the network element alarm information to the terminal device 13 used by the operation and maintenance personnel as required.

现有技术中,对核心网进行维护过程中,网络故障的发现一般依赖网管告警和用户投诉。其中,网管告警一般由各网元自身产生和上报,时效性较好,可以在第一时间反应出故障问题,而用户投诉往往是在网络已经出现较严重问题,以致长时间影响用户使用的情况导致的,因此时效性较差。In the prior art, during the maintenance process of the core network, the discovery of network faults generally relies on network management alarms and user complaints. Among them, the network management alarm is generally generated and reported by each network element itself, and the timeliness is good, and the fault problem can be reflected in the first time, while the user complaint is often a serious problem in the network, which affects the user's use for a long time As a result, the timeliness is poor.

但是,通过网管告警实现故障预警的方式,需要在网元上报信息后,经过工程师对告警信息、通信网元配置信息、信令等信息综合分析判断,最终定位故障点。随着核心网网络越来越复杂,网元种类越来越多,不同厂家的网元告警信息不一致,工程师需要对所有厂家的网元都很熟悉,才能实现网络故障的准确识别和预警,操作难度大,准确性低。因此,往往要等到用户投诉才发现网络出现故障,造成了网络故障预警滞后、时效性差、准确度低的问题。However, to implement fault early warning through network management alarms, it is necessary for engineers to comprehensively analyze and judge the alarm information, communication network element configuration information, signaling and other information after the network elements report the information, and finally locate the fault point. As the core network network becomes more and more complex, there are more and more types of network elements, and the alarm information of network elements from different manufacturers is inconsistent. Engineers need to be familiar with network elements from all manufacturers in order to realize accurate identification and early warning of network faults, and operate Difficulty, low accuracy. Therefore, it is often not until the user complains that the network failure is discovered, resulting in the problems of delayed early warning of network failure, poor timeliness, and low accuracy.

下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。The technical solution of the present invention and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

图2为本发明一个实施例提供网元故障预警方法的流程图,如图2所示,本实施例提供的网元故障预警方法包括以下几个步骤:Fig. 2 is a flowchart of a network element failure early warning method provided by an embodiment of the present invention. As shown in Fig. 2, the network element failure early warning method provided in this embodiment includes the following steps:

步骤S101,根据预设策略获取目标网元的目标通用业务数据。Step S101, acquiring target general service data of a target network element according to a preset policy.

其中,目标网元是指待预警的网元,目标网元可以是一个网元,也可以是实现相同或相似功能的一组网元。目标网元的确定方法有多种,例如,按照预设的维护计划,主动对网元进行维护,将维护计划中需要被维护的网元作为目标网元;也可以是被动接受到网元的请求信息后,将发送请求信息的网元作为待预警的网元,可以根据具体的需求和使用场景进行设计,此处不做具体限定。Wherein, the target network element refers to the network element to be alerted, and the target network element may be a network element, or a group of network elements that realize the same or similar functions. There are many ways to determine the target network element. For example, according to the preset maintenance plan, the network element is actively maintained, and the network element that needs to be maintained in the maintenance plan is used as the target network element; it can also be passively received by the network element. After requesting information, the network element that sends the requested information is used as the network element to be alerted, which can be designed according to specific requirements and usage scenarios, and is not specifically limited here.

目标通用业务数据是指目标网元的通用业务数据。其中,通用业务数据是指网元在承载流量或业务的过程中,所产生基础的业务数据。对于不同厂商生产的网元,都会使用通用业务数据去表征网元的基本运行状态,因此,根据通用业务数据,可以实现对不同厂商的网元的统一化预警,无需分别对各个不同厂商单独配置预警策略,有效提高预警效率。通用业务数据的实现方式可以是多种,例如,在线用户量、流量等,通用业务数据的具体内容,可以根据使用场景和需求进行设定,即,根据预设策略确定,此处不做具体限定。The target general service data refers to the general service data of the target network element. Wherein, general service data refers to basic service data generated by network elements during the process of carrying traffic or services. For network elements produced by different manufacturers, common service data will be used to represent the basic operating status of network elements. Therefore, based on general service data, unified early warning for network elements of different manufacturers can be realized, without the need for separate configurations for different manufacturers Early warning strategy to effectively improve the efficiency of early warning. The general business data can be realized in many ways, for example, the number of online users, traffic, etc. The specific content of the general business data can be set according to the usage scenarios and requirements, that is, determined according to the preset strategy, and will not be detailed here limited.

步骤S102,从目标网元的历史业务数据中,获取目标网元的历史通用业务数据,其中,历史业务数据中包括至少一种类型的业务数据。Step S102, acquiring historical general service data of the target network element from historical service data of the target network element, wherein the historical service data includes at least one type of service data.

历史业务数据是指网元在过去一段时间内产生并存储在特定存储介质内的业务数据。历史业务数据可以表征网元在一段历史时期内的运行特征,并且,对于同一个或一类网元,历史业务数据与当前的业务数据之间存在一定的相关性。但是,随着历史数据至今的时间逐渐久远,其与网关当前运行状态的相关性也会逐渐减弱,因此,历史数据对应的距今时间不易过长。历史数据可以选择距今一年内的数据,当然,需要指出的是,对于不同的网元,不同的使用场景,历史数据对应的的时间长度可以是不同的,可根据需要确定。Historical service data refers to the service data generated by network elements and stored in a specific storage medium in the past period of time. The historical service data can represent the operating characteristics of a network element in a historical period, and, for the same or a type of network element, there is a certain correlation between the historical service data and the current service data. However, as the time from the historical data becomes longer, its correlation with the current operating status of the gateway will gradually weaken. Therefore, the corresponding time from the historical data should not be too long. The historical data can be selected within one year. Of course, it should be pointed out that for different network elements and different usage scenarios, the corresponding time length of historical data can be different and can be determined according to needs.

具体地,历史通用业务数据是指通用业务数据的历史业务数据,历史业务数据中包括至少一种类型的业务数据,例如,通用业务数据和非通用业务数据,非通用数据是各个厂商的网元产生的特有的业务数据。Specifically, historical general service data refers to historical service data of general service data, and historical service data includes at least one type of service data, for example, general service data and non-general service data, and non-general service data is the network element of each manufacturer Generated unique business data.

步骤S103,根据历史通用业务数据,对目标通用业务数据进行预警分析,获得预警结果。In step S103 , according to the historical general business data, an early warning analysis is performed on the target general business data, and an early warning result is obtained.

对于同一个或同一类网元,即目标网元,由于历史通用业务数据与当前的目标通用业务数据之间存在一定的相关性,当于历史通用业务数据与目标通用业务数据不一致时,说明历史通用业务数据对应的网元运行状态,与目标通用业务数据对应的网元运行状态不一致,即网元的运行状态发生了变化因此,根据历史通用业务数据与目标业务数据之间的关系,可以对网关当前的运行状态进行判断,实现网元运行状态的预警。For the same or the same type of network element, that is, the target network element, since there is a certain correlation between the historical general service data and the current target general service data, when the historical general service data is inconsistent with the target general service data, the history The running state of the network element corresponding to the general service data is inconsistent with the running state of the network element corresponding to the target general service data, that is, the running state of the network element has changed. Therefore, according to the relationship between the historical general service data and the target service data, the The current operating status of the gateway is judged to realize the early warning of the operating status of network elements.

本实施例中,通过根据预设策略获取目标网元的目标通用业务数据;从目标网元的历史业务数据中,获取目标网元的历史通用业务数据,其中,历史业务数据中包括至少一种类型的业务数据;根据历史通用业务数据,对目标通用业务数据进行预警分析,获得预警结果,由于对网元故障进行预警分析时使用的是目标通用业务数据和历史通用业务数据,无需针对不同厂商的网元进行单独的分析,提高了网元数据的使用效率,实现了网元故障的自动预警,提高了网络故障预警的时效性和准确性。In this embodiment, the target general service data of the target network element is obtained according to a preset strategy; the historical general service data of the target network element is obtained from the historical service data of the target network element, wherein the historical service data includes at least one type of service data; according to the historical general service data, carry out early warning analysis on the target general service data, and obtain the early warning results. The individual network elements are analyzed separately, which improves the efficiency of network element data usage, realizes automatic early warning of network element faults, and improves the timeliness and accuracy of network fault early warning.

图3为本发明另一个实施例提供的网元故障预警方法的流程图,如图3所示,本实施例提供的网元故障预警方法在图2所示实施例提供的网元故障预警方法的基础上,对步骤S101、S103进一步细化,目标通用业务数据包括在线用户数,和/或,流量数据,则本实施例提供的网元故障预警方法包括以下几个步骤:Figure 3 is a flowchart of a network element failure early warning method provided by another embodiment of the present invention. As shown in Figure 3, the network element failure early warning method provided by this embodiment is different from the network element failure early warning method provided by the embodiment shown in Figure 2 On the basis of further refinement of steps S101 and S103, the target general service data includes the number of online users, and/or, traffic data, then the network element failure early warning method provided in this embodiment includes the following steps:

步骤S201,获取目标网元的网元类型。Step S201, acquiring the network element type of the target network element.

具体地,根据目标网元所起的作用,网元可以分为不同的网元类型,例如,移动管理节点、服务网关、公用数据网等,对于不同类型的网元,其所承载的业务和服务有所不同,其对应的运行状态特征也不相同,本实施例步骤中,通过首先确定目标网元的网元类型,进而分类进行处理,能够提高故障预警精度,实现更好地预警效果。Specifically, according to the role played by the target network element, the network element can be divided into different network element types, for example, mobility management node, serving gateway, public data network, etc. For different types of network elements, the services and The services are different, and the corresponding operating state characteristics are also different. In the steps of this embodiment, by first determining the network element type of the target network element, and then classifying and processing, the accuracy of fault early warning can be improved, and a better early warning effect can be achieved.

步骤S202,根据预设的映射关系,确定网元类型对应的通用业务项,其中,映射关系为网元类型与通用业务项之间的映射关系。Step S202: Determine the general service item corresponding to the network element type according to the preset mapping relationship, wherein the mapping relationship is the mapping relationship between the network element type and the general service item.

对于不同的网元类型,其具有的通用业务项是不同的,例如A类网元对应的通用业务项为呼叫连接,B类网元对应的通用业务项为移动性管理,不同网元对应不同通用业务项的映射策略,由预设的映射关系确定,即根据预设的映射关系,可以确定不同网元对应的通用业务项。Different types of network elements have different general service items. For example, the general service item corresponding to a class A network element is call connection, and the general service item corresponding to a class B network element is mobility management. Different network elements correspond to different The mapping policy of the general service item is determined by the preset mapping relationship, that is, the general service item corresponding to different network elements can be determined according to the preset mapping relationship.

步骤S203,每间隔预设时间长度,采集目标网元的通用业务项对应的在线用户数,和/或流量数据。Step S203, collecting the number of online users and/or traffic data corresponding to the general service items of the target network element at intervals of preset time intervals.

具体地,隔预设时间长度为数据采集频率,例如,预设时间长度为5分钟,即每5分钟采集目标网元的数据;预设时间长度为1小时,即每1小时采集目标网元的数据,预设时间长度的具体数值,可以根据不同需求进行确定,此处不做具体限定。Specifically, the data collection frequency is the preset time length, for example, the preset time length is 5 minutes, that is, the data of the target network element is collected every 5 minutes; the preset time length is 1 hour, that is, the target network element is collected every 1 hour The data and the specific value of the preset time length can be determined according to different needs, and are not specifically limited here.

在目标网元承担通用业务项对应的业务时,会产生业务信息,例如在线用户数、流量数据。这些数据属于基础性数据,及时不同厂商生成的网元,也会产生这些基础数据。将在线用户数,和/或流量数据作为目标通用业务数据,能够较好的反应目标网元的运行状态,且可以实现对不同厂商的网元的统一化预警,提高预警准确性和预警效率。When the target network element undertakes the service corresponding to the general service item, service information, such as the number of online users and traffic data, will be generated. These data are basic data, and network elements generated by different vendors will also generate these basic data. Taking the number of online users and/or traffic data as the target general service data can better reflect the operating status of the target network element, and can realize unified early warning for network elements of different manufacturers, improving the accuracy and efficiency of early warning.

步骤S204,根据历史通用业务数据,对目标通用业务数据进行阈值分析,确定预警结果。Step S204, according to the historical general business data, threshold value analysis is performed on the target general business data, and an early warning result is determined.

当目标网元的历史通用业务数据与目标通用业务数据的特定阈值发生变化时,可以通过对该变化进行分析,获得目标网元的预警结果。When the historical general service data of the target network element and the specific threshold of the target general service data change, the early warning result of the target network element can be obtained by analyzing the change.

可选地,如图4所示,步骤S204包括步骤S2041、S2042两个具体的实现步骤:Optionally, as shown in FIG. 4, step S204 includes two specific implementation steps of steps S2041 and S2042:

步骤S2041,根据历史通用业务数据,确定阈值范围。Step S2041, determine the threshold range according to the historical general business data.

具体地,阈值范围可以为全部历史通用业务数据的所处的数值区间,例如,最大值和最小值区间,更加具体地,例如为,目标网元的历史流量的最大值和最小值。阈值范围可以为部分历史通用业务数据的所处的数值区间,例如95%置信区间内的历史通用业务数据的有效值区间,阈值范围的确定方法有多种,可以根据具体的需要进行确定,此处不做具体限定。Specifically, the threshold range may be a value range of all historical general service data, for example, a maximum value and a minimum value range, and more specifically, for example, a maximum value and a minimum value of historical traffic of the target network element. The threshold range can be the value interval of some historical general business data, such as the effective value range of historical general business data within the 95% confidence interval. There are many methods for determining the threshold range, which can be determined according to specific needs. There is no specific limit.

可选地,根据历史通用业务数据,确定阈值范围,包括:Optionally, determine the threshold range based on historical general business data, including:

获取历史通用业务数据中符合预设条件的目标历史数据。具体地,包括对历史通用业务数据进行筛选,去除偏差点,将能够明显表征运行状态特征的数据筛选出来,作用样本数据,即目标历史数据。Obtain the target historical data that meets the preset conditions in the historical general business data. Specifically, it includes screening historical general business data, removing deviation points, and screening out data that can clearly characterize the characteristics of the operating state, and using it as sample data, that is, target historical data.

利用目标历史数据进行基于fbprophet算法的机器学习,预测未来第二预设时长内的预测通用业务数据。通过将目标历史数据作为样本数据进行基于fbprophet算法机器学习,可以实现对第二预设时长内的数据进行预测,例如,1周或者10天。Use the target historical data to carry out machine learning based on the fbprophet algorithm to predict the general business data within the second preset time period in the future. By using the target historical data as sample data to perform machine learning based on the fbprophet algorithm, the data within the second preset time period can be predicted, for example, 1 week or 10 days.

根据预测通用业务数据的阈值,确定阈值范围。Determine the threshold range based on the threshold for predicting general business data.

将经过机器学习输出的预测通用业务数据作为标准,确定阈值范围。由于经过机器学习输出的预测通用业务数据,相比历史通用业务数据,包含了趋势性的变化规律,因此,根据预测通用业务数据的阈值确定的阈值范围,更加贴近真实的目标网元在正常状态运行时产生的数据的数值区间,进而,可以提高对目标网元进行故障预警的准确率。The predicted general business data output by machine learning is used as a standard to determine the threshold range. Compared with the historical general service data, the predicted general service data output by machine learning contains trend changes. Therefore, the threshold range determined according to the threshold of the predicted general service data is closer to the real target network element in the normal state. The value range of the data generated during operation can further improve the accuracy of fault warning for the target network element.

步骤S2042,根据通用业务数据的阈值是否处于阈值范围内,确定预警结果。Step S2042, determine the warning result according to whether the threshold of the general service data is within the threshold range.

根据与计算历史通用业务数据相同的计算方法,对通用业务数据进行处理,可以获得通用业务数据的阈值。判断该阈值是否落入阈值范围,判断通用业务数据是否正常,进而判断通用业务数据对应的目标网元的运行状态是否正常,目标网元的运行状态是否正常,即为预警结果。According to the same calculation method as calculating the historical general business data, the general business data threshold can be obtained by processing the general business data. Judging whether the threshold falls within the threshold range, judging whether the general service data is normal, and then judging whether the operation status of the target network element corresponding to the general service data is normal, and whether the operation status of the target network element is normal, is the early warning result.

例如,根据历史通用业务数据,确定目标网元的95%置信区间内的历史通用业务数据的有效值区间为[100,120],其中,历史通用业务数据为流量数据。对应地,按照相同的计算方法,即计算95%置信区间内的通用业务数据的有效值,得到通用业务数据的阈值为110,未超出阈值范围,则可判断数据正常,即目标网元的运行状态正常;相应的,得到通用业务数据的阈值为130,超出阈值范围,则可判断数据不正常,即目标网元的运行状态异常。For example, according to the historical general service data, it is determined that the effective value interval of the historical general service data within the 95% confidence interval of the target network element is [100,120], wherein the historical general service data is traffic data. Correspondingly, according to the same calculation method, that is, calculating the effective value of the general service data within the 95% confidence interval, the threshold value of the general service data is 110, and if it does not exceed the threshold range, it can be judged that the data is normal, that is, the operation of the target network element The state is normal; correspondingly, the threshold for obtaining general service data is 130, and if it exceeds the threshold range, it can be judged that the data is abnormal, that is, the operating state of the target network element is abnormal.

当然,还可以在阈值范围的基础上,增加波动修正值,例如波动修正值为5,即阈值落在[100,120]±5范围内,认为目标网元的运作状态为正常,以增加算法的稳定性,降低误报几率。Of course, the fluctuation correction value can also be increased on the basis of the threshold range. For example, the fluctuation correction value is 5, that is, the threshold falls within the range of [100,120]±5, and the operation status of the target network element is considered to be normal, so as to increase the stability of the algorithm. and reduce the chance of false positives.

步骤S205,根据历史通用业务数据,对目标通用业务数据进行突变分析,确定预警结果。In step S205, according to the historical general business data, a sudden change analysis is performed on the target general business data, and an early warning result is determined.

具体地,突变是指业务数据产生突然的变化,对于网元而言,在正常状态运行时,不会产生突然变化的业务数据,因此,对目标通用业务数据进行突变分析,可以实现对目标网元的故障预警。Specifically, a sudden change refers to a sudden change in service data. For a network element, when it is running in a normal state, there will be no sudden change in service data. Therefore, performing mutation analysis on target general service data can realize Element failure warning.

可选地,如图5所示,步骤S205包括步骤S2051、S2052、S2053三个具体的实现步骤:Optionally, as shown in FIG. 5, step S205 includes three specific implementation steps of steps S2051, S2052, and S2053:

步骤S2051,获取历史通用业务数据中与目标通用业务数据对应的一个或多个目标历史数据。Step S2051, acquiring one or more target historical data corresponding to the target general business data in the historical general business data.

获取历史通用业务数据中符合预设条件的目标历史数据。具体地,包括对历史通用业务数据进行筛选,去除偏差点,将能够明显表征运行状态特征的数据筛选出来,作用样本数据,即目标历史数据。Obtain the target historical data that meets the preset conditions in the historical general business data. Specifically, it includes screening historical general business data, removing deviation points, and screening out data that can clearly characterize the characteristics of the operating state, and using it as sample data, that is, target historical data.

步骤S2052,计算通用业务数据相对于目标历史数据的变化率。Step S2052, calculating the rate of change of the general business data relative to the target historical data.

随着网元承载的业务的运行,网元产生的目标历史数据可能会产生一定的变化,包括在一定范围内的上升、下降或波动变化,变化率表征其波动变化的程度。根据该变化的程度,可以确定该变化的变化率。With the operation of the service carried by the network element, the target historical data generated by the network element may change to a certain extent, including rise, fall or fluctuation within a certain range, and the change rate represents the degree of its fluctuation. From the extent of the change, the rate of change of the change can be determined.

具体地,变化率可以以不同的单位为基准,例如,每分钟变化率、每15分钟变化率、每小时变化率、每天变化率等。可以根据不同的需求,确定变化率单位,此处不做具体限定。变化率的实现方式可以为绝对值,例如,在线用户量的变化率为:1000人/日,即在线用户量每日的波动在1000人内。变化率的实现方式也可以为相对值,例如,在线用户量的变化率为1%,即在线用户量每日的波动在1%之内。Specifically, the rate of change may be based on different units, for example, the rate of change per minute, the rate of change every 15 minutes, the rate of change per hour, the rate of change per day, and the like. The change rate unit can be determined according to different requirements, and is not specifically limited here. The realization method of the change rate can be an absolute value, for example, the change rate of the number of online users is: 1000 people/day, that is, the daily fluctuation of the number of online users is within 1000 people. The implementation manner of the change rate may also be a relative value, for example, the change rate of the number of online users is 1%, that is, the daily fluctuation of the number of online users is within 1%.

示例性地,一种计算变化率的方法包括:Exemplarily, a method for calculating the rate of change includes:

假设通用业务数据的指标为x1,目标历史数据的指标为x2,则变化率d计算公式为d=(x1-x2)/x2,进一步地,当d大于预设值d0时,则该网元指标存在异常。Assuming that the index of general business data is x 1 and the index of target historical data is x 2 , the formula for calculating the rate of change d is d=(x 1 -x 2 )/x2, further, when d is greater than the preset value d 0 , the NE indicator is abnormal.

步骤S2053,根据变化率确定预警结果。Step S2053, determine the warning result according to the rate of change.

当目标网元运作正常时,其产生的目标通用业务数据的波动情况,应该是与目标历史数据的波动情况是相似的,例如,目标通用业务数据和目标历史数据中的每日在线用户数量,变化率均维持在1%内,说明目标网元运行正常。当目标通用业务数据中的每日在线用户数量的变化率为10%时,则可能是由于目标网元出现连接故障导致的,因此,可以据此判断目标网元出现故障。When the target network element is operating normally, the fluctuation of the target general service data generated by it should be similar to the fluctuation of the target historical data, for example, the number of daily online users in the target general service data and the target historical data, The rate of change is maintained within 1%, indicating that the target network element is operating normally. When the change rate of the number of daily online users in the target general service data is 10%, it may be caused by a connection failure of the target network element. Therefore, it can be judged that the target network element is faulty based on this.

本实施例步骤中,通过根据用业务数据相对于目标历史数据的变化率来判断目标网元的状态,可以更好的表现目标网元的状态变化情况,并能够根据变化情况确定目标网元精确的变化程度,提高了故障预警的精确度。In the steps of this embodiment, by judging the state of the target network element based on the change rate of the service data relative to the target historical data, the state change of the target network element can be better represented, and the accuracy of the target network element can be determined according to the change situation. The degree of change improves the accuracy of fault warning.

步骤S206,根据历史通用业务数据,对目标通用业务数据进行偏差分析,确定预警结果。Step S206, according to the historical general business data, analyze the deviation of the target general business data, and determine the early warning result.

具体地,偏差分析是指通过目标通用业务数据,对目标网元所承载的业务量占比的偏差进行分析。例如,对于正常运行的网元,其所承担的业务量,在其所在网元组中所占得比重,是固定的,例如为10%。这样通过均衡分配业务量,是不同网元之间能够均摊压力,提高业务处理效率。当网元组中的网元出现问题时,其所承担的业务量会下降,根据其出现的偏差,可以判断目标网元的故障情况。Specifically, the deviation analysis refers to analyzing the deviation of the proportion of the service volume carried by the target network element through the target general service data. For example, for a network element operating normally, the proportion of the traffic it undertakes in the network element group it belongs to is fixed, for example, 10%. In this way, by evenly distributing the service volume, the pressure can be shared among different network elements, and the service processing efficiency can be improved. When there is a problem with a network element in the network element group, the service volume it undertakes will decrease, and according to the deviation, the fault condition of the target network element can be judged.

可选地,如图6所示,步骤S206包括步骤S2061、S2062、S2063、S2064四个具体的实现步骤:Optionally, as shown in FIG. 6, step S206 includes four specific implementation steps of steps S2061, S2062, S2063, and S2064:

步骤S2061,根据目标通用业务数据,确定目标网元对应的目标业务量占比。Step S2061, according to the target general service data, determine the target service volume proportion corresponding to the target network element.

具体地,目标通用业务数据中包括对数据量值的表征信息,根据表征信息,可以确定目标通用业务数据所对应的目标数据量值。通过计算目标数据量值与预设的总量值的比值,可以确定目标网元对应的目标业务量占比。例如,目标网元对应的信息转发业务的业务量占比为10%,即目标网元承担了10%的业务量。Specifically, the target general service data includes characterization information on the data volume value, and according to the characterization information, the target data volume value corresponding to the target general service data can be determined. By calculating the ratio of the target data volume value to the preset total value, the target service volume proportion corresponding to the target network element can be determined. For example, the service volume of the information forwarding service corresponding to the target network element accounts for 10%, that is, the target network element undertakes 10% of the service volume.

步骤S2062,根据历史通用业务数据,获取与目标网元对应的历史业务量占比。Step S2062, according to the historical general service data, obtain the historical service volume proportion corresponding to the target network element.

类似的,根据目标网元的历史通用业务数据,通过计算历史数据量值与历史的总量值的比值,可以确定目标网元对应的历史业务量占比。其中,历史业务量占比与历史业务量占比的对应的通用业务项应该是相同的。Similarly, according to the historical general service data of the target network element, by calculating the ratio of the historical data value to the historical total value, the historical service volume proportion corresponding to the target network element can be determined. Wherein, the proportion of historical business volume should be the same as the general business item corresponding to the proportion of historical business volume.

步骤S2063,计算目标业务量占比与历史业务量占比的偏差值。Step S2063, calculating the deviation value between the target business volume proportion and the historical business volume proportion.

计算目标业务量占比与历史业务量占比的差值,可以得到一个带符号的偏差值,当偏差值为正值时,说是目标业务量占比上升,当偏差值为负值时,说是目标业务量占比下降。例如,目标业务量占比为10%,历史业务量占比为8%,则偏差值为2%,说明目标业务量占比上升2%。Calculate the difference between the proportion of target business volume and the proportion of historical business volume, and a signed deviation value can be obtained. When the deviation value is positive, it means that the proportion of target business volume has increased. When the deviation value is negative, It is said that the proportion of target business volume has decreased. For example, if the proportion of target business volume is 10%, and the proportion of historical business volume is 8%, then the deviation value is 2%, indicating that the proportion of target business volume increases by 2%.

步骤S2064,根据偏差值,确定预警结果。Step S2064, determine the warning result according to the deviation value.

当目标业务量占比的偏差值大于预设偏差阈值时,可以确定目标网元处于非正常状态。When the deviation value of the target traffic proportion is greater than the preset deviation threshold, it can be determined that the target network element is in an abnormal state.

示例性的,一种偏差分析的方法包括:Exemplarily, a method for deviation analysis includes:

对于负荷分担的一组目标网元,根据预先设定的比例和偏差度,假设有n个目标网元,指标分别为x1、x2……xn,各网元业务量设置的比例为a1、a2……an,其中网元i的指标为xi,业务比例为ai,预设偏差比例阈值为d,则当

Figure BDA0002551063590000121
时,网元指标异常。For a group of target network elements for load sharing, according to the preset ratio and deviation degree, assuming that there are n target network elements, the indicators are x 1 , x 2 ... x n , and the proportion of the service volume of each network element is a 1 , a 2 ... a n , where the index of network element i is x i , the service ratio is a i , and the preset deviation ratio threshold is d, then when
Figure BDA0002551063590000121
, the NE indicators are abnormal.

本实施例步骤中,通过目标业务量占比的偏差值对目标网元的运行状态进行判断,能够进一步地增加对目标网元的运行状态进行判断的精度,增加本实施例方法的适用场景和使用灵活性。In the steps of this embodiment, the operating state of the target network element is judged by the deviation value of the proportion of the target traffic, which can further increase the accuracy of judging the operating state of the target network element, and increase the applicable scenarios and applications of the method in this embodiment. Use flexibility.

需要说明的是,本实施例中,步骤S204、S205、S206所对应的根据历史通用业务数据,对目标通用业务数据进行处理分析,得到预警结果的步骤可以根据需要单独使用步骤S204、S205、S206中的任一项方法,以得到预警结果;也可以按照不同顺序使用S204、S205、S206中的多项方法,并根据对应得到的多项结果,根据多种方式得到预警结果,例如,根据多项结果已经多项结果对应的权重系数,确定预警结果;再例如,根据多项结果中,最劣化结果确定预警结果。此处做具体限定。It should be noted that, in this embodiment, steps S204, S205, and S206 correspond to processing and analyzing target general business data based on historical general business data, and obtaining early warning results can be performed separately as required by steps S204, S205, and S206 Any one of the methods in S204, S205, and S206 can also be used in different orders to obtain early warning results in multiple ways, for example, according to multiple The weight coefficient corresponding to the item result and multiple results is used to determine the early warning result; another example is to determine the early warning result according to the worst result among the multiple results. Specific restrictions are made here.

可选地,在步骤S204、S205、S206任一项之后,还包括:Optionally, after any one of steps S204, S205, and S206, it also includes:

步骤S207,将预警结果推送给终端设备。Step S207, pushing the warning result to the terminal device.

为了在网络发生故障后,使维护人员第一时间确定故障网元,应用本实施例提供的网元故障预警方法的电子设备将预警结果推送给运维人员使用的终端设备,例如通过微信、APP等方式,推送至运维人员的手机上,使运维人员能及时定位网元故障,提高网元故障预警的时效性。In order to enable maintenance personnel to determine the faulty network element immediately after a network failure occurs, the electronic device applying the network element failure early warning method provided in this embodiment pushes the early warning result to the terminal equipment used by the operation and maintenance personnel, such as through WeChat, APP etc., and push it to the mobile phone of the operation and maintenance personnel, so that the operation and maintenance personnel can locate the fault of the network element in time, and improve the timeliness of the early warning of the fault of the network element.

图7为本发明一个实施例提供的网元故障预警装置的结构示意图,如图7所示,本实施例提供的网元故障预警装置7包括:FIG. 7 is a schematic structural diagram of a network element failure early warning device provided by an embodiment of the present invention. As shown in FIG. 7 , the network element failure early warning device 7 provided in this embodiment includes:

第一获取模块71,用于根据预设策略获取目标网元的目标通用业务数据;The first acquisition module 71 is configured to acquire the target general service data of the target network element according to a preset policy;

第二获取模块72,用于从目标网元的历史业务数据中,获取目标网元的历史通用业务数据,其中,历史业务数据中包括至少一种类型的业务数据;The second acquiring module 72 is configured to acquire the historical general service data of the target network element from the historical service data of the target network element, wherein the historical service data includes at least one type of service data;

分析模块73,用于根据历史通用业务数据,对目标通用业务数据进行预警分析,获得预警结果。The analysis module 73 is configured to perform early warning analysis on target general business data according to historical general business data, and obtain early warning results.

其中,第一获取模块71、第二获取模块72和分析模块73依次连接。本实施例提供的网元故障预警装置7可以执行如图2-6任一项所示的方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。Wherein, the first acquisition module 71 , the second acquisition module 72 and the analysis module 73 are connected in sequence. The network element failure early warning device 7 provided in this embodiment can implement the technical solution of the method embodiment shown in any one of Figures 2-6, and its implementation principle and technical effect are similar, and will not be repeated here.

图8为本发明一个实施例提供的电子设备的示意图,如图8所示,本实施例提供的电子设备包括:存储器81,处理器82以及计算机程序。FIG. 8 is a schematic diagram of an electronic device provided by an embodiment of the present invention. As shown in FIG. 8 , the electronic device provided by this embodiment includes: a memory 81 , a processor 82 and a computer program.

其中,计算机程序存储在存储器81中,并被配置为由处理器82执行以实现本发明图2-图6所对应的实施例中任一实施例提供的网元故障预警装置。Wherein, the computer program is stored in the memory 81 and is configured to be executed by the processor 82 to implement the network element failure early warning device provided in any one of the embodiments corresponding to FIG. 2 to FIG. 6 of the present invention.

其中,存储器81和处理器82通过总线83连接。Wherein, the memory 81 and the processor 82 are connected through a bus 83 .

相关说明可以对应参见图2-图6所对应的实施例中的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiments corresponding to FIG. 2 to FIG. 6 , and details are not repeated here.

本发明一个实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行以实现本发明图2-图6所对应的实施例中任一实施例提供的网元故障预警装置。An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the network element provided by any of the embodiments corresponding to FIGS. 2-6 of the present invention. Fault warning device.

其中,计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Among them, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device and the like.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本发明旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present invention is intended to cover any modification, use or adaptation of the present invention. These modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in the present invention . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求书来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims (5)

1. A network element failure early warning method, the method comprising:
acquiring target general service data of a target network element according to a preset strategy;
acquiring historical general service data of the target network element from the historical service data of the target network element, wherein the historical service data comprises at least one type of service data;
performing early warning analysis on the target general service data according to the historical general service data to obtain an early warning result;
performing early warning analysis on the target general service data according to the historical general service data to obtain an early warning result, wherein the early warning method comprises the following steps:
processing and analyzing the target general service data according to the historical general service data to obtain an early warning result, wherein the processing and analyzing comprises deviation analysis;
and performing deviation analysis on the target general service data according to the historical general service data to determine an early warning result, wherein the method comprises the following steps:
determining a target traffic duty ratio corresponding to the target network element according to the target general service data; wherein, the target traffic corresponding to the target network element accounts for the proportion of the traffic born by the target network element in the network element group where the target network element is positioned;
acquiring a historical traffic duty ratio corresponding to the target network element according to the historical general service data;
calculating a deviation value of the target traffic duty cycle and the historical traffic duty cycle;
and determining an early warning result according to the deviation value.
2. The method according to claim 1, wherein the target general service data comprises an online user number, and/or traffic data; the obtaining the target general service data of the target network element according to the preset strategy comprises the following steps:
acquiring the network element type of the target network element;
determining a general service item corresponding to the network element type according to a preset mapping relation, wherein the mapping relation is a mapping relation between the network element type and the general service item;
and acquiring the number of online users and/or flow data corresponding to the general service items of the target network element at each preset time interval.
3. A network element failure early warning device, characterized in that the device comprises:
the first acquisition module acquires target general service data of a target network element according to a preset strategy;
a second obtaining module, configured to obtain historical general service data of the target network element from the historical service data of the target network element, where the historical service data includes at least one type of service data;
the analysis module performs early warning analysis on the target general service data according to the historical general service data to obtain an early warning result;
the analysis module is further used for processing and analyzing the target general service data according to the historical general service data to obtain an early warning result, wherein the processing and analyzing comprises deviation analysis;
the analysis module is further used for determining a target traffic duty ratio corresponding to the target network element according to the target general service data; acquiring a historical traffic duty ratio corresponding to the target network element according to the historical general service data; calculating a deviation value of the target traffic duty cycle and the historical traffic duty cycle; determining an early warning result according to the deviation value; wherein, the target traffic corresponding to the target network element is the proportion of the traffic borne by the target network element in the network element group where the target network element is located.
4. An electronic device, comprising: a memory, a processor, and a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the network element failure warning method according to claim 1 or 2.
5. A computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and when executed by a processor, the computer executable instructions are configured to implement the network element failure warning method according to claim 1 or 2.
CN202010575127.1A 2020-06-22 2020-06-22 Network element fault early warning method and device, electronic equipment and storage medium Active CN113923096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010575127.1A CN113923096B (en) 2020-06-22 2020-06-22 Network element fault early warning method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010575127.1A CN113923096B (en) 2020-06-22 2020-06-22 Network element fault early warning method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113923096A CN113923096A (en) 2022-01-11
CN113923096B true CN113923096B (en) 2023-05-30

Family

ID=79231225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010575127.1A Active CN113923096B (en) 2020-06-22 2020-06-22 Network element fault early warning method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113923096B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116389223B (en) * 2023-04-26 2023-12-22 郑州数智科技集团有限公司 Artificial intelligence visual early warning system and method based on big data

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001017169A2 (en) * 1999-08-31 2001-03-08 Accenture Llp A system, method and article of manufacture for a network-based predictive fault management system
US6405250B1 (en) * 1999-01-25 2002-06-11 Lucent Technologies Inc. Network management system based on passive monitoring and proactive management for formulation behavior state transition models
CN105786493A (en) * 2016-02-24 2016-07-20 山东超越数控电子有限公司 Operation and maintenance system collecting and configuring method
CN109921955A (en) * 2017-12-12 2019-06-21 北京嘀嘀无限科技发展有限公司 Portfolio monitoring method, system, computer equipment and storage medium
CN109995592A (en) * 2019-04-09 2019-07-09 中国联合网络通信集团有限公司 Service quality monitoring method and device
CN110658905A (en) * 2019-09-23 2020-01-07 珠海格力电器股份有限公司 Early warning method, early warning system and early warning device for equipment running state
CN110990433A (en) * 2019-11-21 2020-04-10 深圳马可孛罗科技有限公司 Real-time service monitoring and early warning method and early warning device
CN111132179A (en) * 2019-12-26 2020-05-08 宜通世纪物联网研究院(广州)有限公司 Cell scheduling method, system, device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6405250B1 (en) * 1999-01-25 2002-06-11 Lucent Technologies Inc. Network management system based on passive monitoring and proactive management for formulation behavior state transition models
WO2001017169A2 (en) * 1999-08-31 2001-03-08 Accenture Llp A system, method and article of manufacture for a network-based predictive fault management system
CN105786493A (en) * 2016-02-24 2016-07-20 山东超越数控电子有限公司 Operation and maintenance system collecting and configuring method
CN109921955A (en) * 2017-12-12 2019-06-21 北京嘀嘀无限科技发展有限公司 Portfolio monitoring method, system, computer equipment and storage medium
CN109995592A (en) * 2019-04-09 2019-07-09 中国联合网络通信集团有限公司 Service quality monitoring method and device
CN110658905A (en) * 2019-09-23 2020-01-07 珠海格力电器股份有限公司 Early warning method, early warning system and early warning device for equipment running state
CN110990433A (en) * 2019-11-21 2020-04-10 深圳马可孛罗科技有限公司 Real-time service monitoring and early warning method and early warning device
CN111132179A (en) * 2019-12-26 2020-05-08 宜通世纪物联网研究院(广州)有限公司 Cell scheduling method, system, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Network Design and Performance Evaluation of an Early Warning Network;H Bhatnagar et al.;IEEE;全文 *
基于大数据的电网信息运维主动监控预警系统;陈龙;万明;李世锋;;电气应用(S2);全文 *

Also Published As

Publication number Publication date
CN113923096A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
CN103370904B (en) Method, network entity for the seriousness that determines network accident
CN112543465B (en) Anomaly detection method, device, terminal and storage medium
CN105471656B (en) A kind of abstract method for automatic system of intelligent transformer station O&M information model
CN101217770A (en) A mobile communication network quality automatic evaluation and analysis device and method
CN110891283A (en) Small base station monitoring device and method based on edge calculation model
CN103607309B (en) Mapping method for service KQI and QOE
CN111817868A (en) Method and device for positioning network quality abnormity
CN107204894A (en) The monitoring method and device of network servicequality
CN110493146B (en) Edge intelligent network sensing platform and control method
CN101296115A (en) Method for multi-dimensional monitoring of telecommunication network
CN108243429B (en) A kind of network coverage detection method and system for indoor distribution system
CN104883705B (en) A kind of the problem of data service is complained localization method and device
CN115334560B (en) Base station abnormality monitoring method, device, equipment and computer readable storage medium
CN113923096B (en) Network element fault early warning method and device, electronic equipment and storage medium
CN114268567B (en) Abnormal terminal identification method, analysis device and equipment, storage medium
CN108696371B (en) Network fault determination method and system
CN111901134B (en) Method and device for predicting network quality based on recurrent neural network model (RNN)
CN113727092B (en) Video monitoring quality inspection method and device based on decision tree
CN108271189A (en) A kind of quality of service monitoring method and device
WO2024093219A1 (en) Service path optimization method and apparatus, and storage medium
CN115334559B (en) Network detection method, device, equipment and medium
CN117135030A (en) Alarm correlation analysis method, device, terminal equipment and storage medium
CN116582867A (en) Early warning user determining method, device and equipment for 5G voice service and storage medium
CN112288403A (en) Method, system, electronic equipment and storage medium for accurate push of power outage information to households
CN207251683U (en) Client perception Optimization Platform system based on big data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant