CN103248538A - Method for realizing accumulative burst damage of IP (internet protocol) network based on FPGA (field programmable gate array) and DDR3 (double data rate 3) - Google Patents

Method for realizing accumulative burst damage of IP (internet protocol) network based on FPGA (field programmable gate array) and DDR3 (double data rate 3) Download PDF

Info

Publication number
CN103248538A
CN103248538A CN2013101805658A CN201310180565A CN103248538A CN 103248538 A CN103248538 A CN 103248538A CN 2013101805658 A CN2013101805658 A CN 2013101805658A CN 201310180565 A CN201310180565 A CN 201310180565A CN 103248538 A CN103248538 A CN 103248538A
Authority
CN
China
Prior art keywords
accumulation
time
burst
ddr3
condition
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
CN2013101805658A
Other languages
Chinese (zh)
Other versions
CN103248538B (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.)
CLP Kesiyi Technology Co Ltd
Original Assignee
CETC 41 Institute
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 CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201310180565.8A priority Critical patent/CN103248538B/en
Publication of CN103248538A publication Critical patent/CN103248538A/en
Application granted granted Critical
Publication of CN103248538B publication Critical patent/CN103248538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for realizing the accumulative burst damage of an IP (internet protocol) network based on an FPGA (field programmable gate array) and DDR3 (double data rate 3), which solves the problem that the accumulative burst characteristics of a real network are difficult to simulate in a laboratory environment or an ordinary local area network. The method comprises the following steps of writing Ethernet data frame transmitted by a detected device into a DDR3 memory bank through an FPGA circuit; judging an accumulative burst condition according to the setting of the accumulative burst damage when the data is read from the DDR3 memory bank, reading the data if the accumulative burst condition is satisfied, and if the accumulative burst condition is not satisfied, waiting until the accumulative burst condition is satisfied. According to the method for realizing the accumulative burst damage of the IP network based on the FPGA and the DDR3, the accumulative burst situation of the data frame of the real network can be simulated, and a good simulation platform can be provided for the scientific research or the experiment.

Description

