Data transfer device and data transmission system

By using an FPGA chip to implement data packet relay and transmission scenario simulation through a data relay device, the problem of image acquisition cards and other devices not supporting general packet capture software is solved, and data transmission detection and debugging verification in specific scenarios are realized.

CN223693922UActive Publication Date: 2025-12-19HEFEI I TEK OPTOELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202423278818.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-12-19
Estimated Expiration
2034-12-30

AI Technical Summary

Technical Problem

Existing data transmission devices, such as image acquisition cards, do not support general packet capture software, making it difficult to detect and debug data transmission performance, and it is also difficult to create specific transmission scenarios for debugging and verification.

Method used

A data relay device is adopted, which uses an FPGA chip to realize the relay of data packets between multiple target devices and between target devices and a host computer. It includes a configuration unit, a relay unit and a processing unit, supports the Ethernet protocol, and can realize the simulation of data packet relay and transmission scenarios.

Benefits of technology

It enables the capture and analysis of data transmission, meets the simulation needs of various transmission scenarios, has versatility, and supports device communication monitoring and debugging of the 10 Gigabit Ethernet protocol.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223693922U_ABST
    Figure CN223693922U_ABST
Patent Text Reader

Abstract

The utility model provides a data transfer device and a data transmission system. And the data transfer device is used for realizing data packet transfer among the plurality of target devices and between the target devices and the upper computer. The data transfer device comprises a plurality of interfaces which are connected with target equipment and an upper computer and used for receiving a first data packet sent by the target equipment, receiving an instruction sent by the upper computer, sending a second data packet to the target equipment and the upper computer and sending instruction feedback to the upper computer. The FPGA chip is electrically connected with the interface and is used for receiving the first data packet and controlling the transfer of the first data packet; the FPGA chip comprises a configuration unit, a transfer unit and a processing unit. According to the data transfer device provided by the invention, the transfer transmission of data among a plurality of target devices and between the target devices and the upper computer is realized; according to the data transmission system provided by the invention, the capture and analysis of the transmission data and the simulation of various transmission scenes are realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data transmission, in particular to a data relay device and a data transmission system. BACKGROUND

[0002] Gigabit Ethernet technology is an important milestone in the development of network technology. Based on the 1973 M rate Ethernet, it has gradually increased to 10 Gbps after decades of development, achieving a speed growth of more than 3000 times, and has a profound impact on the informatization process of various industries. The birth and perfection of Gigabit Ethernet technology make high-speed data transmission possible, providing strong network support for data centers, cloud computing, high-performance computing, image processing and other fields.

[0003] During the development based on Gigabit Ethernet transmission technology, there is a need to detect, debug and verify the data transmission performance. The common data transmission detection method is to capture the data transmitted and received by the host through packet capture software. However, data transmission equipment implemented under the professional design of various industries often does not have support functions for packet capture software, so it is not possible to directly capture data transmission performance through packet capture software. In addition, for the debugging and verification of certain data transmission strategies, it is necessary to create a specific transmission scenario, which is usually difficult to meet the implementation of such a specific transmission scenario under normal data transmission processes, so it is also an urgent need for development and debugging to flexibly create a specific data transmission scenario.

[0004] GigE Vision protocol is an important standard in the field of industrial cameras based on Ethernet technology. Network cameras and image acquisition cards developed based on GigE Vision protocol belong to important product categories. In the development and debugging of the data transmission link between network cameras and image acquisition cards (card end), it is often necessary to capture the data content transmitted between the camera and the card end in real time. However, image acquisition cards are a kind of special equipment and do not support general packet capture software, so it is not possible to directly capture data in real time through data packet capture software.

[0005] In addition, for the implementation of processing strategies for data transmission loss, delay and other situations, it is also necessary to create corresponding scenarios for debugging and verification, and it is difficult to achieve stable scenario construction conditions under normal transmission processes.

[0006] Chinese patent CN116582876A discloses a communication scenario simulation method and device, electronic equipment and computer medium. The patent proposes matching different target configuration strategies for different to-be-simulated scenarios, simulates the to-be-simulated scenarios required by users, saves the simulation time of the to-be-simulated scenarios, and improves the efficiency of to-be-simulated scenario simulation to solve the problem of vehicle software performance analysis. The technical problem solved by the patent is not the same as the present application.

