Transmitting method, receiving method, transmitting device, and receiving device for interface data
AssigneeShenzhen Lenkeng Technology Co.,Ltd
InventorBinghai Gao
Life of this patent
Estimating the term…
Abstract
Disclosed are a transmitting method, a receiving method, a transmitting device and a receiving device for interface data. The transmitting method includes: interface data is obtained by the transmitting device via a first USB interface. The interface data is processed to obtain UDP packet by the transmitting device. The UDP packet is transmitted, by the transmitting device, to a first communication module. The UDP packet is transmitted to the receiving device or switch. By adopting the disclosure, ultra-low latency transmission of USB interface data between devices in long-distance transmission can be achieved.
Claims12
A transmitting method for interface data, comprising:
- obtaining, by a transmitting device, interface data via a first universal serial bus (USB) interface;
- processing, by the transmitting device, the interface data to obtain a user datagram protocol (UDP) packet;
- and
- transmitting, by the transmitting device, the UDP packet to a first communication module;
- wherein processing, by the transmitting device, the interface data to obtain the UDP packet comprises:
- processing, by the transmitting device, the interface data to obtain gigabit Ethernet media independent interface (MII) data;
- and
- encapsulating, via a first FPGA module or by a first integrated circuit, the gigabit Ethernet MII data based on the UDP protocol to obtain the UDP packet;
- wherein the gigabit Ethernet MII data comprises reduced gigabit media independent interface (RGMII) data, GMII interface data or SGMII interface data;
- and
- after transmitting, by the transmitting device, the UDP packet to the first communication module,
- framing, by the transmitting device, the UDP packet into a superframe by a framing module of the first communication module;
- transmitting, by the transmitting device, the superframe to a first optical module of the first communication module via a first Ethernet media access control (MAC) unit of the first communication module;
- converting, by the transmitting device, the superframe into an optical signal by the first optical module;
- and
- transmitting, by the transmitting device, the optical signal to a switch through the UDP;
- wherein the switch is configured to forward the optical signal to a receiving device connected to the switch, and the first optical module comprises an optical module with a transmission rate not lower than a first threshold;
- or
- transmitting, by the transmitting device, the superframe to a first electrical module of the first communication module via a first Ethernet MAC unit of the first communication module;
- and
- transmitting, by the transmitting device, the superframe to a switch through the UDP;
- wherein the switch is configured to forward the superframe to a receiving device connected to the switch, and the first electrical module comprises a first physical interface transceiver (PHY) and a first RJ-45 interface;
- the first electrical module comprises an electrical module with a transmission rate not lower than a first threshold.
A receiving method for interface data, comprising:
- obtaining, by a receiving device, a user datagram protocol (UDP) packet from a second communication module via an output interface of the second communication module;
- processing, by the receiving device, the UDP packet to obtain target interface data;
- wherein obtaining, by the receiving device, the UDP packet from the second communication module comprises:
- obtaining, by the receiving device, an optical signal from a switch or transmitting device based on the UDP protocol by a second optical module of the second communication module;
- converting, by the receiving device, the optical signal into a superframe by a second optical module of the second communication module based on UDP;
- wherein the second optical module comprises an optical module with a transmission rate not lower than a second threshold;
- transmitting, by the receiving device, the superframe to a unframing module via a second Ethernet media access control (MAC) unit of the second communication module;
- and
- unframing, by the receiving device, the superframe into the UDP packet by a unframing module;
- or
- obtaining, by the receiving device, the superframe from a switch or transmitting device by a second electrical module of the second communication module;
- wherein the second electrical module comprises a second physical interface transceiver (PHY) and a second RJ-45 interface;
- and the second electrical module comprising an electrical module with a transmission rate not lower than a second threshold;
- transmitting, by the receiving device, the superframe to the unframing module through the second Ethernet MAC unit;
- and
- unframing, by the receiving device, the superframe into the UDP packet by the unframing module;
- wherein processing, by the receiving device, the UDP packet to obtain the target interface data comprises:
- decapsulating, by the receiving device, the UDP packet by a second FPGA module or a second integrated circuit based on the UDP to obtain gigabit Ethernet MII data;
- processing, by the receiving device, the gigabit Ethernet MII data to obtain the target interface data;
- wherein the gigabit Ethernet MII data comprises RGMII data, GMII data, or SGMII data.
Dependencies are inferred from the claim text.