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

Serial port data encoding method and device, embedded equipment and communication system

A technology of serial port data and encoding method, applied in the field of encoded communication, can solve problems such as abnormal device communication and incomplete serial port data, and achieve the effect of improving reliability

Pending Publication Date: 2020-04-03
SHENZHEN AUTEL INTELLIGENT AVIATION TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the serial port data sent by the source device is communication data, its content includes the Linux debugging command message, this part of the message will be intercepted by the bottom layer of the destination device, so that the serial port data reaching the application layer of the destination device is incomplete, resulting in device communication abnormal

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
  • Serial port data encoding method and device, embedded equipment and communication system
  • Serial port data encoding method and device, embedded equipment and communication system
  • Serial port data encoding method and device, embedded equipment and communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0051] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0052] An embodiment of the present invention provides an embedded device. The embedded device includes at least one processor and a me...

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 embodiment of the invention relates to the field of encoding communication, and discloses a serial port data encoding method and device, embedded equipment and a communication system. The serial port data encoding method comprises the following steps: acquiring serial port data; converting the serial port data of the target message format segment into serial port coded data of a preset system;judging whether the serial port coded data is smaller than or equal to a first preset numerical value of a preset system; if yes, adding a second preset numerical value of a preset system to the serial port coded data to obtain coded transmission data, so that the coded transmission data does not contain character type data; if not, splitting the serial port coded data into first split data and second split data which are both smaller than or equal to a first preset numerical value, and respectively adding a second preset numerical value of a preset system to the first split data and the second split data to obtain first split coded transmission data and second split coded transmission data, so that the first split coded transmission data and the second split coded transmission data do not contain character type data. According to the embodiment of the invention, the reliability of equipment communication is improved.

Description

Technical field [0001] The invention relates to the field of coding communication, in particular to a serial data coding method, device, embedded device and communication system. Background technique [0002] When the serial port data sent by the source device is communication data, its content includes the LINUX debugging command message. This part of the message will be intercepted by the bottom layer of the destination device, making the serial port data reaching the application layer of the destination device incomplete, resulting in device communication abnormal. Summary of the invention [0003] The embodiments of the present invention aim to provide a serial data encoding method, device, embedded device, and communication system, which can improve the reliability of device communication. [0004] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions: [0005] In the first aspect, an embodiment of the present ...

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): H03M13/00G06F13/42
CPCH03M13/6502G06F13/4282G06F2213/0002
Inventor 牛洪芳
Owner SHENZHEN AUTEL INTELLIGENT AVIATION TECH CO LTD
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