| The proportion of China’s population over 60 years old is on the rise,and the proportion of chronic diseases among the elderly is as high as 75%.China has implemented the family planning policy for a long time,and the care of the elderly has been paid more and more attention by the society.In addition,the allocation of medical and health resources in remote areas and large and medium-sized cities is not reasonable.Aiming at realizing remote real-time care and effective interaction between the elderly and bedridden patients,this paper designed a multi-client nursing bed monitoring system for these people.Firstly,a demand analysis is conducted.The required functions of four different user types are analyzed,and the non-functional requirements of the monitoring system are given.Secondly,the system based on robot is completed.Followings are the details.(1)Using a three-layer architecture,the overall design of the monitoring system is carried out.(2)The design of data storage is completed.The server uses MySQL relational database to store physiological data and related data.At the same time,Redis is used to cache physiological data to improve the response speed of requests The serialization strategy of Redis key for Web applications is described.(3)The design of Web application is completed.The Web application is constructed by using Java language and mainstream open source framework in Java architecture.The web API interface is designed for clients to invoke.The optimization strategy of Web application in dealing with static resources in monitoring system is described.(4)With the support of instant messaging service provided by the third-party cloud platform and audio and video service based on cloud,physiological data real-time transmission,audio and video communication and other functions are designed in monitoring system.(5)Based on different development platforms,three client-side program systems are designed for Android,windows and web to solve the use problems of different types of user systems.Android uses jetpack framework to build and applies thread reuse technology to send network requests to obtain necessary information such as physiological data,access token and personal information.Windows uses WPF framework for development,Combined with serial port transmission and Bluetooth transmission,the communication between lower computer and physiological parameter acquisition instrument is realized.Finally,the developed monitoring system has been verified.The experimental results basically meet the functional and non-functional requirements of the monitoring system. |