摘要
为了大幅度提高检修管理系统的开发效率,提出一种基于动态建模的低代码平台实现方案。在该方案中,应用模型作为容器与功能模块对应,包含对象模型、关联模型、界面方案、工作流模型等要素。对象模型定义现实世界的业务对象及其属性,关联模型定义对象之间的关系,界面方案定义对象的展现策略;模型存储于关系数据库。基于以数据结构复用支撑软件复用的方法,提出一种解释引擎,将模型直接解释成可运行的应用系统,由模型数据在运行期动态决定应用系统的外观和行为。解释引擎可与程序代码融合,兼顾应用生成高效化与应用功能精细化。该方案可将业务管理系统的代码量减少40%至70%,开发效率提升2至3倍。该方案在大量项目中成功实施,证明了其有效性。
To improve the development efficiency of the repair management system,a platform implementation scheme with less code based on dynamic modeling is proposed in this paper.In this scheme,the application model is used as a container corresponding to the function module.Besides,it includes object model,association model,interface scheme,workflow model,etc.The object model defines the real-world business objects and their attributes,the association model defines the relationship between objects,and the interface scheme defines the object presentation strategy.Models are stored in relational databases.Based on the method of supporting software reuse with data structure reuse,an interpretation engine is proposed,which directly interprets the model into a runnable application system,and the appearance and behavior of the application system are dynamically determined by the model data during runtime.The interpretation engine can be integrated with the program code,taking into account the high efficiency of application generation and the refinement of application functions.This scheme can reduce the code amount of the business management system by 40%to 70%,and improve the development efficiency by 2 to 3 times.The program has been successfully implemented in a large number of projects,proving its effectiveness.
作者
周宁
张锦斌
胡川
雷晓波
李佳蓉
陈爽
ZHOU Ning;ZHANG Jinbin;HU Chuan;LEI Xiaobo;LI Jiarong;CHEN Shuang(Chongqing University of Posts and Telecommunications,Chongqing 400065,China;Beibei Power Supply Branch of State Grid Chongqing Electric Power Company,Chongqing 400700,China;Chongqing Ganrun Technology Co.,Ltd.,Chongqing 400014,China)
出处
《电工技术》
2022年第20期121-124,共4页
Electric Engineering
关键词
动态建模
数据结构复用
软件复用
解释引擎
低代码
dynamic modeling
data structure reuse
software reuse
interpretation engine
less code