摘要
目前,越来越多的家电提供了智能终端的控制功能,但由于家电设备的功能控制指令因品牌、型号的差异而不同,因此向家庭控制系统中添加新的家电设备时就需要修改固化在原有软件系统中的设备控制指令集。为了避免对软件的重构工作,基于XML标签文本实现了描述家电操作指令的功能,并且使用二维码来进行设备识别。控制设备通过解析从二维码中取得的XML文档来获得设备的控制指令规则和数据组织规则。这种设备识别方式使得新的家电设备加入控制系统时,可以在不修改原有控制软件的前提下配置新家电的控制指令规则和数据组织规则,从而实现了设备的动态添加功能。
More and more appliances support the remote control by smart devices now. However, because of the difference cause by differ- ent brand and type for function control set of home devices, when adding new devices to domestic control system, a big modification on the control software would be brought in for the differences in the instruction and data arrangement of the devices. To avoid the unneces- sary reconstruction of the software,provide a new kind of appliance recognition system based on XML tags and 2D-barcode. The control device uses the XML profile which is retrieved from the 2D-barcode to configure the rules of devices' instruction and data arrangement. It enables dynamical configuration for new devices without modifying the control software.
出处
《计算机技术与发展》
2013年第12期244-248,共5页
Computer Technology and Development
基金
国家科技支撑计划项目(2011BAH16B03
2012BAH12F01
2012BAH15F01
2012BAF11B01
2012BAF11B02
2012BAF11B03
2011BAH15B05)
青岛市科技计划基础研究项目(12-1-4-1-(9)-jch
12-1-4-1-(10)-jch)