摘要
多设备用户界面开发中不同类型的设备通常需要为同一应用定制不同的界面,或者通过WEB浏览器访问。这两种方法均导致大量额外的开发努力和代价。提出一种基于UIML的多设备用户界面生成方法,其特征是通过建模与设备无关的抽象界面,该方法按照不同的设备特征将其映射为具体的界面;该方法的实现利用了一个运行时机制在具体的设备上绘制出真实界面。实验表明,该方法可减轻多设备界面的开发难度,提高效率。
For multi-device user interface development,interface for a given application needs to be customized for different devices,or accessed by the WEB explorer.Both methods may cause a number of extra development costs.This paper provides a UIML-based multi-device user interface generation method.By modeling the device independent abstract interface,this method maps it into a specific interface according different device characters,the realization of this method uses a running mechanism to render the real interface at a specific device.By the case study,this method could alleviate the development difficulty of multi-device interface and improve the efficiency of development.
引文
[1]Forbrig P,Zaki M,Buchholz G.Models as a starting point of software development for smart environments[M]//Distributed,ambient,and pervasive interactions.[S.l.]:Springer International Publishing,2014:15-24.
[2]吴昊,华庆一,常言说,等.一个轻量级多设备用户界面描述语言MDUIDL[J].计算机工程与应用,2011,47(35):14-21.
[3]Stina N,Markus B,Annika W.Ubiquitous service access through adapted user interfaces on multiple devices[J].Personal and Ubiquitous Computing,2005,9(3):123-133.
[4]杜一,田丰,戴国忠.E-UIDL用户界面描述语言下的开发方法[J].计算机学报,2015,26(7):1772-1784.
[5]Abrams M,Helms J.User Interface Markup Language(UIML)specification working draft 3.1[EB/OL].[2012-07-02].https://www.oasis-open.org/committees/download.php/5937/uimlcore-3.1-draft-01-20040311.pdf.
[6]Phanouriou C.UIML:a device-independent user interface markup language[D].Virginia:Virginia Polytechnic Institute and State University,2000.
[7]Abrams M,Phanouriou C,Batongbacal A L,et al.UIML:an appliance-independent XML user interface language[J].Computer Networks the International Journal of Computer&Telecommunications Networking,2012,31(1116):1695-1708.
[8]Czarnecki K,Helsen S.Feature-based survey of model transformation approaches[J].IBM Systems Journal,2006,45(3):621-645.
[9]Cimino M G C A,Marcelloni F.An efficient model-based methodology for developing device-independent mobile applications[J].Journal of Systems Architecture,2012,58(4):286-304.
[10]Luyten K,Thys K,Vermeulen J,et al.A generic approach for multi-device user interface rendering with UIML[C]//Proceedings of the 4th International Conference on Computer-Aided Design of User Interfaces(CADUI’06),Bucharest,Romania,2006:175-182.
[11]Meskens J,Vermeulen J,Luyten K,et al.Gummy for multiplatform user interface designs:shape me,multiply me,fix me,use me[C]//Proceedings of the Working Conference on Advanced Visual Interfaces(AVI’08),Napoli,Italy,2008:233-240.
[12]Luyten K,Thys K,Vermeulen J,et al.A generic approach for multi-device user interface rendering with UIML[C]//Proceedings of the Sixth International Conference on Computer-Aided Design of User Interfaces,2006,Bucharest,Romania,2007:175-182.
[13]Schaefer R,Bleul S.Towards object oriented,uiml-based interface descriptions for mobile devices[M]//Computeraided design of user interfaces.Netherlands:Springer,2007:15-26.
[14]施运梅,李宁,刘旭红.智能文档操作界面的UIML描述方法[J].计算机工程与应用,2014,50(15):59-64.
[15]徐龙杰.基于模型的用户界面代码自动生成[J].计算机工程与应用,2004,40(12):112-115.
[16]冯仕红,鹿旭东,万建成.基于模型的多设备用户界面设计[J].通信学报,2006,27(11):55-59.