In recent years,with the development of electronic technology and the Internet of Things technology,wearable devices have developed extremely rapidly,and according to various policies issued by the country,wearable devices will be important equipment for health monitoring and medical diagnosis in the future.Wearable devices play a crucial role in the health monitoring of the elderly,chronically ill patients,athletes and other groups of people.They can not only monitor human body sign data in real time,but also carry them around.At the same time,they can save a lot of medical resources,and can also be combined with smart medical treatment,telemedicine,etc.are combined to form a complete medical system,so that doctors can remotely guide patients or wearers of equipment.At present,most wearable devices on the market are commercial-grade wearable devices,which can only be used as a reference for the health monitoring of normal natural persons,and cannot be used for monitoring the physical data of patients or the wounded,and such devices are seriously homogenized.In this context,this paper studies a real-time monitoring system that can be used for anyone,combined with embedded and Internet of Things technologies,researches and develops a complete set of smart medical systems,and achieves real-time monitoring of human body signs data,display and send the data to the server.The purpose is to achieve the purpose of collecting data on-site,viewing data on-site by the medical staff,and viewing data by remote attending physicians.This research is composed of three parts: intelligent chest sticker terminal,monitoring terminal,and medical cloud platform.The smart chest sticker terminal uses ESP32 as the inner controller,Max30001 as the ECG and respiration sensor,and Max30208 as the body temperature sensor.Based on Free RTOS,a set of real-time acquisition system is designed,which supports multi-task acquisition of data,and connects with the other two parts through the Wi Fi and Bluetooth functions of ESP32 itself.Onboard antenna.It realizes the functions of reading body temperature data by IIC protocol,reading ECG and respiratory data by SPI protocol,and sending data to monitor terminal and cloud platform by sending tasks.Based on the signal and slot mechanism,functions such as low-power Bluetooth client,multi-threaded real-time data processing,database data storage and heart rate calculation are realized,and a large number of expansion interfaces are reserved for future system function upgrades.The software is highly portable,and can be compiled into executable programs on different platforms through diverse cross-compilation tool chains.In this study,the software runs under the Windows platform.The medical cloud platform environment is built based on the Huawei cloud server,and the server program based on the TCP protocol is implemented,which can support address reuse and high concurrency services,and is used to receive data from the smart chest sticker TCP client.Finally,a web client based on nginx and Fast CGI architecture is designed,which is mainly used to remotely view the physical data of the subject.Finally,through testing and comparison experiments,the on-board antenna meets the design requirements,and the smart chest patch terminal can collect the subject’s body temperature,ECG,and respiration in real time,and can send data to the monitoring terminal and medical cloud platform in real time.The lower loss is extremely low.The monitoring terminal can store and display data in real time,and calculate the heart rate,with low memory consumption.The cloud platform can receive data in real time,and the web client can view the received data.After comparing with the data collected by standard equipment,the body temperature and heart rate are in line with the clinical monitoring results,and the ECG is not much different from the standard data set,and each waveform is obvious,which can be used in clinical trials. |