Linkless communication method and system based on Ethernet mac address
A technology of MAC address and communication method, which is applied in the field of linkless communication method and system, can solve the problems affecting the versatility and configuration limitations of communication equipment, and the inability to open the IP address of the entire network segment, etc., and achieve the effect of easy implementation and expansion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] The process of S1 is: the server and the client respectively use the socket function to create a socket whose socket type and address family are data links, and bind the same service to the sockets of the server and the client The port number is bound to the specified server MAC address on the server socket; in S2, the client sends Ethernet data frames to the server through the socket, and in S3, the server receives Ethernet data frames through the socket.
Embodiment 2
[0045] The process of S2 includes:
[0046] S201: The client encapsulates the data to be sent into a linkless transmission protocol message, see figure 2 As shown, the linkless transmission protocol message includes the source port number (the source port number is specified by the client), the destination port number (that is, the bound service port number), and the payload length (that is, the length of the linkless transmission protocol message) , the checksum, and the payload (that is, the specific linkless transport protocol message), go to S202.
[0047] S202: Encapsulate the linkless transmission protocol message into the public message header, see image 3 As shown, the public message header includes version number, payload length (that is, the length of the linkless transmission protocol message), reserved bits, hop count, protocol type, source MAC address, and destination MAC address, and then go to S203.
[0048]S203: Encapsulate the public packet header with Eth...
Embodiment 3
[0050] On the basis of Embodiment 2, when the MAC address of the server described in S1 is a non-zero MAC address, the process of S3 includes: the server monitors that the destination MAC address is the same as the bound server MAC address, and the destination port number When the Ethernet data is the same as the bound service port number, after receiving the Ethernet data, through the monitoring service program corresponding to the destination MAC address, service port number and protocol type of the Ethernet data, according to the agreed message format and The processing flow handles Ethernet data.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


