CN105049277A - Network flow generation method based on data flow features - Google Patents

Network flow generation method based on data flow features Download PDF

Info

Publication number
CN105049277A
CN105049277A CN201510308828.8A CN201510308828A CN105049277A CN 105049277 A CN105049277 A CN 105049277A CN 201510308828 A CN201510308828 A CN 201510308828A CN 105049277 A CN105049277 A CN 105049277A
Authority
CN
China
Prior art keywords
network
data flow
network data
message
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510308828.8A
Other languages
Chinese (zh)
Other versions
CN105049277B (en
Inventor
唐积强
王东滨
邹潇湘
董琳
颜靖华
张勖
智慧
张俊辉
吴可欣
晋红亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
National Computer Network and Information Security Management Center
Original Assignee
Beijing University of Posts and Telecommunications
National Computer Network and Information Security Management Center
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 Beijing University of Posts and Telecommunications, National Computer Network and Information Security Management Center filed Critical Beijing University of Posts and Telecommunications
Priority to CN201510308828.8A priority Critical patent/CN105049277B/en
Publication of CN105049277A publication Critical patent/CN105049277A/en
Application granted granted Critical
Publication of CN105049277B publication Critical patent/CN105049277B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

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

Abstract

The invention provides a network flow generation method based on data flow features. The key is to introduce the feature attribute value of a network data flow in a unit time window into a network flow generation method. The method can construct the network data flow in the unit time window according to feature values of a configured new network data flow in the unit time window, network data flow duration distribution, message quantity distribution of each type of network data flows, message transmission time distribution and message dimension distribution and the like, realizes network data flow generation and enables the feature attribute of the network flow generated in each time window to accord with each configured feature attribute value of the network data flows. The network flow generation method based on the data flow features can generate the network data flow which fluctuates and changes along with time and accords with specific attribute features in unit time.

Description

A kind of network traffics generation method based on data flow characteristics
(1) technical field
The present invention relates to network traffics generation technique.
(2) background technology
Traffic generating problem is the problem of domestic and international academia, business circles extensive concern always.In existing network, real traffic supports every network security and the every experiment of information security and the extremely important resource of test job, the traditional analog flow generated compared to directly adopting instrument, live network flow has each side feature such as authenticity, complexity of content and feature, and instrument cannot realize continuing to produce the long-term network traffics meeting live network traffic characteristic.But real traffic has temporal properties, often there is not reproducibility and uncontrollability, the location of problem and analysis when being unfavorable for that device emulation is tested; Meanwhile, real traffic derives from real network environment, has reacted user behavior, often carries a large amount of user behavior information and individual privacy information, and this just significantly limit the permission scope of application and the service efficiency of real traffic.The network traffics how generating approaching to reality data flows of traffic feature according to the regularity of distribution of principal character solve the effective ways that real traffic uses problem, is also the important channel of lifting means test, network service, safety product test environment structure.
Network traffics generation method based on data flow characteristics is that feature according to the data flow regularity of distribution such as (quantity of five-tuple stream information, data stream size, stream duration, stream feature) produces network traffics.Uhlig, S. use the arrival process of stream, the size of stream and speed three variablees of stream to control the generation of flow in calendar year 2001, wherein take the arrival process of Poisson distribution control flow check, the size of stream takes exponential distribution, in stream, speed then takes constant, can produce Self-Similar Network Traffic.The people such as WangLin Feng utilize multiple windows thread to send a series of stream to generate flow, describe by four parameters for each stream: the transmission time interval distribution of bag, the distribution of sizes of bag, the duration of stream, the transmission interval of stream.The transmission interval of the time interval, bag distribution of sizes, stream can be appointed as constant, be uniformly distributed, exponential distribution, normal distribution, pareto distribution and exponential distribution.User configures different parameter distribution, controls transmitting terminal send data generation flow to receiving terminal request by controller end according to configuration information.The Harpoon instrument of University of Wisconsin-Madison pungent university's Madison branch school development adopts the thought of flow, produces representative data traffic at IPflow-level.Add up and the experience distribution of the size of analysis stream, connect hours interval, order IP address, source, the interior active session number of certain hour etc., and adopt client-server form to realize the generation of flow according to the distribution of these experiences, be consistent with the size of the byte of original flow, number-of-packet and stream.The BreakingPoint test platform of Ixia company configures according to user, and simulation corresponding mixing application flow meets the needs of test.
In recent years, network size constantly expands, network configuration is increasingly sophisticated, the complexity of the composition of network traffics, network traffics characteristic is caused to improve, how produce the flow close with real traffic according to traffic characteristic distribution, for testing of equipment, the development that improves network service and safety product provide important technology support and guarantee.On the one hand, by network traffics that is virtually reality like reality be Topological expansion, procotol is improved, network service quality improves provides reliability and analysis on its rationality, to meet the network demand that day by day increases, ensures the network service of stability and high efficiency; On the other hand, for upgrading network equipment, network system increase build, safety product development reliable Testing Platform is provided.
(3) summary of the invention
The object of this invention is to provide a kind of network traffics generation method based on data flow characteristics.Data Stream on Networks feature, adopts single device constructing network data stream, is created on the network traffics that express network circuit transmits, for testing of equipment, the development that improves network service and safety product provide important technology support and guarantee.
The present invention in order to the technical scheme realizing its goal of the invention and adopt is: a kind of network traffics generation method based on data flow characteristics, comprises the following steps:
1) load each time window network data flow characteristic attribute, comprising: in characteristic values such as the message amount distribution of the newly-increased network data flow quantity of each time window, network data flow continuous time and its distribution, all types of network data flow, message transfer time distribution and message size distributions;
2) in network traffics generative process, when each time window starts, newly set up the network data flow of respective numbers according to the newly-increased network data flow quantity of the actual time window of configuration, and determine according to network data flow continuous time and its distribution the time window that this stream continues;
3) according to the statistical information of actual time window network data flow, the network data stream information needing at this moment to send network data message is determined,
4) according to the network data stream information of current selection, transport layer protocol message information is determined;
5) according to the transport layer protocol state of network data flow, determine the data message type of present construction, then according to the distribution of sizes of data message, determine the size of network data message load;
6) the transport layer header message of constructing network data message;
7) according to the transport layer information construction data network layer header of network data flow;
8) according to data network network layers information, construction data link layer stem;
9) according to network message transmission time distribution characteristics, network data stream packet transmitting time is determined;
10) the network data stream packet of structure is sent to determines in the network of network interface;
11) according to actual time window network data message amount, determine whether that network data message needs structure transmission in addition, if it is proceed next network data message structure and transmission, modulation is to step 3;
12) judge whether that the network traffic data of next time window in addition needs to generate, if it is turn and jump to step 2; Otherwise task terminates.
A kind of network traffics generation method based on data flow characteristics provided by the invention, have the following advantages: the present invention can produce the network traffic data meeting particular network data flow characteristics attribute, the traditional analog flow generated compared to directly adopting instrument, this invention can continue to produce the time dependent network traffic data meeting particular network data flow characteristics attribute for a long time, also can produce the network data stream meeting live network traffic characteristic attribute simultaneously, avoid the problem that real traffic allows the scope of application; Employing client and server different from the past carries out alternating transmission form and produces connection-oriented network traffics, but adopt single device constructing network data flow, the connection-oriented network traffic data in an independent direction can be produced, also can produce two-way connection-oriented network traffic data, wherein send message from different network interfaces and represent client respectively and send or the network traffic data that sends of server end; There is not the time delay situation that communicating pair causes alternately in the method simultaneously, therefore, it is possible to generation network traffic data more at a high speed.
(4) accompanying drawing explanation
Accompanying drawing 1 is the network traffics generation method flow diagram based on data flow characteristics;
Accompanying drawing 2 is the network topological diagram of the embodiment of the present invention.
(5) embodiment
Below in conjunction with accompanying drawing, enforcement of the present invention is described in detail.
Comprise the following steps:
1) load each time window network data flow characteristic attribute, comprising: in characteristic values such as the message amount distribution of the newly-increased network data flow quantity of each time window, network data flow continuous time and its distribution, all types of network data flow, message transfer time distribution and message size distributions.These statistical characteristics can derive from network traffic analysis system carries out acquisition process statistical nature to live network data.
2) in network traffics generative process, when each time window starts, newly set up the network data flow of respective numbers according to the newly-increased network data flow quantity of the actual time window of configuration, and determine according to network data flow continuous time and its distribution the time window that this stream continues.Control the network data flow quantity newly produced at this time window thus, determine the time started of network data flow and the end time of network data flow simultaneously.At this time window, not only have newly-increased network data flow, also comprise the network data flow that previous time window exists, these data flow also produce network traffic data at this time window.The network protocol type of new generation comprises TCP, UDP, SCTP etc.The effective protocol information of this protocol data-flow of stochastic generation.
3) according to the statistical information of the generation network data message amount of actual time window network data flow, by equally distributed random function, a network data stream information sending network data message is determined.
4) according to the network data stream information of current selection, the agreement of the network data message that will produce can be determined, comprise transport layer, network layer and data link layer protocol.
5) transport layer protocol and transmission state can be determined according to the information of network data flow.Carry out establishment of connection or carry out the structure of load message, according to the distribution of sizes of data message, chosen the data length of load message by equally distributed random function.
6) according to transport layer protocol state and load information, the transport layer header message of constructing network data message.
7) according to the transport layer information construction data network layer header of network data flow.
8) according to data network network layers information, construction data link layer stem.
9) according to network message transmission time Distribution Statistics, network data stream packet transmitting time is determined.
10) be sent to by the network data stream packet of structure and determine in the network of network interface, certain network interface can represent client or server end in the present invention, shows that this rectifies the network data flow sending some directions.Network topological diagram shown in Fig. 2, adopt single device constructing network data flow, the connection-oriented network traffic data in an independent direction can be produced, also can produce two-way connection-oriented network traffic data, wherein send message from different network interfaces and represent client respectively and send or the network traffic data that sends of server end.
11) according to actual time window network data message amount, determine whether that network data message needs structure transmission in addition, if it is proceed next network data message structure and transmission, modulation is to step 3.
12) judge whether that the network traffic data of next time window in addition needs to generate, if it is turn and jump to step 2; Otherwise task terminates.

