Font Size: a A A

Research And Application Of SQLite Database

Posted on:2020-06-23Degree:MasterType:Thesis
Country:ChinaCandidate:B HanFull Text:PDF
GTID:2428330590496041Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of information technology,mobile technology and microelectronics technology,embedded technology is widely used in production and life,such as intelligent consumer products,automotive industry,medical equipment and military and aerospace control.Embedded products have the characteristics of low power consumption,small size,high integration and intellectualization.With the continuous upgrading of products,the traditional single file system processing data has been unable to meet the needs of a large number of data processing.An embedded database matching with it is needed to help it manage data and ensure the smooth operation of the software system.Therefore,the research on embedded database is very necessary and has high value.In many embedded databases,open source SQLite database is the mainstream in the market.Therefore,this paper chooses the SQLite database management system as the detailed research object,analyzes its working principle,and explores the practical application direction.Firstly,this paper introduces the definition,characteristics and classification of embedded database in detail,and makes a brief description and comparison of three mainstream embedded databases.On this basis,the characteristics,architecture and functions of each module of the SQLite database management system are introduced in detail.Then the core data structure and C API interface of SQLite are studied in detail,the source file structure and the use of C API interface of SQLite are displayed,the execution process of the whole SQL statement is analyzed,and the work and implementation mechanism of the compiler,virtual machine and back end when executing the SQL statement are explored in depth.Secondly,based on the research of SQLite and C++ 11 and RapidJSON library,the encapsulation Library of SQLite is designed and developed.The encapsulation library encapsulates the interfaces of SQL statement execution,transaction operation and parameter compatibility,which greatly simplifies and extends the use of C API of SQLite.Finally,using MFC and the developed package library,and VS2013 as the development environment,a SQLite visualization tool is designed and developed to realize the interface operation of the database.At the same time,strict black-box testing is carried out to ensure the stability and reliability of visualization tools.
Keywords/Search Tags:embedded database management system, SQLite, C++11, MFC, RapidJSON library
PDF Full Text Request
Related items