Method for processing data in Ethernet
A technology of data processing and Ethernet, applied in the field of communication, to achieve the effect of easy interface, simple operation, improved flexibility and compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] MAC data packets are transmitted between device 1 and device 2. Device 2 uses a virtual network device driver to send and receive data. The detailed process of receiving data can be as follows:
[0075] First, device one sends MAC data packets to device two through optical fiber. The MAC data packet format is the standard Ethernet MAC data frame format. The MAC data packet types include unicast packets, broadcast packets and multicast packets, which are distinguished by different MAC addresses.
[0076] The underlying physical device FPGA of device two triggers an interrupt after receiving the MAC data frame from the optical port, and the interrupt service program reads the MAC data frame from the FIFO of the FPGA into the buffer, and records the header of the MAC data frame in the buffer tail pointer. Send the virtual network device driver receiving function and the above head and tail pointers to the network task message queue, and the network task message queue calls...
Embodiment 2
[0081] Device 1 and Device 2 transmit HDLC data packets, and the frame format of HDLC data packets is shown in Table 1:
[0082] Destination address
package type
package content
1byte
1byte
1byte
nbyte
[0083] Table 1
[0084] The package types include:
[0085] 0×00--data frame, the packet content of this type of HDLC frame is IP data packet;
[0086] 0×01--request test frame, the package content of this type of HDLC frame is 0, and the length is 1 byte;
[0087] 0×02-request reply test frame, the packet content of this type of HDLC frame is 0, the length is 1 byte, it is used as the reply of the data frame of type 0×01.
[0088] In this embodiment, device 2 uses a virtual network device driver to complete the sending and receiving of data, and the detailed process of receiving data is as follows:
[0089] First, device one sends HDLC data packets to device two through optical fiber.
[0090] The underlying...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com