The Wireless Alarm System Based on Android for the Internet of Things
- Author
- ZhuNaiChang
- Advisor
- ZhangHongXin
- School
- Beijing University of Posts and Telecommunications
- Major
- Electronics and Communication Engineering
- Classification
- TP391.44 Optical pattern recognition devices
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 508
- Citations
- 2
Abstract
With the continuous development of China’s economy, people’s safety consciousness is enhanced gradually. There are some hidden dangers in the places where the staffs work at.The problem that how to reduce the risk of workers exposed to hazardous areas and protect them to complete works on the premise of security needs to be solved urgently.In August 2010,accompanied by the Premier Wen Jiabao’s call of "Sense China", development of the internet of things opened a new chapter. In response to national call to develop the internet of things and for reducing the risk of hazardous of staffs, the laboratory develops the temperature and pressure alarm system based on Android in cooperation with Beijing Yaston company.The paper’s main research object is to develop Android system based on ARM 11 in which realizing the data collection of temperature with the data acquisition module. When the temperature reaches the alarm point, the message will send to the target phone with SMS message module to realize the alarm.Firstly, the Android system is analyzed and the SMS message module of alarm system is designed in this paper,including the modification and optimization of Android Telephony section and the testing of the SMS module SIM300 to make the message send successfully. Then according the related characteristics of the sensor chip DS18b20, the data acquisition system is designed including the development of sensor driver and design of middle layer. At last, the completed Android system will be installed into the ARM hardware platforms to run and put into actual environment to be tested, when the temperature reaches the alarm point, the target phone will receive SMS, the temperature alarm function is realized.
Table of contents
Summary 4-5
ABSTRACT 5-10
first chapter 10-14
1.1 Background and Significance 10
1.2 domestic and foreign research status 10-12
1.2.1 IOT research status 10-11
1.2.2 Android research status 11-12
1.3 The main contents 12
1.4 papers structural arrangements 12-14
Chapter II wireless alarm systems analysis 14-23
2.1 embedded operating system analysis 14-15
2.2 ANDROID system analysis 15-18
2.2.1 Android architecture 15-16
2.2 .2 Android application layer 16
2.2.3 application framework 16
2.2.4 library 16-17
2.2.5 runtime 17
2.2.6 HAL layer build a 17-18
2.3 development environment 18-21
2.3.1 Eclipse JDK ADT SDK 18-20
2.3.2 Eclipse cygwin CDT NDK 20-21
2.3.3 Linux cross-compiler tool DNW 21
2.4 Summary 21-23
Chapter III data acquisition system research and design 23-36
3.1 system requirements analysis and technology selection 23
3.2 digital sensor chip DS18B20 driver implementation 23-31
3.2.1 hardware design 23-25 ??
3.2.1.1 Ds18b20 connection with S3C6410 23-24 <br / > 3.2.1.2 Ds18b20 internal structure 24-25
3.2.2 Ds18b20 operation process design 25
3.2.3 Functions to achieve 25-27 <br / > achieve 3.2.3.1 initialization function 25-26
3.2.3.2 write data function 26-27
3.2.4 GPIO operation designed 27 -29
3.2.5 Linux character device driver design 29-30
3.2.6 kernel device driver to mount intermediate 30-31
3.3 sensor system layer architecture design 31-35
3.3.1 Implementation Mechanism 31
3.3.2 HAL layer design 31-33
3.3.2.1 HAL analysis 31-32
3.3.2.2 realization 32-33
3.3.3 JNI achieve . 33-35
3.3.3.1 so library files compile 33
3.3.3.2 JNI design 33-35
3.4 Summary achieve 35-36
Chapter SMS system 36-55
4.1 overall design and implementation 36-40
4.1.1 the overall structure 36
4.1.2 Android SMS system module design 36-37
4.1.3 data transmission 37-38
4.1.4 Android IPC framework 38-39
4.1.5 AIDL design and Implementation 39-40
4.2 RILD layer design and implementation 40-43
4.2.1 RILD file structure 40-42
4.2.2 RILD implementation mechanism 42-43
4.3 RILD-JAVA realization 43-45
4.3.1 RILD-JAVA file structure 43
4.3.2 RILD -JAVA implementation mechanism 43-45
4.4 startup process analysis 45-47
4.4.1 Android boot process 45-46
4.4.1.1 init process 45-46
4.4.1.2 Native local service 46
4.4.1.3 System Server and Android services 46
4.4.1.4 Home services 46
4.4.2 RIL initialization process 46-47
4.4.2.1 open event mechanism 46
4.4.2.2 initialization librefrence_ril.so 46-47
4.4.2.3 register and open Socket channel 47
4.5 ANDROID compilation system 47-51
4.5.1 Makefile main flow 47-49
4.5.1.1 initialization parameter setting 47-48
4.5.1.2 read Product settings 48
4.5.1.3 read all module 48
4.5.1.4 generated image 48-49
4.5.2 complete compilation 49
4.5.3 module compiled 49 -51
4.6 DDMS analysis 51-53
use in DDMS 4.6.1 Android 51
4.6.2 DDMS principle analysis 51-53
4.7 SMS nbsp module in the emulator ; 53-54
4.8 Summary 54-55
Chapter kernel configuration and file systems to produce 55-70
5.1 UBOOT configuration and implementation 55-57
5.1.1 Uboot resolve 55-57
5.1.1.1 Uboot overall workflow 55-56
5.1.1.2 Uboot boot process 56-57
5.1.2 configuration compile 57
5.2 kernel cutting and configuration 57-62
5.2.1 kernel analysis 57-59
5.2.1.1 kernel Overview 58
5.2.1.2 Android kernel analysis 58 - 59
5.2.1.3 Android kernel to get 59
5.2.2 Linux kernel configuration compile 59-62
5.3 file system produced 62-64
5.3.1 files and directories analysis 62-63
5.3.2 Android source code file system analysis 63
5.3.3 Android file system produced 63-64
5.4 system programming 64-69
5.4.1 bootloader burning 64-67
5.4.1.1 SD startup mode 64-66
5.4.1.2 NandFlash startup mode 66-67
5.4.2 Linux kernel programming 67-68
5.4.3 file system programming 68-69
5.4.3.1 cramfs programming 68
5.4.3.2 Android2.1 file system programming 68-69
5.5 chapter Summary 69-70
Chapter VI summary and Outlook 70-71
References 71-74
Thanks 74-75
Appendix Glossary 75
Related dissertations
- Intelligent Dimming System Based on Power-line Carrier Communication
- Research on Intelligent Home Furnishing system based on Android
- The System Design and Development of Household Electrical Appliances Maintenance Based on Android Platform
- Design and Implementation of Video Surveillance Systems Based on Android Smartphones
- Research and Implementation of Mobile Location System of Beidou Navigation Satellite Base on Android
- The Unattended Telecommunication Room of Data Acquisition System
- The Design of the Smart Home Control Center Based on S3C2440
- The Analysis of the Information Service Pricing in the Internet of Things Based on the Consumers’ Overconfidence
- Research on the Structure and Growth Mechanism of the Internet of Things Industry
- Research on the Competition&Cooperation Mechanism of IOT Business Ecosystem’s Main Bodies
- Research on the Supervision System of IOT Industry Chain
- The Spatial Difference of China’s Internet of Things Industry Development
- Research on Dynamic Mechanism of Innovation in Financial Service Sector under Internet of Things
- Research on the Industry Chain of Internet of Things Based Strategy and Cost
- Research on Internet of Things’s Industry in Dalian City
- The Research on the Value Chain of Industrial Development of China’s Internet of Things
- Analysis of Competitiveness of Internet of Things Industry Based on GRA and TOPSIS Methods
- An Empirical Study of the Impact of Internet of Things on Traditional Retail Enterprise Performance
- Research on the Use of RFID on the Information Sharing on Supply Chain
- Analysis on Pushing "Smart Tianjin" Strategies and Policies