Data transmission method, device and circuit based on Ethernet

By buffering and format conversion between the DSP and the Ethernet terminal, the inefficiency caused by network congestion and hardware failure in data transmission is solved, and efficient data transmission is achieved.

CN121367701APending Publication Date: 2026-01-20BESCORE NEW ENERGY TECH (QINGDAO) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511569991.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-30
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

In existing technologies, data packets are lost when DSP chips and Ethernet terminals are congested or experience hardware failures, and delays occur during high-traffic transmissions, resulting in low data transmission efficiency.

Method used

By storing Ethernet and DSP data in a memory and retrieving them from the memory for transmission when a received signal is triggered, data buffering and synchronous transmission are achieved. This includes data format conversion and memory management to ensure data integrity and compatibility.

Benefits of technology

It improves the data transmission efficiency between the DSP and the Ethernet terminal, avoids packet loss and delay, and ensures the success rate and integrity of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121367701A_ABST
    Figure CN121367701A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data transmission, particularly provides an Ethernet-based data transmission method, device and circuit, and aims to solve the technical problems that when network congestion or hardware faults occur, data packets are lost, and delay occurs during high-flow data transmission, so that the data transmission efficiency of a DSP (Digital Signal Processor) and an Ethernet terminal is low. In order to achieve the purpose, the data transmission method based on the Ethernet comprises the steps that Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP are obtained; ethernet data and DSP data are stored in a memory; acquiring a data receiving signal sent by the DSP; and according to the data receiving signal, the Ethernet data is taken out from the memory and then sent to the DSP.
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, and specifically provides a data transmission method, device and circuit based on Ethernet. BACKGROUND

[0002] At present, a digital signal processing (DSP) chip can communicate with Ethernet through a serial communication interface, a parallel communication interface, a high-speed serial interface or a special interface. Among the above data transmission interfaces, the serial peripheral interface (SPI) in the serial communication interface has the fastest transmission speed, so the DSP chip and the Ethernet can communicate through the SPI to realize fast data transmission.

[0003] In the prior art, an Ethernet terminal converts data into data in a user datagram protocol (UDP) format, and then transmits the data through Ethernet. The DSP chip parses the data in the UDP format to obtain a data packet. However, when network congestion or hardware failure occurs, the data packet will be lost, and when high-flow data transmission occurs, a delay will occur, thereby causing the technical problem of low data transmission efficiency of the DSP and the Ethernet terminal.

[0004] Therefore, there is a need in the art for a new data transmission method based on Ethernet to solve the above problems. SUMMARY

[0005] In order to overcome the above defects, the present application is proposed to solve or at least partially solve the technical problem in the prior art that when network congestion or hardware failure occurs, the data packet will be lost, and when high-flow data transmission occurs, a delay will occur, thereby causing the technical problem of low data transmission efficiency of the DSP and the Ethernet terminal.

[0006] In a first aspect, the present application provides a data transmission method based on Ethernet, comprising:

[0007] obtaining Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP;

[0008] storing the Ethernet data and the DSP data to a memory;

[0009] obtaining a data reception signal sent by the DSP;

[0010] According to the data reception signal, the Ethernet data is taken out from the memory and sent to the DSP.

[0011] In one of the technical solutions of the above-mentioned Ethernet-based data transmission method, after the Ethernet data and the DSP data are stored in the memory, the method further comprises:

[0012] acquiring a data sending signal sent by the DSP;

[0013] According to the data sending signal, the DSP data is sent to the Ethernet terminal after being taken out from the memory.

[0014] In one of the technical solutions of the above-mentioned Ethernet-based data transmission method, after the Ethernet data and the DSP data are acquired, the method further comprises:

[0015] decoding the Ethernet data to obtain Ethernet decoded data;

[0016] Converting the Ethernet decoded data into SPI data;

[0017] storing the SPI data in the memory;

[0018] acquiring a data receiving signal sent by the DSP;

