摘要
未来的家庭网络将以家庭网关为核心,目标是使所有的信息设备可以智能,实现资源共享,并提供对家电的控制。目前家庭网络的标准并不统一,信息家电种类各异,而且每个家电的功能不同,不同类型的家电操作界面不同,比如空调有开/关、调节温度、设置模式等功能,而电视机则有开/关、换频道、设置亮度、调节音量等功能。同种类型家电不同类型也有不同的操作界面,因为同类型不同型号的家电所提供给用户的功能也不一样,家庭网络中的设备动态的加入或者离开网络,如何为用户统一提供一个简单的操作界面对家庭网络中的设备进行有效的控制是当前面临的一个难题。
本文主要在SOAP(Simple Object Access Protocol)基础上提出了SHGP(SOAP-and–Home-Gateway-based Device Communication Protocol)协议,并对其在家庭网络如何进行有效控制进行了研究,旨在设计统一的通用家庭网络控制平台,主要用于监视和控制常用家庭设备如电视机、冰箱、空调和DVD等的运行。其主要特点是通过“零配置”实现设备的智能互联互通。本文提出了基于SHGP的智能家庭网络控制系统模型,给出了一个表示层框架的具体设计方案,通过统一数据模型以及统一界面控制器实现控制界面自动生成。
最后采用开源框架Cyberlinkjava,将各种家用电器的控制器集成到单一终端上,它可以突破传统控制网络的规模限制,并达到统一控制的效果,并为用户的使用带来易操作性,在模拟环境下对控制器进行了仿真测试。
The home in the future will be established on the network. Its goal is that all the information devices can implement intelligent interconnection and share resource. However, at present, the standard of home network isn't unified,information appliance with different type , different function,different interface, such as air condition have function of on/off, adjust temperature, set mode, and television have function of on/off, change channels, set brightness, adjust volume and other functions. The same type of information appliance may have different type of operation interface, because fuction for user provided by different series of the same type is also different, appliance can join or leave home network dynamically. How to provide user with a simple on resident gateway to control the appliance effectivelly is problem currently faced.
The paper focus on how to control device in home network based on SHGP effectively. Research aim to design universal home network controller, mainly used to control TV, refrigerator, air conditioning and DVD and other home appliance. SHGP is mainly characterized by“zero configuration”to achieve interoperability of smart devices. Meanwhile, Proposed a control system model for home network based on SHGP, put forword a designe for framework of presentation. Through a unified data model and unified interface controller to implements automation generation of Human-mathine interface.
We take advantage of open source framework Cyberlinkjava to integated all remote controllers for various appliances into a single terninal, it can overcome the size liminations of traditional control networks,and achieve the effect of control device transparently and simplify control operation.Finally, we make a simulation test on control terminal in a simulated environment.
引文
[1] M.LScott.K.YaP.Agranunar-based approach to the automatic generation of user interface .InE.Solloway AddisonMesley, January, 1988:73-78
[2] M.Elkou, R.K.Keller, User interface PrototyPing based on UML secnarios and high-level Petrinets,in:Mnielsen, D SimPson(Eds.),Proc.ATPN2000,Uet.Notesin ComP.Science, vol.1825,Springer-Veriag,Berlin,2000:166-186
[3]朱军,张高,华庆一,戴国忠.交互式用户界面的形式化描述与验证[J].软件学报, 1999:25-30
[4] John.A.Konglation.Automated generation of User Interface,ComP291,Fall 1998 http://www.cs.une.edu/konglath/pvt/cb/uipaper.html
[5] Borehers,J.Apatter.Approach to Interaction Design.JohnWiley&Sons,Chickeste,UK, 2001.
[6]邵锐,卢雷.模型驱动的WEB应用代码自动生成[C].2004年全国软件与应用会议
[7] GE.PfaffandP.J.W.tenHagen,Eds.User Interface Management Systems.SPringer-Verla, Berlin,1985.
[8] Adede Goldberg,David Robson,Danhigalls. Smalltal- 80:The Interactive
[9] Coutaz J .PAC:An Objeet Oriented Model for Dialog Design[C] North-Holland: Proccedings Interact,Elsevier,1987:431-436
[10] Ivar J,Grady B,James R.The Unified Software Development Process、Addison Wesley, 1999:20-63
[11] U.Zdun.Dynamieally generating web application fragments from Pagetem Plates. In Proccedings of SymPosium of AppliedComPuting(SAC2002),Madrid,Spain,March,2002.
[12] Karus, A and Korn, N.Generation of Web Applications from UML Models using an XML Publishing Framework.In 6th World Conference on Integrated Design and Process Technology(IDPT), 2002.
[13]万建成,孙彬.支持用户界面自动生成的界面模型.计算机工程与应用,2003.12:32-45
[14]刘成柱,万建成.基于界面模板的界面表示模型.计算机应用,2003.12:42-45
[15] Jini Community. Jini Specifications [EB/OL]. http://www.jini.org, 2006
[16] OSGI Alliance. Open Services Gateway Initiative (OSGi) Specification, Release 4[EB/OL]. http://www.osgi.com, 2006
[17] SOAP protocal.IETF.http://www.rfc-archive.org/getrfc.php?rfc=3288,2002
[18] Universal Plug and Play Device Architecture.UPnP Forum.http://www.UPnP.org,2003
[19] SSDP protocal,IETF.http://www.UPNP.org/download/draft_cai_ssdp_v1_03txt,2002
[20] HTTPU and HTTPMU.UPNP Forum.http://www.UPnP.org/download /draft-goland-http-udp.txt, 2003
[21] xml.org.cn.Online:http://www.xml.org.cn/index.html
[22]何庆明.基于SOAP的家庭网络互联协议设计.杭州:浙江大学. 2006.
[23]阎石.java与MVC设计模式.北京:机械工业出版社. 2000.7, 260-285
[24]基于MVC模式和统一数据模型的界面自动化。山东:山东大学,2008
[25]王忠伟.表示层统一设计框架的研究与实现.2007
[26]黄一飞.基于XML描述的信息家电内部结构研究与实现2005.7
[27]冯文堂,胡强,万建成.基于XML的界面自动生成.山东大学.2007
[28] http://sourceforge.net/projects/UPNP
[29] GRM-NGN-General Reference Model for NGN[J]. ITU-T.
[30]彭海清,冯涛,童登金.家庭网络的关键技术业务及标准化[J].电信科学, 2004, 11:05-09
[31]高小平.中国智能家居的现状及发展趋势[J].低压电器, 2005, (04):18-21
[32]陈新光.基于OSGi的服务发现技术及媒体共享的研究[D].广州:华南理工大学, 2007
[33] Jini Community. Jini(TM) Network Technology Specifications v2.1[EB/OL]. http //www.jini.org, 2005
[34] W. Keith Edwards. JINI核心技术[M].北京:机械工业出版社. 2000.7, 230-262
[35] Brent A M,Nixon T,Charlie Tet al.Home networking with universal plug and play. Communications Magazine,IEEE,2001,39(12):104-109
[36] GENA protocal.IETF.http://www.UPNP.org/download/draft_cohen_gena_client_01.txt.
[37] UPNP Forum.Device-Template-1.01 http://www.UPNP.org/resources/document/Device- Template-1.01.doc
[38] NGN 2004 Project. http://www.itu.int/ITU-/studygroups/com13/ngn2004/index.html.
[39]刘胜军.基于Linux的UPNP在家庭网络中的研究[D].北京:北京交通大学. 2003
[40]张建华.基于UPNP的智能家庭网络的研究与实现[D].大连:大连理工大学,2007
[41]崔贺超,陈旭东.基于XML的网络管理系统界面自动生成技术.北京:北京交通大学网络管理中心.2006
[42]田红成,陈萍,张蓓.Ipv6信息家电控制界面自动生成技术.计算机工程.2007.12
[43]唐赞玉.基于XML描述的信息家电远程监控系统的研究和设计.长沙:湖南师范大学.2008
[44]朱颖芳,谢建全.一种基于XML的界面自动生成技术在电信网管中的应用.长沙:湖南财经高等专科学校.2008
[45]楼宇.嵌入式图形界面自动生成技术研究.武汉:华中科技大学.2007
[46]邱忠杰.基于交互行为的用户界面自动生成的研究.青岛:青岛大学.2009
[47]郭爱平.基于MVC模式和统一数据模型的界面自动化.济南:山东大学.2007
[48] Bruce Eckel. Thinking in Java(Fourth Edition)[M].陈昊鹏译.北京:机械工业出版社. 2007