[0007] Chinese patent CN108882275A discloses a data processing method and device. The method is applied to a base station. When the base station receives target data of uplink and downlink, the target data corresponding target configuration parameters are obtained from the configuration parameters preset in the configuration interface. According to the target configuration parameters, the corresponding abnormal type is determined. According to the abnormal type, the target data is simulated and processed to obtain abnormal data. The abnormal data is sent. The scheme solves the problems of high cost, complicated operation and low efficiency in simulating the network transmission scene of the base station in the field. The technical problem solved by the patent is not the same as the present scheme. Utility model content

[0008] The present application provides a data transfer device and a data transmission system, which can at least solve one of the above technical problems.

[0009] To achieve the above object, the present application provides the following technical scheme:

[0010] A data transfer device for realizing data packet transfer between multiple target devices and between a target device and a host computer, comprising:

[0011] A plurality of interfaces connected to the target devices and the host computer, for receiving first data packets sent by the target devices, receiving instructions sent by the host computer, sending second data packets to the target devices and the host computer, and sending instruction feedback to the host computer;

[0012] An FPGA chip electrically connected to the interfaces, for receiving the first data packets, controlling the transfer of the first data packets, and outputting the second data packets; the FPGA chip includes a configuration unit, a transfer unit and a processing unit;

[0013] The configuration unit is used to receive instructions from the host computer, so that the first data packets enter the transfer unit or the processing unit;

[0014] The transfer unit is used to transfer the first data packets;

[0015] The processing unit is used to process the first data packets based on the instructions, obtain and output the second data packets, and realize transmission scene simulation.

[0016] Further, the interfaces include a first interface for connecting the target devices and a second interface for connecting the host computer; the first interface is provided with a receiving end for receiving data packets and a sending end for sending data packets; the second interface includes a data interface and an instruction interface, the data interface is only provided with a sending end for sending data packets, and the instruction interface is used to receive instructions and send instruction feedback.

[0017] Further, the target devices are acquisition cards and image acquisition devices.

[0018] Further, the first interface and the data interface are Ethernet interfaces.

[0019] Further, the FPGA chip further comprises a peripheral circuit for supporting the operation of the FPGA chip.

[0020] Further, a shell is further comprised for protecting the wiring and electronic components.

[0021] A data transmission system comprises:

[0022] A plurality of target devices, each of which is connected to the data relay device;

[0023] A host computer connected to the data relay device, configured to send instructions to the data relay device and receive instruction feedback, and further configured to receive second data packets output by the data relay device to realize data monitoring.

[0024] The data relay device is connected to the plurality of target devices and the host computer respectively, and is configured to receive and process first data packets, acquire and output second data packets to the target devices and the host computer to realize data packet relay transmission and / or transmission scenario simulation between the plurality of target devices and between the target devices and the host computer, and further configured to receive instructions and send instruction feedback to the host computer.

[0025] Further, the target device comprises an image acquisition device configured to acquire and package pixel data and output pixel data packets to the data relay device, and further configured to receive second data packets.

[0026] Further, the target device comprises an acquisition card configured to send control data packets to the data relay device and receive second data packets.

[0027] Further, the first data packets comprise pixel data packets and control data packets.

[0028] The beneficial effects of the present application are as follows:

[0029] The data relay device proposed in the present application realizes data packet relay transmission between the plurality of target devices and between the target devices and the host computer, so that the data transmission system proposed in the present application realizes the grabbing and analysis of transmission data and the simulation of multiple transmission scenarios.

[0030] The data relay device proposed in the present application is based on FPGA and is provided with a relay unit and a processing unit, which can simultaneously meet the requirements of data transmission between the plurality of target devices and transmission scenario simulation.

[0031] The data relay device proposed in the present application adopts an Ethernet port, conforms to the Ethernet transmission protocol, and has universality in device communication monitoring and debugging based on a 10-gigabit Ethernet protocol.

[0032] The data transmission system provided in the application sends the data transmitted by the image acquisition device and the acquisition card to the relay unit and / or the processing unit according to the instruction requirement, so as to realize data relay and / or transmission scene simulation.

[0033] Meanwhile, the data packet output by the relay unit is synchronously sent to the target device and the host computer, so that the host computer realizes data monitoring.

