Font Size: a A A

A Descriptive Grammar For Nested Data Formats And The Implementation Of Analysis Tools

Posted on:2019-02-02Degree:MasterType:Thesis
Country:ChinaCandidate:R NaFull Text:PDF
GTID:2348330542498639Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Data encoding and data analysis has always occupied an important position in the data transmission and data storage,and they often appear in the actual project.Although there are many more popular data formats and coding standards,user-defined data formats and data encoding methods still appear in the actual operation of data.The diversity of user-defined data is manifested in the data structure,data description,and the encoding method.It is also due to the user-defined data description and data encoding adopted,which leads to the development of some high repeatability but small differences code when parsing different structure data and it caused a certain degree of workload waste.In order to solve these problems,this thesis puts forward two ways to solve them,and the two ways are implemented respectively.This thesis first designed an analysis method based on a description grammar and data encoding rules,and implements the tools on this basis.Data description grammar is a grammar provision for describing data structure,and the tools can read and parse data description files.The tool specifies a data format,the data format here is mainly to determine what type of data the tool can read.In order to enhance the versatility of the tool,the tool also provides the data conversion function,which means that users can import more general data types.The coding method designed in this way of analysis is mainly applied when the user does not explicitly adopt a certain coding method.The user is provided with a way of coding and decoding the data,and the data encoding and parsing work can be completely handed over to the tool.There is another way to express the variable-length data in encoding,and the way is using the special tags to separate the data.In this case,the thesis also presents a corresponding analytical methods.For the data structure described in conformity with the data descriptive grammar,the tool can automatically generate its analytical code.The generated parsing code can be run in software,and can also be exported to the user by exporting.The main achievable effect of the research and implementation of this analytical method is to reduce the workload of developing the data analytical code.
Keywords/Search Tags:complex data, descriptive grammar, codec, code generation
PDF Full Text Request
Related items