| With the development of information technology,digital teaching is favored by teachers and students.At present,there are a large number of different teaching software.There are two kinds of modeling methods in the field of teaching software.One is the general modeling method which is the same as other fields.However,with the increase of the complexity of the teaching software,the general modeling method which cannot reflect the characteristics of the domain cannot meet the needs of the teaching software.The other is the educational modeling languages(e.g.IMS LD)which can reflect domain characteristics.It is true that in the field of demand description,the superiority of educational modeling language exceeds most of the modeling language.But when it comes to domain design and domain implementation,whatever fields the software belongs to,its modeling method should be suitable for software engineering,such as unified modeling language UML.At present,the mapping from the requirement model based on the educational modeling language to the design model built by the software engineering modeling method is a problem.The research issue of this paper is how to establish the requirement model of teaching software and transform it into the design model.In the transformation,we introduces the MDA technology to convert the CIM model into the PIM model.In CIM modeling,firstly we analyze the teaching software requirements and summarizes the modeling elements.Then,IMS LD is used to describe them.In order to facilitate subsequent model transformation,standardized description of the CIM is defined.In the CIM-to-PIM transformation process,the method based on UML profile is used to transform CIM into UML’s class model.First of all,the UML class model is extended referring to the elements of the IMS LD.After extending,the class model can describe the relationship between the business objects of PIM.Secondly,the extended model elements are further refined according to the WEB application layer thought,which can describe the architecture of the PIM.Finally,the rules of automatic conversion from the CIM model to the extended class model are formulated.The research of this paper provides a solution for the mapping from the requirement model based on the educational modeling language to the design model built by the software engineering modeling method.Furthermore,it improves the current situation that the acquisition of the domain feature is not complete in the modeling of digital teaching software,and contributes a lot to the automation of software. |