基于UML的学生注册系统的面向对象建模

2014-04-29 12:39:54张梅娇
智能计算机与应用 2014年5期

张梅娇

摘 要:学生注册系统能够有效地提高学校对学生信息管理的效率与准确性,是学校办公自动化的重要组成部分。本文基于UML面向对象建模技术,以学生注册系统为例,介绍了学生注册系统的功能及其UML的建模机制,通过使用UML对学生注册系统进行分析、设计,实现了系统的静态和动态建模,为今后开发更新系统提供一个良好的理论依据,希望逐步实现学生注册的信息化操作。

关键词:UML;学生注册系统;顺序图;类图

中图分类号:TP393 文献标识号:A

Object-oriented Student Registration System Modeling Based on UML

ZHANG Meijiao

(Quanzhou Institute of Information Engineering,Quanzhou Fujian 362000, China)

Abstract: Student registration system can effectively improve the efficiency and accuracy of the school to the student information management, school is an important part of office automation. Based on UML object oriented modeling technique, to take student registration system as an example, the paper introduces the modeling mechanism function and UML student registration system, through the use of UML analysis, the student registration system design, to achieve the system's static and dynamic modeling, in order to provide a good theoretical basis for future development of more new system, therefore hope to reach the progressive realization of information operation of students registered.

Keywords: UML; Student Registration System; Sequence Diagram; Class Diagram

0 引 言

统一建模语言UML(Unified Modeling Language)是一种面向对象的可视化建模语言,能够是系统设计者利用一种标准的、易于理解的方式建立起能够表达其思想的系统设计蓝图,同时也能够提供一种机制,便于不同人员之间的有效设计交流和成果共享。UML应用领域非常广泛,可以对任何具有静态结构和动态行为的系统进行面向对象的建模。其中,最常用的是建立软件系统的模型,当然同样地也可以用于非软件系统的描述,比如企业机构、业务处理,以及操作管理复杂数据的信息系统等。从应用的角度来看,采用UML对系统进行建模时,通常包括以下步骤:

(1)描述用户需求,建立用例图。

(2)根据需求建立静态模型用于打造系统的结构,建立的静态模型主要包括类图、对象图、组件图和部署图等在内。

(3)建立动态模型描述系统行为,也就是通过建立活动图、状态机图、顺序图和协作图,来表示系统的交互关系和系统的执行顺序。……

登录APP查看全文