| With the continuous emergence of new platforms and new technologies, softwaredevelopment method is becoming more and more abstract, and software developmentprocess is no longer document-driven simply, but gradually turned to model-drivendevelopment approach. In this approach, MDA provides a comprehensive andstructured solution for the interoperability and portability of future applications. MDAtakes model-driven as the core and treats the modeling language as the programminglanguage, which greatly improves the software production efficiency, and enhances theportability, reusability and maintainability of software.Currently, MDA development process is not involved in the requirements phase,requirements are still descripted with text, and the corresponding model of designphrase must be established by manual analysis, which directly affects the accuracy ofdesign model. MDA development process does not contain requirements process. Itdoes not mean there’s no need for the presence of requirements in the MDA framework.On the contrary, requirements process is extremely important for MDA development,though requirements currently has not been involved in MDA development process yet,and has no corresponding tool to support.To unite the requirements process and MDA development process, and integraterequiremtns into the MDA approach, the traditional process of document-basedrequirements should be transformed into a model-based requirements modeling process.Therefore, this paper did a thorough research on the requirements capture tool based onMDA, the main research contents and results are as follows:Firstly, a requirements elicitation method based on goal-scenario was analyzed anda requirements metamodel for requirements capture was proposed, in accordance withwhich the specific requirements capture process was given. And the requirementsmetamodel was modeled by EMF. The requirements metamodel follows the MOFstandard and has good scalability and reusability which can provide guarantee for theconversion from requirements model to design model and from model to text in thefuture, and support the establishment of requirements capture tool.Secondly, the model-to-text conversion technology and XML file parsingtechniques were studied. In this paper, we analyzed the ECore metamodel structureunder EMF and designed the corresponding template files by utilizing Acceleo template technology, which achieves the model-to-text conversion process and supports theexport of requirements documents and XMI files.Lastly, a requirements capture tool based on MDA was designed and implemented.This tool can build graphical requirements model by the requirements caputer way ofgoal-scenario driven, and can automatically export requirements documents and XMLfiles based on MOF standard by the model-to-text conversion method, which solved thedisconnection problem between the MDA development process and requirementsprocess to some extent, and improved the MDA development process. |