WO2018090580A1 - Method and apparatus for sensing optical access network service stream and computer storage medium - Google Patents

Method and apparatus for sensing optical access network service stream and computer storage medium Download PDF

Info

Publication number
WO2018090580A1
WO2018090580A1 PCT/CN2017/084225 CN2017084225W WO2018090580A1 WO 2018090580 A1 WO2018090580 A1 WO 2018090580A1 CN 2017084225 W CN2017084225 W CN 2017084225W WO 2018090580 A1 WO2018090580 A1 WO 2018090580A1
Authority
WO
WIPO (PCT)
Prior art keywords
service flow
access network
node
optical access
preset
Prior art date
Application number
PCT/CN2017/084225
Other languages
French (fr)
Chinese (zh)
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 WO2018090580A1 publication Critical patent/WO2018090580A1/en

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/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Definitions

  • the present invention relates to the field of service sensing technologies, and in particular, to an optical access network service flow sensing method, apparatus, and computer storage medium.
  • Optical access network refers to the use of optical fiber as the main transmission medium to realize the information transmission function of the access network.
  • Passive Optical Network is the main form of optical access network.
  • the main components of the PON system are the Optical Line Terminal (OLT) and the Optical Network Unit (ONU).
  • OLT is connected to the service node and connected to the user through the ONU.
  • Traffic flow sensing is a higher-level traffic monitoring method. It classifies and identifies data packets according to different service flow definitions, and performs corresponding resource optimization scheduling to improve the optical access network's ability to support multiple services.
  • the Echo State Network (ESN) algorithm is a new neural network algorithm that can be used for pattern recognition.
  • the ESN uses a reserve pool consisting of randomly sparsely connected nodes (neurons) as a hidden layer for high-dimensional, non-linear representation of the input.
  • the generation process of the reserve pool is independent of the training process of the echo state network. Therefore, the linear method is needed to train the weight of the reserve pool to the output layer, so that the training process of the network is simplified, and the global optimality of the weight determination is ensured.
  • Good generalization ability avoids the problems that the training algorithm existing in the traditional neural network is complex and easy to fall into the local minimum.
  • the above advantages make the echo state network have great application potential in traffic awareness.
  • the traditional reserve pool consists of a large number of nodes. This complex physical topology formed by a large number of node interconnections requires high hardware implementation techniques. Therefore, the traditional reserve pool calculation is mostly based on software, which seriously restricts the processing speed of the echo state network algorithm; in the high-speed optical access network, it is difficult to guarantee the real-time performance of the service recognition.
  • the embodiments of the present invention are directed to a method, a device, and a computer storage medium for the optical access network service identification, so as to quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network.
  • an embodiment of the present invention provides an optical access network service flow sensing method, including: receiving service flow data, extracting feature parameters of the service flow data, and normalizing the feature parameters. Processing to obtain a feature set of the service flow; The feature set of the service flow and the preset simplified echo state network model determine the classification type to which the service flow belongs.
  • the feature parameter includes: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i), where the feature parameter is Performing a normalization process to obtain a feature set of the service flow includes:
  • the determining, according to the feature set of the service flow and the preset simplified echo state network model, determining a classification type to which the service flow belongs includes: inputting a feature set of the service flow into the The preset simplified echo state network model calculates an output sample y(n); and determines a classification type to which the service flow belongs according to the calculated output sample y(n).
  • the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the reserve pool
  • N is the reserve pool
  • the total number of nodes in the pool; the nodes in the reserve pool are generated according to the preset dynamic equations.
  • the preset dynamic equation is The generating the nodes in the reserve pool according to the preset dynamic equation includes: integrating the dynamic equation to obtain a generation formula of the node x(i)
  • P is the average generation rate of the node
  • is the excitation coefficient
  • is the node death rate
  • is the node spacing
  • T is the total distance between the node x(N) and the node x(0)
  • N is the total node of the reserve pool.
  • the number, ⁇ is the preset time period constant, t is the time variable, 0 ⁇ t ⁇ ⁇ .
  • an optical access network service flow sensing device including: a parameter extraction module, configured to receive service flow data, and extract feature parameters of the service flow data.
  • a parameter processing module configured to perform normalization processing on the feature parameter to obtain a feature set of the service flow; and a classification determining module configured to perform a network model according to the feature set of the service flow and a preset simplified echo state network model Determining the classification type to which the service flow belongs.
  • the feature parameter includes: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i), where the parameter processing module is configured to : according to the formula Calculate the feature set U(i) of the traffic flow, where P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
  • the classification determining module includes: a calculation submodule configured to input a feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n); Determining a submodule configured to determine a classification type to which the service flow belongs according to the calculated output sample y(n).
  • the classification determining module is further configured to determine a preset simplified echo state network model, wherein, in the preset simplified echo state network model, the echo state network model is reserved
  • the pool structure is set to a ring topology composed of N unit nodes, where N is the total number of nodes in the reserve pool; nodes in the reserve pool are generated according to a preset dynamic equation.
  • the preset dynamic equation is The generating, by the classification determining module, the nodes in the reserve pool according to the preset dynamic equation includes: integrating the dynamic equation to obtain a generating formula of the node x(i) Where P is the average generation rate of the node, ⁇ is the excitation coefficient, ⁇ is the node death rate, ⁇ is the node spacing, T is the total distance between the node x(N) and the node x(0), and N is the total node of the reserve pool.
  • the number, ⁇ is the preset time period constant, t is the time variable, 0 ⁇ t ⁇ ⁇ .
  • an embodiment of the present invention provides, in yet another aspect, a computer storage medium, wherein the computer storage medium stores computer executable instructions for performing the implementations described above.
  • the optical access network service flow sensing method described in the example is described in the example.
  • An optical access network service flow sensing method and apparatus receive service flow data, extract feature parameters of service flow data, and obtain a feature set of a service flow according to the feature parameter, according to the feature set
  • the preset simplified echo state network model can quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network.
  • the simple ring topology and dynamic equations are combined to form nodes.
  • the complexity of the traditional echo state network model is reduced.
  • the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
  • Figure 1 shows a schematic structural diagram of a current echo state network
  • FIG. 2 is a flowchart of a method for sensing traffic flow of an optical access network according to Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of another optical access network service flow sensing method according to Embodiment 2 of the present invention.
  • FIG. 4 is a schematic structural diagram of a simplified echo state network model in Embodiment 2 of the present invention.
  • FIG. 5 is a hardware implementation block diagram of an optical access network service flow sensing method (based on a simplified echo state network) according to Embodiment 3 of the present invention
  • FIG. 6 is a schematic structural diagram of an optical access network service flow sensing device according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of another optical access network service flow sensing apparatus according to Embodiment 5 of the present invention.
  • the structure of the current echo state network is shown in Figure 1. It consists of an input layer, a reserve pool, and an output layer, which are randomly generated, large-scale, sparse connections (SD usually maintains 1%-5% connections, SD is the recursive structure of the nodes in the reserve pool that are connected to each other as a percentage of the total nodes.
  • SD usually maintains 1%-5% connections
  • the basic equations of the echo state network are the following equations (1) and (2):
  • W in represents the connection weight between the input unit and the reserve pool processing unit
  • W represents the connection weight between the internal processing units of the reserve pool
  • W back represents the connection weight between the output layer and the reserve pool
  • W out is the reserve pool and The connection weight of the output unit.
  • W in , W and W back remain unchanged after initialization, so there is no need to obtain training; and W out needs to be obtained through training.
  • the sample data obtains W out by using the randomly generated weight matrix W in and W back to stimulate the reserve pool processing unit to minimize the training mean square error by linear regression.
  • Equation (3) is used to train the initialized echo state network model, where n represents only different samples, not time.
  • the input samples must be kept unchanged until the state variables of the reserve pool tend to be stable, so that the difference between the results of the two iterations is the smallest, that is, the input sample u(n+1) is kept unchanged, and finally The (i)th iteration is consistent with the (i-1)th iteration, and an echo state network model is generated.
  • the training process of the ESN model is as follows:
  • Step 1 Initialization of the ESN. Set the size of the reserve pool (that is, the total number of nodes in the reserve pool), the internal connection weight matrix and other parameters; according to these parameters, the W in , W and W back must also be initialized;
  • Step 2 Select the training sample set. Since random events are inevitable in the data collection process, the existence of abnormal data is inevitably caused. Therefore, abnormal data needs to be identified, and normal data is selected to form a training sample set;
  • Step 3 Form the network status.
  • the state of the echo state network is updated from the initialization state, and the relevant values of the current state of the echo state network need to be saved after each round of updating;
  • Step 4 ESN training.
  • the training process of the ESN is to obtain the output weight matrix W out according to the input and output training sample pairs.
  • FIG. 2 is a flowchart of a method for sensing traffic flow of an optical access network according to an embodiment of the present invention. As shown in FIG. 2, the method may include: step S201, step S202, and step S203.
  • Step S201 Receive service flow data, and extract feature parameters of the service flow data.
  • Step S202 Perform normalization processing on the feature parameters to obtain characteristics of the service flow. set.
  • Step S203 Determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
  • An optical access network service flow sensing method receives service flow data, extracts feature parameters of service flow data, and obtains a feature set of the service flow according to the feature parameter, according to the feature set and a preset simplified echo.
  • the state network model can quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network.
  • FIG. 3 is a flowchart of another optical access network service flow sensing method according to an embodiment of the present invention. As shown in FIG. 3, the method may include: step S301, step S302, step S303, and step S304.
  • Step S301 Receive service flow data, and extract feature parameters of the service flow data.
  • the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i).
  • the data packet arrival interval is: the average time interval in which the data packets of the same service flow arrive continuously;
  • the service duration is: the duration from the first data packet to the last data packet of the same service flow.
  • Step S302 Perform normalization processing on the feature parameters to obtain a feature set of the service flow.
  • the normalizing the feature parameters to obtain the feature set of the service flow includes:
  • P SIZE_MAX is the maximum packet length of the statistics
  • P INTERVAL_MAX is the maximum packet arrival interval
  • P DUR_MAX is the maximum service duration
  • the service flow sensing method is based on a preset simplified echo state network model, which is essentially a mapping of service features to service types, and the essence thereof is to determine the classification of decision attributes (service types) according to condition attributes (service characteristics).
  • Identification mechanism The optical access network system performs service optimization scheduling according to the classification and identification result.
  • the mechanism is divided into service flow feature extraction and Simplified Echo-State-Network (S-ESN) training (same as the ESN training process described above) and S-ESN decides three processes.
  • S-ESN Simplified Echo-State-Network
  • the feature parameters are normalized according to formula (4) to avoid overfitting, thereby obtaining a feature set U(i) describing the traffic flow.
  • Step S303 Input a feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n).
  • the embodiment of the invention proposes a simplified echo state network (S-ESN) model.
  • S-ESN simplified echo state network
  • the reserve pool structure in the existing echo state network model is simplified into N unit nodes.
  • the ring topology is constructed, and the S-ESN model is shown in Figure 4.
  • the embodiment of the present invention introduces a dynamic equation with rich dynamic features to generate nodes in the reserve pool.
  • the reserve pool structure of the echo state network model is set to a ring topology composed of N unit nodes, where N is the total number of nodes in the reserve pool; nodes in the reserve pool are generated according to a preset dynamic equation.
  • the preset dynamic equation is:
  • the generating the nodes in the reserve pool according to the preset dynamic equation includes:
  • T is the total distance between node x(N) and node x(0); N is the total number of nodes in the reserve pool.
  • is a preset time period constant, t is a time variable, 0 ⁇ t ⁇ ⁇ .
  • Step S304 Determine, according to the calculated output sample y(n), the classification type to which the service flow belongs.
  • the feature set U(i) of the service flow (as an input sample) is input into the trained S-ESN, and the output sample y(n) is calculated by calculating the formula (1) and the formula (2), and according to the output sample y(n) Determine the classification type to which the service belongs, and different output samples correspond to different classification types.
  • An optical access network service flow sensing method receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model.
  • the classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved.
  • the simple ring topology and dynamic equations are combined to form nodes. On the one hand, the complexity of the traditional echo state network model is reduced.
  • the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
  • FIG. 5 shows an optical access network industry based on a simplified echo state network according to an embodiment of the present invention.
  • the hardware implementation block diagram of the flow-aware method is as shown in FIG. 5.
  • the embodiment of the present invention designs a master according to the master-slave architecture between the OLT and the ONU in the PON system.
  • the S-ESN service sensing mechanism of the slave system is composed of an "S-ESN main module" and a plurality of "S-ESN sub-modules".
  • S-ESN main module running in the OLT device, mainly responsible for the initialization and training of the S-ESN to form a well-trained S-ESN model.
  • the OLT then broadcasts the trained S-ESN model information to each ONU.
  • S-ESN sub-module Runs in the ONU device, and forms an S-ESN model according to the S-ESN information broadcast by the OLT. Then, the S-ESN sub-modules in each ONU work independently to perform service flow sensing. The S-ESN sub-module extracts the characteristic parameters of each service flow and performs normalization processing, and inputs the S-ESN model to perform the operation to obtain the classification and recognition result, that is, the S-ESN decision; then the scheduling module in the ONU performs the service according to the classification identification result. Optimize scheduling.
  • FIG. 6 is a schematic structural diagram of an optical access network service flow sensing device according to an embodiment of the present invention. As shown in FIG. 6, the device includes:
  • the parameter extraction module 61 is configured to receive service flow data, and extract feature parameters of the service flow data.
  • the parameter processing module 62 is configured to perform normalization processing on the feature parameters to obtain a feature set of the service flow;
  • the classification determining module 63 is configured to determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
  • the parameter extraction module 61, the parameter processing module 62, and the classification determining module 63 in the optical access network service flow sensing device may be used by the optical access network service flow sensing device in practical applications.
  • a central processing unit (CPU) in the device where the optical access network service flow sensing device is located and a digital signal processor (DSP, Digital Signal) Processor, Micro Control Unit (MCU) or Field-Programmable Gate Array (FPGA).
  • DSP Digital Signal
  • MCU Micro Control Unit
  • FPGA Field-Programmable Gate Array
  • An optical access network service flow sensing device receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model.
  • the classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved.
  • FIG. 7 is a schematic structural diagram of an optical access network service flow sensing device according to an embodiment of the present invention. As shown in FIG. 7, the device includes:
  • the parameter extraction module 61 is configured to receive service flow data, and extract feature parameters of the service flow data.
  • the parameter processing module 62 is configured to perform normalization processing on the feature parameters to obtain a feature set of the service flow;
  • the classification determining module 63 is configured to determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
  • the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i),
  • the parameter processing module 62 is specifically configured to:
  • P SIZE_MAX is the maximum packet length of the statistics
  • P INTERVAL_MAX is the maximum packet arrival interval
  • P DUR_MAX is the maximum service duration
  • the classification determining module 63 includes:
  • the calculation sub-module 631 is configured to input the feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n);
  • the determining sub-module 632 is configured to determine a classification type to which the service flow belongs according to the calculated output sample y(n).
  • the classification determining module 63 is further configured to:
  • the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool;
  • the nodes in the reserve pool are generated according to preset dynamic equations.
  • the preset dynamic equation is
  • the generating, by the classification determining module 63, the nodes in the reserve pool according to the preset dynamic equation includes:
  • P is the average generation rate of nodes
  • is the excitation coefficient
  • is the node extinction rate
  • is the node spacing
  • T is the total distance between node x(N) and node x(0)
  • N is the total node of the reserve pool number.
  • is a preset time period constant
  • t is a time variable, 0 ⁇ t ⁇ ⁇ .
  • the parameter extraction module 61, the parameter processing module 62, the classification determination module 63, and the sub-modules included in the classification determination module 63 in the optical access network service flow sensing device are all in practical applications. It can be implemented by a CPU, a DSP, an MCU, or an FPGA in the device where the optical access network service flow sensing device or the optical access network service flow sensing device is located.
  • An optical access network service flow sensing device receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model.
  • the classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved.
  • the simple ring topology and dynamic equations are combined to form nodes. On the one hand, the complexity of the traditional echo state network model is reduced.
  • the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
  • Embodiments of the present invention also describe a computer storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
  • the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i),
  • the one or more programs may be executed by one or more processors to implement normalization processing on the feature parameters to obtain a feature set of the service flow:
  • P SIZE_MAX is the maximum packet length of the statistics
  • P INTERVAL_MAX is the maximum packet arrival interval
  • P DUR_MAX is the maximum service duration
  • the one or more programs may be executed by the one or more processors to determine the service according to a feature set of the service flow and a preset simplified echo state network model. Steps for the classification type to which the stream belongs:
  • the classification type to which the service flow belongs is determined according to the calculated output sample y(n).
  • the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool. Generate nodes in the reserve pool based on preset dynamic equations.
  • the generating the nodes in the reserve pool according to the preset dynamic equation includes:
  • the dynamic equation is integrated to obtain a formula for generating a node x(i)
  • P is the average generation rate of the node (such as the value of 19.8)
  • is the excitation coefficient (if the value is 1)
  • is the node death rate (such as the value of 0.8)
  • is the node spacing (if the fixed value is 0.2)
  • T is the total distance between node x(N) and node x(0)
  • N is the total number of nodes in the reserve pool.
  • is a preset time period constant
  • t is a time variable, 0 ⁇ t ⁇ ⁇ .
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit;
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing may be completed by a program instruction related hardware, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiment; and the foregoing storage medium includes: mobile storage A device that can store program code, such as a device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • the service flow data is received, the feature parameters of the service flow data are extracted, and the feature set of the service flow is obtained according to the feature parameter, and then the light is according to the feature set and the preset simplified echo state network model.
  • the access network service flow sensing mode can quickly determine the classification type to which the service flow belongs, and improve the service flow sensing efficiency of the optical access network.
  • the embodiment of the present invention adopts a simple ring topology and a dynamic equation to combine to generate a node. On the one hand, the complexity of the traditional echo state network model is reduced, and on the other hand, the dynamic equation is used to generate nodes in the simplified echo state network model to maintain the operation. Accuracy.

