WO2014023245A1 - 一种流量预测方法、***及流量监测方法、*** - Google Patents

一种流量预测方法、***及流量监测方法、*** Download PDF

Info

Publication number
WO2014023245A1
WO2014023245A1 PCT/CN2013/081072 CN2013081072W WO2014023245A1 WO 2014023245 A1 WO2014023245 A1 WO 2014023245A1 CN 2013081072 W CN2013081072 W CN 2013081072W WO 2014023245 A1 WO2014023245 A1 WO 2014023245A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
application service
flow
target application
time
Prior art date
Application number
PCT/CN2013/081072
Other languages
English (en)
French (fr)
Inventor
陆钱春
范书田
黄传冠
张祖红
丁柏
唐兵兵
刘万慧
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014023245A1 publication Critical patent/WO2014023245A1/zh

Links

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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5025Ensuring fulfilment of SLA by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
    • 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/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a traffic prediction method, system, and traffic monitoring method and system. Background technique
  • the network bearer capability and the scale of the applied services have always been complementary.
  • the network construction will provide an effective implementation platform for the promotion of new application technologies.
  • the application services will also be present as their system development needs.
  • Some networks have put forward higher resource requirements, thus pushing the network infrastructure into a new construction cycle. Then how to clearly and accurately match the application service with the resources (such as bandwidth) occupied by the application service, how to ensure that the limited resources can be properly applied to the main profit business is a problem to be solved.
  • Flow technology represented by network traffic (NetFlow) and Sflow, is a new solution to this challenge.
  • Flow records provide traditional information such as Simple Network Management Protocol (SNMP) and MIB. It includes at least the following fields: Internet Protocol (IP, Internet Protocol) address, destination IP address, source port, destination port, IP layer protocol type, top of the stack (ToS, Top of the Stack) service type, input physical port, Many of the other field fields we care about can be derived from these fields, such as various applications, application bandwidth, and so on.
  • IP Internet Protocol
  • ToS Top of the Stack
  • current traffic detection methods can only predict traffic for a single application, and the scope of application is narrow.
  • it is usually based on certain assumptions, or correlation coefficients, etc. These assumptions or coefficients will affect To the accuracy of the forecast. Summary of the invention
  • Embodiments of the present invention provide a traffic prediction method, system, and traffic monitoring method and system.
  • the embodiment of the present invention adopts the following technical solution.
  • the embodiment of the present invention provides a traffic prediction method, including:
  • collecting the target application service traffic information specifically includes:
  • the standard traffic data for setting the target application service specifically includes:
  • the target application service includes an average value of the flow rate corresponding to each preset time period; wherein the time range includes a plurality of preset time segments, and the preset time segment includes at least one of the time steps Long
  • the standard flow data is determined according to the average value corresponding to each preset time period.
  • predicting traffic information of the target application service according to the standard traffic data specifically includes:
  • the target application service includes at least one application service.
  • the traffic prediction method further includes: if the target application service includes multiple application services, at least two of the multiple application services correspond to different application protocols.
  • the embodiment of the invention further provides a traffic monitoring method, the method comprising:
  • comparing the predicted traffic information with the set traffic range specifically includes:
  • the flow range includes a plurality of different levels of flow ranges, each of the different levels of flow ranges corresponding to an alarm level.
  • performing an alarm action comprises: comparing the monitored flow rate with a set different flow rate range, and performing different alarm levels according to the comparison result.
  • An embodiment of the present invention provides a traffic prediction system, where the system includes: a traffic collection module, a standard data module, and a traffic prediction module;
  • a traffic collection module configured to collect target application service traffic information, and send the traffic information to a standard data module
  • a standard data module configured to: formulate standard traffic data of the application service according to the traffic information, and send the standard traffic data to a traffic prediction module;
  • the traffic prediction module is configured to predict traffic information of the application service according to the standard traffic data.
  • the traffic collection module is configured to set a time range for performing traffic collection on the target application service; determining a time step of the traffic collection in the time range; and performing the time step in the time range Collecting traffic data of the application service.
  • the standard data module is configured to determine that the target application service includes an average value of flow rates corresponding to each preset time period in the time range; the time range includes multiple presets. The time period, the preset time period includes at least one of the time steps; and the standard flow data is determined according to an average value corresponding to each preset time period.
  • the traffic prediction module is configured to construct a function of the target application service traffic according to the time according to the standard traffic data, and obtain predicted traffic information of the target application service according to the function.
  • the embodiment of the present invention further provides a traffic monitoring system, where the system includes: one or more traffic prediction systems, an alarm module, and a processing module;
  • the traffic prediction system is configured to predict traffic information occupied by the target application service within a set time, and send the predicted traffic information to the alarm module.
  • a processing module configured to compare the predicted traffic information with the set traffic range, and send the comparison result to the alarm module
  • the alarm module is configured to determine, according to the comparison result, whether the traffic information of the target application service in the set time is normal; if the traffic information is not in the traffic range, perform an alarm action.
  • the processing module is configured to monitor traffic occupied by the target application service in the set time; and determine an alarm level corresponding to the target service according to the traffic range;
  • the flow range includes a plurality of different levels of flow ranges, each of the different levels of flow ranges corresponding to an alarm level.
  • the alarm module is configured to compare the monitored flow rate with a set of different levels of flow ranges, and perform different alarm levels according to the comparison result.
  • the embodiments of the present invention provide a traffic prediction method, system, and traffic monitoring method and system, which can effectively prevent missed detection and error detection by performing traffic prediction on various applications and bandwidths supported by multiple protocols (NetFlow, sflow). It can monitor network anomalies more accurately and in real time, analyze resource utilization, and ensure network resources are detected in time to ensure that limited resources can be reasonably addressed. It is helpful to reduce the economic loss and increase profits by using the main profit business.
  • FIG. 1 is a schematic structural diagram 1 of an embodiment of a traffic prediction system according to the present invention.
  • FIG. 2 is a flowchart 1 of an embodiment of a traffic prediction method according to the present invention.
  • FIG. 3 is a schematic structural view 2 of an embodiment of a flow monitoring system according to the present invention.
  • FIG. 4 is a second flowchart of an embodiment of a traffic monitoring method according to the present invention.
  • FIG. 5 is a schematic diagram of a traffic monitoring grading alarm according to the present invention detailed description
  • the method includes: a traffic collection module, a standard data module, and a traffic prediction module; wherein, the traffic collection module is configured as an acquisition target Applying service traffic information, and transmitting the traffic information to a standard data module;
  • a standard data module configured to: according to the traffic information sent by the traffic collection module, formulate standard traffic data of the application service, and send the standard traffic data to a traffic prediction module;
  • the traffic prediction module is configured to predict a traffic prediction module of the traffic information of the application service according to the standard traffic data.
  • FIG. 2 is a flowchart of a traffic prediction method according to an embodiment of the present invention.
  • the method includes at least the following steps: collecting target application service traffic information; collecting information about traffic currently occupied by the target application service; and formulating the location according to the traffic information Determining the standard traffic data of the target application service; and predicting the traffic information of the target application service according to the standard traffic data.
  • the collecting target application service flow information includes: setting a time range for performing traffic collection on the target application service; determining a time for collecting the traffic within the time range. Step size; collecting the traffic data of the target application service according to the time step in the time range.
  • the time range refers to: an overall time span in the traffic collection; the time step refers to: how often the target application service traffic is collected in the time range of the traffic collection, that is, Collect traffic within each time step.
  • the time range and the time step can be formulated according to different schemes.
  • the determining the standard traffic data of the target application service includes: determining an average value of the flow rate corresponding to each preset time period of the target application service in the time range;
  • the time range includes a plurality of preset time segments, the preset time segments include at least one of the time steps, and the standard flow data is determined according to an average value corresponding to the preset time segments.
  • the division of the time period is not specifically limited, and may be divided according to actual application conditions. These averages and corresponding time periods are then constructed as flow baselines as standard flow data.
  • predicting the traffic information of the target application service according to the standard traffic data includes: constructing, according to the standard traffic data, a function of the target application service traffic according to a time change, and predicting, according to the function, the target application service Traffic information.
  • the average value of each time period obtained may be used as a point, and the points are interpolated, and the interpolation process is performed to obtain a function relationship between the flow rate and the time, so that The flow rate of the target application service can be predicted at any time, and the flow rate corresponding to the time can also be obtained according to the flow rate.
  • the target application service may be a single application or an application group composed of multiple applications. If the target application service includes multiple application services, that is, application groups, then at least two protocols support the application group.
  • the time range includes: at least one of 1 hour, 6 hours, 12 hours, 24 hours, one week, one month, and one year. It should be noted that the time range herein may be set according to different application service objects, and is not limited to the listed ones. The listed time ranges are only possible in the technical solution of the embodiment of the present invention. Several time ranges that are commonly used.
  • each application or application group can be determined according to various information included in the packet. The following is used as an example.
  • bandwidth traffic / time, so that the traffic of the application at each moment is recorded, and then the application or application group is aggregated and calculated, that is, the original data is obtained.
  • the time frame which depends on the time range of the traffic statistics and the step size of the record.
  • Equation 1 It can be seen from Equation 1 that this is a preset time step, so once the time range is clear, t is clear ; therefore, we only need to pay attention to the flow value of each time period recorded, here, Each 6 time steps is taken as a time period.
  • the baseline can be said to be the fitting of the empirical data. In this example, 60 baseline values are taken. Of course, the number of baseline values can be selected according to the actual situation. In fact, the flow rate can be roughly seen through the distribution of baseline values. The change can also roughly describe the flow trend graph.
  • the above method for obtaining the baseline value is a superior method, and the flow data in the 360 corresponding time steps recorded can be directly divided by the corresponding time step to obtain 360 flow rate data, and from the 360 flow rates.
  • Several of the data are selected as baseline values.
  • the baseline gives only empirical data for each time period. For more accurate flow trend predictions, baselines are needed for further statistics and analysis.
  • FIG. 3 is a schematic structural diagram of an embodiment of a traffic monitoring system according to an embodiment of the present invention.
  • the system includes at least: one or more traffic prediction systems, an alarm module, and a processing module;
  • the traffic prediction system is configured to predict a traffic value occupied by the target application service within a set time, and send the predicted traffic value to the alarm module;
  • the processing module is configured to compare the predicted traffic value with the set traffic range, and send the comparison result to the alarm module;
  • the alarm module is configured to determine, according to the comparison result, whether the traffic value of the target application service within the set time is normal; if the traffic value is not within the traffic range, perform an alarm action.
  • FIG. 4 is a flowchart of an embodiment of a traffic monitoring method according to an embodiment of the present invention, which includes at least a method for predicting traffic of a target application service in a set time according to an embodiment of the present invention; Comparing the predicted traffic information with the set traffic range; determining, according to the comparison result, the traffic information of the target application service within the set time Whether the information is normal; if the flow information is not within the flow range, an alarm action is performed.
  • comparing the predicted traffic information with the set traffic range includes: monitoring, by the target application service, traffic occupied by the set time; The range determines an alarm level corresponding to the target service;
  • the flow range includes a plurality of different levels of flow ranges, and the different levels of flow ranges each correspond to an alarm level.
  • performing an alarm action specifically includes: comparing the monitored flow rate with a set flow rate range, and performing different alarm levels according to the comparison result. .
  • the traffic in any time period is first predicted.
  • the flow for any period of time can be obtained by integrating the flow rate in the interval. For example, the flow rate L(a,b) from time point a to time point b is
  • the abnormality is monitored, and the flow calculated by the current statistical flow and the statistical analysis of the empirical data (ie, type 5) is simply processed, and the system provides the function of configuring the upper and lower limits of the flow, thereby more freely controlling the flow.
  • the abnormal traffic dynamic monitoring process for various applications and application groups under multi-protocol support can be seen in Figure 5.
  • the dynamic time channel is regularly and time-limited.
  • the current traffic collected in real time is time-transformed, and the current time is set to the position on the regular time period.
  • a hierarchical monitoring traffic range is established on the dynamic time channel, and different traffic ranges represent different alarm levels. When the preset traffic range exceeds the normal situation, or exceeds the normal situation, the corresponding alarm is executed.
  • the comparison behavior should be performed within a minimum alignment time range, ie, the time step. It can effectively avoid misdetection and missed measurement, and can improve the accuracy of monitoring.
  • the monitoring reference points move on the channel, update the monitoring basis, complete the comparison of current traffic and future speculation, to achieve the effect of monitoring abnormal traffic.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种流量预测方法、***及流量监测方法、***,采集目标应用业务当前所占用流量的信息;根据所述流量信息,制定所述目标应用业务的标准流量数据;根据所述标准流量数据,预测所述目标应用业务的流量信息。采用本发明能够通过对各种应用、带宽等利用动态基线通道实时监测异常流量,能有效避免漏检、错检现象,可以更准确、实时地监测到网络异常状况,分析资源利用情况,提前发出分级告警,为及时发现网络故障、保证有限的资源能够被合理应用的到主要利润业务,减少经济损失、增加收益提供有力帮助。

