fastdfs技术的分布式文件管理系统(附件)
1在当今信息爆炸的时代,每时每刻产生的信息呈现指数式增长,传统的文件存储方式很显然有些力不从心,如何有效的存储管理海量的文件这项议题一直成为当下研究的热点,高性能的分布式文件系统成为了科研或者商业上的“新宠儿”。作为一款开源的分布式文件系统,FastDFS采用以文件命名和分组的方式以达到高扩展性和轻便性的特点,此外该系统还具备负载均衡和自动对文件进行同步的特点。本文基于FastDFS技术设计实现了一个云盘文件管理系统,让用户摆脱黑框操作,实现可视化的应用,更加简单明了,使得用户对于小型文件的上传和下载更加便捷。同时文件存储在FastDFS集群上,存储方式更灵活,空间扩充更方便,系统对用户需求反馈迅速,用户体验更佳。基于Ubuntu 16.04操作系统,对本文的系统进行了相应的实验设计实现,最终实现了满足预期要求的云盘系统。
目录
引言
1 绪论 1
1.1 研究背景与意义 1
1.1.1 研究背景 1
1.1.2 研究意义 2
1.2 研究现状与进展 2
1.2.1 国内研究 2
1.2.2 国外研究 3
1.3 本文主要研究内容 3
2 关键技术 3
2.1 分布式文件系统技术 3
2.2 文件管理实现技术 4
2.3 数据库技术 5
2.4 网站开发技术 5
3 系统需求分析 5
3.1 用户需求 5
3.2 系统功能需求分析 6
3.2.1 空间管理功能需求 6
3.2.2 文件管理功能需求 6
3.2.3 积分管理功能需求 6
3.2.4 回收站功能需求 6
3.2.5 好友分享功能需求 7
3.2.6 留言板功能需求 7
3.3 系统非功能需求分析 7
4 系统设计与实现 8
4.1 总体设计 8
4.1.1 系统目标 8
4.1.2 系统内容 8
4.1.3 系统体系结构 8
4 *好棒文|www.hbsrm.com +Q: ^351916072^
.1.4 基本功能设计实现 8
4.1.4.1 Mysql接口设计与实现 8
4.1.4.2 FastDFS客户端功能封装 9
4.1.4.3 FastDFS实例功能实现 9
4.2 功能流程设计 9
4.2.1 用户注册流程分析 9
4.2.2 用户个人信息完善 10
4.2.3 文件管理流程分析 10
4.2.4 空间管理流程分析 11
4.2.5 好友分享流程分析 11
4.2.6 回收站流程分析 12
4.2.7 回收站流程分析 12
4.3 系统数据库设计 13
4.3.1 数据库概念结构设计 13
4.3.2 数据库逻辑结构设计 13
4.4 系统实现 14
4.4.1 界面模块Activity实现 14
4.4.2 后端与前端交互实现 15
4.4.3 服务端连接数据库实现 16
4.4.4 API实现示范 16
4.4.5 服务端连接FastDFS分布式文件系统实现 17
4.4.6 Ajax异步加载伪代码 17
4.4.7 文件上传和下载实现 18
4.4.8 后台条件检索功能实现 19
4.4.9 好友分享功能实现 20
4.4.10 回收站功能实现 21
4.5 系统测试 22
4.5.1 测试目的 22
4.5.2 测试过程 22
4.5.3 测试结果 22
5 总结与展望 22
致谢 22
参考文献: 23
基于FastDFS技术的分布式文件管理系统
Small File Management System Based on FastDFS
Student majoring in Network Engineering Xu Chi
Tutor Xue Wei
Abstract:In todays information explosion era, every moment of information generates exponential growth.The traditional way of file storage is obviously some powerless.How effective storage and management of massive documents.This issue has become the current research hot. Highperformance distributed file system has become a scientific research or commercial "new darling". As an open source distributed file system, FastDFS uses file naming and grouping to achieve high scalability and portability characteristics. In addition, the system also has load balancing and automatic synchronization of the characteristics of the file. This paper based on FastDFS technology designed to achieve a cloud disk file management system, allowing users to get rid of black box operation to achieve visualization of the application more simple and clear, making the user for small file upload and download more convenient. At the same time, the files are stored on the FastDFS cluster, the storage method is more flexible.And the space expansion is more convenient. The system feedback to the user needs quickly,so the user experience better.Based on the Ubuntu 16.04 operating system, the corresponding experimental design and implementation of the system are realized. And finally the cloud disk system satisfying the expected requirements is realized.
目录
引言
1 绪论 1
1.1 研究背景与意义 1
1.1.1 研究背景 1
1.1.2 研究意义 2
1.2 研究现状与进展 2
1.2.1 国内研究 2
1.2.2 国外研究 3
1.3 本文主要研究内容 3
2 关键技术 3
2.1 分布式文件系统技术 3
2.2 文件管理实现技术 4
2.3 数据库技术 5
2.4 网站开发技术 5
3 系统需求分析 5
3.1 用户需求 5
3.2 系统功能需求分析 6
3.2.1 空间管理功能需求 6
3.2.2 文件管理功能需求 6
3.2.3 积分管理功能需求 6
3.2.4 回收站功能需求 6
3.2.5 好友分享功能需求 7
3.2.6 留言板功能需求 7
3.3 系统非功能需求分析 7
4 系统设计与实现 8
4.1 总体设计 8
4.1.1 系统目标 8
4.1.2 系统内容 8
4.1.3 系统体系结构 8
4 *好棒文|www.hbsrm.com +Q: ^351916072^
.1.4 基本功能设计实现 8
4.1.4.1 Mysql接口设计与实现 8
4.1.4.2 FastDFS客户端功能封装 9
4.1.4.3 FastDFS实例功能实现 9
4.2 功能流程设计 9
4.2.1 用户注册流程分析 9
4.2.2 用户个人信息完善 10
4.2.3 文件管理流程分析 10
4.2.4 空间管理流程分析 11
4.2.5 好友分享流程分析 11
4.2.6 回收站流程分析 12
4.2.7 回收站流程分析 12
4.3 系统数据库设计 13
4.3.1 数据库概念结构设计 13
4.3.2 数据库逻辑结构设计 13
4.4 系统实现 14
4.4.1 界面模块Activity实现 14
4.4.2 后端与前端交互实现 15
4.4.3 服务端连接数据库实现 16
4.4.4 API实现示范 16
4.4.5 服务端连接FastDFS分布式文件系统实现 17
4.4.6 Ajax异步加载伪代码 17
4.4.7 文件上传和下载实现 18
4.4.8 后台条件检索功能实现 19
4.4.9 好友分享功能实现 20
4.4.10 回收站功能实现 21
4.5 系统测试 22
4.5.1 测试目的 22
4.5.2 测试过程 22
4.5.3 测试结果 22
5 总结与展望 22
致谢 22
参考文献: 23
基于FastDFS技术的分布式文件管理系统
Small File Management System Based on FastDFS
Student majoring in Network Engineering Xu Chi
Tutor Xue Wei
Abstract:In todays information explosion era, every moment of information generates exponential growth.The traditional way of file storage is obviously some powerless.How effective storage and management of massive documents.This issue has become the current research hot. Highperformance distributed file system has become a scientific research or commercial "new darling". As an open source distributed file system, FastDFS uses file naming and grouping to achieve high scalability and portability characteristics. In addition, the system also has load balancing and automatic synchronization of the characteristics of the file. This paper based on FastDFS technology designed to achieve a cloud disk file management system, allowing users to get rid of black box operation to achieve visualization of the application more simple and clear, making the user for small file upload and download more convenient. At the same time, the files are stored on the FastDFS cluster, the storage method is more flexible.And the space expansion is more convenient. The system feedback to the user needs quickly,so the user experience better.Based on the Ubuntu 16.04 operating system, the corresponding experimental design and implementation of the system are realized. And finally the cloud disk system satisfying the expected requirements is realized.
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/wljs/471.html