登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 物联网工程 > 正文

Android空气质量预报系统设计与实现毕业论文

 2021-04-21 11:04  

摘 要

如今,智能手机逐渐普及,4G网络已经基本覆盖,有必要在人们的日常生活之中普及空气质量的情况,提高人们对自我身体健康状况的保护意识。结合本课题,设计一个基于Android的空气质量预报系统,方便用户日常查询空气质量情况。

本文首先是对国内外空气质量研究情况进行分析与调查,进而调研了国内空气质量相关App的使用情况,在此基础上实现本课题空气质量预报App的开发。本文介绍了基于Android系统的空气质量预报系统的整体架构、技术手段和各个功能模块的设计、具体实现。开发的App提供实况空气质量指数AQI(Air Quality Index),空气中各种污染物实时浓度,实时温度、天气状况、环境状况等数据的查询。还针对各种环境情况给出各种生活建议,并且提供预报与历史数据,包括未来三天的空气质量预报,以及从当天往前两周的历史空气数据折线图。并且实现了定位当前城市,或者选择城市查询空气质量情况的功能。

关键词:Android;智能手机;空气质量;空气质量指数

Abstract

Nowadays, smart phones are becoming more and more popular and 4G networks have basically covered. It is necessary to popularize the situation of air quality in people’s daily lives and raise people’s awareness of their own health status. Based on this topic, an air quality forecasting system based on Android is designed to facilitate users' daily query of air quality.

This article first analyzes and investigates the research status of air quality at home and abroad, and then investigates the use of domestic air quality-related apps, and on this basis, realizes the development of Air Quality Forecast App for this topic. This article introduced the overall architecture, technical means and various functional modules of the air quality forecasting system based on the Android system. The developed app provides the Air Quality Index (AQI), real-time concentration of various pollutants in the air, real-time temperature, weather conditions, and environmental conditions. It also provides various life suggestions for various environmental conditions, and provides forecasts and historical data, including air quality forecasts for the next three days, as well as a historical air data line graph from the previous two weeks. It also realizes the function of locating the current city or selecting the city to inquire about the air quality.

Key Words:Android;smart phone;air quality;Air Quality Index

目 录

摘 要 I

Abstract II

第1章 绪论 1

1.1 研究目的及意义 1

1.2 国内外研究现状 1

1.3 论文的研究内容 2

第2章 相关技术概述 3

2.1 开发工具及环境 3

2.1.1 Android Studio 3

2.1.2 SQLite数据库 3

2.2 相关技术介绍 3

2.2.1 和风天气API、聚合数据API 3

2.2.2 LitePal开源库 4

2.2.3 OkHttp开源库 4

2.2.4 Gson解析 4

2.2.5 百度定位lbs 4

第3章 系统的设计与实现 5

3.1 系统需求分析 5

3.1.1 问题分析 5

3.1.2 可行性分析 5

3.1.3 功能性需求分析 6

3.2 系统概要设计 6

3.2.1 系统整体设计 6

3.2.2 系统模块设计 7

3.2.3 系统数据库设计 10

第4章 系统的详细实现与设计 13

4.1 系统详细设计 13

4.1.1 城市选择模块设计 13

4.1.2 定位模块设计 15

4.1.3 实况空气质量、环境、生活建议模块设计 16

4.1.4 空气质量预报模块设计 17

4.1.5 历史空气质量模块设计 19

4.2 系统的实现 20

4.2.1 城市选择模块 20

4.2.2 定位模块 22

4.2.3 实况空气质量、环境、生活建议模块 23

4.2.4 空气质量预报模块 25

4.2.5 历史空气质量模块 26

4.2.6 关于信息模块 27

第5章 系统测试 29

5.1 测试目的 29

5.2 测试环境 29

5.3 测试内容 29

5.3.1 系统功能测试 29

第6章 系统总结 32

参考文献 34

致 谢 35

第1章 绪论

1.1 研究目的及意义

近年来,随着社会的工业化的不断发展和工厂以及机动车数量的快速增加,导致各种有害的污染物被排放到大气之中,使得雾霾天气增多,空气质量呈现出不断下降的严峻趋势。为了保证在经济高速发展的同时,维护好我们的自然环境状况,保持空气质量与经济效益的双向平衡,我们需要提高空气质量预防与保护意识,合理地控制废气排放,全面地监测大气污染信息,预防重大空气污染事件的爆发,因此我们应当及时地开展空气质量的完善工作[1]。我国于1982年初次发布了《大气环境质量标准》,开始关注空气质量变化的影响,为了继续改善人们生活的良好环境,随后分别于1996年、2000年、2012年不断对环境质量标准进行修订[2]。目前我国正遵循着2012年颁布的环境空气质量标准,通过监测技术实现大规模的长期监测[3],并且将监测数据公布到网络上,包括AQI、PM10、PM2.5、SO2、CO、NO2、O3等数据。

空气环境质量的保护迫在眉睫,急需向人们普及空气质量的知识,提高人们空气质量的保护意识。但是人们获得空气质量信息的方式却十分有限,虽然在电视、网络上都可以了解到空气质量,但是电视上的信息需要在相应时段播报,数据没有办法实时送到我们脑海中,而在网络上信息泛滥,新旧信息重叠,通过查找才能获得正确的空气质量信息,查找操作十分麻烦,不利于我们日常了解空气质量,于此同时,通信产业的不断发展,基于Android移动互联网时代到来,因此为了方便人们拿到实时的空气质量数据,设计一个基于Android的空气质量预报系统是迫在眉睫的[4]

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图