Optical port Ethernet data packet sending rate calibration device and method
By designing an optical port Ethernet packet transmission rate calibration device including optical fiber interface, optical module, crystal oscillator, FPGA, radio frequency interface and control unit, the problem of lack of optical port communication packet transmission rate calibration device in the prior art is solved, and the calibration of a 10 Gigabit data network performance tester is realized, and calibration efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202510320629.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art lacks a data packet transmission rate calibration device based on optical port communication, making it difficult to carry out calibration services of 10 Gigabit data network performance testers.
An optical port Ethernet packet transmission rate calibration device is designed, including an optical fiber interface, an optical module, a crystal oscillator, an FPGA, a radio frequency interface and a control unit. It receives an optical port Ethernet packet through an optical fiber interface, uses an FPGA to analyze the data packet and generates a frame head trigger pulse signal, and the control unit calculates the error of the packet transmission rate.
The calibration of the optical port Ethernet packet transmission rate can be used to calibration of the performance parameters of the data network performance tester, solving the problem of lack of a standard machine, and it is simple to operate and efficient.
Smart Images

Figure CN119892225A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of radio network communication measurement, and in particular relates to an optical port Ethernet data packet transmission rate calibration device and method. Background Art
[0002] With the rapid development of human society and the advancement of science and technology, people's demand for network applications continues to increase, and the requirements for network data transmission speed and accuracy are also getting higher and higher. The traditional 10M, 100M and 1000M Ethernet based on RJ45 electrical port communication can no longer meet the needs of daily life. 1000M and 1000M Ethernet based on optical port communication and the faster 40G Ethernet have emerged.
[0003] The data network performance tester is an instrument used to test the performance parameters of data networks and related equipment. It can simulate the network terminal to generate a data stream in a specified format, test the performance of the network, and monitor, analyze and compile statistics of the network status in real time. At present, my country is in a stage of rapid development of network construction, and the development and construction of network equipment and systems cannot be separated from the data network performance tester. The network performance tester can quickly and efficiently verify the working status and performance of the current network equipment or system, so as to ensure the stable and reliable operation of the network equipment or system, and can help quickly locate fault problems and improve work efficiency.
[0004] In the calibration specification of data network performance testers, the data packet transmission rate is a performance parameter that must be calibrated for data network performance testers. However, currently there are only data packet transmission rate calibration devices based on electrical port communication, which can only be used to calibrate data network performance testers of 1 Gigabit and below. There is a lack of data packet transmission rate calibration devices based on optical port communication, making it difficult to carry out the calibration business of 10 Gigabit data network performance testers. Summary of the invention
[0005] The purpose of the present invention is to provide an optical port Ethernet data packet sending rate calibration device and method, which can realize the calibration of the optical port Ethernet data packet sending rate and can be used for the calibration of the data packet sending rate performance parameters of a data network performance tester.
[0006] In order to achieve the above-mentioned object, one aspect of the present invention provides an optical port Ethernet data packet transmission rate calibration device, comprising an optical fiber interface, an optical module, a first crystal oscillator, an FPGA, a radio frequency interface and a control unit; The optical fiber interface is connected to an external data network performance tester, receives optical port Ethernet data packets from the data network performance tester, and transmits the received optical port data to the optical module through optical signals; the optical module receives the optical signal transmitted by the optical fiber interface, and converts the optical port data of the optical signal into the optical port data of the electrical signal; the first crystal oscillator is connected to the FPGA to provide a reference clock for the FPGA; The FPGA includes a clock module, an optical port data receiving module, a data conversion module and an Ethernet data parsing module. The clock module generates a working clock for the optical port data receiving module using a reference clock provided by the first crystal oscillator; the optical port data receiving module receives the optical port data converted into an electrical signal by the optical module, converts the optical port data into data of an AXI interface, and provides a synchronous working clock for the data conversion module and the Ethernet data parsing module; the data conversion module is used to convert the data of the AXI interface output by the optical port data receiving module into data of a GMII interface and transmit the data to the Ethernet data parsing module; the Ethernet data parsing module is used to parse the data of the GMII interface transmitted by the data conversion module, and generate a synchronous frame header trigger pulse signal when the correct Ethernet data packet frame header information is parsed; The radio frequency interface is used to connect to an external test instrument and output the frame header trigger pulse signal to the external test instrument; the control unit is used to set the data packet sending rate of the data network performance tester, and compare the frequency of the frame header trigger pulse measured by the external test instrument with the set data packet sending rate to calculate the error of the data packet sending rate of the data network performance tester.
[0007] Preferably, the device further comprises a second crystal oscillator, the optical port data receiving module comprises a high-speed transceiver for receiving the optical port data converted into an electrical signal by the optical module, and the second crystal oscillator provides a reference clock for the high-speed transceiver.
[0008] Preferably, the optical module adopts SFP+ packaging, which can realize the mutual conversion of optical and electrical signals.
[0009] Preferably, the external test instrument is a frequency meter and an oscilloscope, the frequency meter is used to measure the frequency of the frame header trigger pulse, and the oscilloscope is used to display the periodic frame header trigger pulse.
[0010] Another aspect of the present invention provides a method for calibrating the transmission rate of an optical port Ethernet data packet, which uses the above-mentioned device to calibrate the transmission rate of an optical port Ethernet data packet, comprising: Connecting a data network performance tester to the optical fiber interface using an optical fiber cable, connecting the radio frequency interface to an external test instrument using a radio frequency cable, setting the data network performance tester to a data transmission mode and setting a data packet transmission rate, and starting transmission; The frequency of the frame header trigger pulse measured by the external test instrument is compared with the set data packet sending rate, and the error of the data packet sending rate of the data network performance tester is calculated.
[0011] The optical port Ethernet data packet sending rate calibration device and method according to the above aspects of the present invention can realize the calibration of the optical port Ethernet data packet sending rate and can be used for calibrating the data packet sending rate performance parameters of a data network performance tester. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings used in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work: Figure 1 It is a schematic diagram of the overall structure of an optical port Ethernet data packet transmission rate calibration device according to an embodiment of the present invention; Figure 2 It is a schematic diagram of the structure of an FPGA according to an embodiment of the present invention; Figure 3 The invention is a connection diagram of a method for calibrating the transmission rate of an optical port Ethernet data packet according to an embodiment of the present invention. DETAILED DESCRIPTION
[0013] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0014] An embodiment of the present invention provides a device for calibrating the transmission rate of an optical port Ethernet data packet, such as Figure 1 As shown, the optical port Ethernet data packet sending rate calibration device of the embodiment of the present invention includes an optical fiber interface, an optical module, a first crystal oscillator, a second crystal oscillator, an FPGA, a radio frequency interface and a control unit (not shown).
[0015] The optical fiber interface is connected to the optical fiber interface of the external data network performance tester through an optical fiber cable to realize Gigabit and 10 Gigabit Ethernet communication, and transmits the received optical signal to the optical module. The optical fiber interface can adopt an LC type optical fiber interface, whose rate can be as high as 12.5Gbps, and is connected to the optical fiber interface of the external data network performance tester through an optical fiber cable to realize optical fiber communication.
[0016] The optical module receives the optical signal of the optical fiber interface and converts the optical signal into an electrical signal. The optical module can be packaged in SFP+ (Enhanced Small Form-factor Pluggable), which can realize the mutual conversion of optical and electrical signals. In the embodiment of the present invention, it mainly realizes the receiving function and converts the optical signal into an electrical signal.
[0017] The FPGA receives the electrical signal converted by the optical module, receives the Ethernet data packet, then parses the Ethernet data packet and generates a synchronous frame header trigger pulse signal, which is output through the RF interface.
[0018] When an external data network performance tester sends an Ethernet data packet to the device of an embodiment of the present invention through an optical fiber cable, the FPGA can continuously receive the Ethernet data packet and parse the frame header of the data packet. When it is identified that the frame header information of the Ethernet data packet meets the requirements of the communication protocol, a synchronous frame header trigger pulse is generated for output. When the frame header information of the Ethernet data packet does not meet the requirements of the communication protocol, the data packet is discarded and no frame header trigger pulse is generated, thereby enabling real-time monitoring of the sending status of the Ethernet data packet transmitted by the optical fiber interface.
[0019] The first crystal oscillator is connected to the FPGA to provide a reference clock for the FPGA. Figure 2 As shown, the FPGA includes a clock module, an optical port data receiving module, a data conversion module, and an Ethernet data parsing module.
[0020] The clock module is provided with a reference clock by the first crystal oscillator to generate a working clock required by the internal logic of the optical port data receiving module. For example, the internal logic of the 1G Ethernet optical port data receiving module requires a working clock of 50MHz, and the internal logic of the 10G Ethernet optical port data receiving module requires a working clock of 100MHz.
[0021] The optical port data receiving module receives the optical port data converted into electrical signals by the optical module, and converts the optical port data into AXI interface data, while providing a synchronous working clock for the data conversion module and the Ethernet data analysis module.
[0022] The optical port data converted into electrical signals by the optical module is high-speed serial data. In order to receive high-speed serial data and convert it into parallel data, an optical port data receiving module is used for receiving. The optical port data receiving module can be implemented by the IP core of FPGA. The IP core data interface is AXI interface. Therefore, the optical port data receiving module realizes the function of converting optical port data into AXI interface data. Among them, the 1G Ethernet optical port data receiving module can realize the reception of optical port data through tri mode ethernet mac and 1G / 2.5GEthernet PCS / PMA or SGMII IP core, and convert it into AXI4-Stream mode data for output; the 10G Ethernet optical port data receiving module realizes the reception of optical port data through 10G / 25G Ethernet Subsystem IP core, and converts it into AXI4-Stream mode data for output.
[0023] The data conversion module converts the AXI interface data output by the optical port data receiving module into GMII interface data and transmits it to the Ethernet data parsing module. The optical port data receiving module outputs AXI interface data, so the AXI interface data needs to be converted into GMII interface (Ethernet interface) data.
[0024] The Ethernet data parsing module parses the Ethernet data of the GMII interface output by the data conversion module and generates a synchronous frame header trigger pulse signal. Specifically, the Ethernet data parsing module receives and parses the GMII mode data transmitted by the data conversion module. When the correct Ethernet data packet frame header information is parsed, a synchronous frame header trigger pulse signal is generated. The frame header trigger pulse signal is output through the radio frequency interface, so that the sending status of the Ethernet data packet transmitted by the optical fiber interface can be monitored in real time, and it is used for the calibration of the data packet sending rate.
[0025] The radio frequency interface is used to connect to an external test instrument and output a frame header trigger pulse signal to the external test instrument. The control unit is used to set the data packet sending rate of the data network performance tester, and compare the frequency of the frame header trigger pulse measured by the external test instrument with the set data packet sending rate to calculate the error of the data packet sending rate of the data network performance tester.
[0026] In one embodiment, the frame header trigger pulse is output through the radio frequency interface and can be connected to external test instruments such as a frequency meter and an oscilloscope through a radio frequency cable. When the external data network performance tester sends a data packet to the device of the present invention through traffic transmission, the oscilloscope can display a periodic frame header trigger pulse, thereby verifying whether the Ethernet communication is normal; the frequency meter can measure the frequency of the frame header trigger pulse, and the control unit compares it with the data packet transmission rate of the data network performance tester to calculate the measurement error, and compares it with the maximum allowable error of the data packet transmission rate to achieve the purpose of calibrating the data packet transmission rate parameters.
[0027] In one embodiment, the optical port data receiving module includes a high-speed transceiver for receiving the optical port data converted into an electrical signal by the optical module, and the second crystal oscillator provides a reference clock for the high-speed transceiver.
[0028] The FPGA may adopt the Kintex UltraScale series FPGA of Xilinx, whose high-speed transceiver adopts the GTH high-speed transceiver to support a line rate of up to 16.3 Gb / s, and can realize 1G and 10G Ethernet communication.
[0029] The embodiment of the present invention further provides a method for calibrating the transmission rate of an optical port Ethernet data packet, which uses the device of the embodiment of the present invention to calibrate the transmission rate of an optical port Ethernet data packet. Figure 3 As shown, the optical fiber interface of the data network performance tester and the device of the embodiment of the present invention are connected with an optical fiber cable, and the radio frequency interface of the device of the embodiment of the present invention is directly connected with the frequency meter with an radio frequency cable. The data network performance tester is set to the data transmission mode and the data packet transmission rate is set, and the transmission is started. The frequency measurement value is directly read on the frequency meter as the actual value of the data packet transmission rate, which is compared with the set data packet transmission rate (the nominal value of the data packet transmission rate) to calculate the data packet transmission rate error.
[0030] The optical port Ethernet data packet sending rate calibration device and method according to the above-mentioned embodiment of the present invention can monitor the sending status of the Ethernet data packet transmitted by the optical fiber interface in real time and generate a frame header trigger pulse for synchronizing the Ethernet data packet. It can be directly used for the calibration of the data packet sending rate performance parameters of the data network performance tester for optical port communication, solving the problem of lack of standard devices in this field. The frame header trigger pulse is measured by a frequency meter to calibrate the data packet sending rate of the Ethernet performance tester. The calibration method is intuitive, easy to understand, simple to operate, and highly efficient.
[0031] The above description is only by way of illustration of certain exemplary embodiments of the present invention. It is undoubted that those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.
Claims
1. An optical port Ethernet data packet transmission rate calibration device, characterized in that: It includes an optical fiber interface, an optical module, a first crystal oscillator, an FPGA, a radio frequency interface and a control unit; The optical fiber interface is connected to an external data network performance tester, receives optical port Ethernet data packets from the data network performance tester, and transmits the received optical port data to the optical module through optical signals; the optical module receives the optical signal transmitted by the optical fiber interface, and converts the optical port data of the optical signal into the optical port data of the electrical signal; the first crystal oscillator is connected to the FPGA to provide a reference clock for the FPGA; The FPGA includes a clock module, an optical port data receiving module, a data conversion module and an Ethernet data parsing module. The clock module generates a working clock for the optical port data receiving module using a reference clock provided by the first crystal oscillator; the optical port data receiving module receives the optical port data converted into an electrical signal by the optical module, converts the optical port data into data of an AXI interface, and provides a synchronous working clock for the data conversion module and the Ethernet data parsing module; the data conversion module is used to convert the data of the AXI interface output by the optical port data receiving module into data of a GMII interface and transmit the data to the Ethernet data parsing module; the Ethernet data parsing module is used to parse the data of the GMII interface transmitted by the data conversion module, and generate a synchronous frame header trigger pulse signal when the correct Ethernet data packet frame header information is parsed; The radio frequency interface is used to connect to an external test instrument and output the frame header trigger pulse signal to the external test instrument; The control unit is used to set the data packet sending rate of the data network performance tester, and compare the frequency of the frame header trigger pulse measured by the external test instrument with the set data packet sending rate to calculate the error of the data packet sending rate of the data network performance tester.
2. The device according to claim 1, characterized in that It also includes a second crystal oscillator. The optical port data receiving module includes a high-speed transceiver for receiving the optical port data converted into an electrical signal by the optical module. The second crystal oscillator provides a reference clock for the high-speed transceiver.
3. The device according to claim 1 or 2, characterized in that The optical module adopts SFP+ packaging, which can realize the mutual conversion of optical and electrical signals.
4. The device according to claim 1 or 2, characterized in that The external testing instruments are a frequency meter and an oscilloscope. The frequency meter is used to measure the frequency of the frame header trigger pulse, and the oscilloscope is used to display the periodic frame header trigger pulse.
5. A method for calibrating the transmission rate of an optical port Ethernet data packet, characterized in that: Using the device described in any one of claims 1 to 4 to calibrate the optical port Ethernet data packet transmission rate, comprising: Connecting a data network performance tester to the optical fiber interface using an optical fiber cable, connecting the radio frequency interface to an external test instrument using a radio frequency cable, setting the data network performance tester to a data transmission mode and setting a data packet transmission rate, and starting transmission; The frequency of the frame header trigger pulse measured by the external test instrument is compared with the set data packet sending rate, and the error of the data packet sending rate of the data network performance tester is calculated.