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

Communication protocol applicable to reliable multi-machine communication, encoding and decoding method and communication device

A communication protocol and reliable technology, applied in the field of encoding and decoding, can solve the problems of inability to meet the needs of multi-device communication, classification of frame content, poor code readability, disadvantage of code maintenance and upgrade, etc., to improve readability and maintainability, communication The effect of high quality, improved data framing and parsing efficiency

Active Publication Date: 2017-09-08
一飞智控(天津)科技有限公司
View PDF5 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional frame encoding format is simple and generally includes: start and stop marker bits, data length, function code, data, checksum and end flag bits, which are mostly suitable for communication between the upper computer and the lower computer, but cannot meet the communication needs between multiple devices
In addition, when decoding a traditional frame, only the function code is used to identify the frame function, and the frame content is not classified, which leads to poor code readability and is not conducive to code maintenance and upgrade

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
  • Communication protocol applicable to reliable multi-machine communication, encoding and decoding method and communication device
  • Communication protocol applicable to reliable multi-machine communication, encoding and decoding method and communication device
  • Communication protocol applicable to reliable multi-machine communication, encoding and decoding method and communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Embodiments of the present invention are described below with reference to the drawings.

[0043] A communication protocol suitable for multi-machine reliable communication, the frame format includes the frame start field, frame header field, load field, check field and end field arranged in sequence from front to back; among them, the frame start field and end field It is a fixed value of two to three bytes; the frame header field includes the frame type field, source address field, destination address field, payload length field and function code field arranged in sequence from front to back;

[0044] Among them, the load field is represented as multiple continuous data type fields according to the load content to form a load structure model. The load structure model is generally a structure composed of multiple different data types defined by the user, and each load type field in the structure is arranged continuously. After the load structure model is determined, bo...

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 a communication protocol applicable to reliable multi-machine communication. The frame format of the communication protocol comprises a frame starting field, a frame header field, a load filed, a check field and an ending field, which are arranged in sequence from front to back, wherein the frame header field comprises a frame type field, a source address filed, a destination address filed, a load length filed and a functional codeword field, which are arranged in sequence from front to back; the load filed is expressed as a plurality of continuous data type fields according to the load contents to form a load structure model. According to the communication protocol, the frame header field comprises the source address filed and the destination address filed, thereby being applicable to multi-device communication. The load structure model is used for effectively improving the data framing and analysis efficiency. The frame header field comprises the frame type field, therefore classified analysis can be performed on the load data according to the frame type so as to effectively improve the readability and maintainability of the code.

Description

technical field [0001] The invention relates to a coding and decoding method related to protocol formulation in the field of communication and control, in particular to a communication protocol coding and decoding method suitable for multi-machine reliable communication. Background technique [0002] The communication protocol is an agreement that needs to be reached between communication devices. It makes uniform regulations on issues including data format, transmission speed, synchronization method, verification method, and function character definition, which must be followed in communication between devices. In actual communication applications, if there is a lack of a reasonable, strict and standardized communication protocol, the correctness of data transmission and the reliability of communication cannot be guaranteed. Generally, the transmitted data content is defined as bytes organized in the protocol frame, and arranged in sequence from front to back in the frame. ...

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): H04L29/06H04L1/00H04L12/40
CPCH04L1/0007H04L1/0061H04L12/40006H04L69/03H04L2012/40215
Inventor 陈超胡庆
Owner 一飞智控(天津)科技有限公司
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