Ethernet data transmission equipment and implementation method based on Linux system
By designing an Ethernet data transmission device based on Linux system, using the combination of multiple terminal devices and tap-in devices, the problems of limited transmission paths and low data transmission efficiency in the prior art are solved, and the Ethernet is achieved Flexible control and efficient transmission of network data.
Patent Information
- Application Number
- CN202111216598.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-19
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2041-10-19
AI Technical Summary
The existing Ethernet data transmission technology has problems such as limited transmission paths, low data transmission efficiency, unavailability of data related information, and uncontrollable data input and output methods.
Design an Ethernet data transmission device based on Linux system, including multiple terminal devices and tap-in devices. The multi-end device can set the input method and data information according to the needs to establish corresponding connections; the tap device can set the output method and data receiving information according to the needs to establish corresponding connections. Data integration and analysis are carried out through digital optical ports to realize the transmission of multi-channel Ethernet data.
It realizes flexible control and efficient transmission of Ethernet data, and can transmit one or multiple Ethernet data according to needs, improving the efficiency and flexibility of data transmission.
Smart Images

Figure CN115701892B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an Ethernet data transmission device, and in particular to an Ethernet data transmission device based on a Linux system and an implementation method thereof. Background Art
[0002] In the current communication technology field, for Ethernet data transmission, the main method currently used is to connect Ethernet data to the data processing system and then parse and process the data. There are various processing methods, but no matter which processing method is used, the ultimate goal is to connect the Ethernet data that needs to be monitored and transmitted to the processing equipment to complete the subsequent analysis, processing and transmission. However, the data input and output methods (TCP or UDP) and the specific information of the data (IP information and port information) cannot be set according to the needs. Only data processing and monitoring effects can be achieved, and the specific information of the data cannot be clearly understood. In addition, the number of data access paths is limited, which has certain limitations. Summary of the invention
[0003] In view of the status and shortcomings of the prior art, the present invention provides an Ethernet data transmission device and an implementation method based on a Linux system. Its purpose is to provide a transmission device and an implementation method that can transmit one or more Ethernet data, in view of the current problems of long-distance Ethernet data transmission, such as limited transmission paths, low data transmission efficiency, inability to obtain data-related information, and uncontrollable data input and output methods.
[0004] The device consists of a multiplexing terminal device and a tapping terminal device. The multiplexing terminal device can set the input mode and specific information of the input Ethernet data according to requirements and establish corresponding connections. The data processing system can monitor and process the data based on this information; the tapping terminal device can set the data output mode and specific information of the data receiving end according to requirements and establish corresponding connections, and complete the data output.
[0005] The technical solution adopted by the present invention is: an Ethernet data transmission device based on the Linux system, comprising a multiplexing terminal device and a branching terminal device;
[0006] The multiplexing terminal device is composed of a main control chip I, a touch screen I, a control network port I, a data network port I and a digital optical port I arranged in a housing I;
[0007] The branch terminal device is composed of a main control chip II, a touch screen II, a control network port II, a data network port II and a digital optical port II arranged in a housing II;
[0008] The circuit connection of the multiplexing terminal equipment is as follows:
[0009] The main control chip I is connected to the control network port I, the data network port I and the digital optical port I respectively, the control network port I is connected to the touch display screen I, the touch display screen I is arranged on the front panel of the housing I, and the control network port I, the data network port I and the digital optical port I are arranged on the rear panel of the housing I;
[0010] The circuit connection of the tapping terminal equipment is as follows:
[0011] The main control chip II is connected to the control network port II, the data network port II and the digital optical port II respectively, the control network port II is connected to the touch display screen II, the touch display screen II is arranged on the front panel of the housing II, and the control network port II, the data network port II and the digital optical port II are arranged on the rear panel of the housing II;
[0012] The multiplexing terminal device is connected to the digital optical port II of the branching terminal device via the digital optical port I.
[0013] A method for implementing an Ethernet data transmission device based on a Linux system, the steps are as follows:
[0014] The user of the multiplexing terminal device remotely sets the IP information and port number of the Ethernet data through the host computer Ⅰ or the local device through the touch screen Ⅰ. The host computer Ⅰ and the local touch screen Ⅰ establish a network connection with the main control chip Ⅰ through the control network port Ⅰ;
[0015] The multiplexing end device starts the corresponding TCP Server or UDP Server thread according to the multiple IPs and port numbers. When a connection is established with the TCP Client or UDP Client and data is transmitted, the touch screen Ⅰ and the host computer Ⅰ will display the corresponding rate;
[0016] The Ethernet data of the multiplexer device is input through the data network port, and the data is transmitted to the main control chip I through the data network port I. After receiving the Ethernet data, the main control chip I analyzes and processes the data, and then sends it to the digital optical port I, and finally sends it through the digital optical port I in the form of an optical signal;
[0017] The user of the tap-end device remotely sets the IP information and port number of the Ethernet data through the host computer Ⅱ or the local device through the touch screen Ⅱ. The host computer Ⅱ and the local touch screen Ⅱ establish a network connection with the main control chip Ⅱ through the control network port Ⅱ.
[0018] The tap-end device starts the corresponding TCP Client or UDP Client thread to establish a connection with the TCP Server or UDP Server according to the multiple IP and port numbers. When there is a signal input at the digital optical port II, the tap-end device will send the parsed data from the data network port II to the data receiving end through TCP communication, and the touch screen II and the host machine will display the corresponding rate; the tap-end device receives the optical signal from the multiplexing end device through the digital optical port II and transmits it to the main control chip II. The main control chip II parses and processes the optical signal, restores it to the Ethernet data input by the multiplexing end device and sends it to the data network port II, and finally completes the transmission through the data network port II.
[0019] The beneficial effects of the present invention are:
[0020] The present invention is an Ethernet data transmission device in which a multiplexing terminal device integrates multiple signals into a single signal and transmits the single optical signal, and a branching terminal device restores the data into multiple signals for transmission.
[0021] The multiplexing end device can not only flexibly establish multi-channel TCP or UDP communications with the data input end and receive multi-channel Ethernet data according to customer needs, but also integrate the data and output it in the form of a single optical signal; the demultiplexing end device can not only establish multi-channel TCP or UDP communications with the data receiving end, but also parse the input single optical signal to restore multi-channel Ethernet data and send the data to the data receiving end through TCP or UDP communication.
[0022] The device has strong controllability; compared with the existing technology, the device can not only parse and process the input data, but the multiplexing end device can also set the input Ethernet data mode and establish the corresponding connection according to the needs, set the IP information and port information of the data, and the tapping end device can set the output Ethernet data mode and establish the corresponding connection, set the IP information and port information of the data, so as to achieve the purpose of controllable data parameter information to be transmitted.
[0023] High data transmission efficiency; in the prior art, the number of Ethernet data transmission channels is limited, and the device can transmit one or more Ethernet data channels according to demand. The multiplexing end device can simultaneously receive one or more Ethernet data channels according to the settings of the touch display screen I or the host computer I, and parse and process the data and finally output it as a single optical signal; the tapping end device can parse the single optical signal into the original multi-channel Ethernet data according to the settings of the touch display screen II or the host computer II, and send it to the data receiving end.
[0024] High flexibility; compared with the prior art, the device can not only set the number of data transmission paths according to demand, but the host computer I and touch display screen I of the multiplexing end device can also set the Ethernet data transmission mode, multi-channel IP information and port numbers according to actual user needs, and the host computer II and touch display screen II of the branching end device can set the Ethernet data transmission mode, multi-channel IP information and port numbers according to actual user needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a system connection block diagram of the present invention;
[0026] Figure 2 It is a front view of the multiplexing terminal device of the present invention;
[0027] Figure 3 It is a rear view of the multiplexing terminal device of the present invention;
[0028] Figure 4 It is a front view of the tap terminal device of the present invention;
[0029] Figure 5 It is a rear view of the tap terminal device of the present invention;
[0030] Figure 6 This is a functional diagram of the touch display screen of the present invention;
[0031] Figure 7 It is a software flow chart of the present invention when the Ethernet data of the multiplexing terminal device is transmitted in TCP mode;
[0032] Figure 8 This is a software flow chart of the present invention when the Ethernet data of the tap terminal device is transmitted in TCP mode. DETAILED DESCRIPTION
[0033] The present invention is further described below in conjunction with the accompanying drawings.
[0034] like Figures 1 to 5 As shown, an Ethernet data transmission device based on the Linux system includes a multiplexing terminal device and a branching terminal device, wherein the multiplexing terminal device is composed of a main control chip Ⅰ, a touch screen Ⅰ1-1, a control network port Ⅰ1-2, a data network port Ⅰ1-3 and a digital optical port Ⅰ1-4 arranged in a housing Ⅰ1;
[0035] The branch terminal device is composed of a main control chip II, a touch screen II2-1, a control network port II2-2, a data network port II2-3 and a digital optical port II2-4 arranged in a shell II2.
[0036] The touch display screen Ⅰ1-1 is arranged on the front panel of the housing Ⅰ1, and the control network port Ⅰ1-2, the data network port Ⅰ1-3 and the digital optical port Ⅰ1-4 are arranged on the rear panel of the housing Ⅰ1.
[0037] The touch display screen II2-1 is arranged on the front panel of the shell II2, and the control network port II2-2, the data network port II2-3 and the digital optical port II2-4 are arranged on the rear panel of the shell II2.
[0038] The models of main control chip I and main control chip II are both ZYNQ 030.
[0039] The user can use the host computer Ⅰ to establish a TCP connection with the multiplexing end device through the control network port Ⅰ1-2 and realize remote control. The user can also use the touch screen Ⅰ1-1 to establish a TCP connection with the multiplexing end device through the control network port Ⅰ1-2 and realize local control. Use the host computer Ⅱ to establish a TCP connection with the tapping end device through the control network port Ⅱ2-2 and realize remote control. The user can also use the touch screen Ⅱ2-1 to establish a TCP connection with the tapping end device through the control network port Ⅱ2-2 and realize local control.
[0040] The Ethernet data is input through the data network port Ⅰ1-3 of the multiplexing terminal device. After receiving the Ethernet data, the main control chip Ⅰ analyzes and processes the data and sends it to the digital optical port Ⅰ1-4. Finally, it is sent through the digital optical port Ⅰ1-4 in the form of an optical signal.
[0041] The branch terminal device receives the optical signal from the multiplexing terminal device through the digital optical port II2-4, analyzes and processes the optical signal, restores it to the Ethernet data input by the multiplexing terminal device, and finally sends it through the data network port II2-3.
[0042] like Figure 2 and Figure 4 As shown, the touch screen Ⅰ1-1 and the touch screen Ⅱ2-1 can set the network information of the control network port, the network information of the data network port and the IP information, port and rate of multiple Ethernet data.
[0043] like Figure 3 and Figure 5 As shown, the data network port Ⅰ1-3 of the multiplexing end device is used to establish a TCP or UDP connection with the Ethernet data input end and receive Ethernet data; the data network port Ⅱ2-3 of the branching end device is used to establish a TCP or UDP connection with the data receiving end and send Ethernet data.
[0044] The multiplexing terminal device is controlled by the host computer I and the touch screen Ⅰ1-1 through the control network port Ⅰ1-2, and the branching terminal device is controlled by the host computer Ⅱ or the touch screen Ⅱ2-1 through the control network port Ⅱ2-2.
[0045] The digital optical ports Ⅰ1-4 of the multiplexing terminal equipment are used for outputting the optical signals after the multiple Ethernet channels are integrated; the digital optical ports Ⅱ2-4 of the demultiplexing terminal equipment are used for receiving the optical signals.
[0046] Figure 6 This is a functional diagram of the touch screen. The functions of the host computer are the same as those of the touch screen.
[0047] like Figure 7 and Figure 8 As shown, the implementation method of the Ethernet data transmission device based on the Linux system, the steps are as follows:
[0048] The overall process of Ethernet data transmission is as follows: after the multiplexing end device and the tapping end device are started, the remote host computer Ⅰ of the multiplexing end device and the local touch display screen Ⅰ1-1 establish a network connection with the main control chip Ⅰ through the control network port Ⅰ1-2. The user can set the input method of Ethernet data, such as TCP method, IP information and port number. The remote host computer Ⅱ of the tapping end device and the local touch display screen Ⅱ2-1 establish a network connection with the main control chip Ⅱ through the control network port Ⅱ2-2. The user can set the output method of Ethernet data, such as TCP method, IP information and port number.
[0049] The multiplexing end device will first start the corresponding TCP Server thread according to the multiple IPs and port numbers. When a connection is established with the TCP Client and data is transmitted, the touch screen Ⅰ1-1 and the host computer Ⅰ will display the corresponding rates. When this information is changed on the touch screen Ⅰ1-1 or the host computer Ⅰ, the main control chip Ⅰ will change and save it accordingly. For channels where the IP or port has changed, the main control chip Ⅰ closes the original TCP connection and establishes a new TCP connection to receive data from the data end in a timely manner.
[0050] After receiving Ethernet data through the data network port Ⅰ1-3, it is integrated and output in the form of optical signals through the digital optical port Ⅰ1-4.
[0051] The tap-end device will first start the corresponding TCP Client thread to establish a connection with the TCP Server according to the multiple IP and port numbers. When there is a signal input at the digital optical port Ⅱ2-4, the tap-end device will send the parsed data from the data network port Ⅱ2-3 to the data receiving end through TCP communication. The touch screen Ⅱ2-1 and the host computer Ⅱ will display the corresponding rate. When the information is changed on the touch screen Ⅱ2-1 or the host computer Ⅱ, the main control chip Ⅱ will be changed and saved accordingly. For the channel with changed IP or port, the main control chip Ⅱ closes the original TCP connection and establishes a new TCP connection to send the data to the receiving end in time. The main control chip Ⅰ and the main control chip Ⅱ of the multiplexing end device and the branching end device can save and monitor the network information of the control network port of the device. When this information is changed on the touch screen Ⅰ1-1 or the touch screen Ⅱ2-1 or the host computer Ⅰ or the host computer Ⅱ, the main control chip will be changed and saved accordingly, and the device will automatically restart. After that, the main control chip re-establishes the connection with the touch screen Ⅰ1-1 or the touch screen Ⅱ2-1 and the host computer Ⅰ or the host computer Ⅱ, and can save and monitor the network information of the data network port. When this information is changed on the touch screen Ⅰ1-1 or the touch screen Ⅱ2-1 or the host computer Ⅰ or the host computer Ⅱ, the main control chip will be changed and saved accordingly, and the corresponding TCP connection will be changed accordingly.
[0052] The above steps are for when the Ethernet transmission mode is TCP. The steps are the same when the Ethernet transmission mode is UDP.
Claims
1. An Ethernet data transmission device based on Linux system, characterized in that: Includes multiplexing terminal equipment and branching terminal equipment; The multiplexing terminal device is composed of a main control chip I arranged in a housing I (1), a touch screen I (1-1), a control network port I (1-2), a data network port I (1-3) and a digital optical port I (1-4); The branch terminal device is composed of a main control chip II arranged in a housing II (2), a touch display screen II (2-1), a control network port II (2-2), a data network port II (2-3) and a digital optical port II (2-4); The circuit connection of the multiplexing terminal equipment is as follows: The main control chip I is connected to the control network port I (1-2), the data network port I (1-3) and the digital optical port I (1-4) respectively; the control network port I (1-2) is connected to the touch display screen I (1-1); the touch display screen I (1-1) is arranged on the front panel of the housing I (1); the control network port I (1-2), the data network port I (1-3) and the digital optical port I (1-4) are arranged on the rear panel of the housing I (1); The circuit connection of the tapping terminal equipment is as follows: The main control chip II is respectively connected to the control network port II (2-2), the data network port II (2-3) and the digital optical port II (2-4); the control network port II (2-2) is connected to the touch display screen II (2-1); the touch display screen II (2-1) is arranged on the front panel of the housing II (2); the control network port II (2-2), the data network port II (2-3) and the digital optical port II (2-4) are arranged on the rear panel of the housing II (2); The multiplexing terminal device is connected to the digital optical port II (2-4) of the demultiplexing terminal device via the digital optical port I (1-4).
2. A method for implementing the Ethernet data transmission device based on Linux system according to claim 1, characterized in that: Here are the steps: The user of the multiplexing terminal device remotely sets the IP information and port number of the Ethernet data through the host computer Ⅰ or the local device through the touch screen Ⅰ (1-1). The host computer Ⅰ and the local device's touch screen Ⅰ (1-1) establish a network connection with the main control chip Ⅰ through the control network port Ⅰ (1-2); The multiplexing end device starts the corresponding TCP Server or UDP Server thread according to the multiple IP and port numbers. When a connection is established with the TCP Client or UDP Client and data is transmitted, the touch screen Ⅰ (1-1) and the host computer Ⅰ will display the corresponding rate; The Ethernet data of the multiplexing terminal device is input through the data network port, and the data is transmitted to the main control chip I through the data network port I (1-3). After receiving the Ethernet data, the main control chip I analyzes and processes the data, and then sends it to the digital optical port I (1-4). Finally, it is sent in the form of an optical signal through the digital optical port I (1-4); The user of the tap-end device remotely sets the IP information and port number of the Ethernet data through the host computer Ⅱ or the local device through the touch screen Ⅱ (2-1). The host computer Ⅱ and the local device's touch screen Ⅱ (2-1) establish a network connection with the main control chip Ⅱ through the control network port Ⅱ (2-2); The tap-end device starts the corresponding TCP Client or UDP Client thread to establish a connection with the TCP Server or UDP Server according to the multiple IP and port numbers. When there is a signal input at the digital optical port II (2-4), the tap-end device will send the parsed data from the data network port II (2-3) to the data receiving end through TCP communication. The touch screen II (2-1) and the host machine will display the corresponding rate. The tap-end device receives the optical signal from the multiplexing end device through the digital optical port II (2-4) and transmits it to the main control chip II. The main control chip II parses and processes the optical signal, restores it to the Ethernet data input by the multiplexing end device and sends it to the data network port II (2-3). Finally, the transmission is completed through the data network port II (2-3).
Citation Information
Patent Citations
Method for establishing virtual multi-Ethernet channel through optical fibre
CN102223282A
Serial communication implementation device of electric power optical fiber composite overhead ground wire (OPGW)
CN102833001A