[0034] Similarly, the data packet output by the processing unit is synchronously sent to the target device and the host computer, so that the host computer realizes data monitoring. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 is a schematic diagram of the data transmission system in the application;

[0036] Figure 2 is a structural schematic diagram of the data relay device in the application;

[0037] Figure 3 is a structural schematic diagram of the data transmission system in the embodiment of the application. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical scheme and advantages of the embodiments of the application clearer, the technical scheme in the embodiments of the application will be described clearly and completely in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are part of the embodiments of the application, rather than all the embodiments of the application.

[0039] As shown in Figure 1 , the application provides a data transmission system, which comprises:

[0040] A plurality of target devices, each of which is connected to the data relay device.

[0041] The target device comprises an image acquisition device, which is configured to acquire and pack pixel data, and output the pixel data packet to the data relay device, and is further configured to receive the second data packet.

[0042] The target device comprises an acquisition card, which is configured to send the control data packet to the data relay device and receive the second data packet.

[0043] The host computer is connected to the data relay device, configured to send an instruction to the data relay device and receive an instruction feedback, and is further configured to receive the second data packet output by the data relay device to realize data monitoring.

[0044] The data transfer device is connected with a plurality of target devices and a host computer respectively, and is used for receiving and processing first data packets, obtaining and outputting second data packets to the target devices and the host computer, so as to realize data packet transfer transmission and / or transmission scene simulation between the target devices and between the target devices and the host computer, and is also used for receiving instructions and sending instruction feedback to the host computer.

[0045] The first data packets include pixel data packets and control data packets.

[0046] As shown in Figure 2 The data transfer device comprises:

[0047] A plurality of interfaces are connected with the target devices and the host computer, and are used for receiving the first data packets sent by the target devices, receiving the instructions sent by the host computer, sending the second data packets to the target devices and the host computer, and sending the instruction feedback to the host computer.

[0048] The interfaces comprise first interfaces for connecting the target devices and second interfaces for connecting the host computer. The first interfaces are provided with receiving ends for receiving data packets and sending ends for sending data packets. The second interfaces comprise data interfaces and instruction interfaces. The data interfaces are only provided with sending ends for sending data packets, and the instruction interfaces are used for receiving instructions and sending instruction feedback. The first interfaces and the data interfaces are Ethernet interfaces.

[0049] In this embodiment, the target devices are acquisition cards and image acquisition devices.

[0050] As shown in Figure 3 In this embodiment, the data transfer device is provided with four Ethernet interfaces and one instruction interface. The first interfaces comprise an Ethernet port 1 and an Ethernet port 2, and the Ethernet port 1 and the Ethernet port 2 are respectively provided with receiving ends (RX ends) for receiving data packets and sending ends (TX ends) for sending data packets. The data interfaces comprise an Ethernet port 3 and an Ethernet port 4, and are only provided with sending ends for sending data packets.

[0051] In order to facilitate the description of the transmission direction of data, in this application, the data packets received by the data transfer device are first data packets, and the data packets sent by the data transfer device are second data packets.

[0052] The first data packets can be data packets sent by the image acquisition devices or data packets sent by the acquisition cards.

[0053] The second data packets can be data packets for transfer transmission, and at this time, the second data packets are consistent with the data packets received by the data transfer device, that is, the first data packets.

[0054] The second data packets can also be data packets obtained by modifying the first data packets by a processing unit.

[0055] The data packet sent by the acquisition card is sent to the image acquisition device and the host computer through the data transfer device; the data packet sent by the image acquisition device is sent to the acquisition card and the host computer through the data transfer device.

[0056] The Ethernet port 1 and the Ethernet port 2 are connected to the image acquisition device and the acquisition card respectively, and the Ethernet port 3, the Ethernet port 4 and the instruction interface are connected to the host computer.

[0057] The image acquisition device is connected to the data transfer device through the Ethernet port 1. The RX end of the Ethernet port 1 receives the data output by the image acquisition device as the first data packet; the TX end outputs the second data packet to the image acquisition device, where the second data packet is the data packet output by the acquisition card.

[0058] The acquisition card is connected to the data transfer device through the Ethernet port 2. The RX end of the Ethernet port 2 receives the data output by the acquisition card as the first data packet; the TX end outputs the second data packet to the acquisition card, where the second data packet is the data packet output by the image acquisition device.

