Font Size: a A A

Research And Application Of Automatic Generation Method Of Mobile Terminal Application Interface Code

Posted on:2022-02-02Degree:MasterType:Thesis
Country:ChinaCandidate:C XuFull Text:PDF
GTID:2518306323984879Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
The mobile terminal application system has penetrated into people's daily work and life,and the workload of interface design and development accounts for a large proportion of the entire mobile application development.At present,most mobile application development is oriented to specific platforms(such as Android,i OS,etc.).The development of the same application system interface needs to develop different versions for different platforms,which will cost a lot of money.Moreover,traditional development methods are mainly manual coding,which generally suffers from problems such as low development efficiency and difficulty in maintenance.It also leads to applications that cannot meet system development requirements in terms of scalability and robustness.Adopting the idea of Model Driven Architecture(MDA),by improving the abstraction level of modeling and using model conversion,the automatic generation of mobile terminal application interface code can be realized,which can effectively improve the development efficiency of mobile application interfaces,and at the same time enhance the portability and maintainability of mobile applications.Based on the idea of MDA,this paper studies the method of mobile terminal application interface modeling and automatic code generation.The main research content and innovation work include the following points:(1)Through the analysis and research of the mobile terminal application system,the Platform Independent Model description method ASLP(Architecture,Static,Logic,Presentation)was expanded to enable it to model the mobile terminal application system interface describe,develop and implement modeling tools.(2)Analyzed the code directory structure and interface construction methods of the Android application system,proposed an Android Platform Specific Model consisting of a static model,a dynamic model,and a presentation model,and established the mapping rules from the ASLP Platform Independent Model to the Android Platform Specific Model.(3)Using the template-based code generation method,the target code generator for the Android platform was designed and implemented,and the algorithm for automatically generating the main structure of the interface code based on the description of the interface model was proposed,and the framework of the Java code generator was built.(4)Through a development example of a mask booking APP,the feasibility and effectiveness of the proposed model description method and code generation method are verified.The mask booking APP includes login,registration,display mask list,submit order,modify order,view order,delete order,view personal information,modify personal information and other pages.It relies on high-level abstract modeling tools and code generators to pass models the conversion realizes automatic code generation.The case application study shows that the research results and work of this paper provide support for the interface modeling and development of mobile terminal application systems,further enrich the MDA model-driven architecture,improve the level of mobile terminal software development,and improve development efficiency.At the same time,the realization of the automatic generation method and platform can also provide support for the research of intelligent software development.
Keywords/Search Tags:Mobile terminal application interface, Model-driven architecture, Platform-independent model, Automatic code generation
PDF Full Text Request
Related items