摘要近几年,随着移动网络的不断发展与 Android 手机的推广,人们的日常生活 中信息的交互量更是越来越大。由于手机的电量与流量一定, Android 智能手机 如何以较小的代价获取更多的信息也成为了当今一个热门的研究问题。 推送技术是一个很好的解决方案。当有用户的消息时,推送会把消息主动发 送给用户,而不必依靠用户轮询来询问是否有消息,使消息实时传递到 Android 手机,并且对 Android 手机的电量、流量损耗低。 本文基于对 Observer 设计模式进行详细研究 , 把 Android 客户端作为一个观 察者, Web 服务器作为被观察者。然后对比当今几种实现推送的技术方案,采用 其中最简单、方便的极光推送来实现推送技术。 60412
毕业论文关键词 Observer 推送技术 Android 极光推送
Title Title Title Title The Implementation of J2EE/Android M essage P ush B ased on Observer design pattern Abstract Abstract Abstract Abstract In recent years, with the continuous development of mobile network and Android mobile phone, interaction information in people's daily lives is more and more big. Due to the power and flow rate of the mobile phone, Android intelligent mobile phone to obtain more information with less cost has become a hot research issue. Push technology is a good solution. When user have a message, P ush technology will take the initiative to sen d this message to the user, without having to rely on the user polling to inquire whether having news, make message is real-time transmitted to the Android mobile phone, and the power of Android mobile phone, flow losses low . This paper studied in detail based on the Observer design pattern, the Android client as an observer, Web server as the observed. Then the comparison of the present several technical scheme to realize push technology , choose the most simple, convenient ush to implement push technology.
Keywords Observer, Push technology , Android , ush 

目次

1绪论.1

1.1选题背景1

1.2国内外研究现状1

1.3本文研究内容3

1.4论文组织结构3

2相关技术研究4

2.1Observer模式4

2.1.1Observer模式定义.4

2.1.2Observe模式的结构.4

2.1.3Observer模式协作.5

2.1.4Observer模式中更新数据方式.6

2.1.5Observer模式优缺点.7

2.1.6Observer模式的适用场合.8

2.2XMPP协议8

2.2.1什么是XMPP协议.8

2.2.2XMPP简史.9

2.2.3XMPP网络.9

2.2.4XMPP协议寻址.10

2.2.5XMPP协议优缺点.10

2.3极光推送.11

2.3.1极光推送原理11

2.3.2极光推送配置12

2.3.3极光推送优点13

2.4SOAP协议13

2.4.1SOAP协议简介.13

2.4.2SOAP协议优点.13

2.4.3SOAP协议配置.14

2.5Android数据库SQLite.14

2.6本章小结.14

3系统需求分析与设计15

3.1需求分析.15

3.1.1功能性需求分析15

3.1.2非功能性需求分析17

3.1.3Android客户端配置.17

3.1.4Web服务器配置.18

3.2系统设计.19

3.2.1Android手机客户端设计.20

3.2.2Web服务器设计.21

3.3数据库设计.23

3.3.1Web服务器数据库设计.23

3.3.2Android手机客户端数据库设计.26

3.4本章小结.26

4紧急事件消息系统实现26

4.1MyReceiver类27

4.2ushService类28

4.3WebServiceRequest类29

4.4Android客户端实现30

4.5登录验证实现.31

4.6消息推送实现.31

4.6.1Web服务器初始化.31

4.6.2Android客户端初始化.32

4.6.3消息推送流程32

4.7离线消息实现.33

4.7测试与界面.34

4.7.1测试环境配置34

上一篇:shape-context人脸相似度在娱乐网站上的应用研究
下一篇:基于多维尺度法的网站分类用户心智模型空间性研究

基于Android的电子拍卖系统设计与开发

基于Web应用的致胜公司企业内部培训系统设计

Matlab基于多旋翼飞行器的飞行控制系统设计

基于字典学习的多视图低维相关表示方法研究

基于android通讯与游戏的手...

基于android的环境信息管理系统设计

基于激光超声检测金属材...

肢体语言在小学英语教学中的应用浅谈

发酵米粉优势菌株的发酵特性研究

激光模拟训练器材国内外研究现状

浅谈农村大气环境保护的制度构建【1868字】

大淘宝网的虚假交易研究

个案管理茬老年糖尿病患...

2021年什么行业赚钱,适合...

日语论文中日酒文化对比研究

新疆农林高校學生昆虫生...

淮安市高校足球运动损伤问卷调查表