A kind ofly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3
Technical field
The present invention relates to network field, particularly a kind ofly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3.
Background technology
Only at the ideal network environment, do not consider all variety of issues that bring because Internet resources are limited such as the real network accumulation is burst out, bandwidth, time delay, shake, packet loss at the beginning of the current IP network application exploitation.For instance, at laboratory environment in other words in the general local area network (LAN), the accumulation that is difficult to simulate real network characteristic such as burst out.Application in the laboratory successful operation may not be succeedd in real network.
Summary of the invention
The present invention proposes a kind ofly to realize the burst out method of damage of IP network accumulation based on FPGA and DDR3, and the simulation real network Frame accumulation situation that bursts out has solved in laboratory environment or the general local area network (LAN), the accumulation that is difficult to the to simulate real network problem of characteristic that bursts out.
Technical scheme of the present invention is achieved in that
A kind ofly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3, comprising: by the FPGA circuit ethernet data frame that equipment under test sends is write the DDR3 memory bar; When from DDR3 memory bar sense data, arrange and judge the accumulation condition that bursts out according to the accumulation damage of bursting out, if satisfy the accumulation condition that bursts out, sense data then if do not satisfy the accumulation condition that bursts out, is then waited for up to satisfying accumulation and being burst out till the condition.
Alternatively, described FPGA circuit writes the DDR3 memory bar and stores by burst out Frame data that damage controller and DDR3 IP kernel controller send equipment under test of accumulation, wherein, described DDR3 IP kernel controller can generate by the MIG of Xilinx ISE.
Alternatively, the described accumulation damage of bursting out arranges and to comprise: accumulation burst out length, time-out time and the minimum accumulation of pattern, accumulation of bursting out burst out at interval.
Alternatively, the satisfied length that bursts out of accumulating of Frame number then satisfies and accumulates the condition that bursts out in the DDR3 memory bar, reads data from the DDR3 memory bar, accumulates the length that bursts out and can be 1-65536 natural number value.
Alternatively, if the time that the current time is accumulated the operation of bursting out apart from the last time is greater than or equal to the time-out time value, then satisfies and accumulate the condition that bursts out, read data from the DDR3 memory bar, time-out time can be the 0-100s value, and precision is Millisecond.
Alternatively, the Frame number satisfies burst out length or current time of accumulation and is greater than or equal to the time-out time value apart from burst out time of operation of last time accumulation in the DDR3 memory bar, then satisfies the accumulation condition that bursts out, and reads data from the DDR3 memory bar.
Alternatively, the satisfied length that bursts out of accumulating of Frame number in the DDR3 memory bar, and the current time was greater than or equal to two conditions of time-out time value and satisfies simultaneously apart from burst out time of operation of last time accumulation, just satisfied and accumulated the condition that bursts out, and read data from the DDR3 memory bar.
The invention has the beneficial effects as follows: of the present inventionly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3, can simulate the real network Frame accumulation situation that bursts out, for scientific research or experiment provide good analog platform.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 accumulates the flow chart of the method for the damage of bursting out for the present invention is a kind of based on FPGA and DDR3 realization IP network;
Fig. 2 writes the particular flow sheet of DDR3 memory bar step for the ethernet data frame that by the FPGA circuit equipment under test A is sent among Fig. 1;
Fig. 3 realizes the burst out schematic diagram of an embodiment of method of damage of IP network accumulation for a kind of according to the present invention based on FPGA and DDR3.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 accumulates the flow chart of the method for the damage of bursting out for the present invention is a kind of based on FPGA and DDR3 realization IP network.
As shown in Figure 1, of the present inventionly a kind ofly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3, may further comprise the steps: at first, by the FPGA circuit ethernet data frame that equipment under test A sends is write the DDR3 memory bar; Then, when from DDR3 memory bar sense data, arrange and judge the accumulation condition that bursts out according to the accumulation damage of bursting out, if satisfy the condition that bursts out of accumulating, sense data and send to equipment under test B then if do not satisfy the accumulation condition that bursts out, is then waited for up to satisfying accumulation and being burst out till the condition.
As shown in Figure 2, the step that the ethernet data frame that equipment under test A is sent by the FPGA circuit writes the DDR3 memory bar is specially: the FPGA circuit writes the DDR3 memory bar and stores by burst out Frame data that damage controller and DDR3 IP kernel controller send equipment under test A of accumulation, wherein, DDR3 IP kernel controller can pass through the MIG(Memory Interface Generation of Xilinx ISE) generate.
When from DDR3 memory bar sense data, accumulate the condition judgment that bursts out, wherein, the accumulation damage of bursting out is provided with four settings, is respectively: accumulation burst out length, time-out time and the minimum accumulation of pattern, accumulation of bursting out burst out at interval.
The accumulation model that bursts out is divided into four kinds of modes: accumulation length, time-out time, accumulation burst out length and the time-out time of length or time-out time, accumulation that burst out that burst out satisfies simultaneously.
Accumulating the length model that bursts out is specially: need only the satisfied length that bursts out of accumulating of Frame number among the DDR3, then satisfy and accumulate the condition that bursts out, read data from the DDR3 memory bar, accumulate the length that bursts out and can be 1-65536 natural number value.
The time-out time model is specially: if the current time be greater than or equal to the time-out time value apart from burst out time of operation of last time accumulation, then satisfy the condition that bursts out of accumulating, read data from the DDR3 memory bar, time-out time can be the 0-100s value, and precision is Millisecond.
Burst out length or time-out time model of accumulation is specially: as long as the Frame number satisfies burst out length or current time of accumulation and is greater than or equal to the time-out time value apart from burst out time of operation of last time accumulation among the DDR3, then satisfy and accumulate the condition that bursts out, from the DDR3 memory bar, read data.
Burst out length and time-out time of accumulation satisfies model simultaneously and is specially: have only among the DDR3 Frame number to satisfy the accumulation length that bursts out, and the current time was greater than or equal to two conditions of time-out time value and satisfies simultaneously apart from burst out time of operation of last time accumulation, just satisfy and accumulate the condition that bursts out, read data from the DDR3 memory bar.
Wherein, minimum accumulation this accumulation of time interval burst out interval of operating time of operating time and last accumulation of bursting out of bursting out, the minimum accumulation unit millisecond at interval that bursts out, span can be 0-10 second.
For example, it is 5 that the Frame number that bursts out is accumulated in setting, and accumulating the time-out time that bursts out is 1ms, and accumulating the type that bursts out is that above two conditions satisfy simultaneously, minimum accumulation is burst out and is spaced apart 100ms, when reading data, at first carry out condition judgment so, the Frame number is greater than or equal to 5 if the accumulation of storing among the DDR3 is burst out, and accumulate the time-out time that bursts out and reach 1ms, read data frame from DDR3 so, and through after the 100ms is carried out next time the accumulation damage of bursting out again and is handled.
Fig. 3 realizes the burst out schematic diagram of an embodiment of method of damage of IP network accumulation for a kind of according to the present invention based on FPGA and DDR3.
As shown in Figure 3, the IP network accumulation is burst out to damage and is set to: accumulate the length model that bursts out, accumulating the length that bursts out is 4, and minimum accumulation is burst out and is spaced apart 5ms.8 Frame F1-F8 are arranged among Fig. 3, and the time of reaching is respectively 0-7ms; When the time is 3ms, 4 ethernet data frames are arranged in the DDR3 memory, reach and accumulate the condition that bursts out, at this moment, from the DDR3 memory bar, read 4 Frame F1-F4; Minimum accumulation is burst out to arrange and is spaced apart 5ms, accumulates the judgement of bursting out after the 5ms again; Burst out at interval behind the 5ms through minimum accumulation, judge at time 8ms that namely have 4 ethernet data frames in the DDR3 memory bar this moment, the satisfied accumulation condition that bursts out is accumulated the operation of bursting out, and reads 4 Frame F5-F8 from the DDR3 memory bar.
The invention provides and a kind ofly realize the burst out method of damage of IP network accumulation based on FPGA and DDR3, can simulate the real network Frame accumulation situation that bursts out, for scientific research or experiment provide good analog platform.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. realize the burst out method of damage of IP network accumulation based on FPGA and DDR3 for one kind, it is characterized in that, comprising:
By the FPGA circuit ethernet data frame that equipment under test sends is write the DDR3 memory bar;
When from DDR3 memory bar sense data, arrange and judge the accumulation condition that bursts out according to the accumulation damage of bursting out, if satisfy the accumulation condition that bursts out, sense data then if do not satisfy the accumulation condition that bursts out, is then waited for up to satisfying accumulation and being burst out till the condition.
2. the method for claim 1, it is characterized in that, the step that the described ethernet data frame that equipment under test is sent by the FPGA circuit writes the DDR3 memory bar is specially: described FPGA circuit writes the DDR3 memory bar and stores by burst out Frame data that damage controller and DDR3 IP kernel controller send equipment under test of accumulation, wherein, described DDR3 IP kernel controller can generate by the MIG of Xilinx ISE.
3. method as claimed in claim 2 is characterized in that, the described accumulation damage of bursting out arranges and to comprise: accumulation burst out length, time-out time and the minimum accumulation of pattern, accumulation of bursting out burst out at interval.
4. method as claimed in claim 3 is characterized in that, the satisfied length that bursts out of accumulating of Frame number then satisfies and accumulates the condition that bursts out in the DDR3 memory bar, reads data from the DDR3 memory bar, accumulates the length that bursts out and can be 1-65536 natural number value.
5. method as claimed in claim 3 is characterized in that, if the time that the current time is accumulated the operation of bursting out apart from the last time is greater than or equal to the time-out time value, then satisfy the condition that bursts out of accumulating, read data from the DDR3 memory bar, time-out time can be the 0-100s value, and precision is Millisecond.
6. method as claimed in claim 3, it is characterized in that, the Frame number satisfies burst out length or current time of accumulation and is greater than or equal to the time-out time value apart from burst out time of operation of last time accumulation in the DDR3 memory bar, then satisfy and accumulate the condition that bursts out, from the DDR3 memory bar, read data.
7. method as claimed in claim 3, it is characterized in that, the satisfied length that bursts out of accumulating of Frame number in the DDR3 memory bar, and the current time was greater than or equal to two conditions of time-out time value and satisfies simultaneously apart from burst out time of operation of last time accumulation, just satisfy and accumulate the condition that bursts out, read data from the DDR3 memory bar.
CN201310180565.8A 2013-05-16 2013-05-16 A kind of based on FPGA and DDR3 realize IP network accumulation burst out damage method Active CN103248538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310180565.8A CN103248538B (en) 2013-05-16 2013-05-16 A kind of based on FPGA and DDR3 realize IP network accumulation burst out damage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310180565.8A CN103248538B (en) 2013-05-16 2013-05-16 A kind of based on FPGA and DDR3 realize IP network accumulation burst out damage method