Landscapes

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

Abstract

The embodiments of the present invention relate to a method and apparatus for sensing an optical access network service stream and a computer storage medium, the method comprising: receiving service stream data and extracting characteristic parameters of the service stream data; normalizing the characteristic parameters to obtain a characteristic set of the service stream; and determining a type of classification to which the service stream belongs according to the characteristic set of the service stream and a preset simplified echo state network model.

Description

一种光接入网业务流感知方法、装置及计算机存储介质Optical access network service flow sensing method, device and computer storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201611022505.3、申请日为2016年11月17日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 17, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及业务感知技术领域,尤其涉及一种光接入网业务流感知方法、装置及计算机存储介质。The present invention relates to the field of service sensing technologies, and in particular, to an optical access network service flow sensing method, apparatus, and computer storage medium.
背景技术Background technique
光接入网是指用光纤作为主要的传输媒质,实现接入网的信息传送功能。无源光网络(PON,Passive Optical Network)是光接入网的主要形式。PON系统的主要组成部分是光线路终端(OLT,Optical Line Terminal)和远端光网络单元(ONU,Optical Network Unit),通过OLT与业务节点相连,通过ONU与用户连接。Optical access network refers to the use of optical fiber as the main transmission medium to realize the information transmission function of the access network. Passive Optical Network (PON) is the main form of optical access network. The main components of the PON system are the Optical Line Terminal (OLT) and the Optical Network Unit (ONU). The OLT is connected to the service node and connected to the user through the ONU.
随着光接入网业务的日益复杂,为了获得较好的服务质量(QoS,Quality of Service)保障,对业务识别和分类实施相关网络行为,进一步提高业务端到端QoS的前提和基础。在分析业务性能时往往需要获悉单个业务的流量、性能以及网络承载的并发流的统计特征,用于指导流量工程策略制定与实施,业务流感知因此应运而生。业务流感知是一种更高层的流量监测方法,把数据包按照不同的业务流定义进行分类识别,并进行相应的资源优化调度,提高光接入网对多业务的支持能力。As the optical access network services become more complex, in order to obtain better quality of service (QoS) guarantees, relevant network behaviors are implemented for service identification and classification, and the premise and basis of end-to-end QoS of services are further improved. When analyzing service performance, it is often necessary to know the traffic characteristics of a single service, and the statistical characteristics of concurrent flows carried by the network, which are used to guide the formulation and implementation of traffic engineering strategies, and thus the service flow perception has emerged. Traffic flow sensing is a higher-level traffic monitoring method. It classifies and identifies data packets according to different service flow definitions, and performs corresponding resource optimization scheduling to improve the optical access network's ability to support multiple services.
在光接入网的业务流感知技术中,基于业务流特征的模式识别算法起 到日益重要的作用,而且模式识别算法的性能直接影响业务感知的准确度和效率。回声状态网络(ESN,Echo State Network)算法是一种可用于模式识别的新型神经网络算法。ESN采用由随机稀疏连接的节点(神经元)组成的储备池作为隐层,用以对输入进行高维、非线性的表示。储备池的生成过程独立于回声状态网络的训练过程,因此,只需采用线性方法训练储备池至输出层的权值,使网络的训练过程得以简化,并保证权值确定的全局最优性以及良好的泛化能力,避免了传统神经网络中存在的训练算法复杂、易陷入局部最小等问题。上述优点使得回声状态网络在业务量感知中具有极大的应用潜力。In the service flow sensing technology of the optical access network, the pattern recognition algorithm based on the characteristics of the traffic flow starts from To an increasingly important role, and the performance of pattern recognition algorithms directly affect the accuracy and efficiency of business perception. The Echo State Network (ESN) algorithm is a new neural network algorithm that can be used for pattern recognition. The ESN uses a reserve pool consisting of randomly sparsely connected nodes (neurons) as a hidden layer for high-dimensional, non-linear representation of the input. The generation process of the reserve pool is independent of the training process of the echo state network. Therefore, the linear method is needed to train the weight of the reserve pool to the output layer, so that the training process of the network is simplified, and the global optimality of the weight determination is ensured. Good generalization ability avoids the problems that the training algorithm existing in the traditional neural network is complex and easy to fall into the local minimum. The above advantages make the echo state network have great application potential in traffic awareness.
随着回声状态网络应用领域变得越来越复杂,以及应用的实时性要求不断提高,其硬件实现受到越来越多的关注。传统的储备池由大量的节点组成,这种由大量节点互连形成的复杂物理拓扑对硬件实现技术的要求很高。因此传统的储备池计算大多是基于软件完成的,严重制约了回声状态网络算法的处理速度;在高速光接入网中,难以保证业务识别感知的实时性。As the field of echo state network applications becomes more and more complex, and the real-time requirements of applications continue to increase, its hardware implementation is receiving more and more attention. The traditional reserve pool consists of a large number of nodes. This complex physical topology formed by a large number of node interconnections requires high hardware implementation techniques. Therefore, the traditional reserve pool calculation is mostly based on software, which seriously restricts the processing speed of the echo state network algorithm; in the high-speed optical access network, it is difficult to guarantee the real-time performance of the service recognition.
公开于该背景技术部分的信息仅仅旨在增加对本发明的总体背景的理解,而不应当被视为承认或以任何形式暗示该信息构成已为本领域一般技术人员所公知的现有技术。The information disclosed in this Background section is only intended to provide an understanding of the general background of the invention, and should not be construed as an admission
发明内容Summary of the invention
有鉴于此,本发明实施例期望提供一种光接入网业务识别感知的方法、装置及计算机存储介质,以快速确定业务流所属的分类类型,提高光接入网的业务流感知的效率。In view of this, the embodiments of the present invention are directed to a method, a device, and a computer storage medium for the optical access network service identification, so as to quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network.
为解决以上技术问题,本发明实施例在一方面提供一种光接入网业务流感知方法,包括:接收业务流数据,提取所述业务流数据的特征参数;对所述特征参数进行归一化处理,得到所述业务流的特征集;根据所述业 务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。To solve the above technical problem, an embodiment of the present invention provides an optical access network service flow sensing method, including: receiving service flow data, extracting feature parameters of the service flow data, and normalizing the feature parameters. Processing to obtain a feature set of the service flow; The feature set of the service flow and the preset simplified echo state network model determine the classification type to which the service flow belongs.
在一种可能的实现方式中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),所述对所述特征参数进行归一化处理,得到所述业务流的特征集包括:In a possible implementation manner, the feature parameter includes: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i), where the feature parameter is Performing a normalization process to obtain a feature set of the service flow includes:
根据公式
Figure PCTCN2017084225-appb-000001
计算业务流的特征集U(i),其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。
According to the formula
Figure PCTCN2017084225-appb-000001
Calculate the feature set U(i) of the traffic flow, where P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
在一种可能的实现方式中,所述根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型包括:将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);根据计算出的输出样本y(n)确定所述业务流所属的分类类型。In a possible implementation, the determining, according to the feature set of the service flow and the preset simplified echo state network model, determining a classification type to which the service flow belongs includes: inputting a feature set of the service flow into the The preset simplified echo state network model calculates an output sample y(n); and determines a classification type to which the service flow belongs according to the calculated output sample y(n).
在一种可能的实现方式中,在所述预设的简化回声状态网络模型中,将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;根据预设的动力学方程生成储备池中的节点。In a possible implementation manner, in the preset simplified echo state network model, the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the reserve pool The total number of nodes in the pool; the nodes in the reserve pool are generated according to the preset dynamic equations.
在一种可能的实现方式中,所述预设的动力学方程为
Figure PCTCN2017084225-appb-000002
所述根据预设的动力学方程生成储备池中的节点包括:对所述动力学方程进行积分处理,得到节点x(i)的生成公式
Figure PCTCN2017084225-appb-000003
其中,P为节点平均生成速率,α为激励系数,δ为节点消亡率,θ为节点间距,T为节点x(N)与节点x(0)之间的总距离,N为储备池总节点数,τ是预设的时间周期常数,t是时间变量,0<t<τ。
In a possible implementation manner, the preset dynamic equation is
Figure PCTCN2017084225-appb-000002
The generating the nodes in the reserve pool according to the preset dynamic equation includes: integrating the dynamic equation to obtain a generation formula of the node x(i)
Figure PCTCN2017084225-appb-000003
Where P is the average generation rate of the node, α is the excitation coefficient, δ is the node death rate, θ is the node spacing, T is the total distance between the node x(N) and the node x(0), and N is the total node of the reserve pool. The number, τ is the preset time period constant, t is the time variable, 0 < t < τ.
为解决以上技术问题,本发明实施例在另一方面提供一种光接入网业务流感知装置,其中,包括:参数提取模块,配置为接收业务流数据,提取所述业务流数据的特征参数;参数处理模块,配置为对所述特征参数进行归一化处理,得到所述业务流的特征集;分类确定模块,配置为根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。In order to solve the above technical problem, the embodiment of the present invention provides, in another aspect, an optical access network service flow sensing device, including: a parameter extraction module, configured to receive service flow data, and extract feature parameters of the service flow data. a parameter processing module configured to perform normalization processing on the feature parameter to obtain a feature set of the service flow; and a classification determining module configured to perform a network model according to the feature set of the service flow and a preset simplified echo state network model Determining the classification type to which the service flow belongs.
在一种可能的实现方式中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),所述参数处理模块配置为:根据公式
Figure PCTCN2017084225-appb-000004
计算业务流的特征集U(i),其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。
In a possible implementation manner, the feature parameter includes: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i), where the parameter processing module is configured to : according to the formula
Figure PCTCN2017084225-appb-000004
Calculate the feature set U(i) of the traffic flow, where P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
在一种可能的实现方式中,所述分类确定模块包括:计算子模块,配置为将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);确定子模块,配置为根据计算出的输出样本y(n)确定所述业务流所属的分类类型。 In a possible implementation, the classification determining module includes: a calculation submodule configured to input a feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n); Determining a submodule configured to determine a classification type to which the service flow belongs according to the calculated output sample y(n).
在一种可能的实现方式中,所述分类确定模块,还配置为确定预设的简化回声状态网络模型,其中,在所述预设的简化回声状态网络模型中,将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;根据预设的动力学方程生成储备池中的节点。In a possible implementation manner, the classification determining module is further configured to determine a preset simplified echo state network model, wherein, in the preset simplified echo state network model, the echo state network model is reserved The pool structure is set to a ring topology composed of N unit nodes, where N is the total number of nodes in the reserve pool; nodes in the reserve pool are generated according to a preset dynamic equation.
在一种可能的实现方式中,所述预设的动力学方程为
Figure PCTCN2017084225-appb-000005
所述分类确定模块根据预设的动力学方程生成储备池中的节点包括:对所述动力学方程进行积分处理,得到节点x(i)的生成公式
Figure PCTCN2017084225-appb-000006
其中,P为节点平均生成速率,α为激励系数,δ为节点消亡率,θ为节点间距,T为节点x(N)与节点x(0)之间的总距离,N为储备池总节点数,τ是预设的时间周期常数,t是时间变量,0<t<τ。
In a possible implementation manner, the preset dynamic equation is
Figure PCTCN2017084225-appb-000005
The generating, by the classification determining module, the nodes in the reserve pool according to the preset dynamic equation includes: integrating the dynamic equation to obtain a generating formula of the node x(i)
Figure PCTCN2017084225-appb-000006
Where P is the average generation rate of the node, α is the excitation coefficient, δ is the node death rate, θ is the node spacing, T is the total distance between the node x(N) and the node x(0), and N is the total node of the reserve pool. The number, τ is the preset time period constant, t is the time variable, 0 < t < τ.
为解决以上技术问题,本发明实施例在又一方面提供一种计算机存储介质,其中,所述计算机存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行上文所述各实施例所述的光接入网业务流感知方法。In order to solve the above technical problem, an embodiment of the present invention provides, in yet another aspect, a computer storage medium, wherein the computer storage medium stores computer executable instructions for performing the implementations described above. The optical access network service flow sensing method described in the example.
本发明实施例的一种光接入网业务流感知方法、装置及计算机存储介质,接收业务流数据,提取业务流数据的特征参数并根据该特征参数获得业务流的特征集,根据该特征集和预设的简化回声状态网络模型,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。而且采用简单的环形拓扑与动态方程相互结合生成节点的方式,一方面降低了传统回声状态网络模型的复杂度,另一方面用动态方程生成简化回声状态网络模型中的节点以保持运算准确度。An optical access network service flow sensing method and apparatus, and a computer storage medium, receive service flow data, extract feature parameters of service flow data, and obtain a feature set of a service flow according to the feature parameter, according to the feature set And the preset simplified echo state network model can quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network. Moreover, the simple ring topology and dynamic equations are combined to form nodes. On the one hand, the complexity of the traditional echo state network model is reduced. On the other hand, the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
根据下面参考附图对示例性实施例的详细说明,本发明的其它特征及 方面将变得清楚。Other features of the present invention will become apparent from the following detailed description of exemplary embodiments Aspects will become clear.
附图说明DRAWINGS
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本发明的示例性实施例、特征和方面,并且用于解释本发明的原理。The accompanying drawings, which are incorporated in FIG
图1示出当前的回声状态网络的结构示意图;Figure 1 shows a schematic structural diagram of a current echo state network;
图2示出本发明实施例1提供的一种光接入网业务流感知方法的流程图;FIG. 2 is a flowchart of a method for sensing traffic flow of an optical access network according to Embodiment 1 of the present invention;
图3示出本发明实施例2提供的另一种光接入网业务流感知方法的流程图FIG. 3 is a flowchart of another optical access network service flow sensing method according to Embodiment 2 of the present invention.
图4示出本发明实施例2中的简化回声状态网络模型的结构示意图;4 is a schematic structural diagram of a simplified echo state network model in Embodiment 2 of the present invention;
图5示出本发明实施例3的(基于简化回声状态网络的)光接入网业务流感知方法的硬件实现框图;5 is a hardware implementation block diagram of an optical access network service flow sensing method (based on a simplified echo state network) according to Embodiment 3 of the present invention;
图6示出本发明实施例4提供的一种光接入网业务流感知装置的结构示意图;FIG. 6 is a schematic structural diagram of an optical access network service flow sensing device according to Embodiment 4 of the present invention;
图7示出本发明实施例5提供的另一种光接入网业务流感知装置的结构示意图。FIG. 7 is a schematic structural diagram of another optical access network service flow sensing apparatus according to Embodiment 5 of the present invention.
具体实施方式detailed description
下面结合附图,对本发明的具体实施方式进行详细描述,但应当理解本发明的保护范围并不受具体实施方式的限制。The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings, but it is understood that the scope of the present invention is not limited by the specific embodiments.
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。除非另有其它明 确表示,否则在整个说明书和权利要求书中,术语“包括”或其变换如“包含”或“包括有”等等将被理解为包括所陈述的元件或组成部分,而并未排除其它元件或其它组成部分。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. Unless otherwise stated It is to be understood that the term "comprises" or "comprises" or "comprises" or "comprises" or "the" Or other components.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustrative." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or preferred.
另外,为了更好的说明本发明,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本发明同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件未作详细描述,以便于凸显本发明的主旨。In addition, numerous specific details are set forth in the Detailed Description of the invention in the Detailed Description. Those skilled in the art will appreciate that the invention may be practiced without some specific details. In some instances, methods, means, and components that are well known to those skilled in the art are not described in detail in order to facilitate the invention.
以下对当前的回声状态网络(ESN,Echo State Network)的原理进行说明:The following describes the principle of the current Echo State Network (ESN):
当前的回声状态网络的结构如图1所示,由输入层、储备池和输出层组成,所述储备池是随机生成的、大规模的、稀疏连接(SD通常保持1%-5%连接,SD是储备池中相互连接的节点占总的节点的百分比)的递归结构。假设回声状态网络由K个输入单元、N个储备池处理单元、和L个输出单元构成,则回声状态网络的基本方程为下列公式(1)和公式(2):The structure of the current echo state network is shown in Figure 1. It consists of an input layer, a reserve pool, and an output layer, which are randomly generated, large-scale, sparse connections (SD usually maintains 1%-5% connections, SD is the recursive structure of the nodes in the reserve pool that are connected to each other as a percentage of the total nodes. Assuming that the echo state network consists of K input units, N reserve pool processing units, and L output units, the basic equations of the echo state network are the following equations (1) and (2):
x(n+1)=f(Winu(n+1)+Wx(n)+Wbacky(n))        (1)x(n+1)=f(W in u(n+1)+Wx(n)+W back y(n)) (1)
y(n+1)=fout(Woutu(n+1)+Wx(n+1)+Wbacky(n))       (2)y(n+1)=f out (W out u(n+1)+Wx(n+1)+W back y(n)) (2)
其中,u(n)、x(n)和y(n)分别为ESN的输入变量、状态变量和输出变量;f和fout分别为储备池处理单元和输出单元的激活函数向量。Win表示输入单元与储备池处理单元之间的连接权值,W表示储备池内部处理单元之间的连接权值,Wback表示输出层与储备池的连接权值,Wout为储备池与输出单元的连接权值。此外,Win、W和Wback经初始化后保持不变,所以无须通过训练获得;而Wout需要通过训练获得。Where u(n), x(n), and y(n) are the input variables, state variables, and output variables of the ESN, respectively; f and f out are the activation function vectors of the reserve pool processing unit and the output unit, respectively. W in represents the connection weight between the input unit and the reserve pool processing unit, W represents the connection weight between the internal processing units of the reserve pool, W back represents the connection weight between the output layer and the reserve pool, and W out is the reserve pool and The connection weight of the output unit. In addition, W in , W and W back remain unchanged after initialization, so there is no need to obtain training; and W out needs to be obtained through training.
在ESN的训练中,样本数据通过随机生成的权值矩阵Win和Wback,激 励储备池处理单元采用线性回归使训练均方误差最小化的方法即得到WoutIn the training of ESN, the sample data obtains W out by using the randomly generated weight matrix W in and W back to stimulate the reserve pool processing unit to minimize the training mean square error by linear regression.
回声状态网络分类识别算法的基本原理如下列公式(3)所示:The basic principle of the echo state network classification and recognition algorithm is shown in the following formula (3):
Figure PCTCN2017084225-appb-000007
Figure PCTCN2017084225-appb-000007
公式(3)用于对初始化的回声状态网络模型进行训练,其中n仅表示不同的样本,而非时间。在分类训练的过程中,必须始终保持输入样本不变,直至储备池状态变量趋于稳定,使得前后两次迭代结果之间的差异最小,即保持输入样本u(n+1)不变,最终第(i)次迭代与第(i-1)次迭代结果一致,则生成回声状态网络模型。Equation (3) is used to train the initialized echo state network model, where n represents only different samples, not time. In the process of classification training, the input samples must be kept unchanged until the state variables of the reserve pool tend to be stable, so that the difference between the results of the two iterations is the smallest, that is, the input sample u(n+1) is kept unchanged, and finally The (i)th iteration is consistent with the (i-1)th iteration, and an echo state network model is generated.
ESN模型的训练过程如下:The training process of the ESN model is as follows:
步骤一:ESN的初始化。设定储备池规模(即储备池内总的节点数),内部连接权值矩阵等参数;根据这些参数,对Win、W和Wback也必须进行初始化;Step 1: Initialization of the ESN. Set the size of the reserve pool (that is, the total number of nodes in the reserve pool), the internal connection weight matrix and other parameters; according to these parameters, the W in , W and W back must also be initialized;
步骤二:选取训练样本集。由于数据采集过程中难免存在随机事件,不可避免地导致异常数据的存在,因此需要辨识出异常数据,选取正常数据形成训练样本集;Step 2: Select the training sample set. Since random events are inevitable in the data collection process, the existence of abnormal data is inevitably caused. Therefore, abnormal data needs to be identified, and normal data is selected to form a training sample set;
步骤三:形成网络状态。从初始化状态对回声状态网络进行状态更新,每一轮更新后需要保存回声状态网络当前状态的相关数值;Step 3: Form the network status. The state of the echo state network is updated from the initialization state, and the relevant values of the current state of the echo state network need to be saved after each round of updating;
步骤四:ESN训练。ESN的训练过程就是根据输入、输出训练样本对,从而获得输出权值矩阵WoutStep 4: ESN training. The training process of the ESN is to obtain the output weight matrix W out according to the input and output training sample pairs.
实施例1Example 1
图2示出本发明实施例提供的一种光接入网业务流感知方法的流程图,如图2所示,该方法可包括:步骤S201、步骤S202和步骤S203。FIG. 2 is a flowchart of a method for sensing traffic flow of an optical access network according to an embodiment of the present invention. As shown in FIG. 2, the method may include: step S201, step S202, and step S203.
步骤S201:接收业务流数据,提取所述业务流数据的特征参数。Step S201: Receive service flow data, and extract feature parameters of the service flow data.
步骤S202:对所述特征参数进行归一化处理,得到所述业务流的特征 集。Step S202: Perform normalization processing on the feature parameters to obtain characteristics of the service flow. set.
步骤S203:根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。Step S203: Determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
本发明实施例的一种光接入网业务流感知方法,接收业务流数据,提取业务流数据的特征参数并根据该特征参数获得业务流的特征集,根据该特征集和预设的简化回声状态网络模型,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。An optical access network service flow sensing method according to an embodiment of the present invention receives service flow data, extracts feature parameters of service flow data, and obtains a feature set of the service flow according to the feature parameter, according to the feature set and a preset simplified echo. The state network model can quickly determine the classification type to which the service flow belongs, and improve the efficiency of the service flow perception of the optical access network.
实施例2Example 2
图3示出本发明实施例提供的另一种光接入网业务流感知方法的流程图,如图3所示,该方法可包括:步骤S301、步骤S302、步骤S303和步骤S304。FIG. 3 is a flowchart of another optical access network service flow sensing method according to an embodiment of the present invention. As shown in FIG. 3, the method may include: step S301, step S302, step S303, and step S304.
步骤S301:接收业务流数据,提取所述业务流数据的特征参数。Step S301: Receive service flow data, and extract feature parameters of the service flow data.
在一种可能的实现方式中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i)。其中,数据包到达间隔为:同一个业务流的数据包连续到达的平均时间间隔;业务持续时间为:同一个业务流的第一个数据包到最后一个数据包的持续时间。In a possible implementation manner, the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i). The data packet arrival interval is: the average time interval in which the data packets of the same service flow arrive continuously; the service duration is: the duration from the first data packet to the last data packet of the same service flow.
步骤S302:对所述特征参数进行归一化处理,得到所述业务流的特征集。Step S302: Perform normalization processing on the feature parameters to obtain a feature set of the service flow.
在一种可能的实现方式中,所述对所述特征参数进行归一化处理,得到所述业务流的特征集包括:In a possible implementation, the normalizing the feature parameters to obtain the feature set of the service flow includes:
根据公式(4)
Figure PCTCN2017084225-appb-000008
计算业务流的特征集U(i);
According to formula (4)
Figure PCTCN2017084225-appb-000008
Calculating the feature set U(i) of the service flow;
其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。Among them, P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
本发明实施例的业务流感知方法,基于预设的简化回声状态网络模型,本质上为业务特征到业务类型的映射,其实质是根据条件属性(业务特征)确定决策属性(业务类型)的分类识别机制。光接入网系统根据分类识别结果进行业务优化调度,该机制分为业务流特征提取、简化回声状态网络(S-ESN,Simplified Echo-State-Network)训练(与上述ESN的训练过程相同)和S-ESN决策三个过程。The service flow sensing method according to the embodiment of the present invention is based on a preset simplified echo state network model, which is essentially a mapping of service features to service types, and the essence thereof is to determine the classification of decision attributes (service types) according to condition attributes (service characteristics). Identification mechanism. The optical access network system performs service optimization scheduling according to the classification and identification result. The mechanism is divided into service flow feature extraction and Simplified Echo-State-Network (S-ESN) training (same as the ESN training process described above) and S-ESN decides three processes.
对每一个接入的业务流,对收到的数据流提取其特征参数,包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i)。将特征参数根据公式(4)进行归一化处理以避免过拟合现象,从而获得描述该业务流的特征集U(i)。For each accessed traffic flow, its characteristic parameters are extracted for the received data stream, including: packet length PSIZE(i), packet arrival interval PINTERVAL(i), and service duration PDERR(i). The feature parameters are normalized according to formula (4) to avoid overfitting, thereby obtaining a feature set U(i) describing the traffic flow.
步骤S303:将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n)。Step S303: Input a feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n).
本发明实施例提出了一种简化回声状态网络(S-ESN)模型,为了降低回声状态网络中储备池的复杂度,将现有回声状态网络模型中的储备池结构简化为N个单元节点所构成的环形拓扑,S-ESN模型如图4所示。The embodiment of the invention proposes a simplified echo state network (S-ESN) model. In order to reduce the complexity of the reserve pool in the echo state network, the reserve pool structure in the existing echo state network model is simplified into N unit nodes. The ring topology is constructed, and the S-ESN model is shown in Figure 4.
在简化现有回声状态网络模型的同时,为了保持储备池运算准确度,本发明实施例引入了具有丰富的动态特征的动力学方程来生成储备池内的节点。While simplifying the existing echo state network model, in order to maintain the reserve pool operation accuracy, the embodiment of the present invention introduces a dynamic equation with rich dynamic features to generate nodes in the reserve pool.
在一种可能的实现方式中,在如图4所示的预设的简化回声状态网络模型中,In a possible implementation manner, in the preset simplified echo state network model as shown in FIG. 4,
将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;根据预设的动力学方程生成储备池中的节点。 The reserve pool structure of the echo state network model is set to a ring topology composed of N unit nodes, where N is the total number of nodes in the reserve pool; nodes in the reserve pool are generated according to a preset dynamic equation.
所述预设的动力学方程为:The preset dynamic equation is:
Figure PCTCN2017084225-appb-000009
Figure PCTCN2017084225-appb-000009
所述根据预设的动力学方程生成储备池中的节点包括:The generating the nodes in the reserve pool according to the preset dynamic equation includes:
对所述动力学方程进行积分处理,得到节点x(i)的生成公式:Integrating the dynamic equation to obtain the formula for generating the node x(i):
Figure PCTCN2017084225-appb-000010
Figure PCTCN2017084225-appb-000010
其中,P为节点平均生成速率(如取值19.8),α为激励系数(如取值为1),δ为节点消亡率(如取值0.8),θ为节点间距(如取固定值0.2)。T为节点x(N)与节点x(0)之间的总距离;N为储备池总节点数。τ是预设的时间周期常数,t是时间变量,0<t<τ。Where P is the average generation rate of the node (such as the value of 19.8), α is the excitation coefficient (if the value is 1), δ is the node death rate (such as the value of 0.8), and θ is the node spacing (if the fixed value is 0.2) . T is the total distance between node x(N) and node x(0); N is the total number of nodes in the reserve pool. τ is a preset time period constant, t is a time variable, 0 < t < τ.
步骤S304:根据计算出的输出样本y(n)确定所述业务流所属的分类类型。Step S304: Determine, according to the calculated output sample y(n), the classification type to which the service flow belongs.
将业务流的特征集U(i)(作为输入样本)输入训练后的S-ESN,通过计算公式(1)和公式(2)计算得到输出样本y(n),并根据输出样本y(n)确定该业务所属的分类类型,不同的输出样本对应不同的分类类型。The feature set U(i) of the service flow (as an input sample) is input into the trained S-ESN, and the output sample y(n) is calculated by calculating the formula (1) and the formula (2), and according to the output sample y(n) Determine the classification type to which the service belongs, and different output samples correspond to different classification types.
本发明实施例的一种光接入网业务流感知方法,接收业务流数据,提取业务流的特征参数并根据该特征参数获得特征集,根据该特征集和预设的简化回声状态网络模型,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。而且采用简单的环形拓扑与动态方程相互结合生成节点的方式,一方面降低了传统回声状态网络模型的复杂度,另一方面用动态方程生成简化回声状态网络模型中的节点以保持运算准确度。An optical access network service flow sensing method according to an embodiment of the present invention receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model. The classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved. Moreover, the simple ring topology and dynamic equations are combined to form nodes. On the one hand, the complexity of the traditional echo state network model is reduced. On the other hand, the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
实施例3Example 3
图5示出了本发明实施例的(基于简化回声状态网络的)光接入网业 务流感知方法的硬件实现框图,如图5所示,在光接入网业务感知机制的实现方式上,本发明实施例根据PON系统中OLT与ONU之间的主从式架构,设计了主从式的S-ESN业务感知机制,该机制由“S-ESN主模块”和多个“S-ESN子模块”构成。FIG. 5 shows an optical access network industry based on a simplified echo state network according to an embodiment of the present invention. The hardware implementation block diagram of the flow-aware method is as shown in FIG. 5. In the implementation manner of the optical access network service sensing mechanism, the embodiment of the present invention designs a master according to the master-slave architecture between the OLT and the ONU in the PON system. The S-ESN service sensing mechanism of the slave system is composed of an "S-ESN main module" and a plurality of "S-ESN sub-modules".
1)S-ESN主模块:运行在OLT设备中,主要负责S-ESN的初始化和训练,以形成训练完备的S-ESN模型。OLT再将训练后的S-ESN模型信息广播给各个ONU。1) S-ESN main module: running in the OLT device, mainly responsible for the initialization and training of the S-ESN to form a well-trained S-ESN model. The OLT then broadcasts the trained S-ESN model information to each ONU.
2)S-ESN子模块:运行在ONU设备中,根据OLT广播的S-ESN信息形成S-ESN模型,之后各个ONU内的S-ESN子模块分别独立工作进行业务流感知。S-ESN子模块提取每一个业务流的特征参数并进行归一化处理,输入S-ESN模型进行运算得到分类识别结果,即S-ESN决策;然后ONU中的调度模块根据分类识别结果进行业务优化调度。2) S-ESN sub-module: Runs in the ONU device, and forms an S-ESN model according to the S-ESN information broadcast by the OLT. Then, the S-ESN sub-modules in each ONU work independently to perform service flow sensing. The S-ESN sub-module extracts the characteristic parameters of each service flow and performs normalization processing, and inputs the S-ESN model to perform the operation to obtain the classification and recognition result, that is, the S-ESN decision; then the scheduling module in the ONU performs the service according to the classification identification result. Optimize scheduling.
实施例4Example 4
图6示出本发明实施例提供的一种光接入网业务流感知装置的结构示意图,如图6所示,该装置包括:FIG. 6 is a schematic structural diagram of an optical access network service flow sensing device according to an embodiment of the present invention. As shown in FIG. 6, the device includes:
参数提取模块61,配置为接收业务流数据,提取所述业务流数据的特征参数;The parameter extraction module 61 is configured to receive service flow data, and extract feature parameters of the service flow data.
参数处理模块62,配置为对所述特征参数进行归一化处理,得到所述业务流的特征集;The parameter processing module 62 is configured to perform normalization processing on the feature parameters to obtain a feature set of the service flow;
分类确定模块63,配置为根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。The classification determining module 63 is configured to determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
本发明实施例中,所述光接入网业务流感知装置中的参数提取模块61、参数处理模块62、和分类确定模块63,在实际应用中均可由所述光接入网业务流感知装置或所述光接入网业务流感知装置所在设备中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal  Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)等实现。In the embodiment of the present invention, the parameter extraction module 61, the parameter processing module 62, and the classification determining module 63 in the optical access network service flow sensing device may be used by the optical access network service flow sensing device in practical applications. Or a central processing unit (CPU) in the device where the optical access network service flow sensing device is located, and a digital signal processor (DSP, Digital Signal) Processor, Micro Control Unit (MCU) or Field-Programmable Gate Array (FPGA).
本领域技术人员应当理解,本实施例的光接入网业务流感知装置中各模块的功能,可参照实施例1所述的光接入网业务流感知方法的相关描述而理解。It should be understood by those skilled in the art that the functions of the modules in the optical access network service flow sensing device of this embodiment can be understood by referring to the related description of the optical access network service flow sensing method described in Embodiment 1.
本发明实施例的一种光接入网业务流感知装置,接收业务流数据,提取业务流的特征参数并根据该特征参数获得特征集,根据该特征集和预设的简化回声状态网络模型,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。An optical access network service flow sensing device according to an embodiment of the present invention receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model. The classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved.
实施例5Example 5
图7示出本发明实施例提供的一种光接入网业务流感知装置的结构示意图,如图7所示,该装置包括:FIG. 7 is a schematic structural diagram of an optical access network service flow sensing device according to an embodiment of the present invention. As shown in FIG. 7, the device includes:
参数提取模块61,配置为接收业务流数据,提取所述业务流数据的特征参数;The parameter extraction module 61 is configured to receive service flow data, and extract feature parameters of the service flow data.
参数处理模块62,配置为对所述特征参数进行归一化处理,得到所述业务流的特征集;The parameter processing module 62 is configured to perform normalization processing on the feature parameters to obtain a feature set of the service flow;
分类确定模块63,配置为根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。The classification determining module 63 is configured to determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
在一种可能的实现方式中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),In a possible implementation manner, the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i),
作为一种实施方式,所述参数处理模块62具体配置为: As an implementation manner, the parameter processing module 62 is specifically configured to:
根据公式
Figure PCTCN2017084225-appb-000011
计算业务流的特征集U(i),
According to the formula
Figure PCTCN2017084225-appb-000011
Calculate the feature set U(i) of the traffic flow,
其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。Among them, P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
在一种可能的实现方式中,所述分类确定模块63包括:In a possible implementation manner, the classification determining module 63 includes:
计算子模块631,配置为将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);The calculation sub-module 631 is configured to input the feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n);
确定子模块632,配置为根据计算出的输出样本y(n)确定所述业务流所属的分类类型。The determining sub-module 632 is configured to determine a classification type to which the service flow belongs according to the calculated output sample y(n).
在一种可能的实现方式中,所述分类确定模块63还配置为:In a possible implementation manner, the classification determining module 63 is further configured to:
确定预设的简化回声状态网络模型;Determining a preset simplified echo state network model;
其中,在所述预设的简化回声状态网络模型中,将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;且储备池中的节点根据预设的动力学方程生成。Wherein, in the preset simplified echo state network model, the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool; The nodes in the reserve pool are generated according to preset dynamic equations.
在一种可能的实现方式中,所述预设的动力学方程为
Figure PCTCN2017084225-appb-000012
In a possible implementation manner, the preset dynamic equation is
Figure PCTCN2017084225-appb-000012
所述分类确定模块63根据预设的动力学方程生成储备池中的节点包括:The generating, by the classification determining module 63, the nodes in the reserve pool according to the preset dynamic equation includes:
对所述动力学方程进行积分处理,得到节点x(i)的生成公式 Integrating the dynamic equation to obtain the formula for generating the node x(i)
Figure PCTCN2017084225-appb-000013
Figure PCTCN2017084225-appb-000013
其中,P为节点平均生成速率,α为激励系数,δ为节点消亡率,θ为节点间距,T为节点x(N)与节点x(0)之间的总距离;N为储备池总节点数。τ是预设的时间周期常数,t是时间变量,0<t<τ。Where P is the average generation rate of nodes, α is the excitation coefficient, δ is the node extinction rate, θ is the node spacing, T is the total distance between node x(N) and node x(0); N is the total node of the reserve pool number. τ is a preset time period constant, t is a time variable, 0 < t < τ.
本发明实施例中,所述光接入网业务流感知装置中的参数提取模块61、参数处理模块62、和分类确定模块63以及分类确定模块63所包含的各个子模块,在实际应用中均可由所述光接入网业务流感知装置或所述光接入网业务流感知装置所在设备中的CPU、DSP、MCU或FPGA等实现。In the embodiment of the present invention, the parameter extraction module 61, the parameter processing module 62, the classification determination module 63, and the sub-modules included in the classification determination module 63 in the optical access network service flow sensing device are all in practical applications. It can be implemented by a CPU, a DSP, an MCU, or an FPGA in the device where the optical access network service flow sensing device or the optical access network service flow sensing device is located.
本领域技术人员应当理解,本实施例的光接入网业务流感知装置中各模块的功能,可参照实施例2所述的光接入网业务流感知方法的相关描述而理解。It should be understood by those skilled in the art that the functions of the modules in the optical access network service flow sensing device of this embodiment can be understood by referring to the related description of the optical access network service flow sensing method described in Embodiment 2.
本发明实施例的一种光接入网业务流感知装置,接收业务流数据,提取业务流的特征参数并根据该特征参数获得特征集,根据该特征集和预设的简化回声状态网络模型,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。而且采用简单的环形拓扑与动态方程相互结合生成节点的方式,一方面降低了传统回声状态网络模型的复杂度,另一方面用动态方程生成简化回声状态网络模型中的节点以保持运算准确度。An optical access network service flow sensing device according to an embodiment of the present invention receives service flow data, extracts feature parameters of a service flow, and obtains a feature set according to the feature parameter, according to the feature set and a preset simplified echo state network model. The classification type of the service flow can be quickly determined, and the efficiency of the service flow perception of the optical access network is improved. Moreover, the simple ring topology and dynamic equations are combined to form nodes. On the one hand, the complexity of the traditional echo state network model is reduced. On the other hand, the dynamic equations are used to generate nodes in the simplified echo state network model to maintain the operation accuracy.
本发明实施例还记载了一种计算机存储介质,所述计算机存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:Embodiments of the present invention also describe a computer storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
接收业务流数据,提取所述业务流数据的特征参数; Receiving service flow data, and extracting characteristic parameters of the service flow data;
对所述特征参数进行归一化处理,得到所述业务流的特征集;Normalizing the feature parameters to obtain a feature set of the service flow;
根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。Determining, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
作为一种实施方式,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),As an implementation manner, the feature parameters include: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i),
所述一个或者多个程序可被一个或者多个处理器执行,以实现对所述特征参数进行归一化处理,得到所述业务流的特征集的步骤:The one or more programs may be executed by one or more processors to implement normalization processing on the feature parameters to obtain a feature set of the service flow:
根据公式
Figure PCTCN2017084225-appb-000014
计算业务流的特征集U(i),
According to the formula
Figure PCTCN2017084225-appb-000014
Calculate the feature set U(i) of the traffic flow,
其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。Among them, P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
作为一种实施方式,所述一个或者多个程序还可被所述一个或者多个处理器执行,以实现根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型的步骤:In one embodiment, the one or more programs may be executed by the one or more processors to determine the service according to a feature set of the service flow and a preset simplified echo state network model. Steps for the classification type to which the stream belongs:
将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);Inputting a feature set of the service flow into the preset simplified echo state network model, and calculating an output sample y(n);
根据计算出的输出样本y(n)确定所述业务流所属的分类类型。The classification type to which the service flow belongs is determined according to the calculated output sample y(n).
作为一种实施方式,在预设的简化回声状态网络模型中,将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;根据预设的动力学方程生成储备池中的节点。As an implementation manner, in a preset simplified echo state network model, the reserve pool structure of the echo state network model is set to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool. Generate nodes in the reserve pool based on preset dynamic equations.
所述预设的动力学方程为
Figure PCTCN2017084225-appb-000015
The preset dynamic equation is
Figure PCTCN2017084225-appb-000015
所述根据预设的动力学方程生成储备池中的节点包括:The generating the nodes in the reserve pool according to the preset dynamic equation includes:
作为一种实施方式,对所述动力学方程进行积分处理,得到节点x(i)的生成公式
Figure PCTCN2017084225-appb-000016
其中,P为节点平均生成速率(如取值19.8),α为激励系数(如取值为1),δ为节点消亡率(如取值0.8),θ为节点间距(如取固定值0.2)。T为节点x(N)与节点x(0)之间的总距离;N为储备池总节点数。τ是预设的时间周期常数,t是时间变量,0<t<τ。
As an embodiment, the dynamic equation is integrated to obtain a formula for generating a node x(i)
Figure PCTCN2017084225-appb-000016
Where P is the average generation rate of the node (such as the value of 19.8), α is the excitation coefficient (if the value is 1), δ is the node death rate (such as the value of 0.8), and θ is the node spacing (if the fixed value is 0.2) . T is the total distance between node x(N) and node x(0); N is the total number of nodes in the reserve pool. τ is a preset time period constant, t is a time variable, 0 < t < τ.
本领域技术人员应当理解,本实施例的计算机存储介质中各程序的功能,可参照实施例所述的光接入网业务流感知方法的相关描述而理解。It should be understood by those skilled in the art that the functions of the programs in the computer storage medium of the present embodiment can be understood by referring to the related description of the optical access network service flow sensing method described in the embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art can understand that all or part of the steps of the above method embodiments are implemented. The foregoing may be completed by a program instruction related hardware, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiment; and the foregoing storage medium includes: mobile storage A device that can store program code, such as a device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a standalone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
前述对本发明的具体示例性实施方案的描述是为了说明和例证的目的。这些描述并非想将本发明限定为所公开的精确形式,并且很显然,根据上述教导,可以进行很多改变和变化。对示例性实施例进行选择和描述的目的在于解释本发明的特定原理及其实际应用,从而使得本领域的技术人员能够实现并利用本发明的各种不同的示例性实施方案以及各种不同的选择和改变。本发明的范围意在由权利要求书及其等同形式所限定。The foregoing description of the specific exemplary embodiments of the present invention has The description is not intended to limit the invention to the precise forms disclosed. The embodiments were chosen and described in order to explain the particular embodiments of the invention Choose and change. The scope of the invention is intended to be defined by the claims and their equivalents.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。 The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
工业实用性Industrial applicability
本发明实施例,通过接收业务流数据,提取所述业务流数据的特征参数,并根据该特征参数获得业务流的特征集,然后根据该特征集和预设的简化回声状态网络模型这种光接入网业务流感知方式,能够快速确定业务流所属的分类类型,提高了光接入网的业务流感知的效率。本发明实施例采用简单的环形拓扑与动态方程相互结合生成节点的方式,一方面降低了传统回声状态网络模型的复杂度,另一方面用动态方程生成简化回声状态网络模型中的节点以保持运算准确度。 In the embodiment of the present invention, the service flow data is received, the feature parameters of the service flow data are extracted, and the feature set of the service flow is obtained according to the feature parameter, and then the light is according to the feature set and the preset simplified echo state network model. The access network service flow sensing mode can quickly determine the classification type to which the service flow belongs, and improve the service flow sensing efficiency of the optical access network. The embodiment of the present invention adopts a simple ring topology and a dynamic equation to combine to generate a node. On the one hand, the complexity of the traditional echo state network model is reduced, and on the other hand, the dynamic equation is used to generate nodes in the simplified echo state network model to maintain the operation. Accuracy.

