计算机工程与应用 ›› 2010, Vol. 46 ›› Issue (22): 54-61.DOI: 10.3778/j.issn.1002-8331.2010.22.019

• 研发、设计、测试 • 上一篇    下一篇

搜索引擎系统:UML/OCL模型驱动开发

马苏拉,朱 盛   

  1. 云南财经大学 信息学院,昆明 650221
  • 收稿日期:2010-02-02 修回日期:2010-03-30 出版日期:2010-08-01 发布日期:2010-08-01
  • 通讯作者: 马苏拉

Search engine:Model-driven development with UML/OCL

MA Su-la,ZHU Sheng   

  1. School of Information,Yunnan University of Finance and Economics,Kunming 650221,China
  • Received:2010-02-02 Revised:2010-03-30 Online:2010-08-01 Published:2010-08-01
  • Contact: MA Su-la

摘要: 介绍一个搜索引擎系统的开发。运用UML用例图做系统的需求分析,运用UML类图、状态图、包图进行系统设计。以OCL表达式丰富状态图。使用C#语言和ASP.NET编程,SQL Server存储信息,系统运行在微软.NET环境上。遵循面向对象方法,如逐步求精和模块化,建立UML/OCL模型、组织程序,将系统逐层分解成具有特定功能的模块。系统由收集器、索引器、检索器三大部分组成,分别负责数据收集、数据分析和索引构建、用户检索接口。论文报告系统分析、设计和实现的思想和过程。

Abstract: A search engine is developed.The use case,class,state and package diagrams of UML are used to do the requirement analysis and design of the system.The state diagrams are enriched by means of the OCL expressions.This system is programmed in C# and ASP.NET,with SQL Server for storing information,and is run in the Microsoft .NET environment.Following the object-oriented methodology,such as refinement and modularization,in building the UML/OCL models and constructing the program,the system is hierarchically divided into modules of particular functions.The system consists of a collector,an indexer and a searcher.They are respectively responsible for information gathering,information analysis and index constructing,and user interface.The paper reports on the ideas and process of the system analysis,design and implementation.

中图分类号: