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

Active Publication Date: 2008-08-20
SHENZHEN GRENTECH RF COMM LTD
View PDF0 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional solution using physical network ports and dedicated network port chips has special requirements for transmission media, transmission protocols and transmitted data formats, which obviously cannot meet this demand.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for processing data in Ethernet
  • Method for processing data in Ethernet
  • Method for processing data in Ethernet

Examples

Experimental program
Comparison scheme
Effect test

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

source 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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A data-processing method in Ethernet includes steps: A, CPU loads virtual network appliance drivers and executes initialization; B, CPU reads data from bottom layer physical equipment and storages into buffer zone; the data and virtual network appliance drive receiving function are transmitted to network task queue, the network task queue transfers drive receive function for processing and submitting data to agreement stack; the agreement stack transmits data to upper layer application routine; C, the upper layer application routine transmits the data to agreement stack, and takes out the data from agreement stack for storing in virtual network appliance; the virtual network appliance transmits the packing data to bottom layer physical equipment; the bottom layer physical equipment transmits data. The present invention realizes analogue network card function without using net mouth chip, resolving network communication problem between bottom layer physical equipment and upper layer application routine, improving flexibility and compatibility of network process and efficiency of data-transmission.

Description

【Technical field】 [0001] The invention relates to the technical field of communication, in particular to a method for data processing in the Ethernet. 【Background technique】 [0002] In the communication field, the monitoring unit of the communication equipment is used to initialize the network equipment and monitor the operation status of the network equipment. The data processed by the monitoring unit during the working process is often not from the network port, but the data with a special protocol format transmitted through the optical fiber or other cables, so it is required to use a method to take out the data transmitted from the optical fiber and sent to the application. The traditional solution using physical network ports and dedicated network port chips has special requirements for transmission media, transmission protocols, and transmitted data formats, which obviously cannot meet this demand. 【Content of invention】 [0003] The object of the present inventio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/26H04L29/06
Inventor 鹿丙杰
Owner SHENZHEN GRENTECH RF COMM LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products