Publications (2)

Publication Number Publication Date
CN103248538A true CN103248538A (en) 2013-08-14
CN103248538B CN103248538B (en) 2016-09-07

Family

ID=48927769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310180565.8A Active CN103248538B (en) 2013-05-16 2013-05-16 A kind of based on FPGA and DDR3 realize IP network accumulation burst out damage method

Country Status (1)

Country Link
CN (1) CN103248538B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119740A (en) * 2015-07-16 2015-12-02 中国电子科技集团公司第四十一研究所 IP network damage simulation method and IP network damage simulation instrument

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098298A (en) * 2006-06-29 2008-01-02 北京邮电大学 Optical burst switch network based burst packet dispatching system and method
CN101603831A (en) * 2009-07-20 2009-12-16 西安电子科技大学 A kind of pulsar signal simulator
CN102497544A (en) * 2011-12-15 2012-06-13 中国科学院自动化研究所 Device for controlling access to video signals
CN102769513A (en) * 2012-07-20 2012-11-07 中国电子科技集团公司第四十一研究所 Method for realizing Ethernet data frame time delay damage
CN202798769U (en) * 2012-09-11 2013-03-13 上海倍益酷电子科技有限公司 Data collecting and processing device used in 10 gigabit network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098298A (en) * 2006-06-29 2008-01-02 北京邮电大学 Optical burst switch network based burst packet dispatching system and method
CN101603831A (en) * 2009-07-20 2009-12-16 西安电子科技大学 A kind of pulsar signal simulator
CN102497544A (en) * 2011-12-15 2012-06-13 中国科学院自动化研究所 Device for controlling access to video signals
CN102769513A (en) * 2012-07-20 2012-11-07 中国电子科技集团公司第四十一研究所 Method for realizing Ethernet data frame time delay damage
CN202798769U (en) * 2012-09-11 2013-03-13 上海倍益酷电子科技有限公司 Data collecting and processing device used in 10 gigabit network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119740A (en) * 2015-07-16 2015-12-02 中国电子科技集团公司第四十一研究所 IP network damage simulation method and IP network damage simulation instrument
CN105119740B (en) * 2015-07-16 2018-10-02 中国电子科技集团公司第四十一研究所 A kind of IP network damage simulation method and emulating instrument