[0019] According to the data receiving signal, the SPI data is sent to the DSP after being taken out from the memory.

[0020] In one of the technical solutions of the above-mentioned Ethernet-based data transmission method, after the Ethernet data and the DSP data are acquired, the method further comprises:

[0021] decoding the DSP data to obtain DSP decoded data;

[0022] Converting the DSP decoded data into UDP data;

[0023] storing the UDP data in the memory;

[0024] acquiring a data sending signal sent by the DSP;

[0025] According to the data sending signal, the UDP data is sent to the Ethernet terminal after being taken out from the memory.

[0026] In one of the technical solutions of the above-mentioned Ethernet-based data transmission method, after the SPI data is stored in the memory, the method further comprises:

[0027] acquiring a storage full signal of the memory;

[0028] According to the storage full signal, the SPI data storage is sent to the DSP after being taken out from the memory.

[0029] In one of the technical solutions of the above-mentioned Ethernet-based data transmission method, before the Ethernet data sent by the Ethernet terminal and the DSP data sent by the DSP are acquired, the method comprises:

[0030] Acquiring a handshake request sent by the DSP;

[0031] Sending the handshake request to the Ethernet terminal, so that the Ethernet terminal analyzes the handshake request to obtain DSP address information;

[0032] Acquiring Ethernet address information;

[0033] Sending the Ethernet address information to the DSP through the DSP address information.

[0034] In a second aspect, the present application provides an Ethernet-based data transmission device, comprising:

[0035] An acquisition module, configured to acquire Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP;

[0036] A storage module, configured to store the Ethernet data and the DSP data to a memory;

[0037] The acquisition module is further configured to acquire a data receiving signal sent by the DSP;

[0038] A processing module, configured to send the Ethernet data to the DSP after the Ethernet data is taken out from the memory according to the data receiving signal.

[0039] In a third aspect, the present application provides an Ethernet-based data transmission circuit, comprising a DSP chip 21, a CPLD chip 22, an Ethernet terminal 23 and a memory 24, wherein,

[0040] The DSP chip 21 is connected with the CPLD chip 22;

[0041] The CPLD chip 22 is connected with the Ethernet terminal 23;

[0042] The CPLD chip 22 is connected with the memory 24.

[0043] In one of the technical solutions of the above-mentioned Ethernet-based data transmission circuit, further comprising an isolation transformer 25, wherein,

[0044] The CPLD chip 22 is connected with the isolation transformer 25;

[0045] The isolation transformer 25 is connected with the Ethernet terminal 23.

[0046] In one of the technical solutions of the Ethernet-based data transmission circuit, the circuit further comprises a crystal oscillator 26, wherein,

[0047] The crystal oscillator 26 is connected with the CPLD chip 22.

[0048] The application provides an Ethernet-based data transmission method, device and circuit, and the method specifically comprises the following steps: obtaining Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP; storing the Ethernet data and the DSP data into a memory; obtaining a data receiving signal sent by the DSP; and according to the data receiving signal, taking out the Ethernet data from the memory and sending the Ethernet data to the DSP, so that the data transmission efficiency of the DSP and the Ethernet terminal is improved. BRIEF DESCRIPTION OF DRAWINGS

[0049] The disclosure will become more readily understood by reference to the accompanying drawings. It will be readily understood that these drawings are for purposes of illustration only and are not intended to limit the scope of the present application. Like reference numerals are used throughout the drawings and detailed description to indicate the same or similar elements.

[0050] Figure 1 is a flowchart of an embodiment one of an Ethernet-based data transmission method provided by the application;

[0051] Figure 2 is a flowchart of an embodiment two of an Ethernet-based data transmission method provided by the application;

[0052] Figure 3 is a flowchart of an embodiment three of an Ethernet-based data transmission method provided by the application;

[0053] Figure 4 is a flowchart of an embodiment four of an Ethernet-based data transmission method provided by the application;

[0054] Figure 5 is a flowchart of an embodiment five of an Ethernet-based data transmission method provided by the application;

