当前位置:首页 > 译文赏析

双电口采集卡介绍资料-中英版

发布时间:2014-6-11      阅读次数:1488

双电口采集卡介绍资料-中英版
双电口10/100/1000M测试采集卡为自主设计、研发,用于自主知识产权。

Double FE ports 10/100/1000 testing acquisition card is a product with independent design, research and development. We claim the independent intellectual property rights.

自主研发的专用测试采集卡可以支持数据采集、过滤、高精度时戳、底层协议处理等普通网卡所无法支持的功能,是监测领域数据采集处理必需的设备。

Independent research and development of special test acquisition card can support data collection, filtration, high precision time stamps, the underlying protocol processing such as ordinary card does not support function, monitoring field data collection and processing is the necessary equipment.

自产10/100/1000M数据采集卡和通用10/100/1000M的比较

两种硬件板卡的框图

图1 自产10/100/1000M数据采集卡框图

图2  10/100/1000M通用网卡框图
 

Self produced 10/100/1000 MB of data acquisition card and general 10/100/1000 mn

Block diagram of hardware interface cardü

Figure I   Self produced 10/100/1000 m diagram of the data acquisition card

Figure II  10/100/1000 m general card block diagram

从硬件框图的比较可以看出,自产的测试卡比通用网卡多路很多的内容,这些多出的部分就是专门为了解决网络测试问题而设计的。


From the hardware block diagram of the comparison we can see that this test card has a lot of content more than the general card, which is specially designed to solve the problem of network testing.

RX  FPGA1 L2PM 是一片百万门级的FPGA(现场可编程门阵列)芯片,相当于奔腾级芯片所用的等效门数。主要完成2路(或4路)GE信号物理层光功率测试、计算、比较;MAC层的全面的统计功能,包括RMON2的统计,MAC层的过滤,另外对收到的错误包进行处理功能;对FPGA2送来的数据加上MAC地址和CRC发送。
 

RX FPGA1 L2PM level is a millions level of FPGA (field programmable gate array) chip, which is equal to the number of the equivalent gate used in safe chip level. Main completed 2 (or 4) GE signals the physical optical power test, and calculation and comparison; MAC layer of comprehensive statistics, including RMON2, MAC layer filtration, another of the received packet processing functions; To add the MAC address FPGA2 sent data sent and CRC.

RX  FPGA2 L3PM 也是一片百万门级的FPGA芯片。主要完成2路(或4路)GE信号IP层的统计功能,IP层的复杂条件的组合过滤,另外对收到的错误包进行处理功能,还能完成分片包的组装等功能;下面的表会对这些功能进行详细的描述。

RX FPGA2 L3PM is also a door millionaires FPGA chip, with main completed 2 (or 4) GE signals IP layer statistical functions. The combination of the complex conditions of IP layer filtration, another of the received packet processing function, and can also complete the shard package assembly, and other functions; The following table for these functions are described in detail.
FPGA3 是一片40万门级的FPGA芯片。主要完成同主机之间的数据通讯,能主动的控制调节和主机之间的传输流量,有效的防止数据丢失。如果主机忙,它就先把数据存到板卡的存储器中,等主机有空的时候送出;当板卡存储的数据到了一定的容量的时候,会主动通知主机,取走数据。这样保证数据不会丢失。

FPGA3 is a 400000 level FPGA chip. Mainly complete with data communication between the host, which can actively control and traffic between the host and effective to prevent data loss. If the host is busy, it shall be first to the board of the data storage, such as the host is sent out when you are free; When the board the data stored by a certain amount of time, will take the initiative to inform the host, remove data. This data is not lost.
自产板卡上总共可以支持最多1GB的存储容量,保证数据有足够的缓存空间。板卡对数据的缓存最多可以达到3.6秒。


Self produced board can support up to a total of 1 gb storage capacity, ensure enough data cache space. The board of the data cache is up to 3.6 seconds. 

功能方面

Functions
功能方面首先介绍通用网卡的功能。

First this paper introduces the function of general network card function.
通用网卡是为以太网设备之间通讯用的硬件,所以主要功能是完成数据物理层、MAC层的接收、发送功能,并且对MAC层的信息进行一些简单的统计,比如接收到的MAC帧数、字节数、错误的MAC帧数等进行计数。对接收的数据进行简单的校验,如果数据错误,直接丢弃,由上层软件完成数据重发的请求(这种情况对于测试来说,就是非常致命的问题,因为在测试的时候,数据包被丢失,测试卡是不能请求重发的,这样实际在测试时就是丢包,会造成上层软件不能完成合成功能);对于正确的数据,全部通过PCI接口送到了主机上,主机收到数据后,软件完成对接收数据的分层统计,还有其他后续的解码、分析的工作。

General network card is for communication between Ethernet device with hardware, therefore, the main function is to complete the data receiving, sending function of the physical layer and MAC layer, and the MAC layer information carry on some simple statistics, such as the received MAC frames and the number of bytes, wrong MAC frame to count. To simple checking of the received data, if the data error, discarded directly, by the upper software complete data retransmission request (for testing, this is very fatal problem, because at the time of test, data packets are lost, the test card can't request retransmission, so actual is packet loss during the test, will cause the upper software can't complete the synthesis function); For the correct data, all through the PCI interface to the host, the host after receiving the data, software for receiving data of layered statistics, there are other subsequent decoding and analysis process.
自产的数据采集卡是专门针对以太网测试用的硬件,考虑到测试时对数据完整性的要求、对网络全面测试的要求、线速接收处理能力的要求、软件处理速度慢的特点而专门设计的,着重是解决这些问题。从物理层的信号强度测试、碰撞检测;MAC层的全面的数据统计;IP层的全面统计,IP层的多种过滤条件的组合过滤;TCP/UDP层的统计、过滤,还有对端口类型的统计和过滤;还可以对内容进行多字节匹配、过滤等,都能帮助用户更好、更快的维护网络。

Self produced data acquisition card is designed for Ethernet hardware test, considering the test requirement for data integrity. The requirement of network comprehensive testing, line speed to receive processing power requirements, software processing speed slow, specially designed for the characteristics of focus on is to solve these problems. From the physical layer signal strength test, collision detection; MAC layer comprehensive data statistics; IP layer of comprehensive statistics, IP layer combination of a variety of filter filtration; TCP/UDP layer statistics, filtered, and statistics of port type and filtering; Can also be multisystem matching, filtering and so on the content, can help users better, faster maintenance of the network.

2014.6.11

  返回>>Top
-x