Font Size: a A A

Design And Implementation Of Multi -Format Data Acquisition And Analysis Software

Posted on:2018-09-27Degree:MasterType:Thesis
Country:ChinaCandidate:P J ZouFull Text:PDF
GTID:2348330518975676Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
With the development of automation technology, electrical engineering technology,communication technology and computer technology, the modern ships are developing in the direction of automation and intelligence. In terms of the automation, digitization and intelligence of ships, a data acquiring and analyzing software need to be developed for application in the ship monitoring platform, to achieve the analysis of congestion of communication link in ship monitoring system and realize real-time monitoring of the working state of each device. The ship monitoring system is built with several devices by the use of Ethernet protocol, and the devices communicate and interact with each other by sending messages. Because each device has its own feature and working state, so the message has a variety of formats,and in order to understand the real-time working state and network congestion of each device, the message parsing methods of multiple formats need to be studied.Most of the traditional methods of message parsing are aimed at one or two kind of message formats, widely existing the problems of poor real-time performance and poor parsing effect. In order to solve the above problems, the paper proposes to use VS2008 as the development tool to develop a XML-based message parsing software of multiple formats, combined with the actual project background, based on the full understanding of the ship monitoring system.The paper completes the main work which are as follows:(1) The advantages and disadvantages of several mainstream message parsing techniques are compared, and an optimization scheme for message parsing technology is proposed;(2) Detailed analysis is carried out from the aspects such as user interface, data acquisition, data analysis, protocol editing, and application, according to the requirements of software, and the data acquisition module, message parsing module, and message protocol editor and others are designed and developed according to the requirements.According to the demand analysis of software, WinPcap dynamic library is used for developing, the API function of which is invoked to realize the real-time acquisition and parsing of the message in the control net.The analysis of the design and implementation of message parsing module is focused on, and the development of protocol editor of XML document is realized by invoking the API function of MSXML dynamic library, to complete the parsing of XML document. In the message parsing process, a corresponding structure of the message structure is generated after parsing the XML document, then a series of parsing calculations are carried out for the message data,of which the result is filled into the structure, to realize the message parsing;(3) The data acquiring and analyzing software of multiple formats is detected from two aspects of function and performance, according the result of which, each module can work normally and stably, and the software runs in accordance with expectations and meets the design requirements.
Keywords/Search Tags:Message parsing, Multi-protocol, XML, WinPcap
PDF Full Text Request
Related items