Also Published As

Publication number Publication date
CN103248538B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN103401794B (en) A kind of software defined network towards large-scale application controls optimization method
CN103647726B (en) Message dispatching method and device thereof
WO2013066581A4 (en) Network analysis device and method
CN103714160B (en) Filtering sensitive words method and system in a kind of online game
CN103312566B (en) The method that detection messages port is congested and device
CN104170353A (en) TCP link configuring method, device and equipment
CN101841436A (en) Method for testing performance of IPFIX (Internet Protocol Flow Information Export) server, device and system thereof
CN109004972A (en) Data transmission method, device, system and the surface map transmission module of UAV system
CN108259364A (en) A kind of network congestion determines method and device
CN102118361A (en) Method and device for controlling data transmission based on network protocol
CN103248538A (en) Method for realizing accumulative burst damage of IP (internet protocol) network based on FPGA (field programmable gate array) and DDR3 (double data rate 3)
EP3208676A3 (en) Input/output (i/o) binding with automatic international electromechanical commission (iec) address generation in remote terminal unit (rtu) configuration
JP2015162772A5 (en)
CN104283741B (en) The method and device of the accurate big stream aging of detection
DK1593253T3 (en) Method and apparatus for transparent transmission of data traffic between data processing devices as well as a corresponding computer program product and a corresponding computer-readable medium
CN102801586A (en) Method and device for automatically testing quality of service (QoS) granularity and precision
US10700980B2 (en) User traffic generation method and apparatus
CN105574292B (en) A method of realizing that any bandwidth of multichannel is given out a contract for a project based on dynamic array
CN101873198B (en) Method and device for constructing network data packet
CN109062758A (en) A kind of server system delay machine processing method, system, medium and equipment
CN102843380A (en) Method for solving serial port communication bottleneck based on MODBUS
CN202218246U (en) Test system for network security device
CN105447136A (en) Method and system for improving database writing speed on the basis of WiFi (Wireless Fidelity) smart socket
CN105446863A (en) Electronic device with recording capability and circuit status recording method
CN101303710B (en) Simulation control method and system for programmable logic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190311

Address after: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee after: China Electronics Technology Instrument and Meter Co., Ltd.

Address before: 266000 No. 98 Xiangjiang Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: The 41st Institute of CETC

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 266555 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee after: CLP kesiyi Technology Co.,Ltd.

Address before: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee before: CHINA ELECTRONIC TECHNOLOGY INSTRUMENTS Co.,Ltd.

CP03 Change of name, title or address