Method for automatically detecting asynchronous serial port communication protocol on basis of level sampling

An asynchronous serial port, communication protocol technology, applied in electrical components, digital transmission systems, error prevention and other directions, can solve problems such as no automatic detection method

Inactive Publication Date: 2013-03-27
NAVAL UNIV OF ENG PLA
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is no ready-made automatic detection method for the set of parameters su

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 automatically detecting asynchronous serial port communication protocol on basis of level sampling
  • Method for automatically detecting asynchronous serial port communication protocol on basis of level sampling
  • Method for automatically detecting asynchronous serial port communication protocol on basis of level sampling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The present invention will be further described below in conjunction with accompanying drawing.

[0070] refer to figure 2 , which is an implementation flowchart of the present invention. First, detect the baud rate of the signal. On the basis that the communication baud rate has been detected, a series of matching templates are simulated, and these templates are used to perform stop bit correlation matching on different matching points of the target signal. The function measures the correlation of each match, the number of bits in the matching template with the largest correlation function value is used as the number of bits in the frame, and the alignment position of each start bit of the match with the largest correlation function value is used as The starting position of each data frame. According to the position and the number of bits of the data frame, the data in each frame is extracted, and the verification method is checked. At the same time, the inter-fram...

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 belongs to the technical field of digital communication, and particularly relates to a method for automatically detecting asynchronous serial port communication protocol on the basis of level sampling. The method includes firstly sampling level signals of asynchronous serial port communication, and detecting asynchronous serial port communication Baud rate according to the relation of the asynchronous serial port communication Baud rate and average time span of a single low level of the sampled signals; secondly, determining data frame bit digits and data frame positions of target signals which are the detected level signals by Baud rate by means of stop bit correlation matching algorithm; thirdly, analyzing in-frame data and inter-frame bit distance to determine data bit digits, checking manners and stop bit digits of the target signals; and finally determining a data coding manner of the target signals by Bayes policy method on the basis of the minimum error rate. The method can be applicable to communication protocol detection of communication and data transmission equipment utilizing the asynchronous serial port communication protocol.

Description

technical field [0001] The invention belongs to the technical field of digital communication, and specifically relates to an automatic detection method of an asynchronous serial communication protocol based on level sampling, which can be used for communication protocol detection of various devices using asynchronous serial communication protocols for communication and data transmission . technical background [0002] The asynchronous serial port communication protocol is a protocol for transmitting data information with data frames as the communication unit. The protocol specifies the speed at which data frames are transmitted (ie baud rate), the intra- and inter-frame structure of data frames, and the transmission mode of data, such as figure 1 shown. The baud rate indicates the number of bits of binary data transmitted per unit of time in communication, and the unit is "bit / second (bps)". A binary number is called a bit (bit). According to the provisions of the asynchron...

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): H04L1/00
Inventor 陈永冰吴泽民刘勇周岗董大琼卓延陵
Owner NAVAL UNIV OF ENG PLA
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