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

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

Active Publication Date: 2020-06-19
XIAN MICROELECTRONICS TECH INST
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to overcome the above-mentioned prior art in the integrated design of multiple types of terminals in the Internet of Things system. In the face of different terminal protocols of different terminal equipment manufacturers, the system data center needs to develop data frame identification branches or programs for different types of terminals. Conducive to the shortcomings of system expansion and rapid application, providing a frame recognition method, device and readable storage medium for multi-type data streams

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
  • Frame recognition method and device for multiple types of data streams and readable storage medium
  • Frame recognition method and device for multiple types of data streams and readable storage medium
  • Frame recognition method and device for multiple types of data streams and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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 belongs to the technical field of Internet of Things multi-type terminal data communication. The invention discloses a multi-type data stream-oriented frame identification method and device, and a readable storage medium, and the method comprises the following steps: S1, building a frame description template of each terminal according to the data frame structure of each terminal anda preset initial frame description template, and obtaining a frame description template set; S2, describing the template set through polling frames, and identifying the multiple types of data streamsas data frames of different structures. In a multi-scene integration application, data frames of different protocols can be described to form a frame description template set, and a data center identifies the data frames of different terminals by polling the frame description template set. The design work of customizing different data frame identification programs due to identification of different types of terminal data is reduced, the universality of the system is improved, and rapid expansion of the system is facilitated; the method is not only suitable for an intelligent monitoring system,but also can be extended to Internet of Things integrated application scenes such as smart agriculture, smart traffic and smart home.

Description

technical field [0001] The invention belongs to the technical field of Internet of Things multi-type terminal data communication, and relates to a multi-type data stream-oriented frame recognition method, device and readable storage medium. Background technique [0002] In application scenarios such as IoT monitoring and control, when multiple types of terminals report data streams, it is a challenge for the server data center to efficiently and accurately identify data frames. The data center needs to develop different branch processes in the identification program, or when the terminal type As it continues to grow, data centers even need to develop new software. [0003] Regarding frame recognition, patent CN102510323A discloses a frame recognition method for serial port data, but this method is aimed at a single type of data format frame recognition scene, and the frame recognition format needs to be redefined after the scene is changed. This patent does not involve multi...

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/06
CPCH04L69/22H04L69/06H04L69/03
Inventor 马振华沈启峰王竹平贺占庄
Owner XIAN MICROELECTRONICS TECH INST
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