[0055] Figure 6 is a flowchart of an embodiment six of an Ethernet-based data transmission method provided by the application;

[0056] Figure 7 is a structural diagram of an Ethernet-based data transmission device provided by the application;

[0057] Figure 8A structure schematic diagram of a first embodiment of an Ethernet-based data transmission circuit provided by the embodiment of the present application is shown in the figure.

[0058] Figure 9 A structure schematic diagram of a second embodiment of an Ethernet-based data transmission circuit provided by the embodiment of the present application is shown in the figure.

[0059] A list of reference numerals is shown in the figure.

[0060] 11: acquisition module; 12: storage module; 13: processing module; 21: DSP chip; 22: CPLD chip; 23: Ethernet terminal; 24: memory; 25: isolation transformer; 26: crystal oscillator; 31: processor; 32: memory. DETAILED DESCRIPTION

[0061] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application, and are not intended to limit the protection scope of the present application.

[0062] In the description of the present application, "module" and "processor" can include hardware, software or a combination of both. A module can include hardware circuit, various suitable sensors, communication port, memory, and can also include software part such as program code, and can be a combination of software and hardware. The processor can be a central processor, microprocessor, image processor, digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor can be implemented in software, hardware or a combination of both. The non-transitory computer readable storage medium includes any suitable medium that can store program code, such as magnetic disk, hard disk, optical disk, flash memory, read-only memory, random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B or both A and B. The term "at least one of A or B" or "at least one of A and B" has similar meaning as "A and / or B", and can include only A, only B or both A and B. The singular form of the term "one", "this" can also include plural forms.

[0063] In the prior art, when the DSP chip communicates with other devices, the fastest communication mode is SPI communication. However, when the main frequency of the DSP chip is above 25MHZ, the baud rate is difficult to improve, thereby causing the transmission speed difficult to improve. In addition, when network congestion or hardware failure occurs, data packets will be lost, and when high-flow data transmission occurs, delay will occur, thereby causing the technical problem of low data transmission efficiency of the DSP and the Ethernet terminal.

[0064] Based on this, in order to solve the above technical problems, the technical concept of the present application is to provide a new Ethernet-based data transmission method to improve the data transmission efficiency of DSP and Ethernet terminal.

[0065] The technical solutions of the present application and how the technical solutions solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.

[0066] Figure 1 is a flowchart of an embodiment of an Ethernet-based data transmission method provided by the present application. As shown in Figure 1 , specifically, the method comprises:

[0067] Step S101: obtaining Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP.

[0068] In this embodiment, the Ethernet terminal sends the Ethernet data to a complex programmable logic device (CPLD) through Ethernet by UDP protocol, and the DSP sends the DSP data to the CPLD through an SPI interface.

[0069] In this embodiment, for example, the Ethernet terminal can be a computer, a surveillance camera or an upper computer.

[0070] Step S102: storing the Ethernet data and the DSP data to a memory.

[0071] In this embodiment, after the CPLD receives the Ethernet data and the DSP data, it stores the Ethernet data and the DSP data to a memory.

[0072] In this embodiment, the memory can be a built-in memory of the CPLD or an external memory connected with the CPLD, and the data storage mode is a queue mode, that is, the data is arranged from the head to the tail according to the storage time of the memory.

[0073] Step S103: obtaining a data reception signal sent by the DSP.

[0074] In this embodiment, when the DSP needs to process the Ethernet data sent by the Ethernet, the DSP sends a data reception signal to the CPLD, and the CPLD receives the data reception signal.

[0075] Step S104: according to the data reception signal, taking out the Ethernet data from the memory and sending it to the DSP.

[0076] In the embodiment, the CPLD receives the data receiving signal, takes out the Ethernet data at the head of the memory and sends to the DSP.

