摘 要
随着移动终端设备的不断发展,传统的社交网络形式已经满足不了用户的需求,基于移动终端的新型社交网络的迅速发展。新型社交网络不再像Facebook、微信那样依靠熟人构建自己的人际圈,而是基于当前地理位置来发现周围有共同兴趣者,接着构建自己的社交圈子。一个基于位置的用户关系,也是移动端所独有的功能特点。基于用户当前的位置信息,根据附近出没人群的感兴趣的活动,将一批有相同兴趣爱好的用户在线上集合在一起,然后由用户自己组织线下的活动,这就是基于地理位置的兴趣社交。因为是附近用户、且切入点是用户的兴趣,使之可靠性、成功率更高。
本文主要论述了基于地理位置的兴趣社交网络应用的常见功能,并讲述了基于位置的移动社交网络的优点和高效性。由此提出并设计了一个基于地理位置的社交平台,系统主要使用Java语言进行研发,主要涉及兴趣活动发布、组织,评论,用户,单聊/私聊等功能模块。需求分析中,主要介绍各模块的功能。平台设计中,根据需求分析,设计E-R图,并完成数据库表的设计。在平台实现中,讲述了软件的界面设计,软件系统各个模块业务逻辑的实现。并且进行了功能测试,验证软件的功能完善和可用性。
关键词:LBS;活动;兴趣社交
ABSTRACT
With the continuous development of mobile terminal equipment, the traditional form of social networks have already can't satisfy the needs of users, the rapid development of the new social network based on mobile terminals.. New social networks unlike Facebook, WeChat no longer rely on contacts to build their own network, but is based on the current location to find around common interests, and then build your own social circle. A relationship of users based on the position and the function characteristics of mobile terminal alone. Based on the user's current location information, according to the activity of interest around in the crowd, a number of online users have the same hobbies, together, and then organized by the user's own offline activities, that is based on the geographic location of the social interests. Because it is near the users, and the breakthrough point is the user's interest, make the reliability, the success rate is higher.
This paper mainly discusses the common function of the geographical position of interest in social networking applications, and tells the story of location-based mobile social network advantages and efficiency. Thus proposed and designed a location-based social networking platform, Java language system is mainly used for research and development, mainly involved interest activities, organization, comments, user, such as single/private chat function module. Demand analysis, mainly introduce the function of each module. In the platform design, devise e-r diagram according to the analysis of demand and complete the design of the database table. The platform implementation, tells the story of software interface design, the realization of the software system modules business logic. And the functional test, verify that the software function is perfect, and availability.
Keywords:LBS; Activities; Interest in social
目 录
1 引言 1
2 现状分析 2
2.1 基于位置服务(LBS)分析 2
2.2 兴趣社交模式分析 2
3 开发环境搭建及相关技术 4
3.1 开发环境 4
3.1.1 Eclipse for J2EE 4
3.1.2 Tomcat容器 4
3.1.3 Navicat for MySQL 4
3.2 使用语言及相关技术 4
3.2.1 J2EE简介与发展 5
3.2.2 Servlet技术 5
3.2.3 MySQL 数据库 5
3.2.4 Spring框架 5
3.2.5 Mybatis 对象关系映射框架 6
3.2.6 Baidu LBS API 6
3.2.7 FastJson 6
4 社交平台软件系统设计 8
4.1 需求分析 8
4.2 模块划分及系统设计 9
4.2.1 用户模块 9
4.2.2 活动模块 9
4.2.3 评论模块 10
4.2.4 私聊与群聊 10
4.3 系统流程设计 10
4.4 数据库模型与设计 11
4.4.1 数据库模型建立 11
4.4.2 E-R图 11
4.4.3 数据表的设计 13
5 社交平台软件实现 16
5.1 系统实现的技术架构 16
5.2 用户模块 16
5.2.1 用户注册 16
5.2.2 用户登录 17
5.2.3 修改密码 18
5.2.4 设置个人信息 19
5.3 活动模块 21
5.3.1 活动创建 21
5.3.2 活动解散 23
5.3.3 活动感兴趣 23
5.4 评论模块 24
5.4.1 评论创建 24
5.4.2 评论删除 24
6 社交平台软件测试 25
6.1 测试环境 25
6.2 主要功能演示 25
7 总结 29
致谢 30
参考文献 31