Font Size: a A A

Code Is Automatically Generated Based On Orm System

Posted on:2009-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:X WuFull Text:PDF
GTID:2208360245460907Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the fast growing of mobile telecommunication network, the category is numerous, so the station and the function of the TMN (Telecommunications Management Network) become more and more important. To control and operate telecommunication network, TMN communicate with telecommunication network through a standard interface (including communicational protocol and information model). The communicational protocol and information model are described by ASN. 1 (Abstract Syntax Notation 1). With this growth comes the requirement for a high-level of service and performance. Thus, management of such networks becomes very crucial.But in this software development process such as network management system, there are many similar function modules that result in lots of redundant work, as follows, the prepare of the business modules that can access the database, the establishment of mass database tables and so on. The purpose of automatic code generation is to minimize the duplication in software development. Automatic code generation techniques have the great significance for the solution of the problems of swift development of management information system.Automatic code generation can be seen as a kind of automatic conversion mechanism, or a mapping between the source model and the destination model. In details, the process of automatic code generation includes reading the text or model from the engineering, following specific rules, and generating code that can be understood by computer. The thesis summarizes the application of automatic code generation techniques in management information system, analyzes its advantages and disadvantages, and makes a comparison of the code generator modules.Combining object oriented model and relation data model are usually used for most software developments. But the object oriented model is built on methodology, while the relational data model is on basis of the set theory. The difference principal between the two models leads to the dispatch problem. Their differences of technology result in many problems in development process. The solution is to reasonably map object model to relation data model, as well as Object/Relation Mapping. This dissertation concerns on the mapping taken between the Class, with its instance, and the tables in relational database, compares and analyses the advantages and disadvantages of map strategies.The thesis concerns on the mapping relationship between the business object described by ASN.1 and the relation, and then presents a viable mechanism. This paper focuses on the mapping method that designs the relationship between ASN. 1 structure and the table structure of the relational database, including mapping strategy and mapping approach.Finally, an automatic code generation system based on ORM is designed and developed, which is on the basis of automatic code generation technique and the mapping mechanism between ASN.l structure and the relation model. This paper introduces the system design, mainly including the entire layer and the architecture, and the realization of the important modules of the system.
Keywords/Search Tags:Automatic Code Generation, Object/Relation Mapping, Object Persistence, ASN.1, and XML
PDF Full Text Request
Related items