Serial communication data processing analysis method
A data processing and analysis method technology, applied in the field of data transmission, can solve problems such as instability and unreliable serial communication, and achieve the effect of reducing misinterpretation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] The present invention will be described in further detail below in conjunction with specific examples.
[0020] A kind of novel serial port communication data processing analysis method of the present invention, concrete process is:
[0021] (1) Define the communication protocol
[0022] The serial port communication protocol generally includes several fields: frame header, user data and frame tail. Among them, the frame header includes preamble, frame length and frame number; user data corresponds to the data field; frame tail is the checksum.
[0023] (2) Circular FIFO (first in first out) ring buffer
[0024] The invention adopts the ring buffer as the data structure to store the data sent and received in the communication. A ring buffer is a first-in, first-out circular buffer that provides mutually exclusive access to the buffer to the communicating program. A ring buffer has a read pointer and a write pointer. The read pointer points to the readable data in th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com