Claims (5)

1. the network traffics generation method based on data flow characteristics, adopts single device constructing network data stream, is created on the network traffics that express network circuit transmits.It is characterized in that the method comprises the following steps:
1) load each time window network data flow characteristic attribute, comprising: in characteristic values such as the message amount distribution of the newly-increased network data flow quantity of each time window, network data flow continuous time and its distribution, all types of network data flow, message transfer time distribution and message size distributions;
2) in network traffics generative process, when each time window starts, newly set up the network data flow of respective numbers according to the newly-increased network data flow quantity of the actual time window of configuration, and determine according to network data flow continuous time and its distribution the time window that this stream continues;
3) according to the statistical information of actual time window network data flow, the network data stream information needing at this moment to send network data message is determined,
4) according to the network data stream information of current selection, transport layer protocol message information is determined;
5) according to the transport layer protocol state of network data flow, determine the data message type of present construction, then according to the distribution of sizes of data message, determine the size of network data message load;
6) the transport layer header message of constructing network data message;
7) according to the transport layer information construction data network layer header of network data flow;
8) according to data network network layers information, construction data link layer stem;
9) according to network message transmission time distribution characteristics, network data stream packet transmitting time is determined;
10) the network data stream packet of structure is sent to determines in the network of network interface;
11) according to actual time window network data message amount, determine whether that network data message needs structure transmission in addition, if it is proceed next network data message structure and transmission, modulation is to step 3;
12) judge whether that the network traffic data of next time window in addition needs to generate, if it is turn and jump to step 2; Otherwise task terminates.
2. a kind of network traffics generation method based on data flow characteristics according to claim 1, it is characterized in that: employing client and server different from the past carries out alternating transmission form and produces connection-oriented network traffics, but adopt single device constructing network data flow, the connection-oriented network traffic data in an independent direction can be produced, also can produce two-way connection-oriented network traffic data, wherein send message from different network interfaces and represent client respectively and send or the network traffic data that sends of server end.There is not the time delay situation that communicating pair causes alternately in the method simultaneously, therefore, it is possible to generation network traffic data more at a high speed.
3. a kind of network traffics generation method based on data flow characteristics according to claim 1, it is characterized in that: step 2) described in " according to network data flow continuous time and its distribution determine this stream continue time window ", refer to the time started of net control data flow and the end time of network data flow thus.
4. a kind of network traffics generation method based on data flow characteristics according to claim 1, it is characterized in that: step 5) described in " according to the transport layer protocol state of network data flow; determine the data message type of present construction ", refer to that the network data message generated at present is the handshaking information that connects of network data flow or containing loaded network data message.
5. a kind of network traffics generation method based on data flow characteristics according to claim 1, it is characterized in that: step 10) described in " the network data stream packet of structure is sent to and determines in the network of network interface ", refer to that the network data message of generation sends from client, or send from server end.
CN201510308828.8A 2015-06-08 2015-06-08 A kind of network flow generation method based on data flow characteristics Expired - Fee Related CN105049277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510308828.8A CN105049277B (en) 2015-06-08 2015-06-08 A kind of network flow generation method based on data flow characteristics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510308828.8A CN105049277B (en) 2015-06-08 2015-06-08 A kind of network flow generation method based on data flow characteristics

