摘 要
随着移动终端设备的持续发展,传统社交网络形式已难以满足用户需求,基于移动终端的新型社交网络应运而生。新型社交网络突破了Facebook、微信等依赖熟人构建人际圈的模式,基于用户当前地理位置发现周围有共同兴趣者,进而构建社交圈子,这是移动端独有的功能特点。基于地理位置的兴趣社交,依据用户位置信息,将有相同兴趣爱好的用户在线上集合,再由用户自行组织线下活动,因用户距离近且以兴趣为切入点,具有更高的可靠性与成功率。
本文聚焦于基于地理位置的兴趣社交网络应用,探讨了其常见功能,阐述了基于位置的移动社交网络的优势与高效性。在此基础上,设计并实现了一个基于地理位置的社交平台。该平台采用Java语言研发,涵盖兴趣活动发布与组织、评论、用户管理、单聊/私聊等功能模块。在需求分析阶段,详细介绍了各模块功能;平台设计时,依据需求绘制E-R图并完成数据库表设计;实现过程中,讲述了软件界面设计与各模块业务逻辑的实现;最后进行功能测试,验证了软件功能的完善性与可用性。本研究为大学生提供了一个基于地理位置的兴趣社交平台,有助于他们拓展社交圈子、丰富课余生活。
关键词:LBS;兴趣活动;兴趣社交;移动社交网络
ABSTRACT
With the continuous development of mobile terminal devices, the traditional forms of social networks can hardly meet the needs of users, and new social networks based on mobile terminals have emerged. Unlike Facebook and WeChat which rely on acquaintances to build social circles, new social networks discover people with common interests around based on users' current geographical locations and then build social circles, which is a unique function of mobile terminals. Location-based interest social networking gathers users with the same hobbies online according to their location information and allows them to organize offline activities on their own. It has higher reliability and success rate due to the proximity of users and the focus on interests.
This paper focuses on location-based interest social networking applications, discusses their common functions, and elaborates on the advantages and efficiency of location-based mobile social networks. Based on this, a location-based social networking platform is designed and implemented. Developed using the Java language, the platform includes functional modules such as interest activity publishing and organization, commenting, user management, and single/private chatting. During the requirement analysis phase, the functions of each module are introduced in detail. In platform design, E-R diagrams are drawn and database table designs are completed according to requirements. During implementation, the software interface design and the realization of business logic for each module are described. Finally, functional tests are conducted to verify the completeness and usability of the software functions. This study provides college students with a location-based interest social networking platform, helping them expand their social circles and enrich their extracurricular lives.
Keywords: LBS; Interest Activities; Interest in Social; Mobile Social Network
目 录
1 引言
2 现状分析
2.1 基于位置服务(LBS)分析
2.2 兴趣社交模式分析
3 开发环境搭建及相关技术
3.1 开发环境
3.1.1 Eclipse for J2EE
3.1.2 Tomcat容器
3.1.3 Navicat for MySQL
3.2 使用语言及相关技术
3.2.1 J2EE简介与发展
3.2.2 Servlet技术
3.2.3 MySQL 数据库
3.2.4 Spring框架
3.2.5 Mybatis 对象关系映射框架
3.2.6 Baidu LBS API
3.2.7 FastJson
4 内容分享和社交平台软件系统设计
4.1 需求分析
4.2 模块划分及系统设计
4.2.1 用户模块
4.2.2 活动模块
4.2.3 评论模块
4.2.4 私聊与群聊
4.3 系统流程设计
4.4 数据库模型与设计
4.4.1 数据库模型建立
4.4.2 E-R图
4.4.3 数据表的设计
5 内容分享和社交平台软件实现
5.1 系统实现的技术架构
5.2 用户模块
5.2.1 用户注册
5.2.2 用户登录
5.2.3 修改密码
5.2.4 设置个人信息
5.3 活动模块
5.3.1 活动创建
5.3.2 活动解散
5.3.3 活动感兴趣
5.4 评论模块
5.4.1 评论创建
5.4.2 评论删除
6 内容分享和社交平台软件测试
6.1 测试环境
6.2 主要功能演示
7 总结
致谢
参考文献






















