| In recent years,with the development of the economy and the improvement of living standards,people have put forward higher requirements for the living environment,so the smart home industry has developed rapidly.By using the Internet of Things technology to connect devices,on the one hand,smart devices collect biological information such as faces,gestures,sounds,and human body heat radiation to complete actions that fit the scene.On the other hand,users can remotely control smart devices through wireless networks,which greatly improves The comfort and convenience of living.But at present,smart homes have made great progress in automation,and they still cannot meet the expectations of users in terms of intelligence.The key point for smart homes to achieve further intelligence is the user’s accurate perception.In order to solve the above problems,this paper proposes the subject of designing and realizing a perception system for people in the home environment by using millimeter wave signal-based equipment.The system uses the accuracy of millimeter wave equipment to collect personnel positioning and status information in real time.On the one hand,it stores the data to meet the needs of personnel track preservation during the time period;on the other hand,it transmits the data to the front end on demand to display the coordinates of the personnel in real time Wait.Millimeter wave devices use Wi-Fi signals and transmit them to the Broker service through the MQTT protocol.The data collection service subscribes to Broker data in real time;the business logic service is responsible for the front-end business logic,including the management of user,room,and device information;the front-end service uses WeChat mini The program is developed using the uni-app framework to realize the needs of 2D and 3D display of personnel status.Especially in data processing services,Golang language is used for development,and CGO can be used to facilitate the testing of embedded development of millimeter wave device algorithms,which greatly reduces repetitive work.In order to cope with the large number of data streams generated by the equipment,the data collection service uses the go-kit framework for service management to ensure high availability;to improve the scalability,scalability,and availability of the service,the gin framework is used for business logic services.Finally,the function test of the system and the performance test of each service were completed,and the test results reached the expected design goals. |