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

HDLC-based multi-serial port communication method

A communication method and multi-serial port technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve problems such as increased costs, unfavorable system expansion, etc., and achieve the effect of ensuring integrity and expanding buffer space

Active Publication Date: 2016-08-10
GUANGZHOU HAIGE COMM GRP INC
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you want to change the number of ports or the cache space, you need to add hardware to realize it, which is not conducive to system expansion, and also needs to increase the corresponding cost

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
  • HDLC-based multi-serial port communication method
  • HDLC-based multi-serial port communication method
  • HDLC-based multi-serial port communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The specific embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0026] like Figure 1-Figure 5 As shown, an HDLC-based multi-serial communication method includes a first embedded system device and a second embedded system device; the first embedded system device includes a first CPU and a first FPGA, and the second embedded system device includes a first CPU and a first FPGA. The system equipment includes a second CPU and a second FPGA; the HDLC protocol is used between the first CPU and the first FPGA to implement data transmission and reception, and the HDLC protocol is used between the second CPU and the second FPGA to implement data transmission and reception, A parallel multi-serial port is used between the first FPGA and the second FPGA to realize data transmission and reception;

[0027] The HDLC data sent by the first CPU passes through the first FPGA and the second FPGA in sequence and is finally...

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 HDLC-based multi-serial port communication method. According to the method, embedded system equipment is provided, wherein the embedded system equipment comprises a CPU and an FPGA. The step of receiving HDLC data by the CPU comprises the following flows: after receiving the HDLC data by the FPGA from a certain serial port, adding 4 byte headers on the received HDLC data, wherein the first byte is a serial port marking number, the second and third bytes are compensation bytes obtained according to CRC algorithm theory calculation, and the fourth byte is 0; sending the data to the CPU; after receiving the data by the CPU, removing the four byte headers and recording the serial port number; carrying out discarding or further processing operation on the received data. According to the method, the programmability of the FPGA is utilized, so that the number of interfaces can be flexibly changed, the cache space extended and the speed range can be set; specific header bytes are adopted to distinguish different serial port sources; through adding the byte headers, the HDLC data does not need to undergo CRC recalculation, so that the integrity of the data is ensured.

Description

technical field [0001] The invention relates to the field of communication, in particular to a multi-serial communication method based on HDLC. Background technique [0002] In recent years, with the rapid development of electronic technology, interface technology has become more and more important, and the demand for multi-serial communication has also increased. [0003] In the existing serial communication technology, the serial communication itself has certain defects, such as fixed number of ports, limited buffer space, fixed rate range, and high bit error rate. If you want to change the number of ports or the buffer space, you need to increase the hardware to achieve this, which is not conducive to system expansion, and also needs to increase the corresponding cost. Therefore, a new multi-serial communication method needs to be developed to flexibly change the number of interfaces, expand the buffer space, and set the speed range. SUMMARY OF THE INVENTION [0004] ...

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): G06F13/38G06F13/40
CPCG06F13/385G06F13/4072G06F2213/0002
Inventor 陈莉勤胡国浩刘校矢黄望仟
Owner GUANGZHOU HAIGE COMM GRP INC
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