摘要:随着生活水平的提高,慢性疾病突发逐渐成为人们日常生活中一大隐患。病患突发疾病时无法准确描述自身位置、家属不能及时到达急救现场造成的延误都有可能让病人错过急救最佳时机,带来严重后果。允许用户发送位置求救的移动急救系统作为一种应对方案,具有一定的设计开发价值。
本文研究和设计的基于地理位置的移动急救系统,是LBS在急救领域的一个应用。本系统基于Android平台,利用高德地图API,实现了用户在客户端查看当前位置、设置紧急联系人、一键触发求救的功能。系统利用Bmob后端云作为服务器数据库,进行用户数据的管理。系统客户端程序利用Bmob自带方法实现登录注册逻辑。用户可以在客户端对个人信息进行查看、修改操作,数据库数据同步客户端个人信息。系统允许用户在紧急情况下一键触发求助,将位置信息发送给紧急求助人。
系统可帮助用户可以在突发疾病时简单有效地告知家属自己的当前位置和情况,为急救工作的进行争取宝贵时间。对比现有移动急救系统,系统具备操作简洁,反应快速的特点。系统整体设计合理,未来功能还可以进一步完善。
关键词:移动急救服务;LBS;Bmob后端云;Android;高德地图
Abstract:With the improvement of living standards, chronic diseases have gradually become a major hidden trouble in daily life. Serious consesquences may probably be caused by the missing of the best rescuing time when a patient , who suffers a sudden illness , fails to describe his accurate location and his family fails to reach the location in time. Mobile emergency system, which allows users to send their location for help, is worthy to design and develop.
The Location-based Mobile Emergency System, studied and designed in this paper, is an application of LBS in the emergency field. The system is based on the Android platform and applies the Amap API. In this way, a user can check his current location, set the emergency contacts and one-key trigger on the client. Meanwhile, the system uses the backbend cloud Bmob as the server database to manage the user data. The client program can use the API of the Bmob to implement login and registration logic. Besides, the user can check and modify his personal information on the client, which will be synchronized in the database. In an emergency, the system allows the user to trigger a call and send his location to his emergency contacts.
The system can help a patient inform his family members of his current location and condition in simple and effective manner, which saves precious time for the patient. Compared with existing Mobile emergency systems, the Location-based Mobile Emergency System is easy to operate with quick response. The overall design of the system is reasonable and can be improved in the future.
Keywords: Mobile emergency service; LBS; Bmob backend cloud; Android; Amap
目 录
第一章绪论1
1.1研究背景及意义.1
1.3论文结构4
第二章系统设计相关技术.6
2.1LBS系统.6
2.1.1LBS系统架构.6
2.1.2利用地图API的LBS系统.7
2.2Android.8
2.3高德地图API.8
2.4Bmob后端云9
2.5本章小结.12
第三章系统总体设计.13
3.1系统设计目标.13
3.2系统需求说明.13
3.2.1系统用例说明.14
3.2.2系统功能说明.16
3.3系统架构设计.17
3.4本章小结.18
第四章系统详细设计19
4.1系统开发环境.19
4.2高德地图的使用.19
4.3服务器端用户管理.22
4.4客户端功能实现.24
4.4本章小结.27