Font Size: a A A

Research And Implementation On Protocol Adapter Based On The Dynamic Scripting Language Of Lua

Posted on:2013-01-16Degree:MasterType:Thesis
Country:ChinaCandidate:J Q WangFull Text:PDF
GTID:2248330395476390Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computer and communication technology, communication monitoring system is more and more important. Because intelligent monitoring equipment coming from each manufacturer using the independent communication protocols, therefore, the structure of the communication monitoring system is complex and diverse. In order to realize interconnected and interoperation of the communication monitoring system, the protocol adapter in the monitor and control system in a pivotal role. Communication power supply equipment is the foundation of communication monitoring system, and is also the focus of research in this paper. As a result of power equipment interface coming from each manufacturer is different, therefore, adaptive systems that meet standards of the communication interface should be designed. The state of the art of communication monitoring system technology and dynamic scripting language of Lua has been introduced. The communication protocol of communications monitoring system has been investigated theoretically, software of protocol adapter has been designed and implemented in detail. First of all, analyzes composition of the communication monitoring system, taking the power equipment as an example to study the key technology of Lua adapter, especially, the interoperation of the programming language c and the Lua. Secondly, designs the Lua system structure with the original DLL compares, and the advantages and disadvantages of the existing adaptor based on DLL and the now adaptor based on Lua is discussed fully. Finally, designs the overall function of the program based on Lua, realizing the program of abstract equipment model and communication type factory, realizing the definition of abstract equipment model, scripting language data switching mode and interface definition programing the calls interface function based on the scripting language Lua, well realizing the accese of monitoring equipment.
Keywords/Search Tags:Dynamic Scripting, Lua, adapter, communication interface, simplefactory pattern, data model
PDF Full Text Request
Related items