[0059] The Ethernet port 3 and the Ethernet port 4 are connected to the host computer to realize the monitoring of the data packet.

[0060] The Ethernet port 3 outputs the data packet output by the acquisition card after being transferred by the data transfer device to the host computer; the Ethernet port 4 outputs the data packet output by the image acquisition device after being transferred by the data transfer device to the host computer.

[0061] The instruction interface is connected to the host computer for the transmission of instructions and instruction feedbacks.

[0062] Preferably, the instruction interface can be a typeC interface.

[0063] The FPGA chip is electrically connected with the interface and is used for receiving the first data packet, controlling the transfer of the first data packet and outputting the second data packet.

[0064] The FPGA chip includes a configuration unit, a transfer unit and a processing unit.

[0065] The configuration unit is used for receiving the instruction of the host computer so that the first data packet enters the transfer unit or the processing unit.

[0066] The transfer unit is used for transferring the first data packet.

[0067] The processing unit is used for processing the first data packet based on the instruction, obtaining and outputting the second data packet to realize the transmission scene simulation.

[0068] The FPGA chip further includes a peripheral circuit for supporting the operation of the FPGA chip.

[0069] In this embodiment, the FPGA chip is provided with a transfer unit 1, a processing unit 1, a transfer unit 2, and a processing unit 2. The transfer unit 1 and the processing unit 1 are used to process the data packets sent by the acquisition card; the transfer unit 2 and the processing unit 2 are used to process the data packets sent by the image acquisition device.

[0070] Preferably, the target device can also be provided with one acquisition card and multiple image acquisition devices. In the FPGA chip, a corresponding transfer unit and processing unit are provided for the acquisition card and each image acquisition device, so as to process the data packets sent by the acquisition card and the image acquisition device.

[0071] Preferably, the target device can also be provided with multiple image acquisition devices and multiple acquisition cards.

[0072] The data transfer device further comprises a shell for protecting the wiring and electronic components.

[0073] In this embodiment, the working process of the data transmission system is as follows:

[0074] The acquisition card sends a control data packet to the data transfer device.

[0075] The configuration unit of the data transfer device configures the control data packet to enter the transfer unit or the processing unit according to the instruction sent by the upper computer, and generates an instruction feedback and sends it to the upper computer through the instruction interface.

[0076] If it enters the transfer unit, the control data packet is synchronously sent to the image acquisition device and the upper computer, realizing data transfer transmission, and the upper computer can also realize data monitoring.

[0077] If it enters the processing unit, the control data packet is processed based on the instruction, and the replacement data packet obtained after processing is synchronously sent to the image acquisition device and the upper computer, so as to realize transmission scene simulation. At the same time, the upper computer can also capture and analyze the modified replacement data packet to evaluate the transmission scene simulation performance.

[0078] Preferably, the acquisition parameters in the control data packet can be adjusted to the transmission scene to be simulated.

[0079] The image acquisition device receives the control data packet, acquires pixel data based on the acquisition parameters of the control data packet, and packs and outputs the data packet to the data transfer device.

[0080] The configuration unit of the data transfer device configures the data packet sent by the image acquisition device to enter the transfer unit or the processing unit according to the instruction sent by the upper computer, and generates an instruction feedback and sends it to the upper computer through the instruction interface.

[0081] If it enters the transfer unit, the data packet sent by the image acquisition device is synchronously sent to the acquisition card and the upper computer, realizing data transfer transmission, and the upper computer can also realize data monitoring.

[0082] If entering the processing unit, based on the instruction, processing the data packet sent by the image acquisition device, the replacement data packet obtained after processing is synchronously sent to the acquisition card and the host computer to realize the transmission scene simulation. At the same time, the host computer can also capture and analyze the modified replacement data packet to evaluate the transmission scene simulation performance.

[0083] The transmission scene simulation includes packet loss simulation, delay simulation and other transmission scenes.

[0084] The embodiment takes packet loss simulation as an example and is described as follows:

[0085] Packet loss simulation is generally used to verify whether the data retransmission strategy of the image acquisition device to the acquisition card when transmitting image data packet loss meets the expectation.

