交互式多媒体图书平台的设计

需求分析:

用户:

作者端

1 内容编辑
排图书的目录结构、章节内容,章节内容中包括图片、视频、文字
2 试题定义
集成第三方软件边学边练,能定义常见练习题比如问答题、选择题
3 设备的需求
作者编辑时可以预览读者端的效果,手机效果、Web和桌面软件效果,
4终端使用
作者可以限制只在某一种或几种终端上使用。

读者端

1 搜索图书,查看图书目录 ,收藏图书 :
2 根据作者设定可以顺序解锁阅读,或随意跳跃阅读,或部分章节内部必须顺序阅读。

软件的其他功能

软件能集成或调用第三方软件

用例图

找动名词。确定用例:

必要条件⼀:它是不是⼀个业务过程?
必要条件⼆:它是不是由某个⻆⾊触发开始?
必要条件三:它是不是显式地或隐式地终⽌于某个⻆⾊?
必要条件四:它是不是为某个⻆⾊完成了有⽤的业务⼯作?

作者

读者

领域建模

1 从业务描述(图书平台体验)从提取名词

作者(用户名和密码) 图书(目录结构,章节 文字 视频 图片) 习题(选择 填空) 终端(ipad web iphone) 预览

读者 第三方软件

序列图

扩展用例

writer system
0) System display the GUI
1) TUCBW writer login with usrName and passWD 2) the controller checkout the usrName and passwd return success if exist
3) Writer click write a new book 4) system response the BOOK GUI and book_list
5) Writer write the book and save 6) write the book content in DB
7) review the book on device 8) show the book content on device(phone web pad)
9) set the reading mode 10) write the reading mode in DB
11)TUCEW write exist the system

关键步骤

5 Writer write the book and save

剧情描述

5) Writer write title in Titel blank
5.1) BOOK GUI check out the book with the  write controller using title
5.2) for each title.
5.2.1) write controller send the title and usrname to database manager(DBMgr) using title and usrname.
5.2.2) write controller get the book's directory and the latest edit postion from database manager(DBMgr) 
5.2.3) write controller create a write task using usrname and title and postion
5.2.4) write  controller save the Task  with DBMgr
5.2.5) write ontroller call display functiong show the book-content with BOOK GUI
5.3) writer input word in  BOOK GUI
5.4) write insert picture into Write controller
5.4.1) write controller open a file system with picture path
5.4.2) BOOK GUIdisplay the picture
5.5 ) write insert vedio into Write controller
5.5.1) write controller open a file system with vedio path
5.5.2) BOOK GUIisplay the vedio
5.6) writer insert directory into Writer GUI
5.7 writer Save the book content into DBMgr
5.7.1) write controller get the Task  with DBMgr
5.7.2) write contoller write the book content into DBMgr
5.7.3) write controller delete the task and return "SAVE SUCCESS" on Writer GUI

剧情描述表

Subject Action of Subject Other Data/Object Object Acted Upon
5) Writer write title BOOK GUI
5.1) BOOK GUI check out title and user name write controller
5.2.1) write controller send title and user name DBMgr
5.2.2) write controller get book content with director and edit Position DBMgr
5.2.3) write controller create user name title and position task
5.2.4) write controller Save task DBMgr
5.2.5) write controller show book content BOOK GUI
5.3 Writer write word BOOK GUI
5.4 Writer insert picture Writer controller
5.4.1) Writer controller open file system
5.4.2) Writer controller send picture path DBMgr
5.4.3) DBMgr return picture Writer controller
5.4.4) Writer controller send picture BOOK GUI
5.5 Writer insert video Writer controller
5.5.1) Writer controller open file system
5.5.2) Writer controller send video path DBMgr
5.5.3) DBMgr return video Writer controller
5.5.4) Writer controller send video BOOK GUI
5.6 Writer insert directory BOOK GUI
5.7) Writer save book content Writer controller
5.7.1) Writer controller get write task DBMgr
5.7.2) Writer controller write book content DBMgr
5.7.3) Writer controller delete task DBMgr
5.7.4) DBMgr return save success write controller
5.8 write controller send save success BOOK GUI

分析序列图

类图

猜你喜欢

转载自www.cnblogs.com/Alexkk/p/12748690.html