Claims (11)

  1. 一种光接入网业务流感知方法,所述光接入网业务流感知方法包括:An optical access network service flow sensing method, where the optical access network service flow sensing method includes:
    接收业务流数据,提取所述业务流数据的特征参数;Receiving service flow data, and extracting characteristic parameters of the service flow data;
    对所述特征参数进行归一化处理,得到所述业务流的特征集;Normalizing the feature parameters to obtain a feature set of the service flow;
    根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。Determining, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
  2. 根据权利要求1所述的光接入网业务流感知方法,其中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),The optical access network service flow sensing method according to claim 1, wherein the characteristic parameters comprise: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i) ),
    所述对所述特征参数进行归一化处理,得到所述业务流的特征集包括:Performing normalization on the feature parameters to obtain a feature set of the service flow includes:
    根据公式
    Figure PCTCN2017084225-appb-100001
    计算业务流的特征集U(i),
    According to the formula
    Figure PCTCN2017084225-appb-100001
    Calculate the feature set U(i) of the traffic flow,
    其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。Among them, P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
  3. 根据权利要求1或2所述的光接入网业务流感知方法,其中,所述根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型包括:The optical access network service flow sensing method according to claim 1 or 2, wherein the determining, according to the feature set of the service flow and the preset simplified echo state network model, determining a classification type to which the service flow belongs includes :
    将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);Inputting a feature set of the service flow into the preset simplified echo state network model, and calculating an output sample y(n);
    根据计算出的输出样本y(n)确定所述业务流所属的分类类型。The classification type to which the service flow belongs is determined according to the calculated output sample y(n).
  4. 根据权利要求1或2所述的光接入网业务流感知方法,其中,在所 述预设的简化回声状态网络模型中,The optical access network service flow sensing method according to claim 1 or 2, wherein In the preset simplified echo state network model,
    将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;Setting the reserve pool structure of the echo state network model to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool;
    根据预设的动力学方程生成储备池中的节点。Generate nodes in the reserve pool based on preset dynamic equations.
  5. 根据权利要求4所述的光接入网业务流感知方法,其中,所述预设的动力学方程为
    Figure PCTCN2017084225-appb-100002
    The optical access network service flow sensing method according to claim 4, wherein the preset dynamic equation is
    Figure PCTCN2017084225-appb-100002
    所述根据预设的动力学方程生成储备池中的节点包括:The generating the nodes in the reserve pool according to the preset dynamic equation includes:
    对所述动力学方程进行积分处理,得到节点x(i)的生成公式Integrating the dynamic equation to obtain the formula for generating the node x(i)
    Figure PCTCN2017084225-appb-100003
    Figure PCTCN2017084225-appb-100003
    其中,P为节点平均生成速率,α为激励系数,δ为节点消亡率,θ为节点间距,T为节点x(N)与节点x(0)之间的总距离,N为储备池总节点数,τ是预设的时间周期常数,t是时间变量,0<t<τ。Where P is the average generation rate of the node, α is the excitation coefficient, δ is the node death rate, θ is the node spacing, T is the total distance between the node x(N) and the node x(0), and N is the total node of the reserve pool. The number, τ is the preset time period constant, t is the time variable, 0 < t < τ.
  6. 一种光接入网业务流感知装置,所述光接入网业务流感知装置包括:An optical access network service flow sensing device, where the optical access network service flow sensing device includes:
    参数提取模块,配置为接收业务流数据,提取所述业务流数据的特征参数;a parameter extraction module, configured to receive service flow data, and extract feature parameters of the service flow data;
    参数处理模块,配置为对所述特征参数进行归一化处理,得到所述业务流的特征集;a parameter processing module, configured to perform normalization processing on the feature parameter to obtain a feature set of the service flow;
    分类确定模块,配置为根据所述业务流的特征集和预设的简化回声状态网络模型,确定所述业务流所属的分类类型。The classification determining module is configured to determine, according to the feature set of the service flow and the preset simplified echo state network model, a classification type to which the service flow belongs.
  7. 根据权利要求6所述的光接入网业务流感知装置,其中,所述特征参数包括:数据包长PSIZE(i)、数据包到达间隔PINTERVAL(i)、业务持续时间PDUR(i),The optical access network traffic flow sensing device according to claim 6, wherein the characteristic parameters comprise: a packet length P SIZE (i), a packet arrival interval P INTERVAL (i), and a service duration P DUR (i) ),
    所述参数处理模块配置为: The parameter processing module is configured to:
    根据公式
    Figure PCTCN2017084225-appb-100004
    计算业务流的特征集U(i),
    According to the formula
    Figure PCTCN2017084225-appb-100004
    Calculate the feature set U(i) of the traffic flow,
    其中,PSIZE_MAX为统计的最大数据包长,PINTERVAL_MAX为最大的数据包到达间隔,PDUR_MAX为最大的业务持续时间。Among them, P SIZE_MAX is the maximum packet length of the statistics, P INTERVAL_MAX is the maximum packet arrival interval, and P DUR_MAX is the maximum service duration.
  8. 根据权利要求6或7所述的光接入网业务流感知装置,其中,所述分类确定模块包括:The optical access network service flow sensing device according to claim 6 or 7, wherein the classification determining module comprises:
    计算子模块,配置为将所述业务流的特征集输入所述预设的简化回声状态网络模型,计算输出样本y(n);a calculation submodule configured to input a feature set of the service flow into the preset simplified echo state network model, and calculate an output sample y(n);
    确定子模块,配置为根据计算出的输出样本y(n)确定所述业务流所属的分类类型。Determining a submodule configured to determine a classification type to which the service flow belongs according to the calculated output sample y(n).
  9. 根据权利要求6或7所述的光接入网业务流感知装置,其中,所述分类确定模块,还配置为:The optical access network service flow sensing device according to claim 6 or 7, wherein the classification determining module is further configured to:
    确定预设的简化回声状态网络模型;Determining a preset simplified echo state network model;
    在所述预设的简化回声状态网络模型中,In the preset simplified echo state network model,
    将回声状态网络模型的储备池结构设置为N个单元节点所构成的环形拓扑,其中N为所述储备池中的总节点数;Setting the reserve pool structure of the echo state network model to a ring topology formed by N unit nodes, where N is the total number of nodes in the reserve pool;
    根据预设的动力学方程生成储备池中的节点。Generate nodes in the reserve pool based on preset dynamic equations.
  10. 根据权利要求9所述的光接入网业务流感知装置,其中,所述预设的动力学方程为
    Figure PCTCN2017084225-appb-100005
    The optical access network traffic flow sensing device according to claim 9, wherein the preset dynamic equation is
    Figure PCTCN2017084225-appb-100005
    所述分类确定模块,还配置为:The classification determining module is further configured to:
    对所述动力学方程进行积分处理,得到节点x(i)的生成公式 Integrating the dynamic equation to obtain the formula for generating the node x(i)
    Figure PCTCN2017084225-appb-100006
    Figure PCTCN2017084225-appb-100006
    其中,P为节点平均生成速率,α为激励系数,δ为节点消亡率,θ为节点间距,T为节点x(N)与节点x(0)之间的总距离,N为储备池总节点数,τ是预设的时间周期常数,t是时间变量,0<t<τ。Where P is the average generation rate of the node, α is the excitation coefficient, δ is the node death rate, θ is the node spacing, T is the total distance between the node x(N) and the node x(0), and N is the total node of the reserve pool. The number, τ is the preset time period constant, t is the time variable, 0 < t < τ.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至5任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 5.
