1、13991060我是论文的标题I am title of the thesis学院: 软件学院 专业: 软件工程 班级: 131013 姓名: 韩是的 导师: 山东省 摘 要摘 要随着互联网+概念的兴起,互联网+ 传统行业已经得到长足的发展,越来越多的商家把自己提供的服务与互联网应用联系在一起,人们拥有了以往任何时候都无法比拟的贴心,便捷的服务体验,对于便利店,超市等商场而言,准确,快速的帮助用户找到所需商品,是商店与互联网结合的重要着力点之一。本文主要内容是阐述与研究基于 iBeacon 的室内定位技术的设计与实现。首先,从应用的设计目标开始入手,对项目的业务需求,功能需求,性能需求进行评估
2、,然后开始设计应用的整体架构,再对每个模块进行细分设计,最终实现一个可在室内利用 iBeacon 基站配合服务器进行室内较高精度定位的产品。关键词:室内定位 iBeacon 互联网+AbstractAbstractWith the spring up of Internet+, Internet + traditional service have obtained great progress. People are getting unmatched intimate and convenient experience as more and more company connect th
3、eir service with Internet.For the market, the accuracy and convenience for customers to get what they want is the key to combine their service with Internet.In this paper, the content of this study is to design and implement the indoor localization service based on iBeacon.First of all ,starting wit
4、h the design goal of our application, we evaluate our function demand , performance demand .Then start to design the architecture of our project and finish the detail.What we final want is the product that is able to locate indoor with the iBeacon base station. Keywords: indoor-localization iBeacon
5、Internet+目 录目 录摘 要 IAbstractIII目 录 V第一章 绪论 .11.1 我是第一节标题 11.1.1 我是第一小节标题 .1第二章 我是第二章标题 .32.1 我是第一节标题 32.1.1 我是第一小节标题 .3第三章 我是第三章标题 .53.1 我是第一节标题 53.1.1 我是第一小节标题 .53.1.2 我是第一小节标题 .53.2 我是第一节标题 5第四章 我是第四章标题 .7第五章 论文总结 .9致 谢 .11参考文献 .13附录 A 我是附录 A 的标题 15附录 B 我是附录 B 的标题 .17第一章 绪论 7第一章 绪论1.1 研究背景与意义谈及定位技
6、术,人们大都会想到 GPS 技术,但要结合室内定位与轻量,快速的特性,iBeacon 则是更好的选择。GPS 定位主要用于对移动的人、宠物、车及设备进行远程实时定位监控的一门技术,它通过设备与定位卫星无线电传输的时间进行测距,再结合多颗卫星推算出自己的位置。然而,在民用领域 GPS 的精度往往有数米之高,这样的误差大大限制了其在一些领域的发挥。其次,GPS 技术在室内会被建筑衰减大量信号强度,更进一步加大了其测量误差。iBeacon 是苹果公司 2013 年 9 月发布的移动设备用 OS(iOS7 )上配备的新功能。其工作方式是,配备有低功耗蓝牙(BLE)通信功能的设备使用 BLE 技术向周围
7、发送自己特有的 ID,接收到该 ID 的应用软件会根据该 ID 采取一些行动。比如,在店铺里设置 iBeacon 通信模块的话,便可让 iPhone 和 iPad 上运行一资讯告知服务器,或者由服务器向顾客发送折扣券及进店积分。此外,还可以在家电发生故障或停止工作时使用 iBeacon 向应用软件发送资讯。这是论文的题目8第二章 我是第二章标题我是第二章的内容。2.1 我是第一节标题我是第一节的内容。2.1.1 我是第一小节标题我是第一小节的内容。第二章 这是第二章的标题 9第二章内容结束页。这是论文的题目10第三章 我是第三章标题我是第三章的内容。3.1 我是第一节标题我是第一节的内容。3.
8、1.1 我是第一小节标题我是第一小节的内容。我是第一节的内容。3.1.2 我是第一小节标题我是第一小节的内容。3.2 我是第一节标题第三章 这是第三章的标题 11这是论文的题目12第四章 我是第四章标题我是第四章的内容。第四章 我是第四章的标题 13这是论文的题目14第五章 论文总结我是论文总结的内容。第五章 我是第五章的标题 15这是论文的题目16致 谢我是致谢的内容。致 谢 17这是论文的题目18参考文献1 张三,李四 . 文章标题D. 文献出处. Vol123(23), 2009 P23-32.2 I am the 2nd reference. J C M致 谢 19这是论文的题目20附
9、录 A 我是附录 A 的标题我是附录 A 的内容。图 A1 我是附录 A 的图片说明我也是附录 A 的内容。表 A1 我是附录 A 的表格说明表格项 A 表格项 B 表格项 C 表格项 D数据 a数据 b数据 c附录 A 的内容结束了。附录 A 这是附录 A 的标题 21这是论文的题目22附录 B 我是附录 B 的标题我是附录 B 的内容。下面是附录 B 的代码段。public class HibernateUtil private static final Log log = LogFactory.getLog(HibernateUtil.class);private static Sess
10、ionFactory sessionFactory = null;private static Session session = null;private static Transaction transaction = null; private static void getSessionFactory() try if ( sessionFactory = null ) sessionFactory = new Configuration().configure().buildSessionFactory();catch (Exception e) log.error(“Could n
11、ot locate SessionFactory in JNDI“, e);throw new IllegalStateException(“Could not locate SessionFactory in JNDI“);public static Session beginTransction() HibernateUtil.getSessionFactory();/if ( (session = sessionFactory.getCurrentSession()=null )session = sessionFactory.openSession();transaction = session.beginTransaction();return session;public static void closeTransaction() mit();session.flush();session.close();