[0077] In the embodiment, the Ethernet data sent by the Ethernet terminal and the DSP data sent by the DSP are acquired, the Ethernet data and the DSP data are stored into the memory, the data receiving signal sent by the DSP is acquired, and the Ethernet data is taken out from the memory and sent to the DSP according to the data receiving signal. Compared with the prior art, when network congestion or hardware failure occurs, data packets are lost, and when high-flow data transmission occurs, delay occurs, thereby leading to low data transmission efficiency of the DSP and the Ethernet terminal. According to the embodiment, the Ethernet data sent by the Ethernet to the DSP and the DSP data sent by the DSP to the Ethernet are stored into the memory, then when the DSP sends the data receiving signal, the Ethernet data is taken out from the memory and sent to the DSP according to the data receiving signal, the data sent by the Ethernet to the DSP is stored into the memory, and the DSP takes out the data from the memory when the data is needed, so that data packets are not lost when network congestion or hardware failure occurs, and the data transmission efficiency of the DSP and the Ethernet terminal is improved.

[0078] Figure 2 is a flowchart of embodiment two of the data transmission method based on Ethernet provided by the embodiment. Based on the above embodiment, as shown in Figure 2 , specifically, after step S102, the method further includes:

[0079] Step S201: acquiring the data sending signal sent by the DSP.

[0080] In the embodiment, the DSP sends the data sending signal to the Ethernet terminal through the SPI interface.

[0081] Step S202: taking out the DSP data from the memory and sending to the Ethernet terminal according to the data sending signal.

[0082] In the embodiment, the DSP data is taken out from the head of the queue and sent to the Ethernet terminal.

[0083] In the embodiment, the data sending signal sent by the DSP is acquired, and the DSP data is taken out from the memory and sent to the Ethernet terminal according to the data sending signal, so that the data of the DSP is successfully sent to the data of the Ethernet terminal, and the success rate of sending the data of the DSP to the Ethernet terminal is improved.

[0084] Figure 3 is a flowchart of embodiment three of the data transmission method based on Ethernet provided by the embodiment. Based on the above embodiment, as shown in Figure 3As shown, specifically, after step S101, the method further comprises:

[0085] Step S301: decoding the Ethernet data to obtain Ethernet decoded data.

[0086] In this embodiment, when the Ethernet terminal sends data through Ethernet, the UDP protocol is adopted, therefore, the Ethernet data needs to be UDP data, and after decoding the UDP data, the MAC address of the DSP, data information and check code and other information are obtained.

[0087] Step S302: converting the Ethernet decoded data into SPI data.

[0088] In this embodiment, the CPLD and the DSP are connected through the SPI interface, therefore, the Ethernet data needs to be converted into SPI data.

[0089] Step S303: storing the SPI data into the memory.

[0090] Step S304: obtaining the data receiving signal sent by the DSP.

[0091] In this embodiment, when the DSP needs to receive the Ethernet data, the DSP sends the data receiving signal to the CPLD through the SPI interface.

[0092] Step S305: according to the data receiving signal, taking out the SPI data from the memory and sending to the DSP.

[0093] In this embodiment, after the CPLD receives the data receiving signal sent by the DSP, the SPI data is taken out from the memory and sent to the DSP.

[0094] In this embodiment, the Ethernet data is decoded to obtain Ethernet decoded data, the Ethernet decoded data is converted into SPI data, the SPI data is stored into the memory, the data receiving signal sent by the DSP is obtained, and according to the data receiving signal, the SPI data is taken out from the memory and sent to the DSP, thereby improving the compatibility of data transmission by converting the data into the format recognized by the Ethernet and the format recognized by the DSP.

[0095] Figure 4 is a flowchart of a fourth embodiment of a data transmission method based on Ethernet provided by the embodiment of the application. Based on the above embodiment, as shown in Figure 4 , specifically, after step S101, the method further comprises:

[0096] Step S401: decoding the DSP data to obtain DSP decoded data.

[0097] In the embodiment, the DSP data is decoded to obtain DSP decoded data.

[0098] Step S402: converting the DSP decoded data into UDP data.

