




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、學(xué)生成績(jī)管理系統(tǒng)-數(shù)據(jù)庫(kù)設(shè)計(jì)2.功能描述管理員功能; 添加、修改、刪除學(xué)生成績(jī)信息 發(fā)布學(xué)生成績(jī)信息 添加、刪除、修改學(xué)生信息學(xué)生功能: 查詢成績(jī)3.業(yè)務(wù)流程圖 圖1 成績(jī)管理系統(tǒng)業(yè)務(wù)流程圖4.數(shù)據(jù)流程分析 4.1 數(shù)據(jù)流程圖 通過(guò)需求分析,得出學(xué)生成績(jī)管理系統(tǒng)數(shù)據(jù)流圖 圖2 學(xué)生成績(jī)管理系統(tǒng) 數(shù)據(jù)流圖頂層圖圖3 上下文圖 圖4 成績(jī)查詢子系統(tǒng) 圖5 成績(jī)修改子系統(tǒng) 圖6 成績(jī)發(fā)布子系統(tǒng)4.2 數(shù)據(jù)字典(根據(jù)編號(hào)對(duì)數(shù)據(jù)流程圖中的各元素如數(shù)據(jù)流、數(shù)據(jù)存儲(chǔ)、外部實(shí)體和處理邏輯進(jìn)行細(xì)節(jié)描述)l 數(shù)據(jù)流的描述 數(shù)據(jù)流編號(hào):S001 數(shù)據(jù)流名稱:管理員登陸信息 簡(jiǎn)稱:管理員信息 數(shù)據(jù)流來(lái)源:管理員數(shù)據(jù)流
2、去向:學(xué)生成績(jī)管理系統(tǒng)數(shù)據(jù)流組成:管理員賬號(hào)和密碼 數(shù)據(jù)流量;100/天 高峰流量:500/天數(shù)據(jù)流編號(hào):S002 數(shù)據(jù)流名稱: 課程信息 簡(jiǎn)稱: 課程信息 數(shù)據(jù)流來(lái)源: 課程信息表數(shù)據(jù)流去向:學(xué)生成績(jī)管理系統(tǒng)數(shù)據(jù)流組成: 學(xué)生姓名,學(xué)號(hào)、年齡、課程、年級(jí) 數(shù)據(jù)流量;1000/天 高峰流量:10000/天數(shù)據(jù)流編號(hào):S003 數(shù)據(jù)流名稱:學(xué)生成績(jī)查詢信息 簡(jiǎn)稱: 學(xué)生成績(jī) 數(shù)據(jù)流來(lái)源: 管理員數(shù)據(jù)流去向: 學(xué)生成績(jī)管理系統(tǒng)數(shù)據(jù)流組成: 學(xué)生學(xué)號(hào)、成績(jī)、課程 數(shù)據(jù)流量;1000/天 高峰流量:10000/天數(shù)據(jù)流編號(hào):S004 數(shù)據(jù)流名稱:查詢者信息 簡(jiǎn)稱: 查詢 數(shù)據(jù)流來(lái)源: 學(xué)生數(shù)據(jù)流去向:
3、 成績(jī)查詢系統(tǒng)數(shù)據(jù)流組成: 學(xué)生學(xué)號(hào) 數(shù)據(jù)流量;2000/天 高峰流量:30000/天數(shù)據(jù)流編號(hào):S005 數(shù)據(jù)流名稱:學(xué)生成績(jī)信息 簡(jiǎn)稱: 學(xué)生成績(jī) 數(shù)據(jù)流來(lái)源: 成績(jī)查詢系統(tǒng)數(shù)據(jù)流去向: 學(xué)生數(shù)據(jù)流組成: 學(xué)號(hào)、姓名、成績(jī) 數(shù)據(jù)流量;2000/天 高峰流量:30000/天數(shù)據(jù)流編號(hào):S006 數(shù)據(jù)流名稱:成績(jī)單信息 簡(jiǎn)稱: 成績(jī)單 數(shù)據(jù)流來(lái)源: 成績(jī)發(fā)布系統(tǒng)數(shù)據(jù)流去向: 學(xué)生數(shù)據(jù)流組成: 學(xué)號(hào)、姓名、成績(jī) 數(shù)據(jù)流量;10000/天 高峰流量:80000/天l 處理邏輯的描述處理邏輯編號(hào):P0 處理邏輯名稱:成績(jī)管理系統(tǒng) 簡(jiǎn)述: 是最高層系統(tǒng),可以查詢、修改、發(fā)布成績(jī) 輸入的數(shù)據(jù)流: 管理員
4、賬號(hào)、密碼、學(xué)生學(xué)號(hào)處理描述: 系統(tǒng)調(diào)用各個(gè)子系統(tǒng)完成不同功能輸出的數(shù)據(jù)流: 學(xué)生信息或?qū)W生成績(jī) 處理頻率;1000/天處理邏輯編號(hào):P01 處理邏輯名稱:成績(jī)查詢子系統(tǒng) 簡(jiǎn)述: 管理員登陸系統(tǒng),輸入想要查詢的學(xué)生學(xué)號(hào),獲得成績(jī) 輸入的數(shù)據(jù)流: 學(xué)號(hào)處理描述: 調(diào)用成績(jī)查詢功能模塊處理輸出的數(shù)據(jù)流: 成績(jī) 處理頻率;1000/天處理邏輯編號(hào):P02 處理邏輯名稱:成績(jī)修改子系統(tǒng) 簡(jiǎn)述:管理員可以修改學(xué)生成績(jī) 輸入的數(shù)據(jù)流: 學(xué)生學(xué)號(hào)處理描述: 按照學(xué)號(hào)查找學(xué)生成績(jī),然后修改,最后保存輸出的數(shù)據(jù)流: 新的成績(jī) 處理頻率;100/天處理邏輯編號(hào):P03 處理邏輯名稱:成績(jī)發(fā)布系統(tǒng) 簡(jiǎn)稱:成績(jī)發(fā)布
5、輸入的數(shù)據(jù)流: 學(xué)生學(xué)號(hào)處理描述: 首先查詢學(xué)生成績(jī),然后將其發(fā)布到網(wǎng)絡(luò)上輸出的數(shù)據(jù)流: 成績(jī) 處理頻率;1000/天l 數(shù)據(jù)存儲(chǔ)的描述 數(shù)據(jù)存儲(chǔ)編號(hào):D01 數(shù)據(jù)存儲(chǔ)名稱:學(xué)生成績(jī)信息 簡(jiǎn)稱: 學(xué)生成績(jī)存儲(chǔ)信息數(shù)據(jù)存儲(chǔ)組成;學(xué)號(hào)、姓名、課程、成績(jī)關(guān)鍵字:學(xué)號(hào)相關(guān)聯(lián)的處理;D02 D03 數(shù)據(jù)存儲(chǔ)編號(hào):D02 數(shù)據(jù)存儲(chǔ)名稱:學(xué)生信息 簡(jiǎn)稱: 學(xué)生信息存儲(chǔ)數(shù)據(jù)存儲(chǔ)組成;學(xué)號(hào)、姓名、課程關(guān)鍵字:學(xué)號(hào)相關(guān)聯(lián)的處理;D01 數(shù)據(jù)存儲(chǔ)編號(hào):D03 數(shù)據(jù)存儲(chǔ)名稱:課程信息 簡(jiǎn)稱: 課程信息存儲(chǔ)數(shù)據(jù)存儲(chǔ)組成;課程名、課程號(hào)關(guān)鍵字:課程號(hào)相關(guān)聯(lián)的處理;D01l 外部實(shí)體的描述 外部實(shí)體編號(hào):E01 外部實(shí)體名
6、稱:管理員 簡(jiǎn) 述:對(duì)學(xué)生成績(jī)信息進(jìn)行管理 輸入的數(shù)據(jù)流:D02 輸出的數(shù)據(jù)流:D01外部實(shí)體編號(hào):E02 外部實(shí)體名稱:學(xué)生 簡(jiǎn) 述:學(xué)生可以查詢成績(jī) 輸入的數(shù)據(jù)流:D02 D03 輸出的數(shù)據(jù)流:D015. 概念模型設(shè)計(jì)根據(jù)系統(tǒng)數(shù)據(jù)流圖和數(shù)據(jù)字典,得出系統(tǒng)的總體概念模型CDM 系統(tǒng)CMD圖(ConceptualDataModel_1.cdm6.邏輯模型設(shè)計(jì)和優(yōu)化 系統(tǒng)PDM圖(ConceptualDataModel_1.pdm)7.物理設(shè)計(jì)和實(shí)施(crebas.sql)/*=*/* DBMS name: Microsoft SQL Server 2000 */* Created on: 20
7、11-1-12 15:45:33 */*=*/alter table Relationship_2 drop constraint FK_RELATION_RELATIONS_學(xué)生goalter table Relationship_2 drop constraint FK_RELATION_RELATIONS_課程表goalter table 學(xué)生 drop constraint FK_學(xué)生_RELATIONS_學(xué)生成績(jī)表goalter table 學(xué)生成績(jī)表 drop constraint FK_學(xué)生成績(jī)表_RELATIONS_管理員goalter table 課程表 drop const
8、raint FK_課程表_RELATIONS_教師goalter table 課程表 drop constraint FK_課程表_RELATIONS_學(xué)生成績(jī)表goif exists (select 1 from sysindexes where id = object_id(Relationship_2) and name = Relationship_2_FK and indid 0 and indid 0 and indid 0 and indid 0 and indid 0 and indid 0 and indid 255) drop index 課程表.Relationship_
9、6_FKgoif exists (select 1 from sysobjects where id = object_id(Relationship_2) and type = U) drop table Relationship_2goif exists (select 1 from sysobjects where id = object_id(學(xué)生) and type = U) drop table 學(xué)生goif exists (select 1 from sysobjects where id = object_id(學(xué)生成績(jī)表) and type = U) drop table 學(xué)
10、生成績(jī)表goif exists (select 1 from sysobjects where id = object_id(教師) and type = U) drop table 教師goif exists (select 1 from sysobjects where id = object_id(管理員) and type = U) drop table 管理員goif exists (select 1 from sysobjects where id = object_id(課程表) and type = U) drop table 課程表go/*=*/* Table: Relati
11、onship_2 */*=*/create table Relationship_2 ( sno numeric(10) not null, cno numeric(10) not null, constraint PK_RELATIONSHIP_2 primary key (sno, cno)go/*=*/* Index: Relationship_2_FK */*=*/create index Relationship_2_FK on Relationship_2 (sno ASC)go/*=*/* Index: Relationship_3_FK */*=*/create index R
12、elationship_3_FK on Relationship_2 (cno ASC)go/*=*/* Table: 學(xué)生 */*=*/create table 學(xué)生 ( sno numeric(10) not null, sno1 numeric(10) null, sdept1 char(20) null, sname char(10) null, sage int null, sdept char(20) null, grade char(10) null, tel numeric(11) null, cno3 numeric(10) null, constraint PK_學(xué)生 pr
13、imary key nonclustered (sno)go/*=*/* Index: Relationship_4_FK */*=*/create index Relationship_4_FK on 學(xué)生 (sno1 ASC,sdept1 ASC)go/*=*/* Table: 學(xué)生成績(jī)表 */*=*/create table 學(xué)生成績(jī)表 ( sno1 numeric(10) not null, sdept1 char(20) not null, ano numeric(20) null, cname2 char(10) null, grade1 char(10) null, constr
14、aint PK_學(xué)生成績(jī)表 primary key nonclustered (sno1, sdept1)go/*=*/* Index: Relationship_5_FK */*=*/create index Relationship_5_FK on 學(xué)生成績(jī)表 (ano ASC)go/*=*/* Table: 教師 */*=*/create table 教師 ( tno numeric(20) not null, tname char(10) null, tclass char(5) null, cname1 char(10) null, constraint PK_教師 primary
15、key nonclustered (tno)go/*=*/* Table: 管理員 */*=*/create table 管理員 ( ano numeric(20) not null, apassword char(10) null, constraint PK_管理員 primary key nonclustered (ano)go/*=*/* Table: 課程表 */*=*/create table 課程表 ( cno numeric(10) not null, tno numeric(20) null, sno1 numeric(10) null, sdept1 char(20) nu
16、ll, cname char(10) null, constraint PK_課程表 primary key nonclustered (cno)go/*=*/* Index: Relationship_1_FK */*=*/create index Relationship_1_FK on 課程表 (tno ASC)go/*=*/* Index: Relationship_6_FK */*=*/create index Relationship_6_FK on 課程表 (sno1 ASC,sdept1 ASC)goalter table Relationship_2 add constrai
17、nt FK_RELATION_RELATIONS_學(xué)生 foreign key (sno) references 學(xué)生 (sno)goalter table Relationship_2 add constraint FK_RELATION_RELATIONS_課程表 foreign key (cno) references 課程表 (cno)goalter table 學(xué)生 add constraint FK_學(xué)生_RELATIONS_學(xué)生成績(jī)表 foreign key (sno1, sdept1) references 學(xué)生成績(jī)表 (sno1, sdept1)goalter table 學(xué)生成績(jī)表 add constrain
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 藥品進(jìn)貨合同管理制度
- 藥品驗(yàn)收崗位管理制度
- 藥店賣場(chǎng)空間管理制度
- 營(yíng)業(yè)場(chǎng)所車輛管理制度
- 設(shè)備使用記錄管理制度
- 設(shè)備外委檢修管理制度
- 設(shè)備政府采購(gòu)管理制度
- 設(shè)備檢修單位管理制度
- 設(shè)備等級(jí)評(píng)定管理制度
- 設(shè)備設(shè)施定人管理制度
- 小學(xué)生匯報(bào)講課件
- 2025浙江嘉興市海寧市嘉睿人力招聘5人筆試參考題庫(kù)附帶答案詳解析版
- 2025中考?xì)v史高頻點(diǎn)速記大全
- 2025年北京西城區(qū)九年級(jí)中考二模英語(yǔ)試卷試題(含答案詳解)
- T/CECS 10378-2024建筑用輻射致冷涂料
- 數(shù)據(jù)驅(qū)動(dòng)的古氣候研究-洞察闡釋
- 護(hù)理糾紛處理制度
- 護(hù)理實(shí)習(xí)入科教育
- 2025年湖北省武漢市中考化學(xué)模擬練習(xí)卷(含答案)
- 2025年特種設(shè)備作業(yè)人員氣瓶充裝P證考試題庫(kù)
- 《智能駕駛輔助系統(tǒng)ADAS》課件
評(píng)論
0/150
提交評(píng)論