Aspect-Oriented Programming (AOP) can effectively solve the code-tangling and code-scattering caused by crosscutting attributes; however
much work is presented on the programming and the implementation phase
and little has addressed the early model stages. A research is conducted on the requirements engineering phase of software by using AOP technology. First in the requirements analysis phase
the functional requirements and non-functional requirements are identified by the separation of concerns
and the functional requirements with components and the non-functional requirements with aspects are realized. Then the components and aspects are represented by combining with the formal language Aspect-Z which has the characteristics of accurate description. As actions accompany conflicts while two or more aspects affect the same joint point synchronously
a method is proposed to solve by defining aspects’ priority level. In the end
the properties and attributes of the described requirements are deduced by the theorem proving method
so as to achieve the purpose of formal verification of Aspect-Z specifications. Finally
an application example is given.
关键词
Keywords
references
ZHANG L, HUB M, MANG S, et al . Software for quantitative analysis of radio therapy: overview, requirement analysis and design solutions [J ] . Computer Methods and Programs in Biomedicine, 2013, 110(3): 528-537.
GORGAN V. Requirement analysis for a higher education decision support system. Evidence from a Romanian University [J]. Procedia Social and Behavioral Sciences, 2015, 197: 450-455.
KESHAV B A, GOPALAKRISHNAN N T R. Mapping general system characteristics to non- functional requirements[C]//Proceedings of the 2009 IEEE International Advance Computing Conference. [S.l.]: IEEE, 2009: 1634-1638.
YUAN S J, XU S P, DU S P, et al . A method based software requirements specification description quality evaluation [J ] . Electronic Design Engineering, 2013, 21(7): 11-13.
JIN Y, LIU H B, ZHANG P. An approach to analysis and verifying aspect-oriented requirements model [J]. Chinese Journal of Computers, 2013, 36(1): 63-73.
JIN W Z, LI Y, XU J H, et al . Research on aspect-oriented programming technology [J ] . Application and Software, 2005, 22(8): 42-45.
WANG S H, XING J C, LI J L, et al . Application research of AOP technology in information management system [J ] . Computer Application and Software, 2012, 29(6): 189-195.
CAO F, BRYANT B R, BURT C C, et al . A component assembly approach based on aspect-oriented generative domain modeling [J ] . Electronic Notes in Theoretical Computer Science, 2005, 114: 119-136.
YAO Q Z, WANG J. Software formalization requirements analysis and verification based onUML [J]. Computer Engineering, 2010, 36(13): 30-33.
LIU J Y, ZHONG Y, ZHANG L C. The aspect-oriented modelling of software non-functional requirements [J]. Computer Application and Software, 2010, 27(12): 40-41.
ZHANG L. Aspect-oriented formal techniques of cyber physical systems [J]. Journal of Software, 2012, 7(4): 823-834.
SILVA C V, SAENS R, DEL R C, et al . Aspect-oriented modeling: applying aspect-oriented U-ML use cases and extending aspectZ [J ] . Computing and Informatics, 2013, 32(3): 1001-1021.
FABRY J, KELLENS A, DENIER S, et al . Aspectmaps: extending moose to visualize AOP software [J ] . Science of Computer Programming, 2014, 79(1): 6-22.
YU H, LIU D, YANG L, et al. Formal aspect-oriented modeling and analysis by aspect-Z[C]//International Conference on Software Engineering and Knowledge Engineering. [S.l.]:[s.n.], 2005: 169-174.
ZIELCZYNSKI P. Requirements management using ibm® rational® requisitepro®[M]. New York: IBM Press, 2007.
WEN Z C, LIAO H K, ZHANG X L. Formal verification based on object-Z specification [J]. Computer Science, 2007, 34(5): 247-251.