Frame recognition method and device for multiple types of data streams and readable storage medium
An identification method and data flow technology, applied in transmission systems, electrical components, etc., can solve problems such as unfavorable system expansion and rapid application, and achieve the effect of facilitating rapid expansion, reducing design work, and improving universality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0103] Scenario 1: Real-time monitoring of the indoor temperature of an object. The data center communicates with two indoor temperature sensors. The two sensors are from the same manufacturer, model, and protocol. The system composition is as follows: Figure 4 shown.
[0104] Assuming that the data frame is a fixed-length frame, the structure of the data frame is shown in Table 2.
[0105] Table 2 Embodiment 1 temperature data frame structure table
[0106]
[0107] The length of the entire frame is N bytes (N is unknown, it needs to be read from the byte stream, but the frame length N of each time is fixed relative to the previous one), and the data frame is composed of: 2 bytes for the frame header, 1 byte for the frame type, The frame length is 2 bytes, valid data (M bytes), 2 bytes at the end of the frame, and 2 bytes for checksum, satisfying formula 1, bringing in the hypothetical data to get the equation N=2+1+2+M +2+2. According to the composition of the data fr...
Embodiment 2
[0119] Scenario 2: Real-time monitoring of indoor images of an object. The data center communicates with several indoor cameras. The indoor cameras are of the same brand and protocol. The camera data frames are data streams directly output from the cameras. The system composition is as follows: Figure 5 shown.
[0120] The image data is a variable-length frame, and the frame composition structure is shown in Table 4.
[0121] Table 4 Embodiment 2 image data frame structure table
[0122]
[0123] The length of the entire frame is N bytes (N is unknown, it needs to be calculated, and the frame length N of each time is not fixed compared to the previous one). The data frame is composed of: 5 bytes of frame header, 2 bytes of valid data length, valid data ( M bytes). According to the composition of the data frame, the frame description structure described in Table 1 is reasonably configured to obtain the frame description template shown in Table 5.
[0124] Table 5 Embodim...
Embodiment 3
[0135] Scenario 3: A self-developed NB-IOT device. Mount N sensors, N is a variable, and use a custom sub-frame as the communication protocol. The frame composition structure is shown in Table 6.
[0136] Table 6 Example 3 custom child-mother frame structure table
[0137]
[0138] According to the composition of the data frame, the frame description structure described in Table 1 is reasonably configured to obtain the frame description template shown in Table 7.
[0139] Table 7 The frame description template table of the self-defined parent-child frame in embodiment 3
[0140]
[0141] The configuration steps are as follows:
[0142] 1) There are 5 bytes in the frame header in the data frame, so configure the number of occupied bytes of the frame header HeadLen=5, assume that the frame header is 0xAABBCCDDEE, configure the frame header HeadBuf=[0xAA, 0xBB, 0xCC, 0xDD, 0xEE].
[0143] 2) The frame type is not included in the data frame, so the number of occupied byte...
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