
本科生毕业设计
基于 django 的民族服饰数据分析系统的设计与实现

摘 要
随着网络科技的发展,利用大数据分析对民族服饰进行管理已势在必行;该
平台将帮助企业更好地理解服饰市场的趋势,优化服装款式,提高服装的质量。
本文讲述了基于 python 语言开发,后台数据库选择 MySQL 进行数据的存储。
该软件的主要功能是进行服饰数据分析。主要包括个人中心、用户管理、民族服
饰管理、数据统计管理、系统管理等。本文主要介绍了该应用的设计初衷、功能
实现的大致过程,详细说明了民族服饰数据分析平台设计思想、数据库的开发设
计和功能模块的设计。整个民族服饰数据分析平台的设计过程中,考虑了数据库
的安全性、一致性、稳定性和可靠性的问题,并具有简洁的界面,操作也十分简
单,可以投入实际应用。
关键词: 民族服饰;python;MySQL

ABSTRACT
With the development of network technology, it is imperative to use big data
analysis to manage national costume. This platform will help enterprises better
understand the trend of costume market, optimize fashion style and improve the
quality of costume.
This article describes the python-based development, background database
selection MySQL data storage. The main function of the software is to carry out
clothing data analysis. It mainly includes personal center, user management, National
Costume Management, data statistics management, system management and so on.
This paper mainly introduces the design intention and function realization of the
application, and explains the design idea of the national dress data analysis platform,
the design of the database and the design of the function module. During the design of
the national costume data analysis platform, the problems of database security,
consistency, stability and reliability are considered, and it has a simple interface and
simple operation, can be put into practical application.
Key words: National Costume; python; MySQL

目录
第 1 章 前言 .................................................................................................................................- 1 -
1.1 研究背景及意义.........................................................................................................- 1 -
1.1.1 研究背景 ..............................................................................................................................- 1 -
1.1.2 研究意义 ..............................................................................................................................- 1 -
1.2 国内外研究现状.........................................................................................................- 1 -
1.3 主要研究内容.............................................................................................................- 2 -
第 2 章 相关技术介绍 .................................................................................................................- 3 -
2.1 Python 语言.................................................................................................................- 3 -
2.2 Django 框架 ................................................................................................................- 3 -
2.3 MySQL 数据库...........................................................................................................- 3 -
2.4 Hadoop 介绍 ...............................................................................................................- 4 -
2.5 Scrapy 介绍.................................................................................................................- 4 -
2.6vue 技术 .......................................................................................................................- 4 -
2.7 B/S 架构......................................................................................................................- 5 -
第 3 章 系统分析 .........................................................................................................................- 6 -
3.1 系统可行性分析........................................................................................................- 6 -
3.1.1 技术可行性 .........................................................................................................................- 6 -
3.1.2 操作可行性 .........................................................................................................................- 6 -
3.1.3 经济可行性 .........................................................................................................................- 6 -
3.2 系统性能需求分析.....................................................................................................- 6 -
3.3 系统功能需求.............................................................................................................- 7 -
3.4 系统用例分析............................................................................................................- 7 -
3.5 系统流程分析............................................................................................................- 8 -
3.5.1 登录流程 .............................................................................................................................- 8 -
3.5.2 注册流程 .............................................................................................................................- 8 -
3.5.3 添加流程 .............................................................................................................................- 9 -
第 4 章 系统设计 .......................................................................................................................- 10 -
4.1 系统功能模块设计...................................................................................................- 10 -
4.2 系统数据库设计......................................................................................................- 10 -
4.2.1 数据库系统 .......................................................................................................................- 10 -
4.2.2 数据库概念设计 ...............................................................................................................- 10 -
4.2.3 E-R 模型结构设计.............................................................................................................- 11 -
4.2.4 数据表设计 ........................................................................................................................- 11 -
第 5 章 系统实现 .......................................................................................................................- 17 -
5.1 系统前台功能实现...................................................................................................- 17 -
5.1.1 系统首页功能实现....................................................................................- 17 -
5.1.2 个人中心实现............................................................................................- 18 -
5.2 管理员功能实现.......................................................................................................- 19 -
第 6 章 系统测试 .....................................................................................................................- 22 -
6.1 系统测试概述.........................................................................................................- 22 -
6.2 测试方法.................................................................................................................- 22 -

6.3 测试过程和结果.....................................................................................................- 22 -
6.3.1 系统登录测试 ...................................................................................................................- 22 -
第 7 章 总结和展望 ...................................................................................................................- 24 -
参 考 文 献 ...............................................................................................................................- 25 -
致 谢 .........................................................................................................................................- 26 -