| In recent years,with the rapid development of science and technology and the continuous improvement of people’s living standards,people’s pursuit of housing life is no longer just a simple fixed housing.But to pursue a more comfortable and convenient living paradise.After entering the new century,the computer,communications and home appliances industries are no longer separate.At this point,if you can connect every device in the home through existing technology,and then install a home gateway in the home to connect to the home’s internal and external network,then people can centrally,remotely control the home intelligence device.Therefore,the related concepts of smart home system have been put forward.Smart home system is mainly used in housing,its components can be divided into integrated wiring part,intelligent gateway part,Three parts of heterogeneous network.Because intelligent gateway is at the core of smart home system,the research on home gateway is very important.The problem of using different communication technologies in the field of smart home makes it difficult to connect devices using different communication technologies.This paper mainly focuses on the research of home gateway which plays an important role in smart home system,and then puts forward the design scheme of home gateway which can support many kinds of different communication protocols.In this subject,according to the current situation of smart home products,combined with the problems existing in the previous home environment,the design ideas of bus,equipment and driving model are put forward to design the driver program of smart home gateway.It can improve the expansibility of smart home gateway system.Because the whole gateway system is based on the driver layer,it makes the gateway program become part of the Linux driver.When writing the application program,we don’t need to pay attention to the implementation details of the underlying driver,but only need to call the unified operation interface provided by the Linux kernel according to the corresponding rule protocol,which will be more convenient for the design of the whole home gateway system.In this paper,the concept and development status of smart home gateway are introduced,then the gateway system is designed and implemented after the researchand analysis of the gateway system,and the theoretical framework is put forward in the design part.The implementation of the gateway framework based on the theoretical framework involves the introduction of Boot Loader and Linux kernels into the OK6410 development board,and the establishment of the root file system at the same time.In order to realize the gateway system about the subject,the software platform is built.After that,Zigbee and Wi Fi wireless communication modules are added to the hardware platform;finally,the gateway system is tested to verify the feasibility of the design. |