Unlock instant, AI-driven research and patent intelligence for your innovation.

Data link protocol conversion system

A protocol conversion and data link technology, which is applied in the field of data link protocol conversion system, can solve the problems of low transmission rate and transmission efficiency, etc.

Active Publication Date: 2021-01-05
THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] During the transmission process of asynchronous data, start bit, stop bit, optional parity bit, and idle space between transmission characters need to be added, and the transmission rate and transmission efficiency are not as good as the transmission of synchronous protocol.

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
  • Data link protocol conversion system
  • Data link protocol conversion system
  • Data link protocol conversion system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] This embodiment provides a data link protocol conversion system, combined with figure 1 , figure 2 , the host computer requires the system to work in the internal clock mode, with a clock frequency of 115.2kHz, and the processing is performed in order of steps 1, 2, and 3:

[0061] 1. The system monitors the port communicating with the upper computer in real time. The upper computer sends the byte 0x49 to the system as agreed, and the system receives the control command and enters step 2.

[0062] 2. The system analyzes the received byte and makes a judgment. If the received byte is wrong and it is not the agreed byte, it will send a 0xEE failure signal to the host computer, indicating that the setting is wrong; if the 0x49 byte is received correctly, the system will That is to say, the clock mode of the DDCMP sending module in the UART to DDCMP module and the DDCMP data frame acquisition and analysis module in the DDCMP to UART module is set to the internal clock mo...

Embodiment 2

[0065] This embodiment provides a data link protocol conversion system, combined with figure 1 , image 3 , the processing of converting UART signal to DDCMP signal is processed in parallel by UART data acquisition module, DDCMP data frame analysis processing module and DDCMP sending module, and each module is executed in sequence according to the corresponding steps:

[0066] UART data data frame acquisition module:

[0067] 1. The module receives bytes according to the UART format, and looks for 0xC0 as the beginning of a message. After receiving 0xC0, go to step 2; otherwise, go to step 1.

[0068] 2. Continue to receive the next byte, if it is still 0xC0, then execute this step again; otherwise, put 0xC0 and the newly received byte into the receiving buffer queue FIFO1, and enter step 3.

[0069] 3. Receive a new byte, and determine whether it is 0xC0, if not, store the received byte in FIFO1, and re-enter step 3; otherwise, put the received 0xC0 into FIFO1, and enter s...

Embodiment 3

[0083] This embodiment provides a data link protocol conversion system, combined with figure 1 , Figure 4 , the DDCMP signal is converted into a UART signal by using the DDCMP data frame acquisition and analysis module and the UART sending module for parallel processing, and each module is executed in sequence according to the corresponding steps:

[0084] DDCMP data frame acquisition and analysis module:

[0085] 1. Build an 8-bit register; sample the DDCMP signal according to the synchronous clock signal, shift the middle value of the register to the lower bit by 1 bit, and place the latest sampled bit at the highest bit of the register; compare the byte formed by the middle value of the register with the synchronization code SYN , if they are different, go to step 1 again; if they are the same, go to step 2.

[0086] 2. Sampling the DDCMP signal according to the synchronous clock signal, and receiving it by byte (that is, a binary number composed of 8 samples). Accordin...

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 provides a data link protocol conversion system. Conversion and error control functions of a synchronous DDCMP communication protocol and an asynchronous UART communication protocol areachieved on an FPGA. The device comprises a module for converting UART data frame input into DDCMP data frame output, a module for converting DDCMP data frame input into UART data frame output, and acontrol command response module. The mutual conversion part of the data frames comprises a data acquisition module, a data frame analysis and processing module, a data sending module and a necessary first-in first-out queue module; and the control command response module responds to the control command and configures parameters of the functional module. Conversion of multiple paths of DDCMPUART communication protocols is realized by constructing multiple sets of protocol conversion function parts in the FPGA; in addition, the control command response module is utilized to flexibly configure parameters in the conversion system, so that the use flexibility of the system is improved, and the system has a good practical application value.

Description

technical field [0001] The invention belongs to the field of data communication, and in particular relates to a data link protocol conversion system. Background technique [0002] DDCMP (Digital Data Communication Message Protocol) stands for Digital Data Communication Message Protocol, which is a synchronization protocol oriented to byte operations. During the idle time of the line, the protocol synchronizes the receiving end and the sending end by sending an idle code at the sending end; when the sending end is about to send data, it first sends a synchronization code multiple times, and then uses a special control character to indicate the beginning of a frame. And use the specified byte count field to indicate the number of bytes in the frame. The receiving end distinguishes the start position of the frame from the bit stream by identifying the synchronization code and special control characters; determines the end position of the frame by identifying the specified byte...

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
IPC IPC(8): H04L29/06
CPCH04L69/08Y02D10/00
Inventor 卢耀孙裔申李长军王思元张猛李烨吴刚姜崃
Owner THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP