节点文献

基于方面和特征的需求建模及其应用

Requirement Modeling and Application Based on Aspect and Feature

【作者】 罗术通

【导师】 张长海;

【作者基本信息】 吉林大学 , 计算机软件与理论, 2011, 博士

【摘要】 面向方面的需求工程作为需求工程领域的一个重要分支,具有广阔的应用前景和很高的实用价值。本文对面向方面的需求工程中若干问题进行分析,并分别提出相应的新方法。本文的主要研究内容如下。(1)针对Early aspect方法在映射机制中耗费分析人员相当大的精力的不足。提出了一种映射机制的改进的自动化方法。对关注的定义重新进行描述,并对需求之间的关联进行分类,依据判定条件对横切关注进行识别,从而找到可以映射为aspect的横切关注。利用原方法中的实例进行分析,并与原方法结果进行对比,验证了方法的有效性。(2)针对传统的面向方面的需求工程方法离不开对关注点语义的理解的不足。提出了一种依据需求关系提取横切关注点的方法。根据各个需求的相互作用关系,对彼此有依赖关系的需求进行筛选,从而识别横切关注点。针对“中小学作文评估系统”的需求依赖,做出了实例分析,验证了方法的有效性。(3)针对领域工程对于重复性、分散性较强的系统级功能并不重视的不足。提出了一种可复用特征的aspect封装方法。将系统观测的侧重点放于系统级功能特征上。构建领域内不同系统的特征层次关系,提取出现在不同系统中的系统级关注,使得在新系统中,这些关注可以被良好地复用。利用对2个旧遗留系统资产的重用,分析了可复用特征的aspect封装方法的性能,对该方法的可用性进行了验证并得出结论。

【Abstract】 With the function of software become more and more powerful, the scale of software become more and more large, modules is increasing acutely. And the effects between modules.become more complex, for that, it is hardly to development and maintain. With wide application of Object-Oriented programming, its shortcoming is revealed little by little. Requirement analysis method of Object-Oriented only can map multi-dimensions requirements into one-dimension exposition. This will cause code tangle unavoidably. Aspect-Oriented requirement engineering with a view to the phase of software requirement analysis, give a useful way to encapsulate crosscutting concerns, which is identified by user, into aspects. It is helpful to design software production with well modular, to reduce code tangle and to supply a way for software maintain and reuse. To separate concerns is a basis rule for ensure system modular effectively. The aspect-oriented theory is a way to separate concerns. It is help to system design, solved the problem of code-tangling and code-scattering successfully. With the theory of Aspect-Oriented became matury, it is applied to every phase of software design. Aspect-oriented theory is originate from aspect-oriented software design and coding. Encapsulate crosscutting concerns into aspect will helpful to develop good-modulation software production and to reuse and maintain. In recently, Aspect-Oriented theory is applied in requirement engineering. It is encapsulate requirements into different concerns to reduce system’s coupling. It helps to check conflict in early stage and support to reuse.The Aspect-Oriented engineering is analyzing and refining aspect in requirement level. In design phase, the concerns being separated could mapping aspect in specific object, such as class, by code. While in requirement analyze phase, it is indistinct to refine concerns. In this phase, the abstraction of use case, or behavior, is a forecast for code. It is hard to map concerns. In requirement analyzing phase, to abstract aspect is by way of checking viewpoint’s changes or requirement’s dependency.In this paper, we analyze requirement relationship in requirement analysis phase, and work on apply aspect-oriented requirement refinement to feature-oriented software reuse. Our main work as follow:(1) Early aspect method is a method of requirement engineering, it refine cross-cutting concerns in early phase of requirement analysis and mapping aspect in later phase. It has advantage of faster analysis to refine candidate cross-cutting concerns, but will cost more analyzers’ work in mapping. For the problems of early aspect method’s mapping mechanism, we propose an improved automatic method. In our method, we redefinition the concern, classify the relationships between requirements, refine cross-cutting concerns comply with determinant conditions to abstract aspects. We apply the case of early aspect method in our method, compare to existed result, and get an ideal conclusion. It verify our method is effective.(2) The traditional aspect-oriented requirement engineering refines cross-cutting concerns by concluding after abstracting concern in some requirements. It depends on understanding the meaning of concerns. Most methods to refine cross-cutting concerns through requirements, but those requirements’ variety will make the abstract work harder. For the problems of non-dependence requirement’s semantic describe, we propose a method of determining crosscutting concerns by requirements dependencies. At first, atomic requirement dependencies have been defined with respect to system resources; Next, the concept of requirements cluster has been provided and the way to grouping requirement into clusters has been introduced; Finally, an approach to determining crosscutting concerns and conflict analysis has been presented. The feasibility and effectiveness of our method has been indicated by applying it to an existing system for identifying crosscutting concerns.(3) Mapping of requirement in domain engineering will make reusable aspect belong to functional aspect or transactional aspect. It does not interest in dispersed functions in system level. Because functions in system level are dispersed in different modules, it will cause coupling, further more influence software reuse. For the problems of reuse of feature system, we propose a method of aspect encapsulation of features from feature model at requirement level. At first, through analyzing requirements documents of multi-legacy systems, a set of domain features needs to be identified, and feature layer model are established. Next, aspect encapsulation and cutting are done on feature layer model, and priorities for each aspect nodes to be confirmed. Finally new system can be developed with the assistance and reuse of feature layer model and encapsulated aspects. A case study has been done by applying our method to design a new web system from two legacy web systems. It has been indicated that our approach is helpful for reusing multi-legacy systems in one domain.In summary, through the study of dealing with requirements dependent relationship, give a refine crosscutting concerns method, and explain it with a case study. And combo with feature engineering, give a improve method of feature system reuse. Our research is not only give a way to study aspect-oriented requirement engineering, but also make a reform to software products reuse.

  • 【网络出版投稿人】 吉林大学
  • 【网络出版年期】2011年 09期
节点文献中: 

本文链接的文献网络图示:

本文的引文网络