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

A data stream parsing method based on universal communication data format

A technology of communication data and analysis method, which is applied in the field of data stream analysis based on the general communication data format, can solve problems such as the inability to meet the needs of testing, achieve the effect of convenient management and maintenance, expand the scope of application, and solve the problem of adaptability

Inactive Publication Date: 2008-09-10
ZHEJIANG UNIV
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In this byte stream communication system, the test system needs to measure and control multiple devices, and the communication data formats of different devices are also different. Therefore, the fixed single communication data format of the test system can no longer meet the needs of the test.

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
  • A data stream parsing method based on universal communication data format
  • A data stream parsing method based on universal communication data format
  • A data stream parsing method based on universal communication data format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The data flow analysis method based on the general communication data format includes the following steps:

[0018] 1) Define a communication data format composed of "block" as the basic unit. The communication data format is composed of one or more of identification block, data block or check block, wherein the identification block is the symbol of communication transmission, The data block is the data received and stored by the user, the check block is used to judge whether the data frame is valid, and the specific communication data format is created according to the abstract communication data format description to obtain the communication data frame format;

[0019] The steps are figure 1 In step S1, the specific implementation method is as follows:

[0020] Identification block: must be represented by ASCII code '0'-'9', 'A'-'F' characters.

[0021] The data block is represented by a type symbol and the number of data bytes, wherein the type of the data block is...

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 discloses a data stream parsing method based on general communication data format, which comprises the following steps: 1) a communication data format consisting of 'blocks' as basic units is defined; 2) a block structure body comprising variables of the byte number of receiving blocks, variables of the property of receiving blocks and pointer variables used for pioneering memory space is defined by taking C Language as 'blocks'; 3) the communication data frame format defined in step 1) is read, the block structure body defined in step 2) is filled according to the communication data frame format and a parsing time sequence is determined according to the opposite position of the data block and the byte number; 4) data stream received from a data communication port is parsed. The method of the invention can parse configurable data frame format and extract data wanted by users, solves the problem of adaptability of communication format in a byte steam communication system, enhances inclusiveness of a testing system, broadens actual application range and brings convenience to management and maintenance of the system.

Description

Background technique: [0001] With the improvement of industrial automation and the rapid development of computer technology, the application range of automatic test systems based on industrial control computers and using general-purpose A / D, D / A, I / O and other boards as peripheral auxiliary interfaces is also increasing. wide. This hardware architecture transforms the test, measurement and automation application system from the original loosely combined, often incompatible, discrete instruments and equipment into a highly integrated high-performance measurement and automation system. In this automation system, different instruments and equipment may have different communication interfaces, and different communication interfaces have different communication protocols. Some communication protocols stipulate that the minimum unit of transmission is byte, and some communication protocols stipulate that the minimum unit of transmission is Bit, we call the system composed of commun...

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): H04L1/00H04L29/06
Inventor 刘小卫胡慧珠舒晓武刘承
Owner ZHEJIANG UNIV
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