PCT/CN2017/084225 2016-11-17 2017-05-12 Method and apparatus for sensing optical access network service stream and computer storage medium WO2018090580A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611022505.3 2016-11-17
CN201611022505.3A CN106375136B (en) 2016-11-17 2016-11-17 A kind of optical access network Business Stream cognitive method and device

Publications (1)

Publication Number Publication Date
WO2018090580A1 true WO2018090580A1 (en) 2018-05-24

Family

ID=57892572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084225 WO2018090580A1 (en) 2016-11-17 2017-05-12 Method and apparatus for sensing optical access network service stream and computer storage medium

Country Status (2)

Country Link
CN (1) CN106375136B (en)
WO (1) WO2018090580A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709140A (en) * 2020-06-18 2020-09-25 上海海事大学 Ship motion forecasting method based on internal plasticity echo state network

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375136B (en) * 2016-11-17 2019-01-25 北京智芯微电子科技有限公司 A kind of optical access network Business Stream cognitive method and device
CN107682189B (en) * 2017-09-29 2021-03-02 锐捷网络股份有限公司 Method for identifying network requirements based on neural network and network equipment
CN107820141B (en) * 2017-10-25 2020-02-21 北京智芯微电子科技有限公司 Method and system for sensing service flow of passive optical network
CN112422451A (en) * 2020-10-13 2021-02-26 国网冀北电力有限公司信息通信分公司 Service sensing method and device of network edge system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110364B1 (en) * 2001-04-19 2006-09-19 Fujitsu Limited Optical link adjacency discovery protocol and an optical network therefor
CN101753421A (en) * 2008-11-28 2010-06-23 中兴通讯股份有限公司 Method and device for dynamic bandwidth allocation in gigabit passive optical network
CN102075352A (en) * 2010-12-17 2011-05-25 北京邮电大学 Method and device for predicting network user behavior
CN104463323A (en) * 2013-09-17 2015-03-25 北京邮电大学 Data prediction method and apparatus
CN105978732A (en) * 2016-06-27 2016-09-28 华北理工大学 Method and system for optimizing parameters of minimum complexity echo state network based on particle swarm
CN106375136A (en) * 2016-11-17 2017-02-01 北京智芯微电子科技有限公司 Optical access network service flow sensing method and optical access network service flow sensing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262211A (en) * 2011-04-20 2011-11-30 哈尔滨工业大学 Analog circuit failure diagnosis method based on dynamic classification of echo state network
WO2014203039A1 (en) * 2013-06-19 2014-12-24 Aselsan Elektronik Sanayi Ve Ticaret Anonim Sirketi System and method for implementing reservoir computing using cellular automata
CN105719018A (en) * 2016-01-21 2016-06-29 中国科学院自动化研究所 Electricity consumption prediction method based on echo state network and electricity consumption prediction system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110364B1 (en) * 2001-04-19 2006-09-19 Fujitsu Limited Optical link adjacency discovery protocol and an optical network therefor
CN101753421A (en) * 2008-11-28 2010-06-23 中兴通讯股份有限公司 Method and device for dynamic bandwidth allocation in gigabit passive optical network
CN102075352A (en) * 2010-12-17 2011-05-25 北京邮电大学 Method and device for predicting network user behavior
CN104463323A (en) * 2013-09-17 2015-03-25 北京邮电大学 Data prediction method and apparatus
CN105978732A (en) * 2016-06-27 2016-09-28 华北理工大学 Method and system for optimizing parameters of minimum complexity echo state network based on particle swarm
CN106375136A (en) * 2016-11-17 2017-02-01 北京智芯微电子科技有限公司 Optical access network service flow sensing method and optical access network service flow sensing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709140A (en) * 2020-06-18 2020-09-25 上海海事大学 Ship motion forecasting method based on internal plasticity echo state network