Publications (2)

Publication Number Publication Date
CN105049277A true CN105049277A (en) 2015-11-11
CN105049277B CN105049277B (en) 2018-11-13

Family

ID=54455498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510308828.8A Expired - Fee Related CN105049277B (en) 2015-06-08 2015-06-08 A kind of network flow generation method based on data flow characteristics

Country Status (1)

Country Link
CN (1) CN105049277B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864119A (en) * 2017-09-04 2018-03-30 南京理工大学 A kind of network traffics in Android platform obscure method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
CN101272291A (en) * 2008-04-29 2008-09-24 北京星网锐捷网络技术有限公司 Network appliance testing method and system
CN101360015A (en) * 2008-09-02 2009-02-04 北京星网锐捷网络技术有限公司 Method, system and apparatus for test network appliance
CN102204168A (en) * 2011-04-26 2011-09-28 华为技术有限公司 Method and apparatus for network traffic simulation
CN104052639A (en) * 2014-07-02 2014-09-17 山东大学 Real-time multi-application network flow identification method based on support vector machine
CN104601583A (en) * 2015-01-21 2015-05-06 国家计算机网络与信息安全管理中心 Online real-time anonymization system and method for IP stream data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047776A (en) * 2006-04-17 2007-10-03 华为技术有限公司 Mobile broadcast network system and method for implementing synchronous of the network
CN101272291A (en) * 2008-04-29 2008-09-24 北京星网锐捷网络技术有限公司 Network appliance testing method and system
CN101360015A (en) * 2008-09-02 2009-02-04 北京星网锐捷网络技术有限公司 Method, system and apparatus for test network appliance
CN102204168A (en) * 2011-04-26 2011-09-28 华为技术有限公司 Method and apparatus for network traffic simulation
CN104052639A (en) * 2014-07-02 2014-09-17 山东大学 Real-time multi-application network flow identification method based on support vector machine
CN104601583A (en) * 2015-01-21 2015-05-06 国家计算机网络与信息安全管理中心 Online real-time anonymization system and method for IP stream data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何俊峰; 谢高岗; 杨建华: "基于周期性网络流量模型的流量预测", 《计算机应用》 *
孟俊岭: "嵌入式TCP/IP协议的FPGA实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107864119A (en) * 2017-09-04 2018-03-30 南京理工大学 A kind of network traffics in Android platform obscure method and system