[0086] The data relay device unpacks the data sent by the image acquisition device, finds the data bit representing packet_id in the data packet and replaces it with an error value, and then outputs the data stream after executing the data replacement to the acquisition card.

[0087] The acquisition card receives the replaced data stream, detects the replaced data stream, and if an error packet_id is detected, it is determined that the replaced data stream is invalid and is discarded, thereby realizing the test scene of data transmission packet loss.

[0088] Preferably, in addition to replacing the data bit representing packet_id in the data packet, a certain data bit can also be modified with different numerical content, and the numerical content of different data bits can be replaced and modified, the data at a specified position in the data packet can be deleted, or a data packet with certain data can be discarded, to realize flexible adjustment of packet loss position and / or packet loss probability, and meet the application scene of various packet loss detection requirements.

[0089] Preferably, if it is delay simulation, the time of executing replacement and modification can be flexibly controlled.

[0090] Preferably, multiple image acquisition devices and acquisition cards can be set in the data transmission system, and the data relay device can synchronously execute data relay transmission and data modification to improve the data transmission processing efficiency.

[0091] The technical features of the above embodiments can be combined in any way. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.

[0092] The above examples are only used to illustrate the technical solutions of the present application, but not to limit the same; although the present application has been described in detail with reference to the foregoing examples, it should be understood by those of ordinary skill in the art that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A data relay device, characterized by comprising: The application relates to a data packet relay device for realizing data packet relay between multiple target devices and between a target device and an upper computer, comprising: a plurality of interfaces connected to the target devices and the upper computer, used for receiving first data packets sent by the target devices, receiving instructions sent by the upper computer, sending second data packets to the target devices and the upper computer, and sending instruction feedback to the upper computer; an FPGA chip electrically connected to the interfaces, used for receiving the first data packets, controlling the relay of the first data packets, and outputting the second data packets; the FPGA chip comprises a configuration unit, a relay unit and a processing unit; the configuration unit is used for receiving instructions from the upper computer, so that the first data packets enter the relay unit or the processing unit; the relay unit is used for relaying the first data packets; the processing unit is used for processing the first data packets based on the instructions, obtaining and outputting the second data packets, so as to realize transmission scene simulation.

2. The data relay device according to claim 1, characterized by, The interfaces comprise a first interface used for connecting the target devices and a second interface used for connecting the upper computer; the first interface is provided with a receiving end used for receiving data packets and a sending end used for sending data packets; the second interface comprises a data interface and an instruction interface; the data interface is only provided with a sending end used for sending data packets, and the instruction interface is used for receiving instructions and sending instruction feedback.

3. The data relay device of claim 1, wherein, The target devices are acquisition cards and image acquisition devices.

4. The data relay device according to claim 2, wherein The first interface and the data interface are Ethernet interfaces.

5. The data relay device of claim 1, wherein, The FPGA chip further comprises a peripheral circuit used for supporting the operation of the FPGA chip.

6. The data relay device of claim 1, wherein, The application further comprises a shell used for protecting the wiring and electronic components.

7. A data transmission system, characterized in that The application comprises: a plurality of target devices, each connected to a data relay device; an upper computer connected to the data relay device, used for sending instructions to the data relay device and receiving instruction feedback; the data relay device is further used for receiving second data packets output by the data relay device, so as to realize data monitoring. The data relay device is connected to the plurality of target devices and the upper computer; the data relay device is used for receiving and processing first data packets, obtaining and outputting second data packets to the target devices and the upper computer, so as to realize data packet relay transmission between the multiple target devices and between the target devices and the upper computer and / or transmission scene simulation; the data relay device is further used for receiving instructions and sending instruction feedback to the upper computer.

8. The data transmission system of claim 7, wherein, The target devices comprise image acquisition devices used for acquiring and packing pixel data and outputting pixel data packets to the data relay device; the target devices are further used for receiving second data packets.

9. The data transmission system of claim 8, wherein, The target devices comprise acquisition cards used for sending control data packets to the data relay device and receiving second data packets.

10. The data transmission system of claim 9, wherein, The first data packets comprise pixel data packets and control data packets.

Citation Information

Patent Citations

  • Data processing method and device

    CN108882275A

  • Communication scene simulation method and device, electronic equipment and computer medium

    CN116582876A