Also Published As

Publication number Publication date
CN106375136A (en) 2017-02-01
CN106375136B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
WO2018090580A1 (en) Method and apparatus for sensing optical access network service stream and computer storage medium
US10218716B2 (en) Technologies for analyzing uniform resource locators
Bhatele et al. Identifying the culprits behind network congestion
Kolhe et al. Smart city implementation based on Internet of Things integrated with optimization technology
CN111740950A (en) SDN environment DDoS attack detection and defense method
Mokryn et al. Help Me: Opportunistic smart rescue application and system
US20180330226A1 (en) Question recommendation method and device
CN108540338B (en) Application layer communication protocol identification method based on deep cycle neural network
CN107705212A (en) A kind of role recognition method based on population random walk
CN111431819A (en) Network traffic classification method and device based on serialized protocol flow characteristics
Mao et al. A comprehensive algorithm for evaluating node influences in social networks based on preference analysis and random walk
Wang et al. Towards large-scale social networks with online diffusion provenance detection
Wang et al. Botnet detection using social graph analysis
Xu et al. [Retracted] DDoS Detection Using a Cloud‐Edge Collaboration Method Based on Entropy‐Measuring SOM and KD‐Tree in SDN
Xiao et al. A traffic classification method with spectral clustering in SDN
Lu et al. Predicting viral news events in online media
Liu et al. Dynamic traffic classification algorithm and simulation of energy Internet of things based on machine learning
Gao et al. A deep learning framework with spatial-temporal attention mechanism for cellular traffic prediction
Guo et al. A novel cluster-head selection algorithm based on hybrid genetic optimization for wireless sensor networks
CN104504266A (en) Graph partitioning method based on shortest path and density clustering
Zhang et al. Sustaining the high performance of ai-based network traffic classification models
US11836637B2 (en) Construction method of human-object-space interaction model based on knowledge graph
Aziz et al. Content-Aware Network Traffic Prediction Framework for Quality of Service-Aware Dynamic Network Resource Management
CN107820141B (en) Method and system for sensing service flow of passive optical network
Wang et al. Online diffusion source detection in social networks

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: 17871130

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: 17871130

Country of ref document: EP

Kind code of ref document: A1