CN110086669A - A kind of network based on ZYNQ is given out a contract for a project machine - Google Patents
A kind of network based on ZYNQ is given out a contract for a project machine Download PDFInfo
- Publication number
- CN110086669A CN110086669A CN201910354474.9A CN201910354474A CN110086669A CN 110086669 A CN110086669 A CN 110086669A CN 201910354474 A CN201910354474 A CN 201910354474A CN 110086669 A CN110086669 A CN 110086669A
- Authority
- CN
- China
- Prior art keywords
- configuration
- module
- network
- data
- mac
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
- H04L69/32—Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
- H04L69/322—Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Give out a contract for a project machine the invention discloses a kind of network based on ZYNQ, network machine of giving out a contract for a project includes: configuration circuit and group packet circuit, and configuration circuit is configured by protocol type, parameter configuration, data link layer configuration, network layer configuration, transport layer configuration, data configuration composition;Group wraps electric routing configuration receiving module, MAC processing module, ARP/RARP processing module, IP Process Module, transport layer process module, FCS correction verification module, ethernet interface module composition.For the present invention in order to realize under various network tests and debugging enironment, user can be with the various protocol types of flexibly customizing, throughput, the network packet of the various parameters such as interframe space.Hardware based on ZYNQ can conveniently realize the WEB interface configuration of the up to throughput of 10Gbps, the other delay of Microsecond grade, and hommization.
Description
Technical field
The invention belongs to network communication technology field, it is related to a kind of network based on ZYNQ and gives out a contract for a project machine, be suitable for vast enterprise
Industry or research institute are tested and are communicated for the network equipment.
Technical background
With the further development of Internet technology, more and more network equipments are by developmental research.However, being set in network
In the standby research and development later period, the function to the network equipment is generally required, performance carries out robustness and pressure test.At this time, it is necessary to use
Give out a contract for a project machine to network.
In order to meet different types of network equipment demand, it is desirable that network is given out a contract for a project, and not only supported protocol type is complete for machine, also right
Give out a contract for a project the speed of machine, more stringent requirements are proposed for throughput and operability and configurability.
However, the network of existing market is given out a contract for a project, machine is generally based on X86 structure, and it is slow that there are speed, and performance is low, interface rate list
One, configuration feature is insufficient, and will increase many defects such as server CPU pressure.
Summary of the invention
The present invention be in order to solve current network give out a contract for a project machine configure it is inflexible and based on many defects under X86-based and
A kind of network based on ZYNQ of proposition is given out a contract for a project machine.
Realizing the specific technical solution of the object of the invention is:
A kind of network based on ZYNQ is given out a contract for a project machine, and feature is that network machine of giving out a contract for a project includes configuration circuit and group packet circuit, described to match
Circuits are by protocol type configuration, parameter configuration, data link layer configuration, network layer configuration, transport layer configuration and data configuration
Composition;Described group of packet electricity routing configuration receiving module, MAC processing module, ARP/RARP processing module, IP Process Module, transmission
Layer processing module, FCS correction verification module and ethernet interface module composition, the protocol type configuration, parameter configuration, data link
Layer configuration, network layer configuration, transport layer configuration and data configuration are sequentially connected;Data configuration is connect with configuration receiving module, is matched
It sets receiving module to connect with MAC processing module, MAC processing module connects with ARP/RARP processing module and IP Process Module respectively
It connects, IP Process Module is connect with transport layer process module, and ARP/RARP processing module and transport layer process module are respectively connected to
FCS correction verification module, FCS correction verification module are connect with ethernet interface module, and ethernet interface module passes through 10M/100M/1000M
Or 10G Ethernet interface carries out network data output.
The protocol type configuration is provided with ARP, RAP, ICPM, IGMP, IPV4, IPV6, TCP, UDP, EGP, IGP, ESP
And OSPG agreement;
The parameter configuration is provided with the long configuration of network packet, interframe space configuration and Ethernet interface rate configuration;
The data link layer configuration is provided with source MAC configuration, target MAC (Media Access Control) address configuration and the selection of mac frame type;
The network layer configuration includes source IP address setting, purpose IP address setting and the selection setting of IP type;
The transport layer configuration is provided with transport protocol selection and port selection;
The data configuration is provided with the content and length of data segment.
The configuration receiving module is made of configuration information storage unit connection configuration information fills unit;
The MAC processing module is made of MAC Address fills unit connection mac frame type fills unit;
The ARP/RARP processing module is replied unit by ARP group packet unit connection RARP and is constituted;
The IP Process Module verifies and handles unit by IP address fills unit connection IP stem and constitutes.
The transport layer process module by port fills unit, length processing unit, data fills unit and verification and
Reason unit is sequentially connected composition.
The FCS correction verification module is used to handle 4 byte cyclic redundancy checks of ethernet frame tail portion;
The ethernet interface module receives the length data and speed data of internal circuit transmission, and network packet is sent.
Compared with prior art, the beneficial effects of the present invention are:
(1), the present invention is based on the hardware structures of ZYNQ, have the delay of microsecond rank, and the millisecond rank compared to X86-based is delayed
Performance improves 10-100 times.
(2), the present invention supports tetra- kinds of Ethernet interface rate configurations of 10M/100M/1000M/10G, and throughput is compared to city
The universal gigabit equipment in face improves 10 times.
(3), the present invention is all completed by hardware circuit independent of any operating system, and configuration circuit and group are wrapped
Circuit is separated, and provides complete network protocol stack configuration.
Detailed description of the invention
Fig. 1 is structure of the invention block diagram;
Fig. 2 is work flow diagram of the present invention.
Specific embodiment
The present invention is described in detail with reference to the accompanying drawing.
Refering to fig. 1, the present invention be a hardware device based on ZYNQ, including processing system (ProcessingSystem,
Hereinafter referred to as PS) and programmable logic (Programmable Logic, hereinafter referred to as PL).
The configuration circuit is all completed by PS, including protocol type configuration 11, parameter configuration 12, data link layer configuration
13, network layer configuration 14, transport layer configuration 15 and data configuration 16.
The protocol type is matched, 11 be provided with ARP, RAP, ICPM, IGMP, IPV4, IPV6, TCP, UDP, EGP, IGP,
ESP and OSPG agreement.
The parameter configuration 12 includes the long configuration of network packet packet, interframe space configuration, Ethernet interface rate configuration.
The most short long configuration of packet is 60 bytes, is up to 1514 bytes.The minimum reachable 1 minimum clock unit of interframe space.Ethernet connects
Mouth rate supports tetra- kinds of 10M/100M/1000M/10G.
The data link layer configuration 13 includes source MAC configuration, target MAC (Media Access Control) address configuration and the choosing of mac frame type
It selects.Wherein source MAC and target MAC (Media Access Control) address are 6 bytes, and mac frame type is 2 bytes, amount to 14 bytes.
The network layer configuration 14 includes source IP address, purpose IP address configuration and the selection of IP type.Wherein source IP address
It is 4 bytes with purpose IP address.IP type supports IPV4 and IPV6.
The transport layer configuration 15 includes transport protocol selection and port selection.Wherein transport protocol may be selected TCP or
UDP, port occupy 2 bytes.
The data configuration 16 includes data segment contents processing and length processing.
Described group of packet circuit is all completed by PL, including at configuration receiving module 21, MAC processing module 22, ARP/RARP
Manage module 23, IP Process Module 24, transport layer process module 25, FCS correction verification module 26 and ethernet interface module 27.
The configuration receiving module 21 includes configuration information storage and configuration information filling.Configuration information is stored in PL
In local RAM, configuration information can be sent to subsequent processing module for group packet when use.
The MAC processing module 22 includes MAC Address filling and the filling of mac frame type.
The ARP/RARP processing module 23 supports ARP group packet and RARP to reply.The target MAC (Media Access Control) address that ARP/RARP is replied
It is obtained by configuring receiving module 21.
The IP Process Module 24 includes IP address filling and the verification of IP stem and calculates.The verification of IP stem and only calculating IP
Stem does not include data portion.Stem verifies and carries out error checking and correction use for recipient.
The transport layer process module 25 includes port filling, length computation, data filling and verification and calculates.Port
Include source port and destination port.Length computation includes that header length calculates and data portion length calculating.It verifies and is calculated as
TCP/UDP stem calculates, and the verification and includes stem and data portion.
The FCS correction verification module 26 needs to calculate 4 byte cyclic redundancy checks of ethernet frame tail portion.The cyclic redundancy check needs
Comprising whole network data packet, and it is finally attached to the ending of network packet, carries out error check for recipient.
The ethernet interface module 27 needs the Ethernet interface rate according to user setting, is packaged into corresponding network
Data packet.And corresponding free time is reserved between network packet according to interframe space.
Refering to fig. 1, in figure, black arrow representative of data flow.
Each module connection type is as follows:
Protocol type configuration 11 is connected to parameter configuration 12, and parameter configuration 12 is connected to data link layer configuration 13, data link
Layer configuration 13 is connected to network layer configuration 14, and network layer configuration 14 is connected to transport layer configuration 15, and transport layer configuration 15 is connected to
Data configuration 16;Data configuration 16 is connected to configuration receiving module 21, and configuration receiving module 21 is connected to MAC processing module 22,
MAC processing module 22 is connected to ARP/RARP processing module 23 and IP Process Module 24, and IP Process Module 24 is connected to transport layer
Processing module 25, ARP/RARP processing module 23 and transport layer process module 25 are respectively connected to FCS correction verification module 26, the school FCS
It tests module 26 and is connected to ethernet interface module 27, carry out net finally by 10M/100M/1000M 10G Ethernet interface
The output of network data.
In configuration circuit 1 of the invention, need to be sequentially completed following configuration work:
It needs to send the agreement of network data in 11 selection of protocol type configuration of the invention, supports ARP, RAP, ICPM, IGMP,
The various protocols such as IPV4, IPV6, TCP, UDP, EGP, IGP, ESP, OSPG;
In the setting packet of parameter configuration 12 length, interframe spacing and Ethernet interface rate of the invention;
In 13 setting source MAC of data link layer configuration, target MAC (Media Access Control) address and mac frame type of the invention;
In 14 configuration source IP address of network layer configuration, purpose IP address and IP Packet type of the invention;
In 15 selection transport protocol of transport layer configuration, source port and destination port of the invention;
In data configuration 16 of the invention, the content of data segment, length are set;
So far configuration section circuit is completed.
Group packet circuit 2 of the invention receives and stores the configuration information of configuration section 1 by configuring receiving module 21, and according to
It is secondary to pass through MAC processing module 22, ARP/RARP processing module 23, IP Process Module 24, transport layer process module 25, FCS verification
The group that module 26 completes whole network data packet, which is undertaken to perform work within a time limit and according to specifications, to be made, and is packaged into corresponding network data number by ethernet interface module 27
It is sent according to packet format.
Referring to Fig.2, the present invention operates in such a way:
The network is given out a contract for a project after machine powers on completion, is connected the interface of Ethernet, into configuration interface, is sequentially completed following match
It sets: protocol configuration, parameter configuration, data link layer configuration, network layer configuration, transport layer configuration, data configuration.So far it configures
At the configuration information that group packet circuit transmits reception configuration circuit passes through MAC processing module and completes network packet
The processing of mac frame head.It is divided into two paths later, wherein a place completed by ARP/RARP processing module to ARP/RARP packet
Reason;Other one is then completed IP processing by IP Process Module, passes through the selection of transmission process resume module agreement and port
Selection.The data flow of two paths is converged in FCS correction verification module, and completes the processing to FCS check code, eventually by Ethernet
Interface module sends data.
Claims (3)
- The machine 1. a kind of network based on ZYNQ is given out a contract for a project, which is characterized in that the network give out a contract for a project machine include configuration circuit (1) and group packet electricity Road (2), the configuration circuit (1) configure (13), network by protocol type configuration (11), parameter configuration (12), data link layer Layer configuration (14), transport layer configuration (15) and data configuration (16) composition;Described group of packet circuit (2) is by configuration receiving module (21), MAC processing module (22), ARP/RARP processing module (23), IP Process Module (24), transport layer process module (25), FCS correction verification module (26) and ethernet interface module (27) composition, the protocol type configuration (11), parameter configuration (12), number It is sequentially connected according to link layer configuration (13), network layer configuration (14), transport layer configuration (15) and data configuration (16);Data configuration (16) it is connect with configuration receiving module (21), configuration receiving module (21) is connect with MAC processing module (22), MAC processing module (22) it is connect respectively with ARP/RARP processing module (23) and IP Process Module (24), IP Process Module (24) and transport layer process Module (25) connection, ARP/RARP processing module (23) and transport layer process module (25) are respectively connected to FCS correction verification module (26), FCS correction verification module (26) is connect with ethernet interface module (27), and ethernet interface module (27) passes through 10M/100M/ 1000M 10G Ethernet interface carries out network data output.
- The machine 2. network according to claim 1 is given out a contract for a project, which is characterized in that protocol type configuration (11) be provided with ARP, RAP, ICPM, IGMP, IPV4, IPV6, TCP, UDP, EGP, IGP, ESP and OSPG agreement;The parameter configuration (12) is provided with the long configuration of network packet, interframe space configuration and Ethernet interface rate configuration;The data link layer configuration (13) is provided with source MAC configuration, target MAC (Media Access Control) address configuration and the selection of mac frame type;The network layer configuration (14) includes source IP address setting, purpose IP address setting and the selection setting of IP type;The transport layer configuration (15) is provided with transport protocol selection and port selection;The data configuration (16) is provided with the content and length of data segment.
- The machine 3. network according to claim 1 is given out a contract for a project, which is characterized in that the configuration receiving module (21) is by configuration information Storage unit connects configuration information fills unit and constitutes;The MAC processing module (22) is made of MAC Address fills unit connection mac frame type fills unit;The ARP/RARP processing module (23) is replied unit by ARP group packet unit connection RARP and is constituted;The IP Process Module (24) verifies and handles unit by IP address fills unit connection IP stem and constitutes;The transport layer process module (25) by port fills unit, length processing unit, data fills unit and verification and Reason unit is sequentially connected composition;The FCS correction verification module (26) is used to handle 4 byte cyclic redundancy checks of ethernet frame tail portion;The ethernet interface module (27) receives the length data and speed data of internal circuit transmission, and network packet is sent out It send.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910354474.9A CN110086669A (en) | 2019-04-29 | 2019-04-29 | A kind of network based on ZYNQ is given out a contract for a project machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910354474.9A CN110086669A (en) | 2019-04-29 | 2019-04-29 | A kind of network based on ZYNQ is given out a contract for a project machine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110086669A true CN110086669A (en) | 2019-08-02 |
Family
ID=67417695
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910354474.9A Pending CN110086669A (en) | 2019-04-29 | 2019-04-29 | A kind of network based on ZYNQ is given out a contract for a project machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110086669A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182660A (en) * | 2019-12-31 | 2020-05-19 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Interactive wireless communication system based on general processor and ZYNQ processor |
CN113452572A (en) * | 2021-06-07 | 2021-09-28 | 华东师范大学 | Network flow information statistics device based on FPGA |
CN114978966A (en) * | 2022-07-04 | 2022-08-30 | 华东师范大学 | Network message packet sending device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413018A (en) * | 2011-12-21 | 2012-04-11 | 武汉烽火网络有限责任公司 | FPGA (field programmable gate array) based software-hardware coordinated network test system and method |
CN104702464A (en) * | 2015-01-15 | 2015-06-10 | 北京奥普维尔科技有限公司 | Field Programmable Gate Array (FPGA) based 100G Ethernet test message generation system and method |
CN209805842U (en) * | 2019-04-29 | 2019-12-17 | 华东师范大学 | ZYNQ-based network package issuing machine |
-
2019
- 2019-04-29 CN CN201910354474.9A patent/CN110086669A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413018A (en) * | 2011-12-21 | 2012-04-11 | 武汉烽火网络有限责任公司 | FPGA (field programmable gate array) based software-hardware coordinated network test system and method |
CN104702464A (en) * | 2015-01-15 | 2015-06-10 | 北京奥普维尔科技有限公司 | Field Programmable Gate Array (FPGA) based 100G Ethernet test message generation system and method |
CN209805842U (en) * | 2019-04-29 | 2019-12-17 | 华东师范大学 | ZYNQ-based network package issuing machine |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111182660A (en) * | 2019-12-31 | 2020-05-19 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Interactive wireless communication system based on general processor and ZYNQ processor |
CN111182660B (en) * | 2019-12-31 | 2023-05-16 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Interactive wireless communication system based on general processor and ZYNQ processor |
CN113452572A (en) * | 2021-06-07 | 2021-09-28 | 华东师范大学 | Network flow information statistics device based on FPGA |
CN114978966A (en) * | 2022-07-04 | 2022-08-30 | 华东师范大学 | Network message packet sending device |
CN114978966B (en) * | 2022-07-04 | 2024-01-09 | 华东师范大学 | Network message packet sending device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3665866B1 (en) | Scalable network path tracing | |
CN104618194B (en) | Software defined network monitoring messages method and SDN controllers, switching equipment | |
CN110086669A (en) | A kind of network based on ZYNQ is given out a contract for a project machine | |
US9253062B2 (en) | Byte by byte received data integrity check | |
CN108964943B (en) | Method and device for realizing IOAM packaging | |
CN108462642B (en) | UDP/IP hardware protocol stack based on FPGA and implementation method | |
CN101427526A (en) | Method and system for automatically interconnecting IPv4 networks across an IPv6 network | |
JP2014512714A (en) | MPLS path looping at the transfer level of connectionless MPLS networks | |
CN101640645B (en) | Message transmission method and system | |
WO2016062142A1 (en) | Method, apparatus and system for converged transmission of packets | |
WO2021088813A1 (en) | Packet encapsulating method and apparatus, and packet decapsulating method and apparatus | |
CN107332834B (en) | PRP network connection method under Windows system | |
CN107113221A (en) | Detected using the network virtualization two-way converting of generic route encapsulation | |
CN109428949A (en) | A kind of method and apparatus that ARP proxy is realized based on SDN | |
CN111935009B (en) | Data packet routing method, device, equipment, system and storage medium | |
CN105634937A (en) | Processing method and device of message | |
CN105634977A (en) | Method and device for discovering a path maximum transmission unit (PMTU) | |
CN105284083B (en) | The methods, devices and systems that OpenFlow equipment is communicated with IP network equipment | |
WO2022142390A1 (en) | Packet encapsulation and de-encapsulation method and device, storage medium, and electronic device | |
CN110995588B (en) | Method suitable for converting GOOSE message into R-GOOSE message | |
CN209805842U (en) | ZYNQ-based network package issuing machine | |
CN101047620B (en) | Device and method for quickly processing message | |
Dukkipati et al. | Building a RCP (rate control protocol) test network | |
CN115277450B (en) | Virtual-real combined heterogeneous communication network fusion system based on OPNET and application | |
CN107231316A (en) | The transmission method and device of message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |