摘要
隨著信息技術(shù)在管理上越來越深入而廣泛的應(yīng)用,管理信息系統(tǒng)的實施在技術(shù)上已逐步成熟。本文介紹了大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)的開發(fā)全過程。通過分析大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)管理的不足,創(chuàng)建了一個計算機(jī)管理大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)的方案。文章介紹了大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)的系統(tǒng)分析部分,包括可行性分析等,系統(tǒng)設(shè)計部分主要介紹了系統(tǒng)功能設(shè)計和數(shù)據(jù)庫設(shè)計。
本大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)有管理員和學(xué)生兩個角色。管理員角色功能主要是后臺操作,主要對學(xué)生管理,最新資訊管理,心理產(chǎn)品管理,音樂理療管理,試題管理,試卷管理,考試管理等操作。學(xué)生角色主要在微信小程序端進(jìn)行注冊和登錄,可以查看管理員發(fā)布的關(guān)于大學(xué)生心理健康的一些信息,并且可以進(jìn)行答題等操作。因而具有一定的實用性。
本站后臺采用Java的SSM框架進(jìn)行后臺管理開發(fā),可以在瀏覽器上登錄進(jìn)行后臺數(shù)據(jù)方面的管理,MySQL作為本地數(shù)據(jù)庫,微信小程序用到了微信開發(fā)者工具,充分保證系統(tǒng)的穩(wěn)定性。系統(tǒng)具有界面清晰、操作簡單,功能齊全的特點,使得大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)管理工作系統(tǒng)化、規(guī)范化。
關(guān)鍵詞:大學(xué)生心理健康服務(wù)微信小程序系統(tǒng);SSM框架;MYSQL數(shù)據(jù)庫
Abstract
With the increasingly in-depth and extensive application of information technology in management, the implementation of management information system has gradually matured in technology. This article introduces the whole process of developing the WeChat applet system for college students’ mental health service. By analyzing the shortcomings of the management of the WeChat applet system for college students’ mental health service, a scheme for computer management of the WeChat applet system for college students’ mental health service was created. This article introduces the system analysis part of the WeChat applet system for college students’ mental health service, including feasibility analysis, etc. The system design part mainly introduces the system function design and database design.
The WeChat applet system for college students’ mental health service has two roles: administrator and student. The administrator role function is mainly background operation, mainly for student management, latest information management, psychological product management, music therapy management, test management, test paper management, test management and other operations. The student role is mainly registered and logged in at the WeChat applet. It can view some information about college students’ mental health released by the administrator, and can answer questions and other operations. Therefore, it has certain practicability.
The background of this site uses the SSM framework of Java for background management and development. You can log in to the browser for background data management. MySQL is the local database. The WeChat applet uses the WeChat developer tool to fully guarantee the stability of the system. The system has the characteristics of clear interface, simple operation and complete functions, which makes the management of the WeChat widget system for college students’ mental health service systematized and standardized.
Keywords:WeChat widget system for college students’ mental health service; SSM framework; MYSQL database
目錄
1系統(tǒng)概述 1
1.1 研究背景 1
1.2研究目的 1
1.3系統(tǒng)設(shè)計思想 1
2相關(guān)技術(shù) 3
2.1微信小程序 3
2.2 MYSQL數(shù)據(jù)庫 3
2.3 uni-app 4
2.4 SSM框架簡介 4
3系統(tǒng)分析 6
3.1可行性分析 6
3.1.1技術(shù)可行性 6
3.1.2經(jīng)濟(jì)可行性 6
3.1.3操作可行性 6
3.2系統(tǒng)性能分析 7
3.2.1 系統(tǒng)安全性 7
3.2.2 數(shù)據(jù)完整性 7
3.3系統(tǒng)界面分析 7
3.4系統(tǒng)流程和邏輯 9
4系統(tǒng)概要設(shè)計 10
4.1概述 10
4.2系統(tǒng)結(jié)構(gòu) 11
4.3.數(shù)據(jù)庫設(shè)計 11
4.3.1數(shù)據(jù)庫實體 11
4.3.2數(shù)據(jù)庫設(shè)計表 17
5系統(tǒng)詳細(xì)實現(xiàn) 22
5.1 管理員模塊的實現(xiàn) 22
5.1.1 學(xué)生信息管理 22
5.1.2 心理產(chǎn)品管理 23
5.1.3 音樂理療管理 23
5.1.4 考試記錄管理 24
5.1.5 試題管理 25
5.2 小程序用戶模塊的實現(xiàn) 25
5.2.1 我的 25
5.2.2 首頁 26
5.2.3 心理產(chǎn)品 27
5.2.4 音樂理療 28
6系統(tǒng)測試 29
6.1概念和意義 29
6.2特性 30
6.3重要性 30
6.4測試方法 31
6.5 功能測試 31
6.6可用性測試 32
6.7性能測試 32
6.8測試分析 32
6.9測試結(jié)果分析 33
結(jié)論 33
致謝語 34
參考文獻(xiàn) 34
1 系統(tǒng)概要設(shè)計
4.1概述
本系統(tǒng)后臺采用B/S結(jié)構(gòu)(Browser/Server,瀏覽器/服務(wù)器結(jié)構(gòu))和基于Web服務(wù)兩種模式,是一個適用于Internet環(huán)境下的模型結(jié)構(gòu)。只要用戶能連上Internet,便可以在任何時間、任何地點使用。系統(tǒng)工作原理圖如圖4-1所示:
圖4-1系統(tǒng)工作原理圖
4.2系統(tǒng)結(jié)構(gòu)
設(shè)計的功能結(jié)構(gòu)圖如下圖所示:
圖4-2功能結(jié)構(gòu)圖
4.3.數(shù)據(jù)庫設(shè)計
4.3.1數(shù)據(jù)庫實體
概念設(shè)計的目標(biāo)是設(shè)計出反映某個組織部門信息需求的數(shù)據(jù)庫系統(tǒng)概念模式,數(shù)據(jù)庫系統(tǒng)的概念模式獨立于數(shù)據(jù)庫系統(tǒng)的邏輯結(jié)構(gòu)、獨立于數(shù)據(jù)庫管理系統(tǒng)(DBMS)、獨立于計算機(jī)系統(tǒng)。
概念模式的設(shè)計方法是在需求分析的基礎(chǔ)上,用概念數(shù)據(jù)模型(例如E-R模型)表示數(shù)據(jù)及數(shù)據(jù)之間的相互聯(lián)系,設(shè)計出反映用戶信息需求和處理需求的數(shù)據(jù)庫系統(tǒng)概念模式。概念設(shè)計的目標(biāo)是準(zhǔn)確描述應(yīng)用領(lǐng)域的信息模式,支持用戶的各種應(yīng)用,這樣既容易轉(zhuǎn)換為數(shù)據(jù)庫系統(tǒng)邏輯模式,又容易為用戶理解。數(shù)據(jù)庫系統(tǒng)概念模式是面向現(xiàn)實世界的數(shù)據(jù)模型,不能直接用于數(shù)據(jù)庫系統(tǒng)的實現(xiàn)。在此階段,用戶可以參與和評價數(shù)據(jù)庫系統(tǒng)的設(shè)計,從而有利于保證數(shù)據(jù)庫系統(tǒng)的設(shè)計與用戶的需求相吻合。在概念模式的設(shè)計中,E-R模型法是最常見的設(shè)計方法。本系統(tǒng)的E-R圖如下圖所示:
(1)下圖是考試記錄表實體和其具備的屬性。
考試記錄表實體屬性圖
(2)下圖是訂單實體和其具備的屬性。
訂單實體屬性圖
(3)下圖是收藏表實體和其具備的屬性。
收藏表實體屬性圖
(4)下圖是產(chǎn)品分類實體和其具備的屬性。
產(chǎn)品分類實體屬性圖
(5)下圖是預(yù)約咨詢實體和其具備的屬性。
預(yù)約咨詢實體屬性圖
(6)下圖是音樂理療實體和其具備的屬性。
音樂理療實體屬性圖
(7)下圖是音樂理療評論表實體和其具備的屬性。
音樂理療評論表實體屬性圖
(8)下圖是試卷表實體和其具備的屬性。
試卷表實體屬性圖
(9)下圖是購物車表實體和其具備的屬性。
購物車表實體屬性圖
(10)下圖是學(xué)生實體和其具備的屬性。
學(xué)生實體屬性圖
(11)下圖是心理產(chǎn)品評論表實體和其具備的屬性。
心理產(chǎn)品評論表實體屬性圖
(12)下圖是交流論壇實體和其具備的屬性。
交流論壇實體屬性圖
(13)下圖是心理產(chǎn)品實體和其具備的屬性。
心理產(chǎn)品實體屬性圖
(14)下圖是地址實體和其具備的屬性。
地址實體屬性圖
(15)下圖是試題表實體和其具備的屬性。
試題表實體屬性圖
(16)下圖是最新資訊實體和其具備的屬性。
最新資訊實體屬性圖
(17)下圖是用戶表實體和其具備的屬性。
用戶表實體屬性圖
4.3.2數(shù)據(jù)庫設(shè)計表
大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)需要后臺數(shù)據(jù)庫,下面介紹數(shù)據(jù)庫中的各個表的詳細(xì)信息:
表4.1地址表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 userid Integer 用戶id 是
4 address String 地址 是
5 name String 收貨人 是
6 phone String 電話 是
7 isdefault String 是否默認(rèn)地址[是/否] 是
表4.2購物車表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 tablename String 商品表名 是
4 userid Integer 用戶id 是
5 goodid Integer 商品id 是
6 goodname String 商品名稱 是
7 picture String 圖片 是
8 buynumber Integer 購買數(shù)量 是
9 price 單價 是
10 discountprice 會員價 是
表4.3產(chǎn)品分類表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 chanpinfenlei String 產(chǎn)品分類 是
表4.4預(yù)約咨詢表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 userid Integer 用戶id 是
4 adminid Integer 管理員id 是
5 ask String 提問 是
6 reply String 回復(fù) 是
7 isreply Integer 是否回復(fù) 是
表4.5配置文件表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 name String 配置參數(shù)名稱 是
3 value String 配置參數(shù)值 是
表4.6心理產(chǎn)品評論表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 refid Integer 關(guān)聯(lián)表id 是
4 userid Integer 用戶id 是
5 nickname String 用戶名 是
6 content String 評論內(nèi)容 是
7 reply String 回復(fù)內(nèi)容 是
表4.7音樂理療評論表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 refid Integer 關(guān)聯(lián)表id 是
4 userid Integer 用戶id 是
5 nickname String 用戶名 是
6 content String 評論內(nèi)容 是
7 reply String 回復(fù)內(nèi)容 是
表4.8試卷表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 name String 試卷名稱 是
4 time Integer 考試時長(分鐘) 是
5 status Integer 試卷狀態(tài) 是
表4.9試題表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 paperid Integer 所屬試卷id(外鍵) 是
4 papername String 試卷名稱 是
5 questionname String 試題名稱 是
6 options String 選項,json字符串 是
7 score Integer 分值 是
8 answer String 正確答案 是
9 analysis String 答案解析 是
10 type Integer 試題類型,0:單選題 1:多選題 2:判斷題 3:填空題(暫不考慮多項填空) 是
11 sequence Integer 試題排序,值越大排越前面 是
表4.10考試記錄表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 userid Integer 用戶id 是
4 username String 用戶名 是
5 paperid Integer 試卷id(外鍵) 是
6 papername String 試卷名稱 是
7 questionid Integer 試題id(外鍵) 是
8 questionname String 試題名稱 是
9 options String 選項,json字符串 是
10 score Integer 分值 是
11 answer String 正確答案 是
12 analysis String 答案解析 是
13 myscore Integer 試題得分 是
14 myanswer String 考生答案 是
表4.11交流論壇表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 title String 帖子標(biāo)題 是
4 content String 帖子內(nèi)容 是
5 parentid Integer 父節(jié)點id 是
6 userid Integer 用戶id 是
7 username String 用戶名 是
8 isdone String 狀態(tài) 是
表4.12訂單表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 orderid String 訂單編號 是
4 tablename String 商品表名 是
5 userid Integer 用戶id 是
6 goodid Integer 商品id 是
7 goodname String 商品名稱 是
8 picture String 商品圖片 是
9 buynumber Integer 購買數(shù)量 是
10 price 價格/積分 是
11 discountprice 折扣價格 是
12 total 總價格/總積分 是
13 discounttotal 折扣總價格 是
14 type Integer 支付類型 是
15 status String 狀態(tài) 是
16 address String 地址 是
17 tel String 電話 是
18 consignee String 收貨人 是
表4.13收藏表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 userid Integer 用戶id 是
4 refid Integer 收藏id 是
5 tablename String 表名 是
6 name String 收藏名稱 是
7 picture String 收藏圖片 是
表4.14token表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 userid Integer 用戶id 是
3 username String 用戶名 是
4 tablename String 表名 是
5 role String 角色 是
6 token String 密碼 是
7 addtime Date 新增時間 是
8 expiratedtime Date 過期時間 是
表4.15用戶表表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 username String 用戶名 是
3 password String 密碼 是
4 role String 角色 是
5 addtime Date 新增時間 是
表4.16心理產(chǎn)品表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 chanpinmingcheng String 產(chǎn)品名稱 是
4 chanpinfenlei String 產(chǎn)品分類 是
5 chanpintupian String 產(chǎn)品圖片 是
6 chanpinxiangqing String 產(chǎn)品詳情 是
7 price 價格 是
表4.17學(xué)生表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 xuehao String 學(xué)號 是
4 mima String 密碼 是
5 xingming String 姓名 是
6 nianling Integer 年齡 是
7 xingbie String 性別 是
8 shouji String 手機(jī) 是
9 zhaopian String 照片 是
10 money 余額 是
表4.18音樂理療表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 biaoti String 標(biāo)題 是
4 yinpin String 音頻 是
5 fengmian String 封面 是
6 xiaoguo String 效果 是
7 xiangxishuoming String 詳細(xì)說明 是
表4.19最新資訊表
序號 列名 數(shù)據(jù)類型 說明 允許空
1 Id Int id 否
2 addtime Date 創(chuàng)建時間 是
3 biaoti String 標(biāo)題 是
4 jianjie String 簡介 是
5 neirong String 內(nèi)容 是
6 fabushijian Date 發(fā)布時間 是
7 fengmian String 封面 是
2 系統(tǒng)詳細(xì)實現(xiàn)
5.1 管理員模塊的實現(xiàn)
5.1.1 學(xué)生信息管理
管理員對學(xué)生信息進(jìn)行添加,修改,刪除,查詢操作。具體界面的展示如圖5.1所示。
圖5.1 學(xué)生信息管理界面
5.1.2 心理產(chǎn)品管理
管理員可以對心理產(chǎn)品信息進(jìn)行添加,修改,刪除,刪除操作。具體界面如圖5.2所示。
圖5.2 心理產(chǎn)品管理界面
5.1.3 音樂理療管理
管理員可以對音樂理療信息進(jìn)行添加,修改,刪除操作。界面如下圖所示:
圖5.3 音樂理療界面
5.1.4 考試記錄管理
管理員可以對考試記錄信息進(jìn)行查看和查詢操作。界面如下圖所示:
圖5.4考試記錄管理界面
5.1.5 試題管理
管理員可以對試題信息進(jìn)行添加,修改,刪除,查詢,打印操作。界面如下圖所示:
圖5.5 試題信息管理界面
5.2 小程序用戶模塊的實現(xiàn)
5.2.1 我的
學(xué)生用戶在我的里面可以操作關(guān)于我的各種操作。
圖5.6 我的界面
5.2.2 首頁
學(xué)生用戶登錄后可以在首頁查看各種通知信息以及公告信息。界面如下圖所示:
圖5.7 首頁界面
5.2.3 心理產(chǎn)品
用戶可以查詢心理產(chǎn)品信息,也可以對心理產(chǎn)品進(jìn)行購買操作。
圖5.8 心理產(chǎn)品界面
5.2.4 音樂理療
學(xué)生用戶可以在音樂理療里面聽自己喜歡的音樂進(jìn)行音樂理療。界面如下圖所示:文章來源:http://www.zghlxwxcb.cn/news/detail-832686.html
圖5.9 音樂理療界面文章來源地址http://www.zghlxwxcb.cn/news/detail-832686.html
到了這里,關(guān)于大學(xué)生心理健康服務(wù)微信小程序系統(tǒng)的設(shè)計與實現(xiàn)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!