[0099] In the embodiment, the DSP decoded data is converted into UDP data according to the UDP protocol.

[0100] Step S403: storing the UDP data into the memory.

[0101] Step S404: obtaining a data sending signal sent by the DSP.

[0102] In the embodiment, when the DSP needs to send the UDP data, the data sending signal is sent to the CPLD.

[0103] Step S405: according to the data sending signal, the UDP data is taken out from the memory and then sent to the Ethernet terminal.

[0104] In the embodiment, after the CPLD receives the data sending signal, the UDP data is taken out from the memory and then sent to the Ethernet terminal.

[0105] In the embodiment, after the DSP data is decoded, the DSP decoded data is obtained; the DSP decoded data is converted into UDP data; the UDP data is stored into the memory; the data sending signal sent by the DSP is obtained; and according to the data sending signal, the UDP data is taken out from the memory and then sent to the Ethernet terminal, so that the efficiency of data transmission is improved.

[0106] Figure 5 is a flowchart of a fifth embodiment of the data transmission method based on Ethernet provided by the embodiment of the application. Based on the above-mentioned embodiments, as shown in Figure 5 , specifically, after step S303, the method further includes:

[0107] Step S501: obtaining a storage full signal of the memory.

[0108] In the embodiment, the CPLD monitors the remaining storage space in real time, and when the remaining storage space reaches a preset threshold, the CPLD generates the storage full signal.

[0109] Step S502: according to the storage full signal, the SPI data is taken out from the memory and then sent to the DSP.

[0110] In the embodiment, the CPLD takes out the SPI data in the memory from the memory and then sends to the DSP.

[0111] In the embodiment, a storage full signal of the storage is acquired; the SPI data is sent to the DSP after being taken out from the storage according to the storage full signal, so that the data loss in transmission is avoided and the integrity of data transmission is improved.

[0112] Figure 6 is a flowchart of an embodiment of the data transmission method based on Ethernet provided by the embodiment of the application. On the basis of the above-mentioned embodiments, as shown in Figure 6 Before step S101, the method further includes:

[0113] Step S601: acquiring the handshake request sent by the DSP.

[0114] In the embodiment, when the DSP communicates with the Ethernet terminal for the first time, the handshake with the Ethernet terminal is needed, specifically, the handshake request is generated by the DSP and is sent to the CPLD.

[0115] In the embodiment, for example, the handshake request is generated according to the address resolution protocol (ARP).

[0116] Step S602: sending the handshake request to the Ethernet terminal, so that the Ethernet terminal analyzes the handshake request and obtains the DSP address information.

[0117] In the embodiment, the handshake request sent by the DSP is sent to the Ethernet terminal by the CPLD according to the MAC address of the Ethernet terminal, the handshake request is analyzed by the Ethernet terminal, and the DSP address information is obtained.

[0118] Step S603: acquiring the Ethernet address information.

[0119] In the embodiment, the Ethernet address information is sent to the CPLD by the Ethernet terminal.

[0120] Step S604: sending the Ethernet address information to the DSP through the DSP address information.

[0121] In the embodiment, the Ethernet address information is sent to the DSP by the CPLD according to the DSP address information, and the DSP can send data to the Ethernet terminal according to the Ethernet address information.

[0122] In the embodiment, the handshake request sent by the DSP is acquired; the handshake request is sent to the Ethernet terminal, so that the Ethernet terminal analyzes the handshake request and obtains the DSP address information; the Ethernet address information is acquired; and the Ethernet address information is sent to the DSP through the DSP address information, so that the DSP data is accurately sent to the corresponding Ethernet terminal, and the accuracy of data transmission is improved.

[0123] It should be noted that although the steps in the above embodiments are described in a specific order, those skilled in the art will understand that in order to achieve the effects of the present invention, different steps do not necessarily have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders, and these variations are all within the scope of protection of the present invention.

[0124] Furthermore, the present invention also provides an Ethernet-based data transmission device.