Also Published As

Publication number Publication date
CN105049277B (en) 2018-11-13

Similar Documents

Publication Publication Date Title
Gong et al. Fighting the bufferbloat: on the coexistence of AQM and low priority congestion control
CN104065398B (en) A kind of electric power communication network network merges method for designing and the system of test platform
Kheirkhah et al. Multipath-TCP in ns-3
CN103326901B (en) A kind of power system broadband network performance test methods and system
CN106656679B (en) Availability bandwidth measurement method
CN104980317A (en) Automatic test system and test method for dispatching data network equipment
CN110213233B (en) Simulation method and simulation platform for defending against power grid distributed denial of service attack and establishment method thereof
CN102546243A (en) Fault simulation analysis method for SP Guru-based electric power dispatching data network
CN102780779A (en) Gateway equipment and method and device for optimization of campus network export P2P (peer-to-peer) traffic
US10298508B2 (en) Communication system, receiving-side apparatus and transmission-side apparatus
CN104539483A (en) Network testing system
WO2014031104A1 (en) Congestion notification in a network
Kokkonis et al. A survey of transport protocols for haptic applications
CN109194545A (en) A kind of network test platform traffic generating system, method, apparatus and electronic equipment
US9531630B2 (en) Capacity estimates using burst-trailer trains
CN105049277A (en) Network flow generation method based on data flow features
Chin et al. End-to-end delay minimization approaches using software-defined networking
CN104935520B (en) A kind of network traffics generation method based on data packet feature
Atxutegi et al. Toward standardized internet speed measurements for end users: current technical constraints
CN109981387A (en) A kind of network flux statistical method
Han et al. Flow-level traffic matrix generation for various data center networks
CN105611406B (en) One kind access net service provider monitors user to video server lag characteristic method
KR102040094B1 (en) Data construction apparatus and method for the generation of internet background traffic in the cyber training system
Vondrous et al. Simulation of the application layer in narrowband networks with conditional data injection XML scheme based on universal data generator
Kuang et al. Network traffic generator based on distributed agent for large-scale network emulation environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181113

Termination date: 20190608