Font Size: a A A

Design And Implementation For SQLite Database Diagnostic Tool Based On Android

Posted on:2018-06-14Degree:MasterType:Thesis
Country:ChinaCandidate:S F HuangFull Text:PDF
GTID:2348330512993355Subject:Software engineering
Abstract/Summary:PDF Full Text Request
SQLite database is an independent and highly reliable embedded database.It is a very widely used database engine on mobile devices.In the mobile terminal device,the interaction between the user and the application software is essentially the interaction with the database.As database and application software interact more closely,the performance of database-related issues will be more significant.In mobile terminal products,many applications will access the database,including built-in applications(such as contacts,SMS,Gallery)and third-party applications(such as WeChat,QQ,microblogging,etc.).The quality of SQL statements on the application of data access efficiency has a great impact.While some Applications of its internal database is very small and its query is simple,in which case the quality of SQL statements on the query performance has not influence,there are many large application databases and complex queries,in which case the quality of SQL statements relative to poor performance of SQL statements on the performance will be very different.The difference is mainly reflected in the system's resource consumption and system response time.It requires application developers to provide SQL statements to consider the efficiency of the implementation of the statement,as far as possible from the SQL statement written on the optimization,the implementation of the highest efficiency.However,the current Android applications have more or less inefficient SQL statement.The company need a set of SQLite database SQL statement diagnostic tools to assist the development and testing personnel to locate inefficient SQL statements.This article is from this point of view,analyzing SQLite database in the Android system in the implementation of the principles and processes,combined with the operating system Android,the SQLite database diagnostic tools for the design and development.The main work of the author in the process of software development includes:investigating and analyzing the research background of SQL statement optimization in SQLite database and the domestic and foreign research status of the problem;investigating and analyzing the execution principle of SQL statement in SQLite database;Process,and then add diagnostic tools in the source code needed to record diagnostic information;Android system analysis of the framework of the operating mechanism of the framework layer,and in the Framework layer to add diagnostic tools needed code;start Android system command line tool The command-line tool is the user and the system to interact with the media,unified management of the user's input and output stream,as the entrance can regulate user behavior;start Android system content-sharing component ContentProvider development ContetProvider is different applications The tool is used to interact with the application data in the system through the ContentProvider,and an example of the tool is verified to prove the effectiveness and feasibility of the SQLite database diagnostic tool.This paper is to propose and develop a set of SQL statement diagnostic tool for the possible use of SQL in the process of using SQLite database,which can get the inferior SQL statement in the application.The SQLite database diagnostic tool has made some progress and integrated into the company's automated detection tools,in the development and testing of SQL statements to optimize the staff to provide some help.
Keywords/Search Tags:SQLite database, SQL statement, Diagnostic tools, Android system
PDF Full Text Request
Related items