武友新 江斌 张奎 陈轶



摘 要: 在移动互联网快速发展的大背景下,各种类型的移动终端操作系统(Android,iOS等)之间存在巨大差异性,使得各种APP应用都需要单独开发,费时费力且成本高。因此基于HTML5,CSS3,PhoneGap等技术设计了一套跨平台的、专注于客户展现端的、与具体业务和数据无关的APP通用开发工具,即移动开发中间件平台。实践结果表明,该设计可以大大提高移动应用系统的开发效率和维护效率,降低开发成本,保证软件质量。
关键词: 中间件平台; 跨平台开发工具; 需求分析; 设计器管理; 平台设计; 移动应用
中图分类号: TN911?34; TP311 文献标识码: A 文章编号: 1004?373X(2020)06?0097?04
Design and implementation of mobile development middleware platform
WU Youxin1, JIANG Bin1, ZHANG Kui2, CHEN Yi1
(1. College of Information Engineering, Nanchang University, Nanchang 330031, China; 2. Kuni Solutions BV, Enschede 7545 SJ, Netherlands)
Abstract: Under the background of the rapid development of mobile internet, there are huge differences among various types of mobile terminal operating systems (Android, IOS, etc.), which make various kinds of App need to be developed independently, resulting in large time?consumption, labor waste and high cost. Therefore, a general development tool for App that is cross?platform, focuses on the client display terminal, but is irrelevant to the specific business and data is designed based on the HTML5, CSS3, PhoneGap and other technologies, namely mobile development middleware platform. The actual application results show that this design can greatly improve the development and maintenance efficiency of mobile application systems, reduce development cost, and ensure software quality.
Keywords: middleware platform; cross?platform development tool; demand analysis; designer management; platform design; mobile application
0 引 言
随着移动互联网的高速发展和迅速普及,移动应用APP呈现出爆炸式增长的态势[1]。随之而来的是,由于移动终端的设备类型、操作系统的巨大差异性,导致每种操作系统(Android,iOS等)的客户端软件都需要单独开发[2]。传统的移动应用APP开发模式如图1所示,这样的开发方式导致项目技术难度大、开发周期长、开发费用高、系统维护困难等问题。
如何研制出一个移动开发中间件平台,能够屏蔽不同用户、不同操作系统、不同机型、不同移动通信网络的差别,通过集成的、可视化的开发环境,生成对应设备的客户端软件,方便软件开发人员在较短时间内开发出用户需要的APP应用软件,这就是本文要解决的任务。采用移动开发中间件平台开发APP应用如图2所示。
1 开发方法
本文采用面向对象方法描述系统开发过程。采用面向对象方法开发软件,通常需要从三个角度建立起三种不同的模型,它们分别是描述系统静态结构的对象模型、描述系统控制结构的动态模型以及描述系统处理结构的功能模型[3]。……