[0125] Figure 7 This is a schematic diagram of an Ethernet-based data transmission device provided in an embodiment of the present invention. Figure 7 As shown, the Ethernet-based data transmission device in this embodiment of the invention mainly includes an acquisition module 11, a storage module 12, and a processing module 13. In some embodiments, one or more of the acquisition module 11, storage module 12, and processing module 13 can be combined into a single module. In some embodiments, the acquisition module 11 can be configured to acquire Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP. The storage module 12 can be configured to store the Ethernet data and DSP data in a memory. The acquisition module 11 can also be configured to acquire data reception signals sent by the DSP. The processing module 13 can be configured to retrieve the Ethernet data from the memory and send it to the DSP based on the data reception signals.

[0126] The aforementioned Ethernet-based data transmission device is used for performing Figures 1 to 6 The Ethernet-based data transmission method embodiments shown are similar in technical principle, the technical problems they solve, and the technical effects they produce. Those skilled in the art can clearly understand that, for the sake of convenience and brevity, the specific working process and related descriptions of the Ethernet-based data transmission device can be found in the descriptions of the Ethernet-based data transmission method embodiments, and will not be repeated here.

[0127] Those skilled in the art will understand that all or part of the processes in the method of the above embodiment of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable storage medium can include any entity or device capable of carrying the computer program code, a medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0128] Further, the application also provides an Ethernet-based data transmission circuit.

[0129] Figure 8 A structural schematic diagram of an Ethernet-based data transmission circuit provided by the embodiment of the application is shown in the figure. Figure 8 As shown in the figure, the Ethernet-based data transmission circuit comprises a DSP chip 21, a CPLD chip 22, an Ethernet terminal 23 and a memory 24, wherein,

[0130] The DSP chip 21 is connected with the CPLD chip 22; the CPLD chip 22 is connected with the Ethernet terminal 23; and the CPLD chip 22 is connected with the memory 24.

[0131] In this embodiment, for example, the DSP chip is connected with the CPLD chip 22 through a Chip Select (CS) pin, a Slave Output Master Input (SOMI) pin, a Slave input Master Output (SIMO) pin, a clock (CLK) pin, a Send pin, a Get pin and a Full pin; the CPLD chip 22 is connected with the Ethernet terminal 23 through an RJ45; and the CPLD chip 22 is connected with the memory 24 through an IIC.

[0132] In this embodiment, for example, the memory 24 can be an Electrically Erasable Programmable read only memory (EEPROM).

[0133] In this embodiment, by setting an external memory in the Ethernet-based data transmission circuit and connecting the memory with the CPLD chip through an IIC, the data storage speed and capacity are improved.

[0134] Figure 9 A structural schematic diagram of an Ethernet-based data transmission circuit provided by the embodiment of the application is shown in the figure. Figure 9 As shown in the figure, the Ethernet-based data transmission circuit further comprises an isolation transformer 25 and a crystal oscillator 26, wherein the CPLD chip 22 is connected with the isolation transformer 25; and the isolation transformer 25 is connected with the Ethernet terminal 23.

[0135] In this embodiment, for example, the CPLD chip 22 is connected with the isolation transformer 25 through TX and RX pins; and the isolation transformer is connected with the Ethernet terminal through an RJ45.

[0136] In this embodiment, the crystal oscillator is 20M, for example.

[0137] In this embodiment, the maximum frequency multiplication of the crystal oscillator is 50, that is, the maximum frequency of the crystal oscillator is 1000M.

[0138] In this embodiment, the isolation transformer 25 is arranged between the CPLD chip 22 and the Ethernet terminal 23, so that the output voltage of the CPLD can be raised to 5V, and the voltage fluctuation of the Ethernet terminal 23 can be suppressed, thereby protecting the CPLD chip from being damaged by high voltage.

[0139] Further, it should be understood that, since the setting of each module is only for illustrating the functional units of the device of the present application, the physical device corresponding to the module can be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of the software and the hardware. Therefore, the number of each module in the figure is only illustrative.

