General multiple serial port communication protocol detection and identification method
A technology of serial port communication and communication protocol, which is applied in the direction of digital transmission system, electrical components, transmission system, etc. It can solve problems such as non-execution, system failure, and frame loss, so as to improve reliability, improve software reliability, and improve work efficiency. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Embodiment 1, a kind of general multiple serial port communication protocol detection identification method, is characterized in that, comprises the steps:
[0039] Step 1. For n types of serial communication protocols, write the serial communication protocols into the ins configuration file, and configure the sequence 1 to n for each serial communication protocol in the ins configuration file.
[0040] The second step is to read the bytes in the serial port receiving buffer into the ring buffer.
[0041] The third step is to detect the first type of communication protocol data frame from the effective data in the ring buffer, and use the first address of the first type of communication protocol data frame as the most front first address. The initial value of the detection order i is set to 2.
[0042] The fourth step is to detect the i-th communication protocol data frame from the valid data in the ring buffer, if detected, enter the fifth step, otherwise judge whethe...
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