Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A serial port-based Ethernet communication method and device

A communication method and technology of a communication device, applied in the network field, can solve the problems of lack of scalability, versatility, and low efficiency, and achieve the effects of low cost, strong anti-interference ability, and cost reduction.

Active Publication Date: 2018-03-16
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) The information carried by the data message is fixed without any scalability. Any change in the management content will lead to the redefinition of the protocol, and the software must be redeveloped from the driver to the upper-layer application;
[0005] 2) Each protocol layer of the embedded microcontroller is customized by each manufacturer and is not universal
[0006] In addition, there is no verification at the SLIP protocol layer. If an error occurs in the packet transmitted by the SLIP line, it can only be found through the upper layer protocol, such as the header verification of the IP (Internet Protocol, Internet Protocol) datagram, and the TCP (TransmissionControl Protocol, transmission control protocol). Protocol) datagram header and data verification, etc., the efficiency is very low

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
  • A serial port-based Ethernet communication method and device
  • A serial port-based Ethernet communication method and device
  • A serial port-based Ethernet communication method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0045] In the first embodiment of the present invention, a serial port-based Ethernet communication method, such as figure 1 shown, including the following specific steps:

[0046] Step S101, after the sending end encapsulates the IP datagram and its verification data together into a SLIP datagram, and sends it to the receiving end through a serial line;

[0047] Specifically, step S101 includes the following process:

[0048] Adding a first protocol interface between the first IP protocol processing layer and the first SLIP protocol processing layer at the sending end;

[0049] The first protocol interface calculates verification data for the IP datagram, and encapsulates the verification data together with the IP datagram into an IP-like datagram;

[0050] The first SLIP protocol processing layer encapsulates the IP-like datagram into a SLIP datagram.

[0051] Further, the calculation process of the verification data of the IP datagram includes:

[0052] On the basis of ...

no. 2 example

[0065] In the second embodiment of the present invention, a serial port-based Ethernet communication device, such as figure 2 mentioned, including:

[0066] The sending end module 100 is used for encapsulating the IP datagram and its verification data together into a SLIP datagram and sending it to the receiving end through a serial line;

[0067] Specifically, the sending end module 100 specifically includes:

[0068] The first IP protocol processing layer 11 is used to generate IP datagrams;

[0069] The first protocol interface 12 is located between the first IP protocol processing layer 11 and the first SLIP protocol processing layer 13, and is used to calculate check data for the IP datagram, and encapsulate the check data together with the IP datagram into IP-like datagram;

[0070] The first SLIP protocol processing layer 13 is configured to encapsulate IP-like datagrams into SLIP datagrams.

[0071] Further, the calculation process of the verification data of the ...

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

The invention discloses an Ethernet communication method and device based on a serial port. The method includes: after the sending end encapsulates the IP datagram and its verification data together into a SLIP datagram, and sends it to the receiving end through a serial line; the receiving end The SLIP datagram is received through the serial line and the IP datagram is verified based on the verification data therein. When the verification is passed, the IP datagram is parsed. Run the improved SLIP protocol on the serial line of the sending end and the receiving end device to realize running the TCP / IP protocol. In the serial line, the data is sent and received through the URAT interface and carried by the RS485 differential serial bus during transmission, which has the advantages of strong anti-interference ability. At the same time, the present invention has the link layer data verification function by modifying the SLIP protocol.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a serial port-based Ethernet communication method and device. Background technique [0002] Most of the current embedded MCU (Micro Controller Unit, microcontroller) communication interface uses UART (Universal Asynchronous Receiver / Transmitter, Universal Asynchronous Receiver / Transmitter) interface (usually called serial port), if its network layer protocol uses PPP (Point to Point Protocol, point-to-point protocol), it is necessary to implement the link control protocol, network control protocol and authentication protocol, which has high requirements for embedded microcontrollers, which is not conducive to reducing costs; and when the network layer protocol of the MCU consists of the IP protocol layer and When the underlying SLIP (Serial Line Internet Protocol, serial line interface protocol) layer is implemented, the SLIP protocol was originally designed to be used on the RS...

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 Patents(China)
IPC IPC(8): H04L29/06H04L1/00
Inventor 王勇邹鹏
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products