节点文献
面向界面自动生成的家庭网络协议的设计
Design of Home Network Protocol for Automatic Generation of Interface
【作者】 韩颖铮;
【导师】 陆以勤;
【作者基本信息】 华南理工大学 , 通信与信息系统, 2010, 硕士
【摘要】 家庭网络的发展使家庭设备自动化进入一个新的时代,促进了家庭设备联网、互动、资源共享、远程控制。当前出现的家庭网络协议都很好地实现了这些目标,但是这些协议的实现都要求较高处理能力的硬件设备,并且对基于服务发现的控制界面自动生成技术研究较少。本文提出基于服务发现的面向界面自动生成的家庭网络协议,该协议基于TCP/IP的编码形式,降低实现的处理能力要求,并且定义了生成界面的关键信息。本文主要的工作如下:1、对常用家电控制器、PC机上的虚拟设备控制界面进行分析。提炼出生成控制界面的关键信息:服务区域划分、按键图形与定位,并将该信息整合到面向界面自动生成的家庭网络协议中,运用于服务呈现的界面自动生成方法中。2、设计出支持即插即用和动态服务更新的面向界面自动生成的分布式家庭网络协议。协议定义了基于TCP/IP之上消息交互和编码,包含四部分:服务发现、服务描述、服务控制、事件通告,能完成服务自动发现、自动更新、分布式控制。3、设计出B/S结构的家庭网关系统。该系统是基于本文协议,采用HTTP Server和CGI技术。家庭网关从服务描述消息和事件通告消息中获取服务状态和界面生成关键信息,根据HTML模板,自动生成能够呈现出服务状态和可操作的服务控制界面的HTML文件。用户通过远程终端上的浏览器访问家庭网关,就能够获取服务控制界面,并进行操作。本文的创新之处主要在于:1、提出“界面生成关键信息(KIIG)”的概念。提出对控制界面按服务相关进行区域划分和拼接,以及对控制按键的抽象编码和定位,综合为“界面生成关键信息”。该信息能够成功地通过编码的消息传输。2、提出基于TCP/IP之上编码的家庭网络协议。该协议面向界面自动生成,支持即插即用、动态服务更新。
【Abstract】 The automation of household facilities has been raised into a new age by home networks technology. Household facilities have become networking, interactive, resource sharing and remote controlled. These goals have been reached by those home-networking-protocols nowadays. But those home networking protocol require a high processing capacity. Up to now, there are few solutions for automatioc generation of interface generation. The Home Network Protocol for Automatic Generation of Interface in the paper bases on TCP/IP and byte-coding, which reduces request of processing capacity. Key-Infromation of Interface Generation is also defined in this protocol.The main work is as follows:1. The controller of household facilities and the control interface of soft-devices on PC are analyzed. The following points are abstracted: partition according service relation; figure and orientation of buttons. These have been integrated to the protocol and used in the automatic generation of interface.2. The Home Network Protocol for Automatic Generation of Interface has been researched and designed. The protocol supports plug and play, and automatic update of service. In the protocol, the interaction and encode of message has been defined. It contains four parts: discover of service, description of service, control of service and event notify. It is successful in automatic discover and update, and distributed control of service. The protocol can be implemented on any operating system with any programming language. Moreover, it can be implemented on a low hardware without operating system.3. A home gateway system based on B/S structure has been designed. The home gateway system is based on the protocol, and uses http server and CGI technology. It obtains service status and auxiliary message for presentation from the service description and event notify messages. With these messages, an html is generated according the template, which can present the service status and control interface. User visits the home gateway site in his or her web browser. Now he or she can control home facilities remotely.The innovation is as follows:1. The“Key-Information of Interface Generation”is new. The partition and splicing of service region, and the encoding and locating of buttons are new. These make byte-encoding messages take along with the interface information.2. The home network protocol base on byte-encoding over TCP/IP is new. The protocol is automatically generated for the interface, plug and play and service dynamic update.
【Key words】 Home Network; Automatic Generation of Interface; Control Point; Device Point; Home Gateway;