Description

一种流量预测方法、 ***及流量监测方法、 *** 技术领域
本发明涉及通信技术领域, 尤其涉及一种流量预测方法、 ***及流量 监测方法、 ***。 背景技术
网络承载能力与所提供的应用业务规模向来都是相辅相成的, 一方面 网络的建设将给新应用技术的推广提供有效的实施平台, 另一方面应用业 务也会随着自身***发展需要而对现有网络提出更高的资源需求, 从而推 动网络基础建设进入新的建设周期。 那么如何把应用业务与其所占用的资 源 (如带宽) 清晰、 准确的对应起来, 如何保证有限的资源能够被合理应 用的到主要利润业务中是待解决的问题。
以网络流量(NetFlow )和 Sflow为代表的 Flow技术, 正是为响应这 种挑战而出现的新型解决途径。 Flow记录能够提供传统简单网络管理协议 ( SNMP, Simple Network Management Protocol )、 MIB无法比拟的丰富信 息。 它至少包括以下几个字段: 互联网协议 ( IP, Internet Protocol )地址、 目的 IP地址、 源端口、 目的端口、 IP层协议类型、 堆栈顶部( ToS, Top of the Stack )服务类型、 输入物理端口, 由这些字段可以衍生出的很多其他我 们关心的栏位字段, 如各种应用、 应用的带宽等等。 而目前流量的检测方 法只能对单一的应用进行流量预测, 适用的范围较窄; 同时, 在流量预测 的过程中通常都是基于一定的假设, 或相关系数等等, 这些假设或系数会 影响到预测的准确性。 发明内容
本发明实施例提供一种流量预测方法、 ***及流量监测方法、 ***。 为了解决上述技术问题, 本发明实施例采用了如下技术方案, 本发明 实施例提供一种流量预测方法, 包括:
采集目标应用业务当前所占用流量的信息;
才艮据所述流量信息, 制定所述目标应用业务的标准流量数据; 才艮据所述标准流量数据, 预测所述目标应用业务的流量信息。
优选地, 采集目标应用业务流量信息具体包括:
设定对目标应用业务进行流量采集的时间范围;
确定在所述时间范围内流量采集的时间步长;
在所述时间范围内按照所述时间步长采集所述应用业务的流量数据。 优选地, 制定目标应用业务的标准流量数据具体包括:
确定所述目标应用业务在所述时间范围包括各预设时间段对应的流速 平均值; 其中, 所述时间范围包括多个预设时间段, 所述预设时间段包括 至少一个所述时间步长;
根据所述各预设时间段对应的平均值确定标准流量数据。
优选地, 根据所述标准流量数据预测目标应用业务的流量信息具体包 括:
根据所述标准流量数据构建目标应用业务流量根据时间变化的函数, 才艮据所述函数预测得到所述目标应用业务的流量信息。
优选地, 目标应用业务包括至少一个应用业务。
优选地, 所述流量预测方法还包括: 若所述目标应用业务包括多个应 用业务时, 所述多个应用业务中至少有两个对应不同的应用协议。
本发明实施例还提供一种流量监测方法, 该方法包括:
按照上述对流量预测方法预测设定时间内目标应用业务所占用的流量 信息;
将预测得到的所述流量信息和设定的流量范围进行比较; 根据比较结果判断所述目标应用业务在所述设定时间内的流量信息是 否正常;
若所述流量信息不在所述流量范围内, 则执行报警动作。
优选地, 将预测得到的所述流量信息和设定的流量范围进行比较具体 包括:
对所述目标应用业务在所述设定时间内所占用的流量进行监测;; 根据 所述流量范围确定所述目标业务对应的报警等级;
所述流量范围包括多个不同等级的流量范围, 所述不同等级的流量范 围各自对应一种报警等级。
优选地, 若所述流量值不在所述流量范围内, 则执行报警动作包括: 根据监测到的流量与设定不同等级的流量范围进行比较, 并根据比较结果 执行不同报警等级。
本发明实施例提供了一种流量预测***, 该***包括: 流量采集模块、 标准数据模块和流量预测模块; 其中,
流量采集模块, 配置为采集目标应用业务流量信息, 并将所述流量信 息发送至标准数据模块;
标准数据模块, 配置为根据所述流量信息, 制定所述应用业务的标准 流量数据, 并将所述标准流量数据发送至流量预测模块;
流量预测模块, 配置为根据所述标准流量数据预测所述应用业务的流 量信息。
优选地, 所述流量采集模块, 配置为设定对目标应用业务进行流量采 集的时间范围; 确定在所述时间范围内流量采集的时间步长; 在所述时间 范围内按照所述时间步长采集所述应用业务的流量数据。
优选地, 所述标准数据模块, 配置为确定所述目标应用业务在所述时 间范围包括各预设时间段对应的流速平均值; 所述时间范围包括多个预设 时间段, 所述预设时间段包括至少一个所述时间步长; 根据所述各预设时 间段对应的平均值确定标准流量数据。
优选地, 所述流量预测模块, 配置为根据所述标准流量数据构建目标 应用业务流量根据时间变化的函数, 根据所述函数得到所述目标应用业务 的预测流量信息。
本发明实施例还提供了一种流量监测***, 该***包括: 一个或多个 流量预测***、 告警模块和处理模块; 其中,
上述流量预测***, 配置为预测在设定时间内目标应用业务所占用的 流量信息, 并将预测到的流量信息发送至告警模块;
处理模块, 配置为将预测得到的所述流量信息和设定的流量范围进行 比较, 并将比较结果发送至告警模块;
告警模块, 配置为根据比较结果判断所述目标应用业务在所述设定时 间内的流量信息是否正常; 若所述流量信息不在所述流量范围内, 则执行 报警动作。
优选地, 所述处理模块, 配置为对所述目标应用业务在所述设定时间 内所占用的流量进行监测; 根据所述流量范围确定所述目标业务对应的报 警等级;
所述流量范围包括多个不同等级的流量范围, 所述不同等级的流量范 围各自对应一种报警等级。
优选地, 所述告警模块, 配置为根据监测到的流量与设定不同等级的 流量范围进行比较, 并根据比较结果执行不同报警等级。
本发明实施例提供一种流量预测方法、 ***及流量监测方法、 ***, 通过对多协议 (NetFlow, sflow)支持下的各种应用、 带宽等进行流量预测, 能有效避免漏检、 错检现象, 可以更准确、 实时地监测到网络异常状况, 分析资源利用情况, 为及时发现网络故障、 保证有限的资源能够被合理应 用的到主要利润业务, 减少经济损失、 增加收益提供有力帮助。 附图说明
图 1为本发明流量预测***的一实施例的结构示意图一;
图 2为本发明流量预测方法的一实施例的流程图一;
图 3为本发明流量监测***的一实施例的结构示意图二;
图 4为本发明流量监测方法的一实施例的流程图二;
图 5为本发明流量监测分级告警示意图。 具体实施方式
下面结合附图, 对本发明的具体实施方式作进一步的详细说明。
本发明实施例流量预测***如图 1 所示, 在本发明流量预测***的一 种实施例中, 包括: 流量采集模块、 标准数据模块和流量预测模块; 其中, 流量采集模块, 配置为采集目标应用业务流量信息, 并将所述流量信 息发送至标准数据模块;
标准数据模块, 配置为根据流量采集模块发来的所述流量信息, 制定 所述应用业务的标准流量数据, 并将所述标准流量数据发送至流量预测模 块;
流量预测模块, 配置为根据所述标准流量数据预测所述应用业务的流 量信息的流量预测模块。
如图 2所示为本发明实施例流量预测方法的流程图, 该方法至少包括 以下步骤: 采集目标应用业务流量信息; 采集目标应用业务当前所占用流 量的信息; 根据所述流量信息, 制定所述目标应用业务的标准流量数据; 才艮据所述标准流量数据, 预测所述目标应用业务的流量信息。
在一实施例中, 所述采集目标应用业务流量信息包括: 设定对目标应 用业务进行流量采集的时间范围; 确定在所述时间范围内流量采集的时间 步长; 在所述时间范围内按照所述时间步长, 采集所述目标应用业务的流 量数据。
具体地, 所述时间范围是指: 在流量采集中的总体时间跨度; 所述时间步长是指: 在流量采集的时间范围内每隔多长时间进行一次 目标应用业务流量的采集, 也就是采集每个时间步长内的流量。 此处, 所 述时间范围和所述时间步长可以才艮据不同的方案进行制定。
在一实施例中, 所述制定目标应用业务的标准流量数据包括: 确定所 述目标应用业务在所述时间范围各个预设时间段对应的流速平均值;
其中, 所述时间范围包括多个预设时间段, 所述预设时间段包括至少 一个所述时间步长; 根据所述各预设时间段对应的平均值确定标准流量数 据。
具体地, 对标准流量数据的制定, 需要在预先确定的时间范围内划分 时间段, 也就是确定要获取多少个流速值, 每个时间段对应一个流速值。 所以对时间段的划分没有具体限定, 可以根据实际中的应用情况进行划分。 然后将这些平均值和对应的时间段构建成流量基线, 作为标准流量数据。
在一实施例中, 根据所述标准流量数据预测目标应用业务的流量信息 包括: 根据所述标准流量数据, 构建目标应用业务流量根据时间变化的函 数, 根据所述函数预测得到所述目标应用业务的流量信息。
具体地, 在此实施例中, 可以根据所得到的各个时间段的平均值, 作 为一个个的点, 并对这些点进行插值处理, 插值处理后获得流速和时间之 间的函数关系, 这样便可对目标应用业务的任意时间的流速进行预测, 同 样根据流速的大小也能获得对应时间的流量大小。
在一种实施例中, 所述目标应用业务可以是单一的应用, 也可以是多 个应用组成的应用组。 如果目标应用业务包括多个应用业务, 也就是应用 组时, 那么至少有两个协议支持该应用组。 在一实施例中, 时间范围包括: 1小时、 6小时、 12小时、 24小时、 一周、 一个月、 一年中的至少一种。 需要说明的是此处的时间范围可以根 据在应用业务对象的不同而进行设定, 并不仅限于所列出的几种, 所列出 的几种时间范围只是在本发明实施例技术方案中可能常用到的几种时间范 围。
下面结合上述多种实施例, 并具体举例进行进一步说明, 需要说明的 是下述中的说明只是一种举例, 本发明技术方案并不仅限于此。
NetFlow, SFlow报文中并没有应用字段, 但根据报文中包括的各种信 息可以确定出各应用或应用组, 以下以其中一种方式为例进行说明, 例如: 报文中包括端口与协议字段, 由这两个字段可以衍生出: 端口 +协议 =应用。 同时, 带宽 =流量 /时间, 从而记录各个时刻应用的流量, 再将应用或应用组 进行汇聚、 计算, 即有了原始数据。
在基线的制定过程中与基线息息相关的是时间范围, 它需要依赖流量 统计的时间范围以及记录的步长。 这里我们可能关心的范围有 7种, 分别 Qi, i=0,...6其中 Q0: 1小时、 Ql : 6小时、 Q2: 12小时、 Q3: 24小时、 Q4: 一 周、 Q5: —个月、 Q6: —年。 可以将记录流量的步长记为 t;, i=0,...6。
为了实现标准化, 这里所有时间都以秒记, 并且取 60个基线值, 每个 点的取值记为 Bj, j=0,...59。 那么, 无论时间范围是多少, 每两个基线值之 间的时间步长(记为 T ); 同时, 不同时间范围 Q0至 Q6所对应的时间步 长 t; 可以分别取为 [10s, 6*10s, 12*10s, ...], 那么无论时间范围是多少都 可以记录 360 个点, 我们把每个点的流量值记为 X^ , 其中, k=0,...K; m=0, ...359, 这里的下标 k表示当前时间记录的流量和之前记录对应时间内 记录的流量。 以 24小时为例, 当 k=l时, 表示不仅统计了当前 24小时内 的流量信息, 为了经验数据的准确性, 还统计了前一个 24小时内对应时间 段的流量信息。 需要说明的是, 上述中基线值的数量, 以及不同时间范围内步长的大 小, 以及所记录的点的个数等具体数据并非是唯一数据, 仅仅是一种优选 的方案。
经过以上分析我们可以得到在不同时间范围(Qi)的不同步长(t; )下各时 间段的流速 (Byte/s), 也就是基线的详细数值 (Bj)为:
'
Figure imgf000010_0001
① 从公式①中可以看出, 这里 是预先设定的时间步长, 因此一旦明确时 间范围那么 t; 就明确了,因此我们只需要关注记录的各时间段的流量值 即可, 此处, 将每 6个时间步长作为一个时间段。
基线的制定可以说是对经验数据的拟合, 此实施例中取 60个基线值, 当然基线值的数量可以根据实际情况的不同进行选取, 其实通过基线值的 分布就可以粗略的看出流量的变化, 同时也可以粗略的描摹出流量趋势图。
上述对基线值的获取方法是一种较优的方法,也可以直接将记录的 360 个对应时间步长内的流量数据直接除以对应时间步长获得 360个流速数据, 并从这 360个流速数据中选取若干个作为基线值。
基线中给出的只是各个时间段内的经验数据, 要想获得更为精确的流 量趋势预测, 则需要借助基线作更进一步的统计和分析。 这里采用的是拉 格朗日插值法来进一步做数据分析, 获得流量与时间关系的走势函数 y=B(t)。 有了函数我们就可以预测未来任意时间点的流速, 同时可以预测到 流速的峰值和谷值所在的时间点, 同时我们还可以计算出任意时间段的流 量, 那么就可以进行异常流量的监测了。
从上述的具体实施例中我们取了 60 个基线值, B=[B0,B1,...B59]对应 的自变量的值分别为 T=[T0,T1,...T59], 也就是基线中时间步长等值递增。 那么有流速趋势函数 B(t) =∑¾ B^ ll 其中拉格朗日基本多项式
ng 因此, 我们对流速走势的预测函数为:
Βω =∑ρ。(Β π ¾>:
... ' ③
在此处我们采用的是拉格朗日插值法进行流速的预测, 但是这仅是一 种较优的方案, 误差较小。 但是同样可以采用其他插值法对流速进行预测, 例如, 牛顿插值法, 多项式插值法等等, 在此处, 不在对这些方法过程进 行详细的说明。
如图 3 所示为本发明实施例流量监测***的一实施例的结构示意图, 该***至少包括了: 一个或多个流量预测***、 告警模块、 处理模块; 其 中,
流量预测***, 配置为预测在设定时间内目标应用业务所占用的流量 值, 并将预测到的流量值发送至告警模块;
处理模块, 配置为将预测得到的所述流量值和设定的流量范围进行比 较, 并将比较结果发送至告警模块;
告警模块, 配置为根据比较结果判断所述目标应用业务在所述设定时 间内的流量值是否正常; 若所述流量值不在所述流量范围内, 则执行报警 动作。
如图 4所示为本发明实施例流量监测方法的一实施例的流程图, 至少 包括本发明实施例中按照本发明实施例流量预测的方法预测设定时间内目 标应用业务的流量信息; 将预测得到的所述流量信息和设定的流量范围进 行比较; 根据比较结果判断所述目标应用业务在所述设定时间内的流量信 息是否正常; 若所述流量信息不在所述流量范围内, 则执行报警动作。 在一实施例中, 所述将预测得到的所述流量信息和设定的流量范围进 行比较包括: 对所述目标应用业务在所述设定时间内所占用的流量进行监 测; 根据所述流量范围确定所述目标业务对应的报警等级;
其中, 所述流量范围包括多个不同等级的流量范围, 所述不同等级的 流量范围各自对应一种报警等级。
在一种实施例中, 若所述流量值不在所述流量范围内, 则执行报警动 作具体包括: 根据监测到的流量与设定不同等级的流量范围进行比较, 并 根据比较结果执行不同报警等级。
如果要检测目标应用业务的流量, 那么首先预测出任意时间段内的流 量。 当我们有了流速的函数之后, 任意一段时间的流量都可以通过对区间 内的流速进行定积分来获取。例如从时间点 a到时间点 b之间的流量 L(a,b), 即为
L删 [a, b] = f BCtjdt:
; ④ 同理, 任意 n个时间段 [ai,bi],i=0,...,n-l 内的总流量为
为了更好的控制流量, 监测出异常, 对当前统计到的流量与经验数据 统计分析得到的流量 (即⑤式)进行简单处理, ***提供配置流量上下限的功 能, 从而更加随心所欲的控制流量。
这里假设用户关心的是时间范围为 Qi的流量情况, 我们希望在 Qi这段 时间范围内的任意时间段 [a,b]内都不会出现流量超过经验数据 L预测 =[a,b] 的上限 Pmax%或者低于的下限 Pmin%也就是预设的流量范围, 一旦出现上 述两种情况, ***马上会做出预警, 同时与设备联动, 利用深度包探测技 术自动启动动态策略, 对流量进行限速。 这里通过基线上下限构造基线数据通道监测异常流量, 总结起来就是 以下两个公式:
L当前 > (1 + ^sias · Lf页测【 b];
L当前 [¾ b] < (1 - Pmls %) « L预测 [a,b]: 多协议支持下对各种应用和应用组的异常流量动态监测流程可以参见 图 5。 动态时间通道是有规律和时间段限制的, 首先实时采集到的当前流量 进行时间变换, 把当前时间定为到规律时间段上的位置。 在动态时间通道 上建立分级监测流量范围, 不同级的流量范围代表不同的告警级别。 当超 过预设的流量范围不管是超过正常情况上涨, 或者超过正常情况下降, 都 执行对应的告警。
比对行为应该在一个最小比对时间范围, 即时间步长内进行。 可以有 效避免误测和漏测, 又能提高监测的准确性。
随着当前时间的推进, 监测参照点在通道上移动变化, 更新监测依据, 完成对当前流量的比较和未来的推测, 来达到监视异常流量的效果。
以上内容是结合具体的实施方式对本发明所作的进一步详细说明, 不 能认定本发明的具体实施只局限于这些说明; 因此, 对于本发明所属技术 领域的普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若 干简单推演或替换, 都应当视为属于本发明的保护范围。

Claims

权利要求书
1、 一种流量预测方法, 所述流量预测方法包括:
采集目标应用业务当前所占用流量的信息;
才艮据所述流量信息, 制定所述目标应用业务的标准流量数据; 才艮据所述标准流量数据, 预测所述目标应用业务的流量信息。
2、 根据权利要求 1所述的流量预测方法, 其中, 所述采集目标应用业 务流量信息, 包括:
设定对目标应用业务进行流量采集的时间范围;
确定在所述时间范围内流量采集的时间步长;
在所述时间范围内按照所述时间步长采集所述应用业务的流量数据。
3、 根据权利要求 2所述的流量预测方法, 其中, 所述制定所述目标应 用业务的标准流量数据, 包括:
确定所述目标应用业务在所述时间范围包括各预设时间段对应的流速 平均值; 其中, 所述时间范围包括多个预设时间段, 所述预设时间段包括 至少一个所述时间步长;
根据所述各预设时间段对应的平均值确定标准流量数据。
4、 根据权利要求 1所述的流量预测方法, 其中, 所述根据所述标准流 量数据预测目标应用业务的流量信息, 包括:
根据所述标准流量数据, 构建目标应用业务流量根据时间变化的函数, 才艮据所述函数预测得到所述目标应用业务的流量信息。
5、 根据权利要求 1至 4中任意一项所述的流量预测方法, 其中, 所述 目标应用业务包括至少一个应用业务。
6、 根据权利要求 5所述的流量预测方法, 其中, 所述流量预测方法还 包括: 所述目标应用业务包括多个应用业务时, 所述多个应用业务中至少 有两个对应不同的应用协议。
7、 一种流量监测方法, 所述方法包括:
根据权利要求 1至 6中任意一项所述的流量预测方法预测设定时间内 目标应用业务的流量信息;
将预测得到的所述流量信息和设定的流量范围进行比较;
根据比较结果判断所述目标应用业务在所述设定时间内的流量信息是 否正常;
若所述流量信息不在所述流量范围内, 则执行报警动作。
8、 根据权利要求 7所述的流量监测方法, 其中, 所述将预测得到的所 述流量信息和设定的流量范围进行比较, 包括:
对所述目标应用业务在所述设定时间内所占用的流量进行监测; 根据 所述流量范围确定所述目标业务对应的报警等级;
其中, 所述流量范围包括多个不同等级的流量范围, 所述不同等级的 流量范围各自对应一种报警等级。
9、 根据权利要求 8所述的流量监测方法, 其中, 所述若所述流量信息 不在所述流量范围内, 则执行报警动作, 包括:
根据监测到的流量与设定不同等级的流量范围进行比较, 并根据比较 结果执行不同报警等级。
10、 一种流量预测***, 所述***包括: 流量采集模块、 标准数据模 块和流量预测模块; 其中,
流量采集模块, 配置为采集目标应用业务流量信息, 并将所述流量信 息发送至标准数据模块;
标准数据模块, 配置为根据所述流量信息, 制定所述应用业务的标准 流量数据, 并将所述标准流量数据发送至流量预测模块;
流量预测模块, 配置为根据所述标准流量数据预测所述应用业务的流 量信息。
11、根据权利要求 10所述的流量预测***, 其中, 所述流量采集模块, 配置为设定对目标应用业务进行流量采集的时间范围; 确定在所述时间范 围内流量采集的时间步长; 在所述时间范围内按照所述时间步长采集所述 应用业务的流量数据。
12、根据权利要求 11所述的流量预测***, 其中, 所述标准数据模块, 配置为确定所述目标应用业务在所述时间范围包括各预设时间段对应的流 速平均值; 所述时间范围包括多个预设时间段, 所述预设时间段包括至少 一个所述时间步长; 根据所述各预设时间段对应的平均值确定标准流量数 据。
13、根据权利要求 10所述的流量预测***,其中, 所述流量预测模块, 配置为根据所述标准流量数据构建目标应用业务流量根据时间变化的函 数, 根据所述函数得到所述目标应用业务的预测流量信息。
14、 一种流量监测***, 所述***包括: 一个或多个流量预测***、 告警模块和处理模块; 其中,
所述流量预测***为权利要求 10至 13中任意一项所述流量预测***, 配置为预测在设定时间内目标应用业务的流量信息, 并将预测到的流量信 息发送至告警模块;
处理模块, 配置为将预测得到的所述流量信息和设定的流量范围进行 比较, 并将比较结果发送至告警模块;
告警模块, 配置为根据比较结果判断所述目标应用业务在所述设定时 间内的流量信息是否正常; 若所述流量信息不在所述流量范围内, 则执行 报警动作。
15、 根据权利要求 14所述的流量监测***, 其中, 所述处理模块, 配 置为对所述目标应用业务在所述设定时间内所占用的流量进行监测; 根据 所述流量范围确定所述目标业务对应的报警等级; 所述流量范围包括多个不同等级的流量范围, 所述不同等级的流量范 围各自对应一种报警等级。
16、 根据权利要求 15所述的流量监测***, 其中, 所述告警模块, 配 置为根据监测到的流量与设定不同等级的流量范围进行比较, 并根据比较 结果执行不同报警等级。
PCT/CN2013/081072 2012-08-09 2013-08-08 一种流量预测方法、***及流量监测方法、*** WO2014023245A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210282405.XA CN103580905B (zh) 2012-08-09 2012-08-09 一种流量预测方法、***及流量监测方法、***
CN201210282405.X 2012-08-09

Publications (1)

Publication Number Publication Date
WO2014023245A1 true WO2014023245A1 (zh) 2014-02-13

Family

ID=50051890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081072 WO2014023245A1 (zh) 2012-08-09 2013-08-08 一种流量预测方法、***及流量监测方法、***

Country Status (2)

Country Link
CN (1) CN103580905B (zh)
WO (1) WO2014023245A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100928A (zh) * 2016-06-21 2016-11-09 北京百度网讯科技有限公司 应用于数据中心的监控数据的传输方法和装置
CN107231268A (zh) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 测试网站性能的方法和装置
CN111262750A (zh) * 2020-01-09 2020-06-09 ***股份有限公司 一种用于评估基线模型的方法及***
CN113992496A (zh) * 2020-07-10 2022-01-28 ***通信集团湖北有限公司 基于四分位算法的异动告警方法、装置及计算设备
CN114143266A (zh) * 2021-11-29 2022-03-04 中国平安财产保险股份有限公司 基于机器学习的流量管控方法、装置、设备及介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530219B (zh) * 2014-09-28 2019-12-10 腾讯科技(深圳)有限公司 一种连接检测方法及装置
CN104349367A (zh) * 2014-11-12 2015-02-11 深圳市中兴移动通信有限公司 一种移动终端及其流量消耗的预测提醒方法和装置
CN105979538A (zh) * 2016-07-19 2016-09-28 浪潮软件集团有限公司 一种小区中断期间损失话务量及流量的分析方法
CN106230633A (zh) * 2016-08-01 2016-12-14 中体彩科技发展有限公司 新增高频体彩游戏数据流量的预测方法及装置
CN107040475B (zh) * 2016-11-14 2020-10-02 平安科技(深圳)有限公司 资源调度方法和装置
CN111225404B (zh) * 2018-11-23 2021-08-31 华为技术有限公司 一种网络质量监控方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617512A (zh) * 2004-11-25 2005-05-18 中国科学院计算技术研究所 一种自适应网络流量预测和异常报警方法
CN101127706A (zh) * 2007-09-21 2008-02-20 烽火通信科技股份有限公司 一种基于多业务传输平台的动态带宽分配和控制***
CN101155085A (zh) * 2006-09-29 2008-04-02 中兴通讯股份有限公司 实时流量预测方法及装置和实时流量监测预警方法及装置
CN102369689A (zh) * 2011-08-11 2012-03-07 华为技术有限公司 一种网络流量的长期预测方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014031A (zh) * 2010-12-31 2011-04-13 湖南神州祥网科技有限公司 一种网络流量异常检测方法及***
CN102104509B (zh) * 2011-02-17 2013-06-19 浪潮(北京)电子信息产业有限公司 云操作***中服务器负载预测的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617512A (zh) * 2004-11-25 2005-05-18 中国科学院计算技术研究所 一种自适应网络流量预测和异常报警方法
CN101155085A (zh) * 2006-09-29 2008-04-02 中兴通讯股份有限公司 实时流量预测方法及装置和实时流量监测预警方法及装置
CN101127706A (zh) * 2007-09-21 2008-02-20 烽火通信科技股份有限公司 一种基于多业务传输平台的动态带宽分配和控制***
CN102369689A (zh) * 2011-08-11 2012-03-07 华为技术有限公司 一种网络流量的长期预测方法及装置

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231268A (zh) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 测试网站性能的方法和装置
CN106100928A (zh) * 2016-06-21 2016-11-09 北京百度网讯科技有限公司 应用于数据中心的监控数据的传输方法和装置
CN106100928B (zh) * 2016-06-21 2019-02-26 北京百度网讯科技有限公司 应用于数据中心的监控数据的传输方法和装置
CN111262750A (zh) * 2020-01-09 2020-06-09 ***股份有限公司 一种用于评估基线模型的方法及***
CN111262750B (zh) * 2020-01-09 2021-08-27 ***股份有限公司 一种用于评估基线模型的方法及***
CN113992496A (zh) * 2020-07-10 2022-01-28 ***通信集团湖北有限公司 基于四分位算法的异动告警方法、装置及计算设备
CN113992496B (zh) * 2020-07-10 2023-11-17 ***通信集团湖北有限公司 基于四分位算法的异动告警方法、装置及计算设备
CN114143266A (zh) * 2021-11-29 2022-03-04 中国平安财产保险股份有限公司 基于机器学习的流量管控方法、装置、设备及介质

Also Published As

Publication number Publication date
CN103580905B (zh) 2017-05-31
CN103580905A (zh) 2014-02-12

Similar Documents

Publication Publication Date Title
WO2014023245A1 (zh) 一种流量预测方法、***及流量监测方法、***
CN101155085B (zh) 实时流量预测方法及装置和实时流量监测预警方法及装置
US7933743B2 (en) Determining overall network health and stability
US10637760B2 (en) System and method for network capacity planning
US8520547B2 (en) System and method for measuring interface utilization using policers
JP4738358B2 (ja) 帯域計測方法及び装置
WO2013037230A1 (zh) 一种wcdma网络扩容规划的方法和装置
Jang et al. Rflow+: An sdn-based wlan monitoring and management framework
WO2016182772A1 (en) Uplink performance management
CN109412879B (zh) 端口状态参数获取方法、装置及传输设备、存储介质
KR20200116504A (ko) 데이터 처리 방법, 서버 및 데이터 수집 장치
WO2015021816A1 (zh) 链路性能测试方法、装置、逻辑处理器以及网络处理器
CN106789429B (zh) 一种自适应低代价sdn网络链路利用率测量方法及***
WO2020057746A1 (en) Technique for performing analysis of an rtp flow
JP5684748B2 (ja) ネットワーク品質監視装置及びネットワーク品質監視方法
CN107241359A (zh) 一种面向软件定义网络的轻量级网络流量异常检测方法
CN115766471B (zh) 一种基于组播流量的网络业务质量分析方法
WO2013139082A1 (zh) 一种基于门限的端到端业务性能管理方法、***和网管
CN106230661A (zh) 网络数据延迟控制方法
WO2012116551A1 (zh) 一种组播性能分析方法及***
WO2011009322A1 (zh) 业务流时长统计方法和业务流时长统计***
TW201528725A (zh) 常態分佈模式之網路異常訊務監測系統
CN113347055A (zh) 监控流量速率的方法及装置、计算机可读存储介质
de Oliveira Schmidt et al. Impact of packet sampling on link dimensioning
Deart et al. HTTP traffic measurements on access networks, analysis of results and simulation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13828209

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13828209

Country of ref document: EP

Kind code of ref document: A1