| In recent years,with the development of the information technology,more and more IT technology and scheme has been applied to the field of health care,and have promoted the development of the wise medical.As a branch of the wise medical,the human body attitude recognition system has been paid more and more attention by researchers.Despite human body attitude recognition system’s rapid development,it still has some disadvantages.On the one hand,previous studies mainly focused on Algorithms,it leads to the lack of studies on reliability,practicability and expansibility of the system.On the other hand,the ability of the information acquisition terminal and communication environment also restricted the development of the human body attitude recognition system.Message Queuing Telemetry Transport protocol is a simple and lightweight data transmission protocol,it can reduce the demand for network bandwidth and equipment resource with ensured reliability and guaranteed delivery to a certain extent,so it is very suitable for mobile devices and embedded devices,and it has been widely used in the Internet of things.Based on the above situations,in this paper,we designed and implemented a human body attitude recognition system based on Message Queuing Telemetry Transport protocol.Firstly,we analyzed the functional requirements of the system,and designed the overall structure;secondly according to the requirements and characteristics of the system,we designed a data exchange scheme;thirdly,we realized the data acquisition terminal and server side;finally,we tested the function of the system in detail.The main work of this paper is concluded as follows:(1)Based on the analysis of the two layer structure model of the traditional human body attitude recognition system,this paper puts forward the three layers structure model of the data acquisition terminal,server side and monitoring terminal.The data acquisition terminal collects the data to obtain the attitude information,the server receives and forwards the attitude information,a plurality of monitoring terminals receive and display attitude information.This model can decouple the data acquisition terminal and the monitoring terminal,and improve the scalability of the system.(2)Through the observation and analysis of the attitude characteristics of the elderly,we achieved a simple and flexible algorithm of human body attitude recognition,which can ensure accurate identification of the attitude of the elderly while taking into account of the complexity of the algorithm,the power consumption of equipment,reduced the equipment resource demand and dependence.(3)In order to ensure the real-time and reliable data transmission,we analyzed the advantages and disadvantages of various data transmission scheme,and proposed the scheme of using GPRS in data link layer and using Message Queuing Telemetry Transport protocol in application layer.In addition,we also proposed a data encryption protocol to ensure the security of data exchange.(4)Combined the requirements of the human body attitude recognition algorithm and the data transmission scheme,considering the requirements of the system and the principle of the design,based on the division of the module,we designed and developed each module of data acquisition terminal and server side in detail.Through a series of black box testing,the function of each part of the system has been tested in detail.It is confirmed that the system meets the requirements of this paper. |