没有合适的资源?快使用搜索试试~ 我知道了~
外文文献及翻译嵌入式数据库sqlite的应用研究本科论文.doc
0 下载量 178 浏览量
2023-07-09
09:08:39
上传
评论
收藏 101KB DOC 举报
温馨提示
试读
16页
外文文献及翻译嵌入式数据库sqlite的应用研究本科论文.doc
资源推荐
资源详情
资源评论
本科毕业论文外文文献及翻译
题目: 嵌入式数据库 SQLite 的应用研究
学院: 电子信息工程学院
班级: 电信 12—2 班
姓名:
指导教师: 职称: 副教授
完成日期: 2016 年 06 月 16 日
2009InternationalForumonInformationTechnologyandApplications
Application Research of Embedded Database SQLite
Lv Junyan, Xu Shiguo, Li Yijie
School of Economic Information Engineering, Liaoning technical University, Huludao, 125105 lvjunyan_2002@163.com
ABSTRACT: The traditional database can not be used for the data management of embedded
systems. However, the open-source embedded database SQLite can meet the needs of embedded
systems better because of its advantages. Through the analysis of the characteristics of embedded
database and SQLite’s characteristics, the internal structure and the function of API, it constructs
the simulation environment of ARM-Linux and achieves the realization of SQLite in the ARM-
Linux platform, including cross-compiling, transplant process and application development, it
also achieves the graphical user interface design based on Qt/Embedded. The embedded database
system meets the needs of data management of the system and has very good meaning of the
guiding theory and practice for embedded systems development.
KEYWORDS: embedded system; embedded database; SQLite; cross compiling
INTRODUCTION
The software and hardware resources of embedded systems are limited, the realization of
embedded applications is comparatively single and specific, data processing and the ability to
maintain are don’t asked for much, so the traditional database can not be used for embedded data
management systems. It must be used embedded database to meet the needs of embedded
systems which is small, fast, simple, reliable and easy-to-port. Through the comparison of the
number of embedded databases, we found that SQLite has such special advantages just as
powerful, fast, simple interface as well as small footprint, so it's especially suitable for
applications in embedded environment. This paper will focus on how to simulate ARM-Linux
operating system in the SkyEye platform, how to cross-compile SQLite3 in ARM-Linux platform
and achieve the SQLite application development in the platform as well as the implementation of
graphical user interface design based on Qt/Embedded. SQLite3 uses C language as its
development language, so it has good portability. Methods mentioned here are also applicable on
other OS platforms without much modification. SQLite is an open-source embedded database
system, and has small overhead, efficient search features, so it is especially suitable for mobile
phone, PDA, set-top boxes and other electrical equipments, and has good running ability in
consumer applications which can be downloaded.
CHARACTERISTICS OF EMBEDDED DATABASE
Due to limited resources of hardware and software, it is not possible to install a huge database
server in embedded database systems. However, user's need may be meted with a database
system which is just a simple document of diskbased. It just makes use of the basic characteristics
of the database. Since the special restrictions of application environment, embedded database has
its own characteristics compared to common database systems
[1][2]
: Taking up little storage space,
reliability, manageability and security, interoperability, tailoring, portability, high-performance,
low cost, embedded, full-featured and other characteristics.
Although SQLite is an extremely lightweight relational database, it has retained most of the
features of database. Its main features are as follows
[3]
:
• Transactions are atomic, consistent, isolated, and durable (ACID) even after system
crashes and power failures.
• Zero-configuration, no setup or administration needed.
• A complete database is stored in a single cross-platform disk file.
• Supports terabyte-sized databases and gigabyte-sized strings and blobs.
• Small code footprint: less than 275KB fully configured.
• Faster than popular client/server database engines for most common operations.
• Simple, easy to use API.
• Self-contained: no external dependencies.
• Cross-platform and it is easy to port to other systems.
• Sources are in the public domain.
The internal structure of SQLite is composed of the following components: SQL compiler,
kernel, the back-end as well as the annex.
Interface is a C language library which can receive API in a wide range of language, but the
implementation in the bottom is the C language library. When a SQL statement containing the
string is implemented, the interface programs pass the string to the Tokenizer. The Tokenizer
decomposes the original string into the indicators identified by a parser and passes these
indicators to the parser. After the parser collects the symbols, it converts them to full SQL
statement, and then it calls the code generator to generate the virtual machine code and the virtual
machine code is handed to the virtual machine to implement and complete the SQL statement.
The core of the architecture of SQLite is the virtual database engine (VDBE). VDBE completes
the entire task related to data processing and it is the intermediate unit of information exchange
between and customers and the storage. SQLite database is maintained in the disk, implemented
by B -tree which is in the source file btree.c and it searches and accesses data fast through the
adjustable page cache (pager). In order to facilitate the transplant, the interface programs of
SQLite operating system uses a layer extraction. Utilities mainly solute the memory allocation,
剩余15页未读,继续阅读
资源评论
xinkai1688
- 粉丝: 322
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功