Font Size: a A A

Design And Implementation Of Real-time Database In On-Board Training System Based-on XPE

Posted on:2016-11-19Degree:MasterType:Thesis
Country:ChinaCandidate:Q JiangFull Text:PDF
GTID:2308330461477023Subject:Control Science and Engineering
Abstract/Summary:PDF Full Text Request
Ship power and electric system can be described as the heart of the ship. With the improvement of the level of the ship’s automation, the training requirements of crew operational level have been more and more strict. Aiming at solving some difficulties such as the last long training periods, high cost and so on, the on-board training system has been developed. Repeated to practice at any time and without having the expense of damages to equipments on failure training, the studying for on-board training system has important practical significance and application value. The system is divided into four parts:simulator, trainer, student machine and database. The database is the hub of the whole system. The performance of the system will be affected by the speed of data storage and getting and the efficiency of data transmission.The design and implementation of real-time database in on-board training system is studied in this thesis. The main work is done as follows:First, according to the requirement analysis of on-board training system, XPE is chosen to be the operating system platform for it, at the meanwhile, the minimal and optimized XPE is customized.Second, on the XPE operating system, a lot of performance tests are made for SQLite, FastDB and Berkeley DB. Compared to the results, SQLite is selected to design and implement the real-time database of the training system. SQLite API functions are used to achieve the specific database operations such as storage, query, delete and update. Friendly data management interface is designed. It is showed by the practical application that the database is running well and meets the requirements of the project.Third, the unified communication protocol is designed and implemented. For different programming languages the detail solutions are given. It is realized by using message response mechanism in C++ and using delegation in C#. It is showed by tests that the requirement of real-time can be met.Finally, research work in the thesis has been concluded comprehensively. The deficiencies and further research aspect are pointed out.
Keywords/Search Tags:On-board Training System, XPE, SQLite Database, Communication Protocol
PDF Full Text Request
Related items