At present,the voice processing of the gateway device controlled by the smart home voice is generally performed online.In the absence of an Internet connection,a network abnormality or a slow network speed,the gateway cannot obtain voice commands and thus cannot control the home device,as a result,it relies on the Internet connection heavily.In our paper,the basic knowledge of speech recognition in above system is introduced,and the offline speech recognition model and BP neural network algorithm are studied.Among them,the forward and backward algorithm,Viterbi algorithm,Baum-Welch algorithm used in BP neural network algorithm and speech recognition model are analyzed further.Finally,this system is designed and implemented,using ZigBee-WiFi network,Web development,Android development and other technologies.This paper introduces this system from following aspects:voice control home gateway device,server platform and user Android client The hardware of gateway device consists of Exynos 4412 development platform and peripheral circuits including ZigBee module,pickup device module and WiFi communication module.The software layer uses embedded Linux system based on ARM processor.In this paper,HMM speech recognition algorithm and HTK speech recognition tool are used to train the acoustic model and language model of the speech sample,and the results are employed as the offline speech recognition engine of our designed system;We define the protocol of serial port data transmission between the home gateway and the ZigBee coordinator.The packaged home device information is sent to the server platform in real time by using TCP/IP communication protocol and Socket network programming technology.The home gateway server uses the SpringBoot platform that integrates the framework of SpringMVC,MyBatis,Spring and Mysql for rapid development The home device and its data are managed by the server platform through the design of modules such as user management,device management and data query.Finally,the Android client was designed to view and control the home appliances in real time,which enhanced the user’s participation.In conclusion,the function test method of the voice gateway control system is given.The test results show that the system of this paper basically realizes the design requirement. |