[0140] Those skilled in the art can understand that each module in the device can be adaptively split or combined. Such splitting or combining of the specific module does not cause the technical solution to deviate from the principles of the present application, and therefore, the technical solution after splitting or combining will fall within the protection scope of the present application.

[0141] So far, the technical solution of the present application has been described in combination with the preferred embodiments shown in the drawings, but those skilled in the art can easily understand that the protection scope of the present application is obviously not limited to these specific embodiments. Those skilled in the art can make equivalent changes or replacements to the related technical features without deviating from the principles of the present application, and the technical solution after the changes or replacements will fall within the protection scope of the present application.

Claims

1. An Ethernet-based data transmission method, characterized by, The method comprises the following steps: acquiring Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP; storing the Ethernet data and the DSP data into a memory; acquiring a data receiving signal sent by the DSP; sending the Ethernet data out of the memory according to the data receiving signal to the DSP.

2. The method of claim 1, wherein, After the step of storing the Ethernet data and the DSP data into the memory, the method further comprises the following steps: acquiring a data sending signal sent by the DSP; sending the DSP data out of the memory according to the data sending signal to the Ethernet terminal.

3. The method of claim 1, wherein, After the step of acquiring the Ethernet data sent by the Ethernet terminal and the DSP data sent by the DSP, the method further comprises the following steps: decoding the Ethernet data to obtain Ethernet decoded data; converting the Ethernet decoded data into SPI data; storing the SPI data into the memory; acquiring a data receiving signal sent by the DSP; sending the SPI data out of the memory according to the data receiving signal to the DSP.

4. The method of claim 1, wherein, After the step of acquiring the Ethernet data sent by the Ethernet terminal and the DSP data sent by the DSP, the method further comprises the following steps: decoding the DSP data to obtain DSP decoded data; converting the DSP decoded data into UDP data; storing the UDP data into the memory; acquiring a data sending signal sent by the DSP; sending the UDP data out of the memory according to the data sending signal to the Ethernet terminal.

5. The method of claim 3, wherein, After the step of storing the SPI data into the memory, the method further comprises the following steps: acquiring a storage full signal of the memory; sending the SPI data out of the memory according to the storage full signal to the DSP.

6. The method according to any one of claims 1 to 5, characterized in that, Before the step of acquiring the Ethernet data sent by the Ethernet terminal and the DSP data sent by the DSP, the method comprises the following steps: acquiring a handshake request sent by the DSP; sending the handshake request to the Ethernet terminal, so that the Ethernet terminal analyzes the handshake request to obtain DSP address information; acquiring Ethernet address information; sending the Ethernet address information to the DSP through the DSP address information.

7. A data transmission device based on Ethernet, characterized in that, The method comprises the following steps: an acquiring module, configured to acquire Ethernet data sent by an Ethernet terminal and DSP data sent by a DSP; a storing module, configured to store the Ethernet data and the DSP data into a memory; the acquiring module is further configured to acquire a data receiving signal sent by the DSP; a processing module, configured to send the Ethernet data out of the memory according to the data receiving signal to the DSP.

8. An Ethernet-based data transmission circuit, characterized by The method comprises the following steps: a DSP chip (21), a CPLD chip (22), an Ethernet terminal (23) and a memory (24), wherein the DSP chip (21) is connected with the CPLD chip (22); the CPLD chip (22) is connected with the Ethernet terminal (23); the CPLD chip (22) is connected with the memory (24).

9. The Ethernet-based data transmission circuit according to claim 8, characterized in that, The method further comprises the following steps: an isolation transformer (25), wherein the isolation transformer (25) is connected with the CPLD chip (22). The CPLD chip (22) is connected with the isolation transformer (25); The isolation transformer (25) is connected with the Ethernet terminal (23).

10. The circuit of claim 8, wherein, Further comprising: A crystal oscillator (26), wherein The crystal oscillator (26) is connected with the CPLD chip (22).