曾幸媛

导航

业务领域建模Domain Modeling

使用领域建模可以对现实中的事务进行充分的抽象,让我们发掘重要的业务领域概念,同时建立各个业务领域之间的联系,让我们对业务有更加清晰的认识。

·如何进行领域建模?

1)  Collect application domain information
– focus on the functional requirements – also consider other requirements and documents

我的工程实践项目是搜索引擎的设计与实现,系统的主要功能需求包括信息搜索,条件检索,用户的登录注册等。用户可根据自己的需要输入关键字或设置检索条件,从返回的搜索结果进行条件过滤。

 2) Brainstorming
– listing important application domain concepts – listing their properties/attributes – listing their relationships to each other

用户:用户可注册/登录/注销,用本应用进行互联网信息检索,并设置过滤条件。可收藏感兴趣页面,进行数据的导出和分享。

管理员:主要负责数据的爬取/清洗/更新,为数据建立索引,建立维护数据库,对用户组进行管理,系统的更新和维护。

3) Classifying the domain concepts into:
– classes – attributes / attribute values – relationships
• association, inheritance, aggregation

属性

方法

用户

用户ID,密码,收藏

注册,登录,注销,信息检索,过滤,收藏,数据导出,页面分享

管理员

管理员ID,密码,权限

用户组管理,爬取数据,清洗数据,更新数据,删除数据,建立索引

4) Document result using UML class diagram

 

 

 

 

posted on 2019-11-24 11:37  曾幸媛  阅读(167)  评论(0编辑  收藏  举报