计算机技术与发展
計算機技術與髮展
계산궤기술여발전
COMPUTER TECHNOLOGY AND DEVELOPMENT
2015年
4期
80-84
,共5页
网关%驱动%可配置%配置文件%协议模板%协议转换
網關%驅動%可配置%配置文件%協議模闆%協議轉換
망관%구동%가배치%배치문건%협의모판%협의전환
gateway%driver%configurable%configuration files%protocol template%protocol conversion
嵌入式智能网关与感知层设备通信时,需要根据感知层设备不同协议分别开发驱动,灵活性较差。针对此类问题,一种协议可配置的方法被提出,它用于实现智能网关与感知层设备的通信。首先,通过对设备协议进行分析,根据原始协议帧的对象设计该设备的协议模板;然后,驱动引擎解析协议模板并组建设备可识别的通讯的协议帧,智能网关根据新组建的协议帧与感知层设备通讯,并获取数据;最后,目标协议转换程序加载目标协议模板并将采集来的数据封装成目标协议,达到协议可配置和转换的目的。实验结果表明,该方法通过数据建模较好地实现了数据通信和协议转换。
嵌入式智能網關與感知層設備通信時,需要根據感知層設備不同協議分彆開髮驅動,靈活性較差。針對此類問題,一種協議可配置的方法被提齣,它用于實現智能網關與感知層設備的通信。首先,通過對設備協議進行分析,根據原始協議幀的對象設計該設備的協議模闆;然後,驅動引擎解析協議模闆併組建設備可識彆的通訊的協議幀,智能網關根據新組建的協議幀與感知層設備通訊,併穫取數據;最後,目標協議轉換程序加載目標協議模闆併將採集來的數據封裝成目標協議,達到協議可配置和轉換的目的。實驗結果錶明,該方法通過數據建模較好地實現瞭數據通信和協議轉換。
감입식지능망관여감지층설비통신시,수요근거감지층설비불동협의분별개발구동,령활성교차。침대차류문제,일충협의가배치적방법피제출,타용우실현지능망관여감지층설비적통신。수선,통과대설비협의진행분석,근거원시협의정적대상설계해설비적협의모판;연후,구동인경해석협의모판병조건설비가식별적통신적협의정,지능망관근거신조건적협의정여감지층설비통신,병획취수거;최후,목표협의전환정서가재목표협의모판병장채집래적수거봉장성목표협의,체도협의가배치화전환적목적。실험결과표명,해방법통과수거건모교호지실현료수거통신화협의전환。
When embedded intelligent gateway communicates with devices of the perceptual layer,it needs to develop different protocols based on the devices and the method is not flexible. For these problems,a method of configuration for protocol conversion is proposed. It is used to communicate between intelligent gateways with perceptual layer devices. First,the protocol template for device needs to be de-signed according to the objects of the original protocol frame through analyzing the device protocol. Then,the drive engine analyzes the protocol template and establishes protocol frame that can be identified by devices. Intelligent gateway communicates with devices of the perceptual layer through the protocol frame be established and obtains the data. Finally,the target protocol conversion program loads the target protocol template and encapsulates the data collected into the target protocol to achieve protocol configuration and protocol conver-sion. The experimental results show that the method preferably realizes data communication and protocol conversion through data model-ing.