摘要
为满足不同公路养护单位的管理需求并适应需求的变化,提出基于XML文件的公路养护管理系统通用化生成技术。该技术在SSH框架基础上,将生成系统的文件分为两层:静态信息层与参数层。静态信息层用于保存生成系统所需的各种数据,包括基础数据与标识符。参数层用于存储用户的参数信息,包括界面元素类型和数据实体信息等参数。根据实际需求在参数层配置界面元素类型和数据实体信息等参数,结合静态信息层的基础数据,生成通用公路养护管理系统。应用实例表明,通过XML文件生成系统既能够实现用户界面的自动配置,又可以配置相关的数据库操作。因此,增强了公路养护管理系统的通用性。
A general generation technology of the highway maintenance management system based on XML files is proposed to meet the management requirements of different highway maintenance units and adapt to the changing requirements. On the basis of the SSH framework,the files for generating the system are divided into two layers:the static information layer and parameter layer. The static information layer is used to store the various data needed to generate the system,including the basic data and identifiers. The parameter layer is used to store users′ parameter information,including the interface element type and data entity information. The interface element type,data entity information,and other parameters are configured in the parameter layer according to the practical demand. The general highway maintenance management system is generated by combining with the basic data of the static information layer. The application examples show that the system generated by using XML files can not only realize the automatic configuration of the user interface,but also configure relevant database operations,thus increasing the universal performance of the highway maintenance management system.
引文
[1] AVEN O I. Formalization and standardization of automated management system development[J]. Automation and remote control,1969,1(5):108-129.
[2] BIGGAR P,VRIES E D,GREGG D. A practical solution for scripting language compilers[C]//Proceedings of the 2009ACM Symposium on Applied Computing. Honolulu:ACM,2009:1916-1923.
[3] MAO F,CAI X,SHEN B,et al. Operational pattern based code generation for management information system:an industrial case study[C]//Proceedings of 17th IEEE/ACIS International Conference on Software Engineering,Artificial Intelligence,Networking and Parallel/Distributed Computing. Shanghai:IEEE,2016:425-430.
[4] SPINK T,WAGSTAFF H,FRANKE B,et al. Efficient code generation in a region-based dynamic binary translator[C]//Proceedings of the 2014 SIGPLAN/SIGBED Conference on Languages, Compilers and Tools for Embedded Systems. New York:ACM,2014:3-12.
[5] ROSALES-MORALES V Y,ALOR-HERNáNDEZ G,GARCíAALCARáZ J L,et al. An analysis of tools for automatic software development and automatic code generation[J]. Revista Facultad de Ingeniería Universidad de Antioquia,2015(77):75-87.
[6] BHULLAR N S,CHHABRA B,VERMA A. Exploration of UML diagrams based code generation methods[C]//Proceedings of 2016 International Conference on Inventive Computation Technologies. Coimbatore:IEEE,2016:1-5.
[7] ELSON M,RAKE S T. Code-generation technique for large-language compilers[J]. IBM systems journal,1970,9(3):166-188.
[8] GAMECHO B,MI?óN R,AIZPURUA A,et al. Automatic generation of tailored accessible user interfaces for ubiquitous services[J]. IEEE transactions on human-machine systems,2015,45(5):612-623.
[9] BANDIRMALI N. MtCMF:a novel memory table based content management framework for automatic website generation[J].Computer standards&interfaces,2017,58(5):43-52.
[10]杜一,邓昌智,田丰,等.一种可扩展的用户界面描述语言[J].软件学报,2013,24(5):1127-1142.DU Yi,DENG Changzhi,TIAN Feng,et al. Extensible user interface description language[J]. Journal of software,2013,24(5):1127-1142.
[11]承林,王海宁,高春成.微服务在电力交易系统中的应用研究[J].电网技术,2018,42(2):441-446.CHENG Lin,WANG Haining,GAO Chuncheng. Research on application of micro service in power transaction system[J]. Power system technology,2018,42(2):441-446.
[12]杜景林,喻亚楠.基于SSH框架的NC数据可视化验证系统研究[J].现代电子技术,2018,41(2):166-169.DU Jinglin,YU Ya’nan. Research on NC data visualization verification system based on SSH framework[J]. Modern electronics technique,2018,41(2):166-169.